Offense-to-Defense Research Hub

Detection Engineering & Threat Research

Long-form engineering write-ups documenting end-to-end Offense → Emulation → Detection cycles: turning native Windows tradecraft into peer-reviewed LOLBAS entries, Atomic Red Team tests, Win32 kernel-handle monitors, and verified multi-SIEM detections across Sigma, Elastic EQL, and Microsoft Sentinel KQL.

Yared Henriquez (DevCop95) Focus: Detection Engineering & Applied AI Security 10+ Merged Upstream Security/OSINT PRs
Deep Dive 01 · T1202 · T1059

Abusing Windows OpenSSH (KnownHostsCommand & PermitLocalCommand) and Closing First-Match-Wins Detection Bypasses in KQL & Sigma

Compares pre-authentication (KnownHostsCommand) vs. post-authentication (PermitLocalCommand / LocalCommand, Star Blizzard RedFlick) execution in ssh.exe, models -F / .ssh/config CLI blind spots via child-process lineage, and builds a pure-RE2 KQL automaton validated in Azure Data Explorer (11/11 TP, 0/8 FP).

LOLBAS #539 & #532 (Merged) SigmaHQ #6585 Azure-Sentinel #15693 RE2 / KQL
Read full deep dive
Deep Dive 02 · T1685 · T1562.001

From Disk-Exhaustion DoS against Windows Defender (fsutil.exe / BigDiskBuster) to Multi-SIEM & Kernel-Handle Detection

Traces disk-exhaustion evasion (ERROR_DISK_FULL) across both native NT allocation (BigDiskBuster) and LOLBin execution (fsutil.exe file createnew): from BDB-Guardian (cited by CUHK ITSC) and debugging 0xC0000374 / pipe deadlocks in Win32 handle scanning to Atomic Red Team #3439, SigmaHQ #6310, and Elastic #6946.

CUHK ITSC Cited LOLBAS #525 (Merged) Atomic #3439 (Merged) Sigma #6310 (Approved) Elastic #6946 (Approved ×2)
Read full deep dive
Upstream Traceability Matrix
Repository & PR Domain MITRE / Scope Status
LOLBAS-Project/LOLBAS #525 Living-Off-The-Land Docs Fsutil.exe file createnew (T1562.001 / T1685) MERGED
LOLBAS-Project/LOLBAS #539 Living-Off-The-Land Docs Ssh.exe pre-auth KnownHostsCommand (T1202) MERGED
LOLBAS-Project/LOLBAS #532 Living-Off-The-Land Docs Ssh.exe PermitLocalCommand=yes (T1202) MERGED
redcanaryco/atomic-red-team #3433 Adversary Emulation KeePass discovery & config parsing (T1555.005) MERGED
redcanaryco/atomic-red-team #3439 Adversary Emulation Defender disk exhaustion via fsutil (T1685) MERGED
magicsword-io/LOLRMM #253 RMM Detection & Sigma AnyDesk custom per-org client coverage (T1219) MERGED
soxoj/maigret (#3367, #3386, #3388, #3458) OSINT Signal Integrity False-positive elimination & challenge handling 4 MERGED
elastic/detection-rules #6946 Elastic EQL Detection Suspicious fsutil file createnew (T1562.001) APPROVED (×2)
SigmaHQ/sigma #6310 Sigma File Event Rule BigDiskBuster GUID buster-file in %TEMP% (T1685) APPROVED (1/2)
SigmaHQ/sigma #6323 Sigma WAF Rule Pack SafeLine WAF SQLi / XSS / CMDi (product: safeline) APPROVED (1/2)
SigmaHQ/sigma #6585 Sigma Process Creation Windows ssh.exe KnownHostsCommand (T1202) IN REVIEW
Azure/Azure-Sentinel #15693 Sentinel KQL Hunting Windows OpenSSH indirect execution (24/24 CI) IN REVIEW
NVIDIA/garak #2357 AI Red Teaming Engineering Prevent duplicate attachment payload in NVMultimodal IN REVIEW
Back to dev101x.online Start with Deep Dive 01