analyzing-heap-spray-exploitation
하는 일
이 도구는 메모리 파일에서 '힙 스프레이' 공격을 찾고 분석하도록 돕습니다. 해커가 자신의 프로그램을 실행하기 위해 사용하는 악성 코드의 패턴을 찾습니다.
사용하는 경우
- ✓보안 사고를 조사할 때.
- ✓공격 탐지 규칙을 만들 때.
- ✓이런 공격에 대해 보안이 제대로 작동하는지 확인할 때.
스킬 링크
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-heap-spray-exploitation/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 메모리 파일에서 힙 스프레이 공격을 분석해 발견한 내용을 알려 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
도구는 Volatility3라는 프로그램을 사용해 메모리를 조사합니다. 의심스러운 영역과 알려진 공격 코드 패턴을 찾고, 분석을 위해 악성 코드를 추출하려고 시도합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
Analyzing Heap Spray Exploitation
Overview
Heap 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.
When to Use
- When investigating security incidents that require analyzing heap spray exploitation
- 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
- Python 3.9+ with
volatility3framework installed - Memory dump file (.raw, .vmem, .dmp format)
- Understanding of virtual memory layout and VAD (Virtual Address Descriptor) trees
- Familiarity with common shellcode patterns and NOP sled encodings
Steps
Step 1: Identify Suspicious Processes
Use Volatility3 windows.malfind to scan for processes with executable injected memory regions.
Step 2: Analyze VAD Entries
Examine VAD tree entries using windows.vadinfo for large contiguous allocations with RWX permissions.
Step 3: Scan for NOP Sled Patterns
Search suspicious memory regions for NOP sled signatures (0x90 sequences, 0x0c0c0c0c patterns).
Step 4: Extract and Analyze Shellcode
Dump suspicious memory regions and identify shellcode using byte pattern analysis.
Expected Output
JSON report with suspicious processes, heap spray indicators, NOP sled locations, memory region sizes, and extracted shellcode hashes.
자주 묻는 질문
'힙 스프레이'란 무엇인가요?
해커가 악성 코드가 실행될 가능성을 높이려고 쓰는 기법입니다. 메모리의 큰 부분을 자신이 통제하는 데이터로 채워 성공 가능성을 높입니다.
'NOP 슬레드'란 무엇인가요?
아무 일도 하지 않는 명령(NOP는 'No Operation'의 약자)의 연속입니다. 악성 코드의 본 공격 코드 앞에 두어, 실행이 주 공격 코드로 미끄러져 가게 합니다.
Volatility3란 무엇인가요?
컴퓨터 메모리를 분석하는 도구입니다. 보안 사고 중 또는 사고 이후 시스템에서 무슨 일이 일어났는지 이해하는 데 도움을 줍니다.
상세 정보
작성자의 원본 설명
Detect and analyze heap spray attacks in memory dumps using Volatility3 plugins to identify NOP sled patterns, shellcode landing zones, and suspicious large allocations in process virtual address space.
인기도
- GitHub 스타
- 35k
- 순위
- #7615
- 라이선스
- Apache-2.0
- 업데이트
- 2026. 8. 31.
댓글
- …
이 저장소의 다른 스킬
abusing-dpapi-for-credential-access
35kAI 에이전트에게 특정 작업을 위한 준비된 지침을 제공해, 더 잘하고 더 빠르게 처리하도록 합니다.
abusing-shadow-credentials-for-privesc
35kAI 에이전트가 명확하고 잘 구성된 텍스트를 쓰도록 가르칩니다.
achieving-cmmc-level-2-compliance
35kCMMC Level 2 규정 준수를 위한 환경을 준비하도록 돕습니다. 보안 요구 사항을 구현하고 필요한 문서를 관리합니다.
acquiring-disk-image-with-dd-and-dcfldd
35k에이전트가 하드 드라이브의 정확한 복사본을 만들도록 돕습니다. 조사 중 정보가 손실되거나 변경되지 않도록 하는 데 유용합니다.