performing-fuzzing-with-aflplusplus
यह क्या करती है
यह tool प्रोग्राम में खामियां ढूंढने में मदद करता है। यह प्रोग्राम को बहुत सारे अलग-अलग inputs देकर देखता है कि वह टूटता है या अनपेक्षित तरीके से व्यवहार करता है, खासकर security समस्याओं के लिए।
कब इस्तेमाल करें
- ✓जब किसी प्रोग्राम की security जांचनी हो।
- ✓जब ऐसे bugs ढूंढने हों जिनका attackers फायदा उठा सकें।
- ✓यह देखने के लिए कि तनाव की स्थिति में प्रोग्राम सही काम करता है या नहीं।
Skill का लिंक
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/performing-fuzzing-with-aflplusplus/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“AFL++ का इस्तेमाल करके मेरे प्रोग्राम 'my_app' में bugs ढूंढो।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह tool प्रोग्राम को इस तरह बदलता है कि पता चले कौन सा हिस्सा चल रहा है। फिर यह input data के कई रूप बनाकर प्रोग्राम को देता है और देखता है कि कहाँ वह फेल होता है। अगर कोई समस्या मिलती है, तो उसे अलग करने की कोशिश करता है ताकि उसे ठीक किया जा सके।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Performing Fuzzing with AFL++
Overview
AFL++ is a community-maintained fork of American Fuzzy Lop (AFL) that provides coverage-guided fuzzing for compiled binaries. It instruments targets at compile time or via QEMU/Unicorn mode for binary-only fuzzing, then mutates input corpora to discover new code paths. AFL++ includes advanced scheduling (MOpt, rare), custom mutators, CMPLOG for input-to-state comparison solving, and persistent mode for high-throughput fuzzing.
When to Use
- When conducting security assessments that involve performing fuzzing with aflplusplus
- When following incident response procedures for related security events
- When performing scheduled security testing or auditing activities
- When validating security controls through hands-on testing
Prerequisites
- AFL++ installed (
apt install afl++or build from source) - Target binary source code (for compile-time instrumentation) or QEMU mode for binary-only
- Initial seed corpus of valid inputs for the target format
- Linux system with /proc/sys/kernel/core_pattern configured
Steps
- Instrument the target binary with
afl-ccorafl-clang-fast - Prepare seed corpus directory with minimal valid inputs
- Minimize corpus with
afl-cminto remove redundant seeds - Run
afl-fuzzwith appropriate flags (-i input -o output) - Monitor fuzzing progress via afl-whatsup and UI stats
- Triage crashes with
afl-tminminimization and CASR/GDB analysis - Report unique crashes with reproduction steps
Expected Output
+++ Findings +++
unique crashes: 12
unique hangs: 3
last crash: 00:02:15 ago
+++ Coverage +++
map density: 4.23% / 8.41%
paths found: 1847
exec speed: 2145/sec
अक्सर पूछे जाने वाले सवाल
'fuzzing' क्या है?
Fuzzing एक software testing तरीका है जिसमें प्रोग्राम को गलत, अनपेक्षित या random डेटा दिया जाता है ताकि crash या memory leak जैसे bugs मिल सकें।
AFL++ क्या है?
AFL++ एक लोकप्रिय tool है जो fuzzing की प्रक्रिया को अपने आप चलाता है, जिससे प्रोग्राम में समस्याएं ढूंढना आसान और तेज़ होता है।
क्या इसे इस्तेमाल करने के लिए programming आनी चाहिए?
Tool खुद तकनीकी है, लेकिन इसका मकसद यह है कि आप testing code खुद लिखे बिना प्रोग्राम जांच सकें। आपको command line और जिस प्रोग्राम की जांच करनी है उसकी थोड़ी जानकारी होनी चाहिए।
जानकारी
लेखक का मूल विवरण
Performs coverage-guided fuzzing of compiled binaries with AFL++, instrumenting targets via afl-cc/afl-clang-fast, minimizing corpora with afl-cmin and afl-tmin, running parallel campaigns with afl-fuzz, and triaging crashes with CASR or GDB scripts. Use for binary fuzzing, crash and memory-corruption discovery, coverage-guided testing, or running AFL++ fuzzing campaigns. '
लोकप्रियता
- GitHub स्टार
- 35k
- रैंकिंग में स्थान
- #8233
- लाइसेंस
- 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
test-driven-development
311kयह आपके एजेंट को किसी भी फ़ीचर या सुधार से पहले पहले असफल होने वाला टेस्ट लिखना, उसे असफल होते देखना, फिर पास करने वाला सबसे छोटा कोड लिखना सिखाती है।
verification-before-completion
311kयह आपके एजेंट को किसी काम, सुधार या build के पूरा या पास होने का दावा करने से पहले असली जांच चलाकर उसका आउटपुट पढ़ना सिखाती है।
migrate-to-shoehorn
310kआपकी टेस्ट फ़ाइलों में जोखिम भरे type casts की जगह shoehorn लाइब्रेरी लगाती है, ताकि टेस्ट अधूरे डेटा से भी type checks पास कर सकें।