自动化接入 · API / MCP EN

技术说明 · T1027.010

Command Obfuscation

Adversaries may obfuscate content during command execution to impede detection. Command-line obfuscation is a method of making strings and patterns within commands and scripts more difficult to signature and analyze. This type of obfuscation can be included within commands executed by delivered payloads (e.g., Phishing and Drive-by Compromise) or interactively via Command and Scripting Interpreter. For example, adversaries may abuse syntax that utilizes various symbols and escape characters (such as spacing, `^`, `+`, `$`, and `%`) to make commands difficult to analyze while maintaining the same intended functionality. Many languages support built-in obfuscation in the form of base64 or URL encoding. Adversaries may also manually implement command obfuscation via string splitting (`“Wor”+“d.Application”`), order and casing of characters (`rev <<<'dwssap/cte/ tac'`), globbing (`mkdir -p '/tmp/:&$NiA'`), as well as various tricks involving passing strings through tokens/environment variables/input streams. Adversaries may also use tricks such as directory traversals to obfuscate references to the binary being invoked by a command (`C:\voi\pcw\..\..\Windows\tei\qs\k\..\..\..\system32\erool\..\wbem\wg\je\..\..\wmic.exe shadowcopy delete`). Tools such as <code>Invoke-Obfuscation</code> and <code>Invoke-DOSfucation</code> have also been used to obfuscate commands.

ATT&CK T1027.010 platforms — 状态 有效 版本 20.1

Adversaries may obfuscate content during command execution to impede detection. Command-line obfuscation is a method of making strings and patterns within commands and scripts more difficult to signature and analyze. This type of obfuscation can be included within commands executed by delivered payloads (e.g., Phishing and Drive-by Compromise) or interactively via Command and Scripting Interpreter.12 For example, adversaries may abuse syntax that utilizes various symbols and escape characters (such as spacing, `^`, `+`, `$`, and `%`) to make commands difficult to analyze while maintaining the same intended functionality.3 Many languages support built-in obfuscation in the form of base64 or URL encoding.4 Adversaries may also manually implement command obfuscation via string splitting (`“Wor”+“d.Application”`), order and casing of characters (`rev <<<'dwssap/cte/ tac'`), globbing (`mkdir -p '/tmp/:&$NiA'`), as well as various tricks involving passing strings through tokens/environment variables/input streams.56 Adversaries may also use tricks such as directory traversals to obfuscate references to the binary being invoked by a command (`C:\voi\pcw\..\..\Windows\tei\qs\k\..\..\..\system32\erool\..\wbem\wg\je\..\..\wmic.exe shadowcopy delete`).7 Tools such as <code>Invoke-Obfuscation</code> and <code>Invoke-DOSfucation</code> have also been used to obfuscate commands.89

  1. Akamai JS
  2. Malware Monday VBE
  3. RC PowerShell
  4. Microsoft PowerShellB64
  5. Bashfuscator Command Obfuscators
  6. FireEye Obfuscation June 2017
  7. Twitter Richard WMIC
  8. Invoke-DOSfuscation
  9. Invoke-Obfuscation

使用该技术的组织

组织名称国家
grp_g0090WIRTE—
grp_g0117Fox Kitten—
grp_g0127TA551—
grp_g0143Aquatic PandaChina
grp_g1045Salt Typhoon—
grp_g1001HEXANE—
grp_g0115GOLD SOUTHFIELD—
grp_g0037FIN6—
grp_g0077LeafminerIran
grp_g1051Medusa Group—
grp_g0080Cobalt Group—
grp_g0114ChimeraChina
grp_g0102Wizard SpiderRussia
grp_g1040Play—
grp_g1052Contagious Interview—
grp_g0069MuddyWater—
grp_g0061FIN8—
grp_g0073APT19China
grp_g0082APT38DPRK
grp_g0091Silence—
grp_g0046FIN7—
grp_g0010TurlaRussia
grp_g0047Gamaredon GroupRussia
grp_g0092TA505—
grp_g0094KimsukyDPRK
grp_g0059Magic HoundIran
grp_g0140LazyScripter—
grp_g0040Patchwork—
grp_g0121SidewinderIndia
grp_g0034Sandworm TeamRussia
grp_g0050APT32Vietnam

断言

尚无指向该技术的公开断言。

记录自动入库·未人工复核;置信度与有效期按引用读取。