abusing-dpapi-for-cred…
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys) online or offline using…
Analyzes RAM memory dumps from compromised systems using the Volatility framework to identify malicious processes,
$ npx -y skills add mukul975/Anthropic-Cybersecurity-Skills --skill analyzing-memory-dumps-with-volatility --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/analyzing-memory-dumps-with-volatilityContext preview
The summary Claude sees to decide when to auto-load this skill.
Analyzes RAM memory dumps from compromised systems using the Volatility framework to identify malicious processes,
name: analyzing-memory-dumps-with-volatility description: 'Analyzes RAM memory dumps from compromised systems using the Volatility framework to identify malicious processes, injected code, network connections, loaded modules, and extracted credentials. Supports Windows, Linux, and macOS memory forensics. Activates for requests involving memory forensics, RAM analysis, volatile data examination, process injection detection, or memory-resident malware investigation. ' domain: cybersecurity subdomain: malware-analysis tags: - malware - memory-forensics - Volatility - RAM-analysis - incident-response mitre_attack: - T1055 - T1003 - T1059 - T1620 version: 1.0.0 author: mahipal license: Apache-2.0 nist_csf: - DE.AE-02 - RS.AN-03 - ID.RA-01 - DE.CM-01
**Do not use** for disk image analysis; use Autopsy, FTK, or Sleuth Kit for disk forensics.
Determine the operating system and version from the memory dump:
# Volatility 3: Automatic OS detection vol3 -f memory.dmp windows.info # List available plugins vol3 -f memory.dmp --help # If symbols are needed, download from: # https://downloads.volatilityfoundation.org/volatility3/symbols/ # For Volatility 2 (legacy): vol2 -f memory.dmp imageinfo vol2 -f memory.dmp kdbgscan
List all processes and identify suspicious entries:
# List all processes vol3 -f memory.dmp windows.pslist # Process tree (parent-child relationships) vol3 -f memory.dmp windows.pstree # Scan for hidden/unlinked processes (rootkit detection) vol3 -f memory.dmp windows.psscan # Compare pslist vs psscan to find hidden processes # Processes in psscan but not pslist are potentially hidden by rootkits # Check for process hollowing vol3 -f memory.dmp windows.pslist --dump # Then verify the dumped EXE matches the expected binary on disk
Suspicious Process Indicators: ━━━━━━━━━━━━━━━━━━━━━━━━━━━━ - svchost.exe not spawned by services.exe (wrong parent) - csrss.exe/lsass.exe with unusual parent process - Multiple instances of lsass.exe (should be only one) - Processes with misspelled names (scvhost.exe, lssas.exe) - cmd.exe or powershell.exe spawned by WINWORD.EXE or browser - Processes running from unusual paths (%TEMP%, %APPDATA%) - Processes with no parent (orphaned - parent terminated)
Scan for injected code and process hollowing:
# Detect injected code in processes (malfind) vol3 -f memory.dmp windows.malfind # Malfind looks for: # - Memory regions with PAGE_EXECUTE_READWRITE protection # - Memory regions containing PE headers (MZ/PE signature) # - VAD (Virtual Address Descriptor) anomalies # Dump injected memory regions for analysis vol3 -f memory.dmp windows.malfind --dump --pid 2184 # List loaded DLLs per process vol3 -f memory.dmp windows.dlllist --pid 2184 # Detect hollowed processes by comparing mapped image to disk vol3 -f memory.dmp windows.hollowfind # Scan for loaded drivers (potential rootkit drivers) vol3 -f memory.dmp windows.driverscan # List kernel modules vol3 -f memory.dmp windows.modules
Extract active and closed network connections:
# List all network connections (active and listening) vol3 -f memory.dmp windows.netscan # Output columns: Offset, Protocol, LocalAddr, LocalPort, ForeignAddr, ForeignPort, State, PID, Owner # Filter for established connections to external IPs vol3 -f memory.dmp windows.netscan | grep ESTABLISHED # For older Windows (XP/2003): vol3 -f memory.dmp windows.netstat # Cross-reference PIDs with process list # Suspicious: svchost.exe connected to external IP on non-standard port # Suspicious: notepad.exe or calc.exe with network connections
Recover sensitive data from memory:
# Dump process memory for a specific PID vol3 -f memory.dmp windows.memmap --dump --pid 2184 # Extract command-line history vol3 -f memory.dmp windows.cmdline # Extract environment variables vol3 -f memory.dmp windows.envars --pid 2184 # Registry analysis (extract Run keys for persistence) vol3 -f memory.dmp windows.registry.printkey \ --key "Software\Microsoft\Windows\CurrentVersion\Run" # Extract hashed/cached credentials vol3 -f memory.dmp windows.hashdump vol3 -f memory.dmp windows.cachedump vol3 -f memory.dmp windows.lsadump # Extract clipboard contents vol3 -f memory.dmp windows.clipboard # File extraction from memory vol3 -f memory.dmp windows.filescan | grep -i "payload\|malware\|suspicious" vol3 -f memory.dmp windows.dumpfiles --virtaddr 0xFA8001234560
Apply YARA signatures to detect known malware in memory:
# Scan entire memory dump with YARA rules vol3 -f memory.dmp yarascan.YaraScan --yara-file malware_rules.yar # Scan specific process memory vol3 -f memory.dmp yarascan.YaraScan --yara-file malware_rules.yar --pid 2184 # Built-i
817 structured cybersecurity skills for AI agents · Mapped to 6 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND, NIST AI RMF & MITRE F3 (Fight Fraud) · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 29 security domains · Apache 2.0
Repo: mukul975/Anthropic-Cybersecurity-Skills
Extract and decrypt Windows DPAPI-protected secrets (Credential Manager, browser logins/cookies, Wi-Fi credentials, KeePass keys) online or offline using…
Take over Active Directory accounts by writing attacker-controlled public keys to msDS-KeyCredentialLink (Shadow Credentials) with pyWhisker, Whisker, or…
Prepare a defense-contractor environment for CMMC Level 2 certification: scope CUI and FCI, implement the 110 NIST SP 800-171 Rev 2 security requirements…
Create forensically sound bit-for-bit disk images with dd or dcfldd on a Linux forensic workstation, preserving evidence integrity through hash verification…
Detect dangerous ACL misconfigurations in Active Directory using ldap3
Perform static analysis of Android APK malware using apktool for resource decompilation, jadx for Java source recovery, and androguard for manifest inspection,…