AGENT SKILL

malware-dynamic-anyrun-monitor

| | **Interactive Sandbox** | Analysis environment allowing real-time analyst interaction with the executing sample, enabling triggering of user-dependent behaviors | | **MITM Proxy** | Man-in-the-middle TLS interception in ANY.

License 许可
MIT
最近更新
2026-09-01
Stars
★ 0
Forks
0

01 前言 Front Matter

name
malware-dynamic-anyrun-monitor
domain
cybersecurity
description
| | **Interactive Sandbox** | Analysis environment allowing real-time analyst interaction with the executing sample, enabling triggering of user-dependent behaviors | | **MITM Proxy** | Man-in-the-middle TLS interception in ANY.

02 资源文件 1

03 SKILL.md 正文

| | Interactive Sandbox | Analysis environment allowing real-time analyst interaction with the executing sample, enabling triggering of user-dependent behaviors | | MITM Proxy | Man-in-the-middle TLS interception in ANY.RUN that decrypts HTTPS traffic for visibility into encrypted C2 communications | | Residential Proxy | ANY.RUN feature routing malware traffic through residential IP addresses to bypass geo-IP and datacenter-IP evasion checks | | Suricata Alerts | Network IDS signatures triggered during execution, providing immediate identification of known malicious traffic patterns | | Process Tree | Hierarchical visualization of parent-child process relationships showing the complete execution chain from initial sample to final payloads | | Behavioral Tags | ANY.RUN classification labels automatically applied based on observed behavior (e.g., "trojan", "stealer", "ransomware") |

Tools & Systems

  • ANY.RUN: Cloud-based interactive malware sandbox providing real-time execution monitoring, process trees, network capture, and MITRE ATT&CK mapping
  • ANY.RUN API: REST API for programmatic sample submission, status checking, and report/artifact retrieval
  • Suricata: Integrated network IDS within ANY.RUN providing signature-based detection of malicious network traffic
  • MITRE ATT&CK Navigator: Framework integration mapping observed malware behaviors to adversary techniques and tactics
  • VirusTotal Integration: Automatic hash lookup of sample and dropped files against VirusTotal detection results

Common Scenarios

Scenario: Analyzing a Macro-Enabled Document Requiring User Interaction

Context: Phishing email contains a .docm file that requires clicking "Enable Content" to trigger the macro payload. Traditional non-interactive sandboxes fail to trigger the malicious behavior.

Approach:

  1. Upload .docm to ANY.RUN with Windows 10 environment and Microsoft Office installed
  2. When Word opens and displays the security banner, click "Enable Content" interactively
  3. Observe the macro execution in the process tree (Word -> cmd.exe -> powershell.exe)
  4. Monitor network panel for PowerShell downloading second-stage payload
  5. If a UAC prompt appears, click "Yes" to allow the payload to observe full behavior chain
  6. Review Suricata alerts for known malware signatures on the downloaded payload
  7. Export IOCs (download URLs, dropped file hashes, C2 domains) for blocking

Pitfalls:

  • Forgetting to enable MITM proxy, resulting in encrypted HTTPS traffic without visibility
  • Using too short an execution timeout for malware with delayed execution or sleep timers
  • Uploading to public analysis when the sample contains sensitive organizational data
  • Not clicking through all prompts; some malware requires multiple user interactions to fully execute

Output Format

ANY.RUN ANALYSIS REPORT
=========================
Task URL:         https://app.any.run/tasks/<task_id>
Sample:           invoice_q3.docm
SHA-256:          e3b0c44298fc1c149afbf4c8996fb924...
Verdict:          MALICIOUS (Score: 95/100)
Family:           Emotet
Tags:             [trojan, banker, spam, macro]

PROCESS TREE
WINWORD.EXE (PID: 2184)
  └── cmd.exe (PID: 3456) "/c powershell -enc JABXAG..."
      └── powershell.exe (PID: 4012)
          └── rundll32.exe (PID: 4568) "C:\Users\...\payload.dll,Control_RunDLL"

NETWORK INDICATORS
DNS:    update.emotet-c2[.]com -> 185.220.101.42
HTTPS:  POST hxxps://185.220.101[.]42/wp-content/gate/ (C2 beacon)
HTTP:   GET hxxp://compromised-site[.]com/invoice.dll (payload download)

SURICATA ALERTS
[1:2028401] ET MALWARE Emotet CnC Beacon
[1:2028402] ET MALWARE Win32/Emotet Activity

MITRE ATT&CK TECHNIQUES
T1566.001  Phishing: Spearphishing Attachment
T1204.002  User Execution: Malicious File
T1059.001  Command and Scripting Interpreter: PowerShell
T1218.011  Rundll32 Execution
T1071.001  Application Layer Protocol: Web Protocols

DROPPED FILES
payload.dll  SHA-256: abc123... Detection: 48/72 (VirusTotal)
config.dat   SHA-256: def456... (encrypted configuration)

04 同仓库更多 Skills