Date: 09/10/2024
Severity: Medium
Summary
"Potential CommandLine Obfuscation Using Unicode Characters From Suspicious Image" refers to the practice where attackers use Unicode characters to obfuscate command-line arguments in order to disguise malicious activities. This technique can make it harder for security tools and analysts to detect and analyze the commands being executed, especially when the obfuscation is applied within or associated with suspicious images or files.
Indicators of Compromise (IOC) List
Image | '\cmd.exe' '\cscript.exe' '\powershell.exe' '\pwsh.exe' '\wscript.exe' |
OriginalFileName | 'Cmd.EXE' 'cscript.exe' 'PowerShell.EXE' 'pwsh.dll' 'wscript.exe' |
CommandLine | 'ˣ' '˪' 'ˢ' '∕ ' '⁄ ' '―' '—' ' ' '¯' '®' '¶' |
Gurucul Threat Detection and Incident Response (TDIR) Queries for Detection
Detection Query 1 | (resourceName = "Sysmon" AND eventtype = "1") AND image in ("\cmd.exe", "\cscript.exe", "\powershell.exe", "\pwsh.exe", "\wscript.exe") AND originalfilename in ("Cmd.EXE","cscript.exe","PowerShell.EXE","pwsh.dll","wscript.exe" ) AND commandline in ("ˣ","˪","ˢ","∕","⁄","―","—"," ","¯","®","¶") |
Detection Query 2 | Technologygroup = "EDR" AND image in ("\cmd.exe", "\cscript.exe", "\powershell.exe", "\pwsh.exe", "\wscript.exe") AND originalfilename in ("Cmd.EXE","cscript.exe","PowerShell.EXE","pwsh.dll","wscript.exe" ) AND commandline in ("ˣ","˪","ˢ","∕","⁄","―","—"," ","¯","®","¶") |
Reference:
Sigma Detection Rule for Suspicious Windows Command-Line Unicode Image Obfuscation
Wietze Beukema's Analysis of Windows Command-Line Obfuscation
Atomic Red Team Test for DLP Evasion Using Sensitive Data in a VBA Macro Over HTTP