Suspicious .NET LOLBin Execution via CasPol or RegAsm

PremiumReviewedSigma · Medium · v1
Product
windows
Category
process_creation
Author
HuntRule
Published
2026-10-24
Updated
2026-10-24

ATT&CK techniques

Execution → Defense Evasion
  1. Recon

  2. Resource Dev

  3. Initial Access

  4. Persistence

  5. Priv Esc

  6. Cred Access

  7. Discovery

  8. Lateral Movement

  9. Collection

  10. C2

  11. Exfiltration

  12. Impact

What it detects

This rule detects execution of the .NET Framework utilities CasPol.exe or RegAsm.exe spawned by a script interpreter. Batch and PowerShell loaders abuse these signed developer tools to load and run reflectively decrypted assemblies while bypassing application control.

Related detections9 linkedT1218 — drag to rearrange
Windows: Suspicious Cdb.EXE Proxy Execution via Debugger Script Parameters
Windows Execution of Microsoft.Workflow.Compiler.exe
Possible DarkGate DLL Sideloading via iTunesHelper Loading CoreFoundation
Suspicious extrac32 CAB Extraction Abuse
Malicious cdb.exe Masquerading as fontdrvhost in ProgramData (via process_creation)
Malicious certutil Decodehex Payload Reconstruction by DarkGate
Malicious MSIX Package Execution via App Installer ms-appinstaller Protocol (via process_creation)
Malicious ViPNet Backdoor Loader via lumpdiag.exe Path Substitution
Suspicious BitLockerToGo Execution from Unusual Parent
Suspicious .NET LOLBin Execution via CasPol or RegAsm
Pivot detection · T1218 · 9 related

Detection content is published as a reviewed draft. Tune thresholds and exclusions against your own telemetry before enabling this rule for alerting.