मुख्य सामग्री पर जाएँ
Skillpedia
सिक्योरिटी6.5k · #14171

reverser-malware-triage

यह क्या करती है

यह लगभग पंद्रह मिनट में संदिग्ध फ़ाइल आँकने का तेज़ चरण-दर-चरण तरीका देती है। यह उन सुरक्षा विश्लेषकों के लिए है जिन्हें अज्ञात फ़ाइलें मिलती हैं और जिन्हें पहला जवाब चाहिए।

कब इस्तेमाल करें

  • ✓जब विश्लेषक को अज्ञात प्रोग्राम मिले और आगे बढ़ाने से पहले त्वरित फ़ैसला चाहिए।
  • ✓जब सुरक्षा टीम फ़ाइल का हैश सार्वजनिक मैलवेयर रिपोर्ट से मिलाना चाहे।
  • ✓जब विश्लेषक तय करना चाहे कि सैंपल पर पूरा रिवर्स इंजीनियरिंग काम लगाने लायक है या नहीं।

Skill का लिंक

https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/reverser/malware-triage/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/BitterSecurity/Decepticon/blob/main/packages/decepticon/decepticon/skills/standard/reverser/malware-triage/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मुझे ईमेल से एक अज्ञात प्रोग्राम फ़ाइल मिली है। मुझे एक त्वरित पहला फ़ैसला दीजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

यह स्किल AI को त्वरित जाँचों से गुज़ारती है: फ़ाइल प्रकार, हैश खोज, पढ़ने योग्य टेक्स्ट, imports और एंट्रॉपी, और ज़रूरत पड़ने पर sandbox में चलाना। अंत में एक फ़ैसला आता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Malware Triage — 15 minute first verdict

You have a suspicious binary. Goal: in 15 minutes, decide CLEAN / SUSPICIOUS / MALICIOUS / NEEDS-DEEPER.

Phase 1: Static (5 min)

# 1. File format
file sample.bin
exiftool sample.bin                 # author / compile timestamp / version

# 2. Hash + reputation
sha256sum sample.bin
# Submit to: VirusTotal, MalwareBazaar, IntelX, Joe Sandbox, ANY.RUN
# Often the verdict already exists — saves you 14 minutes.

# 3. Strings — fast triage signal
strings -n 8 sample.bin | sort -u | head -100
strings -e l -n 8 sample.bin | sort -u | head -50   # wide (UTF-16) strings on Windows

# Suspicious strings to grep for:
strings sample.bin | grep -iE 'http|https|wmic|powershell|cmd.exe|temp|appdata|amsi|defender|reflectiveloader'

# 4. Format-specific: PE
peresearcher sample.exe   # OR python pefile
python3 -c '
import pefile
p = pefile.PE("sample.exe")
print("Compile time:", p.FILE_HEADER.TimeDateStamp)
print("Sections:", [(s.Name.decode().rstrip("\x00"), s.SizeOfRawData, s.get_entropy()) for s in p.sections])
print("Imports:", [(e.dll.decode(), [i.name.decode() if i.name else hex(i.ordinal) for i in e.imports]) for e in p.DIRECTORY_ENTRY_IMPORT])
'

# 5. Entropy → packed?
python3 -c '
import math
data = open("sample.bin","rb").read()
counts = [data.count(bytes([b])) for b in range(256)]
total = len(data)
ent = -sum((c/total)*math.log2(c/total) for c in counts if c)
print(f"Entropy: {ent:.3f} / 8 — {'packed' if ent > 7.5 else 'normal'}")
'

# 6. YARA against canonical rulesets
yara -r /opt/yara-rules/ sample.bin
yara -r /opt/Neo23x0-signature-base/ sample.bin

Phase 2: Dynamic (5 min — in an isolated VM)

# Pre-flight (do this once, save snapshot)
# - Disconnected network OR use INetSim/FakeNet-NG to fake services
# - Procmon recording (Process / File / Network / Registry filters)
# - Wireshark capturing on the snapshot's network adapter
# - Fakedns / inetsim listening for DNS / HTTP / SMTP / FTP

# Detonate
cp sample.bin C:\tmp\sample.exe
# Right-click → Run as admin OR sample.exe in cmd

# Observe for 60-180 seconds, then take snapshot
# Then revert VM for next run

Things to look for

Signal Verdict
Writes to \AppData\Local\Temp then executes Likely dropper
Creates Run/RunOnce registry key Persistence
Schedules a task Persistence
Modifies firewall via netsh Defense evasion
Spawns powershell + LongStringEncoded Stage 2
Network: HTTPS to a no-SNI IP C2 callback
DNS to a DGA-looking domain C2 callback
Reads process memory of lsass.exe / winlogon.exe Credential theft
Writes to userinit / shells / image-file-exec-options Persistence
Touches \Microsoft\Cryptography\Defaults\Provider Cert injection

Phase 3: Unpack (if entropy was high, optional 5 min)

# In dynamic VM, after detonation, dump memory:
# Scylla (UI) → attach to process, dump PE image
# OR PE-sieve (command-line):
pe-sieve.exe /pid 1234 /dir dumped
# OR DnSpy + DotNetReactorUnpacker for .NET
# OR de4dot for obfuscated .NET

# Then static-re the unpacked binary (Phase 1 strings/imports against the dump)

Phase 4: Verdict + handoff

Verdict Indicators Next step
CLEAN Known-good hash, signed, expected strings/imports, no suspicious behavior Mark + move on
SUSPICIOUS Unsigned, low rep, mildly unusual imports/strings, no clear malicious behavior Sandbox 30 min longer, YARA against custom rules
MALICIOUS C2 callback, drops files, persistence, credential theft, packed + evades VMs IOC extraction, then deep RE (load reverser/ghidra/SKILL.md)
NEEDS-DEEPER High entropy, anti-analysis, custom-packed, no obvious signal Unpack first (Phase 3), then re-triage

IOC extraction template

If MALICIOUS:

  • Hashes (md5, sha1, sha256)
  • C2 domains / IPs (from PCAP)
  • Mutex names (Procmon: CreateMutex events)
  • File paths created
  • Registry keys modified
  • YARA signature (generate from unique strings/code)

Tooling cheatsheet

Stage Tool Use
Static (PE) pefile, capa, exiftool, Detect It Easy (DIE) Format + capability scan
Static (ELF) readelf, objdump, radare2 Format + symbols
Static (Mach-O) jtool2, otool, MachOView Format + symbols
Dynamic Cuckoo, CAPE, ANY.RUN, Joe Sandbox, Hatching Triage Automated sandbox
Network Wireshark, mitmproxy, FakeNet-NG, INetSim Traffic capture + fake se
अक्सर पूछे जाने वाले सवाल

पहला फ़ैसला कितना समय लेता है?

स्किल का लक्ष्य लगभग पंद्रह मिनट में पहला फ़ैसला देना है।

कौन सी जाँच पहले होती है?

यह फ़ाइल प्रकार, हैश खोज और पढ़ने योग्य टेक्स्ट से शुरू होती है, फिर गहरी जाँच पर जाती है।

कब गहराई में जाने को कहती है?

अगर पहली जाँचें निर्णायक न हों, तो यह पूरी रिवर्स इंजीनियरिंग समीक्षा की सलाह देती है।

जानकारी

लेखक का मूल विवरण

Fast malware triage workflow — static (PE/Mach-O/ELF format, strings, imports, signatures, entropy/packed indicators), dynamic (sandbox with INetSim, Wireshark, Process Monitor, Procmon, time-shift), unpack (Scylla/PE-sieve), then full RE with Ghidra/IDA. Designed for ≤15 min initial verdict.

repo: BitterSecurity/Decepticon

लोकप्रियता

GitHub स्टार
6.5k
रैंकिंग में स्थान
#14171
लाइसेंस
Apache-2.0
अपडेट की गई
1/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

detector-overview

6.5k

यह आपके एजेंट को स्कैनर से चिह्नित कोड पढ़ने और तय करने में मदद करती है कि कौन सी जगहें असली सुरक्षा बग हैं और कौन सी गलत चेतावनी।

कोडिंगसिक्योरिटी

exploiter-overview

6.5k

यह आपके एजेंट को कई पक्की सुरक्षा कमज़ोरियों को एक परीक्षण श्रृंखला में जोड़ने और जाँचने में मदद करती है कि वह श्रृंखला कितनी दूर तक पहुँच सकती है।

कोडिंगसिक्योरिटी

llm-redteam-overview

6.5k

यह आपके एजेंट को परीक्षण के लिए सही AI रेड-टीम गाइड खोजने में मदद करती है, प्रॉम्प्ट इंजेक्शन से लेकर मॉडल के दुरुपयोग तक 15 रणनीति समूहों में।

कोडिंगसिक्योरिटी

aatmf-t01-prompt-injection

6.5k

समझाती है कि प्रॉम्प्ट इंजेक्शन क्या है, जिसमें छिपे निर्देश AI सिस्टम के नियम बदलने की कोशिश करते हैं, ताकि सुरक्षा परीक्षक उसकी जाँच कर सकें।

कोडिंगसिक्योरिटी

मिलती-जुलती skills