analyzing-malware-sandbox-evasion-techniques
$
npx mdskill add mukul975/Anthropic-Cybersecurity-Skills/analyzing-malware-sandbox-evasion-techniquesDetect malware evasion tactics by analyzing behavioral reports from sandboxes like Cuckoo or AnyRun.
- Identifies malware that attempts to detect analysis environments during execution.
- Processes behavioral reports from Cuckoo Sandbox and AnyRun platforms.
- Applies detection rules targeting timing checks, VM artifacts, and user interaction.
- Outputs flagged samples requiring deeper manual security investigation.
SKILL.md
.github/skills/analyzing-malware-sandbox-evasion-techniquesView on GitHub ↗
--- name: analyzing-malware-sandbox-evasion-techniques description: Detect sandbox evasion techniques in malware samples by analyzing timing checks, VM artifact queries, user interaction detection, and sleep inflation patterns from Cuckoo/AnyRun behavioral reports domain: cybersecurity subdomain: malware-analysis tags: - sandbox-evasion - malware-analysis - cuckoo - anyrun - mitre-attack - virtualization-detection - behavioral-analysis version: "1.0" author: mahipal license: Apache-2.0 --- # Analyzing Malware Sandbox Evasion Techniques ## Overview Sandbox evasion (MITRE ATT&CK T1497) allows malware to detect analysis environments and alter behavior to avoid detection. This skill analyzes behavioral reports from Cuckoo Sandbox and AnyRun for evasion indicators including timing-based checks (GetTickCount, QueryPerformanceCounter, sleep inflation), VM artifact detection (registry keys, MAC address prefixes, process names like vmtoolsd.exe), user interaction checks (mouse movement, keyboard input), and environment fingerprinting (disk size, CPU count, RAM). Detection rules flag samples exhibiting these behaviors for deeper manual analysis. ## When to Use - When investigating security incidents that require analyzing malware sandbox evasion techniques - When building detection rules or threat hunting queries for this domain - When SOC analysts need structured procedures for this analysis type - When validating security monitoring coverage for related attack techniques ## Prerequisites - Cuckoo Sandbox 2.0+ or AnyRun account for behavioral analysis reports - Python 3.8+ with json library for report parsing - Behavioral report exports in JSON format ## Steps 1. Parse Cuckoo/AnyRun behavioral report JSON files 2. Extract API call sequences for timing-related functions 3. Identify VM artifact detection via registry queries and WMI calls 4. Detect sleep inflation by comparing requested vs actual sleep durations 5. Flag user interaction checks (GetCursorPos, GetAsyncKeyState patterns) 6. Score evasion sophistication based on technique count and diversity 7. Map detected techniques to MITRE ATT&CK T1497 sub-techniques ## Expected Output JSON report listing detected evasion techniques with MITRE ATT&CK mapping, API call evidence, evasion sophistication score, and classification of evasion categories (timing, VM detection, user interaction, environment fingerprinting).
More from mukul975/Anthropic-Cybersecurity-Skills
- acquiring-disk-image-with-dd-and-dcflddCreate forensically sound bit-for-bit disk images using dd and dcfldd while preserving evidence integrity through hash verification.
- analyzing-active-directory-acl-abuseDetect dangerous ACL misconfigurations in Active Directory using ldap3 to identify GenericAll, WriteDACL, and WriteOwner abuse paths
- analyzing-android-malware-with-apktoolPerform static analysis of Android APK malware samples using apktool for decompilation, jadx for Java source recovery, and androguard for permission analysis, manifest inspection, and suspicious API call detection.
- analyzing-api-gateway-access-logs>
- analyzing-apt-group-with-mitre-navigatorAnalyze advanced persistent threat (APT) group techniques using MITRE ATT&CK Navigator to create layered heatmaps of adversary TTPs for detection gap analysis and threat-informed defense.
- analyzing-azure-activity-logs-for-threats>
- analyzing-bootkit-and-rootkit-samples>
- analyzing-browser-forensics-with-hindsightAnalyze Chromium-based browser artifacts using Hindsight to extract browsing history, downloads, cookies, cached content, autofill data, saved passwords, and browser extensions from Chrome, Edge, Brave, and Opera for forensic investigation.
- analyzing-campaign-attribution-evidenceCampaign attribution analysis involves systematically evaluating evidence to determine which threat actor or group is responsible for a cyber operation. This skill covers collecting and weighting attr
- analyzing-certificate-transparency-for-phishingMonitor Certificate Transparency logs using crt.sh and Certstream to detect phishing domains, lookalike certificates, and unauthorized certificate issuance targeting your organization.