analyzing-heap-spray-exploitation
Agent skill frommukul975/Anthropic-Cybersecurity-Skills
Detect and analyze heap spray attacks in memory dumps using Volatility3
How to install analyzing-heap-spray-exploitation
install analyzing-heap-spray-exploitation
# install the Anthropic-Cybersecurity-Skills pack with the skills CLI
npx skills add mukul975/Anthropic-Cybersecurity-Skills# or add only this skill to Claude Code: copy the folder
skills/analyzing-heap-spray-exploitation/
# into
~/.claude/skills/analyzing-heap-spray-exploitation/ (all projects)
.claude/skills/analyzing-heap-spray-exploitation/ (one project)
1# Analyzing Heap Spray Exploitation23## Overview45Heap spraying is an exploitation technique that fills large regions of a process's heap with attacker-controlled data (typically NOP sleds followed by shellcode) to increase the reliability of code execution exploits. This skill covers detecting heap spray artifacts in memory dumps using Volatility3's malfind, vadinfo, and memmap plugins, identifying suspicious contiguous memory allocations, scanning for NOP sled patterns (0x90, 0x0c0c0c0c), and extracting embedded shellcode for analysis.678## When to Use910- When investigating security incidents that require analyzing heap spray exploitation11- When building detection rules or threat hunting queries for this domain12- When SOC analysts need structured procedures for this analysis type13- When validating security monitoring coverage for related attack techniques1415## Prerequisites1617- Python 3.9+ with `volatility3` framework installed18- Memory dump file (.raw, .vmem, .dmp format)19- Understanding of virtual memory layout and VAD (Virtual Address Descriptor) trees20- Familiarity with common shellcode patterns and NOP sled encodings2122## Steps2324### Step 1: Identify Suspicious Processes25Use Volatility3 windows.malfind to scan for processes with executable injected memory regions.2627### Step 2: Analyze VAD Entries28Examine VAD tree entries using windows.vadinfo for large contiguous allocations with RWX permissions.2930### Step 3: Scan for NOP Sled Patterns31…
Excerpt shown under the repository's Apache-2.0 license.
More skills in Anthropic-Cybersecurity-Skills
- ▸abusing-dpapi-for-credential-access
- ▸abusing-shadow-credentials-for-privesc
- ▸achieving-cmmc-level-2-compliance
- ▸acquiring-disk-image-with-dd-and-dcfldd
- ▸analyzing-active-directory-acl-abuse
- ▸analyzing-android-malware-with-apktool
- ▸analyzing-api-gateway-access-logs
- ▸analyzing-apt-group-with-mitre-navigator
- ▸analyzing-azure-activity-logs-for-threats
- ▸analyzing-bootkit-and-rootkit-samples
- ▸analyzing-browser-forensics-with-hindsight
- ▸analyzing-campaign-attribution-evidence
