Chuyển đến nội dung
Skillpedia
Bảo mật35k · #7615

analyzing-heap-spray-exploitation

Skill này làm gì

Công cụ này giúp tìm và phân tích các cuộc tấn công “heap spray” trong file bộ nhớ. Nó tìm các mẫu mã độc mà hacker dùng để chạy chương trình của chúng.

Khi nào nên dùng

  • ✓Khi điều tra một sự cố bảo mật.
  • ✓Khi tạo quy tắc phát hiện tấn công.
  • ✓Khi kiểm tra xem hệ thống bảo mật có hoạt động tốt trước các kiểu tấn công này không.

Liên kết skill

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-heap-spray-exploitation/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-heap-spray-exploitation/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Phân tích file bộ nhớ này để tìm tấn công heap spray và cho tôi biết bạn phát hiện được gì.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Công cụ dùng chương trình có tên Volatility3 để kiểm tra bộ nhớ. Nó tìm các vùng đáng ngờ, các mẫu mã tấn công đã biết và cố gắng trích xuất mã độc để phân tích.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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.

Câu hỏi thường gặp

“Heap spray” là gì?

“Heap spray” là kỹ thuật hacker dùng để bảo đảm mã độc của họ được thực thi. Họ lấp đầy một phần lớn bộ nhớ bằng dữ liệu do họ kiểm soát, làm tăng khả năng thành công.

“NOP sleds” là gì?

“NOP sleds” là chuỗi các lệnh không làm gì (NOP nghĩa là “No Operation”). Chúng được đặt trước mã tấn công để “trượt” quá trình thực thi đến mã tấn công chính.

Volatility3 là gì?

Volatility3 là công cụ phân tích bộ nhớ máy tính. Nó giúp hiểu điều gì đang xảy ra trên hệ thống, đặc biệt trong hoặc sau một sự cố bảo mật.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
35k
Vị trí xếp hạng
#7615
Giấy phép
Apache-2.0
Cập nhật
31/8/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự