Malicious AI CLI Anti-Attribution and Permission Bypass Flags

PremiumReviewedSigma · High · v1
Category
process_creation
Author
HuntRule
Published
2026-10-21
Updated
2026-10-21

ATT&CK techniques

Execution
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Defense Evasion

  7. Cred Access

  8. Discovery

  9. Lateral Movement

  10. Collection

  11. C2

  12. Exfiltration

  13. Impact

What it detects

This rule detects invocation of an AI coding CLI with flags that suppress attribution headers or bypass the human approval gate such as the skip-permissions switch or the yolo approval mode. The Chinese-speaking actor sets these options to let an AI model run offensive actions autonomously and anonymously. Detecting these flags reveals adversarial abuse of agentic tooling to remove human oversight.

Related detections9 linkedT1059.006 — drag to rearrange
Suspicious Python HTTP Server Staging for Payload Delivery
Suspicious Python Base64 Encoded Command Execution (via process_creation)
Suspicious __init__.py Drop in Public Directory by Slow Pisces (via file_event)
Malicious Python Reverse Shell One-Liner Execution (via process_creation)
Suspicious Silver Fox Backdoor Execution via pythonw appclient Module (via process_creation)
Suspicious Malicious MCP Package devtools-assistant Execution (via process_creation)
Malicious GitVenom Python Fernet Decrypt-and-Execute Loader via process_creation
Suspicious Python Executing Script from var root Library Caches on macOS (via process_creation)
Suspicious Python Script Persistence in User Startup Folder
Malicious AI CLI Anti-Attribution and Permission Bypass Flags
Pivot detection · T1059.006 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.