analyzing-heap-spray-exploitation
यह क्या करती है
यह टूल मेमोरी फ़ाइलों में 'heap spray' हमलों को ढूँढकर उनका विश्लेषण करने में मदद करता है। यह उन हानिकारक कोड पैटर्न को खोजता है जिन्हें हैकर अपने प्रोग्राम चलाने के लिए इस्तेमाल करते हैं।
कब इस्तेमाल करें
- ✓सुरक्षा से जुड़ी किसी घटना की जाँच करते समय।
- ✓हमले का पता लगाने वाले नियम (detection rules) बनाने के लिए।
- ✓यह जाँचने के लिए कि सुरक्षा व्यवस्था इन हमलों के खिलाफ काम कर रही है या नहीं।
Skill का लिंक
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/analyzing-heap-spray-exploitation/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“इस मेमोरी फ़ाइल में heap spray हमले ढूँढो और बताओ कि तुम्हें क्या मिला।”
हर हफ़्ते 5 नई skills, 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.
अक्सर पूछे जाने वाले सवाल
'heap spray' क्या है?
'heap spray' एक तकनीक है जिसका इस्तेमाल हैकर यह पक्का करने के लिए करते हैं कि उनका हानिकारक कोड चल ही जाए। वे मेमोरी के बड़े हिस्से को अपने नियंत्रण वाले डेटा से भर देते हैं, जिससे सफलता की संभावना बढ़ जाती है।
'NOP sleds' क्या हैं?
'NOP sleds' ऐसे निर्देशों की श्रृंखला है जो कुछ नहीं करते (NOP का मतलब है 'No Operation')। इन्हें मुख्य हानिकारक कोड से पहले रखा जाता है, ताकि प्रोग्राम का चलना उस मुख्य हमले वाले कोड तक 'फिसलकर' पहुँच जाए।
Volatility3 क्या है?
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
- अपडेट की गई
- 31/8/2026
कमेंट
- …
इस repository की और skills
abusing-dpapi-for-credential-access
35kआपके AI एजेंट को किसी खास काम के लिए तैयार instructions देता है, ताकि वह उसे बेहतर और तेज़ी से कर सके।
abusing-shadow-credentials-for-privesc
35kआपके AI एजेंट को साफ़ और अच्छी तरह से व्यवस्थित लिखना सिखाता है।
achieving-cmmc-level-2-compliance
35kयह आपके एजेंट को CMMC Level 2 compliance के लिए environment तैयार करने में मदद करता है। यह security requirements लागू करता है और ज़रूरी documentation संभालता है।
acquiring-disk-image-with-dd-and-dcfldd
35kआपके एजेंट को hard drives की exact copies बनाने में मदद करता है। जाँच के दौरान किसी भी जानकारी के खोने या बदलने से बचाने के लिए यह उपयोगी है।
मिलती-जुलती skills
reverse-engineer-anything
422kयह आपके एजेंट को REA टूल से शिप हुई ऐप्स और पैकेज को अंदर से समझने, वर्ज़न की तुलना करने या दोबारा बनाने में मदद करती है।
1password
394kयह आपके एजेंट को 1Password CLI सेट करने, साइन इन करने और सीक्रेट्स की वैल्यू चैट में छापे बिना उन्हें पढ़ने या इस्तेमाल करने में मदद करती है।
healthcheck
394kयह आपके एजेंट को उस कंप्यूटर या सर्वर का सुरक्षा ऑडिट करने देती है जिस पर OpenClaw चलता है, जिसमें SSH, firewall, अपडेट और बैकअप शामिल हैं, और फिर सुरक्षित सुधार सुझाती है।