Tooluck logoTooluck
SKILL.md

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)

skills/analyzing-heap-spray-exploitation/SKILL.md

Apache-2.0Full file
1# Analyzing Heap Spray Exploitation
2
3## Overview
4
5Heap 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.
6
7
8## When to Use
9
10- When investigating security incidents that require analyzing heap spray exploitation
11- When building detection rules or threat hunting queries for this domain
12- When SOC analysts need structured procedures for this analysis type
13- When validating security monitoring coverage for related attack techniques
14
15## Prerequisites
16
17- Python 3.9+ with `volatility3` framework installed
18- Memory dump file (.raw, .vmem, .dmp format)
19- Understanding of virtual memory layout and VAD (Virtual Address Descriptor) trees
20- Familiarity with common shellcode patterns and NOP sled encodings
21
22## Steps
23
24### Step 1: Identify Suspicious Processes
25Use Volatility3 windows.malfind to scan for processes with executable injected memory regions.
26
27### Step 2: Analyze VAD Entries
28Examine VAD tree entries using windows.vadinfo for large contiguous allocations with RWX permissions.
29
30### Step 3: Scan for NOP Sled Patterns
31…

Excerpt shown under the repository's Apache-2.0 license.

More skills in Anthropic-Cybersecurity-Skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates