# T1623_command-and-scripting-interpreter

> Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries.

- Skill: `cyberstrikeus/t1623-command-and-scripting-interpreter` (Agent Skill)
- Install (CLI): `npx skillmds@latest add cyberstrikeus/t1623-command-and-scripting-interpreter`
- Raw SKILL.md: https://api.skillmd.com/api/skills/cyberstrikeus/t1623-command-and-scripting-interpreter/raw
- Safety review: PASS (external: skill-scanner PASS, skillspector PASS)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Coding & Dev Tools
- Author: cyberstrikeus (https://skillmd.com/u/cyberstrikeus)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/cyberstrikeus/t1623-command-and-scripting-interpreter

---


# T1623 Command and Scripting Interpreter

## High-Level Description

Adversaries may abuse command and script interpreters to execute commands, scripts, or binaries. These interfaces and languages provide ways of interacting with computer systems and are a common feature across many different platforms. Most systems come with some built-in command-line interface and scripting capabilities, for example, Android is a UNIX-like OS and includes a basic Unix Shell that can be accessed via the Android Debug Bridge (ADB) or Java’s `Runtime` package.

Adversaries may abuse these technologies in various ways as a means of executing arbitrary commands. Commands and scripts can be embedded in Initial Access payloads delivered to victims as lure documents or as secondary payloads downloaded from an existing C2. Adversaries may also execute commands through interactive terminals/shells.

## Kill Chain Phase

- Execution (TA0041)

**Platforms:** Android, iOS

## What to Check

- [ ] Identify if Command and Scripting Interpreter technique is applicable to target mobile environment
- [ ] Check Android devices for indicators of Command and Scripting Interpreter
- [ ] Check iOS devices for indicators of Command and Scripting Interpreter
- [ ] Verify mitigations are bypassed or absent (2 known mitigations)
- [ ] Assess detection coverage (1 detection strategies)

## How to Test

### Identify Attack Surface

Determine if the target mobile environment is susceptible to Command and Scripting Interpreter by examining the target platforms (Android, iOS).

### Assess Existing Defenses

Review whether mitigations for T1623 are in place. If defenses are absent or misconfigured, this technique may be exploitable.

## Remediation Guide

### M1010 Deploy Compromised Device Detection Method

Mobile security products can typically detect jailbroken or rooted devices.

### M1002 Attestation

Device attestation can often detect jailbroken or rooted devices.

## Detection

### Detection of Command and Scripting Interpreter

## Risk Assessment

| Finding                                                | Severity | Impact    |
| ------------------------------------------------------ | -------- | --------- |
| Command and Scripting Interpreter technique applicable | Low      | Execution |

## CWE Categories

| CWE ID | Title                                  |
| ------ | -------------------------------------- |
| CWE-94 | Improper Control of Generation of Code |

## References

- [Samsung Knox Mobile Threat Defense](https://partner.samsungknox.com/mtd)
- [MITRE ATT&CK Mobile - T1623](https://attack.mitre.org/techniques/T1623)

