मुख्य सामग्री पर जाएँ
Skillpedia
एनालिसिस और स्प्रेडशीट35k · #7963

hunting-for-lolbins-execution-in-endpoint-logs

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

यह टूल ऐसे वैध Windows प्रोग्रामों को खोजता है जिनका बुरे इरादे से इस्तेमाल करके defenses को धोखा दिया जा रहा हो। यह देखता है कि ये प्रोग्राम कैसे चलाए जा रहे हैं, ताकि संदिग्ध गतिविधि मिल सके।

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

  • ✓यह जांचते समय कि किसी हमले में आम Windows प्रोग्राम इस्तेमाल हुए थे या नहीं।
  • ✓जब आपको शक हो कि हमला सिस्टम टूल्स का इस्तेमाल करके छिप रहा है।
  • ✓यह जांचने के लिए कि आपका security system इन टूल्स के गलत इस्तेमाल को पकड़ सकता है या नहीं।

Skill का लिंक

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-lolbins-execution-in-endpoint-logs/SKILL.md

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

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

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

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

इस skill से मेरी मदद करो: https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/hunting-for-lolbins-execution-in-endpoint-logs/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

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

“process logs में certutil, mshta, rundll32 या regsvr32 के संदिग्ध इस्तेमाल खोजो।”

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

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

यह सामान्य तरीके से इस्तेमाल होने वाले प्रोग्रामों की तुलना logs में दर्ज असली इस्तेमाल से करता है। अगर कोई असामान्य पैटर्न मिलता है, जैसे कोई प्रोग्राम किसी अजीब जगह से बुलाया गया हो या अलग commands के साथ चला हो, तो यह समस्या का संकेत हो सकता है।

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

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

Hunting for LOLBins Execution in Endpoint Logs

When to Use

  • When hunting for fileless attack techniques that abuse built-in Windows binaries
  • After threat intelligence indicates LOLBin-based campaigns targeting your industry
  • When investigating alerts for suspicious use of certutil, mshta, rundll32, or regsvr32
  • During purple team exercises testing detection of defense evasion techniques
  • When assessing endpoint detection coverage for MITRE ATT&CK T1218 sub-techniques

Prerequisites

  • Sysmon Event ID 1 (Process Creation) with full command-line logging
  • Windows Security Event ID 4688 with command-line auditing enabled
  • EDR telemetry with parent-child process relationships
  • SIEM platform for query and correlation (Splunk, Elastic, Microsoft Sentinel)
  • LOLBAS project reference (lolbas-project.github.io) for known abuse patterns

Workflow

  1. Build LOLBin Watchlist: Compile a list of high-risk LOLBins from the LOLBAS project, prioritizing: certutil.exe, mshta.exe, rundll32.exe, regsvr32.exe, msbuild.exe, installutil.exe, cmstp.exe, wmic.exe, wscript.exe, cscript.exe, bitsadmin.exe, and powershell.exe.
  2. Baseline Normal Usage: Establish what normal LOLBin usage looks like in your environment by profiling command-line arguments, parent processes, and user contexts for each binary over 30 days.
  3. Hunt for Anomalous Arguments: Search for LOLBins executed with unusual command-line arguments indicating abuse -- certutil with -urlcache -decode -encode, mshta with URL arguments, rundll32 loading DLLs from temp/user directories, regsvr32 with /s /n /u /i:URL.
  4. Analyze Parent-Child Relationships: Identify unexpected parent processes spawning LOLBins -- for example, outlook.exe spawning mshta.exe, or winword.exe spawning certutil.exe indicates weaponized document delivery.
  5. Check Execution from Unusual Paths: LOLBins executed from non-standard paths (copies placed in %TEMP%, user profile directories) suggest renamed binary abuse.
  6. Correlate with Network Activity: Map LOLBin execution to outbound network connections (Sysmon Event ID 3) to identify download cradles and C2 callbacks.
  7. Score and Prioritize: Rank findings by anomaly severity, combining suspicious arguments, unusual parent process, non-standard path, and network activity indicators.

Key Concepts

Concept Description
T1218 System Binary Proxy Execution
T1218.001 Compiled HTML File (mshta.exe)
T1218.003 CMSTP
T1218.005 Mshta
T1218.010 Regsvr32 (Squiblydoo)
T1218.011 Rundll32
T1127.001 MSBuild
T1197 BITS Jobs (bitsadmin.exe)
T1140 Deobfuscate/Decode Files (certutil.exe)
T1059.001 PowerShell
T1059.005 Visual Basic (wscript/cscript)
LOLBAS Living Off the Land Binaries, Scripts and Libraries project

Tools & Systems

Tool Purpose
Sysmon Process creation with command-line and hash logging
CrowdStrike Falcon EDR with LOLBin detection analytics
Microsoft Defender for Endpoint Built-in LOLBin abuse detection
Splunk SPL-based process hunting and anomaly detection
Elastic Security Pre-built LOLBin detection rules
LOLBAS Project Reference database of LOLBin abuse techniques
Sigma Rules Community detection rules for LOLBin abuse

Detection Queries

Splunk -- High-Risk LOLBin Execution

index=sysmon EventCode=1
| where match(Image, "(?i)(certutil|mshta|rundll32|regsvr32|msbuild|installutil|cmstp|bitsadmin)\.exe$")
| eval suspicious=case(
    match(CommandLine, "(?i)certutil.*(-urlcache|-decode|-encode)"), "certutil_download_decode",
    match(CommandLine, "(?i)mshta.*(http|https|javascript|vbscript)"), "mshta_remote_exec",
    match(CommandLine, "(?i)rundll32.*\\\\(temp|appdata|users)"), "rundll32_unusual_dll",
    match(CommandLine, "(?i)regsvr32.*/s.*/n.*/u.*/i:"), "regsvr32_squiblydoo",
    match(CommandLine, "(?i)msbuild.*\\\\(temp|appdata|users)"), "msbuild_unusual_project",
    match(CommandLine, "(?i)bitsadmin.*/transfer"), "bitsadmin_download",
    match(CommandLine, "(?i)cmstp.*/s.*/ni"), "cmstp_uac_bypass",
    1=1, "normal"
)
| where suspicious!="normal"
| table _time Computer User Image CommandLine ParentImage ParentCommandLine suspicious

KQL -- Microsoft Sentinel LOLBin Hunting

DeviceProcessEvents
| where Timestamp > ago(7d)

…
अक्सर पूछे जाने वाले सवाल

'LOLBins' क्या होते हैं?

LOLBins का मतलब है 'Living Off the Land Binaries', यानी वैध Windows प्रोग्राम जिन्हें हमलावर बिना नए टूल इंस्टॉल किए बुरे काम के लिए इस्तेमाल करते हैं।

कौन से प्रोग्राम LOLBins माने जाते हैं?

आम उदाहरण हैं certutil.exe, mshta.exe, rundll32.exe, regsvr32.exe, और LOLBAS project के संदर्भ में सूचीबद्ध दूसरे प्रोग्राम।

MITRE T1218 क्या है?

यह MITRE ATT&CK का एक वर्गीकरण है, जो उन तरीकों का वर्णन करता है जिनमें हमलावर system binaries से खतरनाक code चलाते हैं, अक्सर पकड़े जाने से बचने के लिए।

जानकारी

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

Hunts for LOLBins (Living Off the Land Binaries) abuse, mapped to MITRE T1218, by analyzing endpoint process-creation logs for suspicious execution patterns of legitimate Windows system binaries used for malicious purposes. Use when reviewing endpoint process telemetry for LOLBins-based defense evasion or building detections for signed-binary proxy execution.

repo: mukul975/Anthropic-Cybersecurity-Skills

लोकप्रियता

GitHub स्टार
35k
रैंकिंग में स्थान
#7963
लाइसेंस
Apache-2.0
अपडेट की गई
31/8/2026

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

0

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

कमेंट

  • …

इस repository की और skills

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