मुख्य सामग्री पर जाएँ
Skillpedia
एजेंट35k · #7843

detecting-living-off-the-land-attacks

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

यह टूल आपके कंप्यूटर पर संदिग्ध गतिविधि ढूंढने में मदद करता है। यह ऐसे प्रोग्राम देखता है जो आमतौर पर सुरक्षित होते हैं, लेकिन उन्हें गलत तरीके से इस्तेमाल करके हानिकारक काम किए जा रहे होते हैं।

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

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

Skill का लिंक

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-living-off-the-land-attacks/SKILL.md

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

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

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

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

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

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

“certutil, mshta, या rundll32 जैसे प्रोग्राम के संदिग्ध इस्तेमाल को ढूंढो।”

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

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

यह देखता है कि प्रोग्राम कैसे शुरू हो रहे हैं, उन्हें कौन से कमांड मिल रहे हैं और उन्हें किसने शुरू किया। अगर कोई सामान्य प्रोग्राम किसी असामान्य या अनपेक्षित तरीके से इस्तेमाल होता है, तो यह चेतावनी का संकेत माना जाता है।

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

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

Detecting Living Off the Land Attacks

Monitor for suspicious use of legitimate Windows binaries (LOLBins) including certutil, mshta, rundll32, regsvr32, and others used in fileless and living-off-the-land attack techniques.

When to Use

  • Building detection rules for SIEM or EDR platforms to catch LOLBin abuse in real time
  • Investigating alerts where legitimate system binaries appear in unexpected execution contexts
  • Threat hunting across endpoint telemetry for fileless attack indicators
  • Hardening application whitelisting policies (AppLocker, WDAC) to restrict dangerous LOLBin usage
  • Creating Sysmon configurations tuned to capture LOLBin-related process creation events
  • Responding to incidents where adversaries bypassed AV by using only built-in OS tools

Do not use for blocking all LOLBin execution outright; these are legitimate system tools with valid administrative uses. Detection must focus on anomalous context (parent process, command-line arguments, network activity) rather than binary presence alone.

Prerequisites

  • Sysmon v15+ installed on Windows endpoints with a tuned configuration (SwiftOnSecurity or Olaf Hartong baseline)
  • SIEM platform ingesting Sysmon Event IDs 1 (Process Create), 3 (Network Connection), 7 (Image Loaded), 11 (File Create)
  • Windows Event Log forwarding for Security Event IDs 4688 (Process Creation with command-line logging enabled)
  • LOLBAS project reference: https://lolbas-project.github.io/
  • Python 3.8+ with evtx, pandas for offline log analysis
  • Sigma rule repository for cross-platform detection rule authoring

Workflow

Step 1: Deploy a LOLBin-Focused Sysmon Configuration

Create a Sysmon config that captures the process creation and network events needed for LOLBin detection:

<!-- File: sysmon-lolbin-detection.xml -->
<Sysmon schemaversion="4.90">
  <EventFiltering>
    <!-- Process Creation: capture all LOLBin executions with full command lines -->
    <RuleGroup name="LOLBin Process Creation" groupRelation="or">
      <ProcessCreate onmatch="include">
        <Image condition="end with">certutil.exe</Image>
        <Image condition="end with">mshta.exe</Image>
        <Image condition="end with">rundll32.exe</Image>
        <Image condition="end with">regsvr32.exe</Image>
        <Image condition="end with">msbuild.exe</Image>
        <Image condition="end with">installutil.exe</Image>
        <Image condition="end with">cmstp.exe</Image>
        <Image condition="end with">wmic.exe</Image>
        <Image condition="end with">bitsadmin.exe</Image>
        <Image condition="end with">certreq.exe</Image>
        <Image condition="end with">esentutl.exe</Image>
        <Image condition="end with">expand.exe</Image>
        <Image condition="end with">extrac32.exe</Image>
        <Image condition="end with">findstr.exe</Image>
        <Image condition="end with">hh.exe</Image>
        <Image condition="end with">ie4uinit.exe</Image>
        <Image condition="end with">mavinject.exe</Image>
        <Image condition="end with">msiexec.exe</Image>
        <Image condition="end with">odbcconf.exe</Image>
        <Image condition="end with">pcalua.exe</Image>
        <Image condition="end with">presentationhost.exe</Image>
        <Image condition="end with">replace.exe</Image>
        <Image condition="end with">xwizard.exe</Image>
        <!-- PowerShell variants -->
        <Image condition="end with">powershell.exe</Image>
        <Image condition="end with">pwsh.exe</Image>
        <!-- Script hosts -->
        <Image condition="end with">cscript.exe</Image>
        <Image condition="end with">wscript.exe</Image>
      </ProcessCreate>
    </RuleGroup>

    <!-- Network connections from LOLBins (highly suspicious) -->
    <RuleGroup name="LOLBin Network" groupRelation="or">
      <NetworkConnect onmatch="include">
        <Image condition="end with">certutil.exe</Image>
        <Image condition="end with">mshta.exe</Image>
        <Image condition="end with">rundll32.exe</Image>
        <Image condition="end with">regsvr32.exe</Image>
        <Image condition="end with">msbuild.exe</Image>
        <Image condition="end with">bitsadmin.exe</Image>
        <Image condition="end with">expand.exe</Image>
        <Image condition="end with">esentutl.exe</Image>
        <Image condition="end with">replace.exe</Image>
      </NetworkConnect>
    </RuleGroup>
  </EventFiltering>
</Sysmon>

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

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

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

क्या यह सभी संदिग्ध प्रोग्राम को ब्लॉक कर देगा?

नहीं, इसका लक्ष्य इन प्रोग्राम के संदिग्ध इस्तेमाल को पहचानना है, उन्हें पूरी तरह ब्लॉक करना नहीं। इनके वैध उपयोग भी होते हैं, इसलिए पहचान इस पर होती है कि इन्हें कैसे और कब इस्तेमाल किया गया।

क्या इसके लिए कुछ जटिल इंस्टॉल करना पड़ेगा?

हां, आपको Sysmon इंस्टॉल और सही तरीके से कॉन्फ़िगर करना होगा, साथ ही Windows इवेंट लॉग इकट्ठा करने वाला सिस्टम भी चाहिए। यह सुरक्षा के लिए एक उन्नत सेटअप है।

जानकारी

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

Detect abuse of legitimate Windows binaries (LOLBins) used for living off the land attacks. Monitors process creation, command-line arguments, and parent-child relationships to identify suspicious LOLBin execution patterns. '

repo: mukul975/Anthropic-Cybersecurity-Skills

लोकप्रियता

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

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

0

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

कमेंट

  • …

इस repository की और skills

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