MITRE ATT&CKsub-technique

T1623.001 Unix Shell

Published 2022-03-30 Modified 2025-10-24 Official page ↗
Domain
mobile
Tactics
Execution
Platforms
Android, iOS
Version
1.2
Created
2022-03-30

Description

Adversaries may abuse Unix shell commands and scripts for execution. Unix shells are the underlying command prompts on Android and iOS devices. Unix shells can control every aspect of a system, with certain commands requiring elevated privileges that are only accessible if the device has been rooted or jailbroken. Unix shells also support scripts that enable sequential execution of commands as well as other typical programming operations such as conditionals and loops. Common uses of shell scripts include long or repetitive tasks, or the need to run the same set of commands on multiple systems. Adversaries may abuse Unix shells to execute various commands or payloads. Interactive shells may be accessed through command and control channels or during lateral movement such as with SSH. Adversaries may also leverage shell scripts to deliver and execute multiple commands on victims or as part of payloads used for persistence. If the device has been rooted or jailbroken, adversaries may locate and invoke a superuser binary to elevate their privileges and interact with the system as the root user. This dangerous level of permissions allows the adversary to run special commands and modify protected system files.

Related

Subtechnique of · MITRE ATT&CK (1)

  • T1623 Command and Scripting Interpreter technique

Tactic · MITRE ATT&CK (1)

Referenced by MITRE ATT&CK · mitigates (2)

  • M1002 Attestation mitigation
  • M1010 Deploy Compromised Device Detection Method mitigation

Referenced by MITRE ATT&CK · uses (7)

  • S1082 Sunbird software (malware)
  • S1061 AbstractEmu software (malware)
  • S0655 BusyGasper software (malware)
  • S0558 Tiktok Pro software (malware)
  • S0555 CHEMISTGAMES software (malware)
  • S0550 DoubleAgent software (malware)
  • S0544 HenBox software (malware)

References