본문으로 건너뛰기
Skillpedia
보안35k · #7615

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가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-heap-spray-exploitation/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

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 volatility3 framework 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.

repo: mukul975/Anthropic-Cybersecurity-Skills

인기도

GitHub 스타
35k
순위
#7615
라이선스
Apache-2.0
업데이트
2026. 8. 31.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬