detecting-fileless-attacks-on-endpoints

Featured

Detects fileless malware and in-memory attacks that execute entirely in RAM without writing persistent files to disk, evading traditional antivirus. Use when building detections for PowerShell-based attacks, reflective DLL injection, WMI persistence, and registry-resident malware. Activates for requests involving fileless malware detection, in-memory attacks, PowerShell exploitation, or living-off-the-land techniques.

AI & Automation 36,355 stars 4443 forks Updated 2 months ago Apache-2.0

Install

View on GitHub

Quality Score: 94/100

Stars 20%
100
Recency 20%
75
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Detecting Fileless Attacks on Endpoints ## When to Use Use this skill when: - Building detection rules for fileless malware that operates entirely in memory - Hunting for PowerShell-based attacks, reflective DLL injection, and WMI abuse - Configuring endpoint telemetry (Sysmon, AMSI, PowerShell logging) to capture fileless indicators - Investigating incidents where traditional AV found no malicious files **Do not use** for detecting file-based malware or for malware reverse engineering. ## Prerequisites - Sysmon with process creation and WMI event logging enabled - PowerShell Script Block Logging and Module Logging enabled - AMSI (Antimalware Scan Interface) enabled for script content inspection - EDR with behavioral detection capabilities (MDE, CrowdStrike, SentinelOne) ## Workflow ### Step 1: Enable Required Telemetry ```powershell # Enable PowerShell Script Block Logging (GPO or registry) New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ScriptBlockLogging" ` -Name EnableScriptBlockLogging -Value 1 -PropertyType DWORD -Force # Enable PowerShell Module Logging New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\ModuleLogging" ` -Name EnableModuleLogging -Value 1 -PropertyType DWORD -Force # Enable PowerShell Transcription New-ItemProperty -Path "HKLM:\SOFTWARE\Policies\Microsoft\Windows\PowerShell\Transcription" ` -Name EnableTranscripting -Value 1 -PropertyType DWORD -Force # Sysmon config for fileless ...

Details

Author
mukul975
Repository
mukul975/Anthropic-Cybersecurity-Skills
Created
8 months ago
Last Updated
2 months ago
Language
Python
License
Apache-2.0

Bundled in these plugins

Similar Skills

Semantically similar based on skill content — not just same category