hunting-lolbin-abuse-on-windows
Hunts for living-off-the-land binary (LOLBin) abuse in Windows process-creation
v1.0.03 installs+3 in 7 days24 StarsApache-2.0synced 10 hours ago
Install
No NotHoly CLI yet? Install it first.
$ curl -fsSL https://notholy.com/install.sh | sh$ notholy skills install meltedinhex/hunting-lolbin-abuse-on-windowsWrites to ~/.notholy/skills after checking the signature and the SHA-256.
SignatureSigned, ed25519
Package2468eb98…16ec0165
2468eb98364e…659916ec01654 files · 3.3 KBScanMedium3 findings
- Executable script shipped with the skillscripts/analyst.py
- command.pipe_to_shellscripts/analyst.py:25
- Links to outside domains
Sourcegithub.com/meltedinhex/analyst-ai-pack/tree/main/skills/hunting-lolbin-abuse-on-windows@da7600a
On this page
When to Use
- You have process-creation telemetry (Sysmon Event ID 1 or EDR process events as CSV/JSON) and want to surface trusted binaries used for malicious proxy execution or download.
- You are building a detection from known LOLBin argument patterns.
Do not use this as a blocklist of the binaries themselves — they are legitimate. Hunt on the suspicious argument/parent context, not mere presence.
Prerequisites
- Process-creation events with image path, command line, and (ideally) parent image.
Workflow
Step 1: Score LOLBin invocations
python scripts/analyst.py hunt events.csvFlags known LOLBins (certutil, mshta, regsvr32, rundll32, bitsadmin, msiexec,
installutil, wmic) paired with suspicious arguments (-urlcache, http, javascript:,
scrobj, -decode, DownloadString).
Step 2: Add context
Weight by anomalous parent (Office, browser, script host) and unusual execution path.
Step 3: Triage and confirm
Investigate the top-scoring events; confirm whether the download/proxy behavior is legitimate administration or malicious.
Step 4: Operationalize
Convert confirmed patterns into a Sigma rule for ongoing detection.
Validation
- Flags require a suspicious argument/parent, not just the binary name.
- Known-benign administrative patterns are distinguishable from abuse in the output.
- Each flagged technique maps to an ATT&CK ID (T1218.x / T1105).
Pitfalls
- Alerting on
rundll32/regsvr32presence alone — extremely noisy. - Missing renamed LOLBins (hash/signature checks help, name checks do not).
- Encoded-command obfuscation hiding the true argument intent.
References
- See
references/api-reference.mdfor the hunter. - ATT&CK T1218 and the LOLBAS project (linked in frontmatter).
Files in this version
references/11.1 KB
- api-reference.md1.1 KB
scripts/13.1 KB
- analyst.py3.1 KB
- LICENSE340 B
- SKILL.md2.7 KB
Permissions
| Permission | Declared | Found by the scan |
|---|---|---|
| Reads files | No | No |
| Writes files | No | No |
| Runs shell commands | Yes | Yes |
| Uses the network | Yes | Yes |
| Uses connectors | No | No |
| Drives a browser | No | No |
Scan findings
Reviewed on Nov 13, 2026
- MediumFile · Executable script shipped with the skillscripts/analyst.py
- MediumCommand · command.pipe_to_shellscripts/analyst.py:25
- InfoLink · Links to outside domains
A clean scan lowers the risk but does not prove a package is safe. Read what you install.
| Version | Published | Commit | SHA-256 | Signature | Permission change |
|---|---|---|---|---|---|
| v1.0.0 | Nov 13, 2026 | da7600a | 2468eb98 | Signed | – |
More from meltedinhex
All from this publisher- writing-yara-rules-from-reversed-codemeltedinhex/writing-yara-rules-from-reversed-code4
- validating-detections-with-atomic-testsmeltedinhex/validating-detections-with-atomic-tests4
- writing-suricata-and-snort-rulesmeltedinhex/writing-suricata-and-snort-rules3
- writing-sigma-detection-rulesmeltedinhex/writing-sigma-detection-rules3
More in Active Directory and Windows
See the category- offensive-windows-mitigationssnailsploit/offensive-windows-mitigations4
- active-directory-attack-pathssecurityskills/active-directory-attack-paths3
- analyzing-powershell-script-block-loggingmukul975/analyzing-powershell-script-block-logging3
- offensive-windows-boundariessnailsploit/offensive-windows-boundaries3
- evil-winrmaeondave/evil-winrm3
- bloodyadaeondave/bloodyad3
Ask anything your scope allows.
Create an account, add credits and ask the first question in the chat or the terminal.
- 1/3
Create the account
Individual or company. You can switch to a company later without losing balance or keys.
IndividualCompany - 2/3
Add credits
By card. Pay per token, no subscription.
$5.00minimum deposit - 3/3
Ask
In the chat, or install the CLI and run notholy login in your terminal.
$ notholy login