Operator On The Wire
Join
← Back to Knowledge Base
BLUE TEAM / THREAT HUNT / WINDOWS / EXECUTION

LOLBIN Abuse

This note documents detection patterns related to LOLBIN Abuse within Windows environments.


Direct Indicators

LogEvent IDMeaningForensic ValueNotes
Security4688Process creationCriticalCore source for LOLBIN launch and arguments.
Sysmon1Process creationCriticalBest execution source with parent lineage and hashes.
Sysmon3Network connectionHighMany LOLBINs perform outbound retrieval.
Sysmon11File createHighPayloads written during LOLBIN abuse.
Sysmon7Image loadedMediumDLL loads support proxy execution chains.
PowerShell4104Script block loggingHighUseful when PowerShell launches LOLBINs.
Sysmon22DNS queryHighDNS preceding remote LOLBIN activity.

Indirect Indicators

IndicatorWhat To Look ForForensic ValueNotes
LOLBIN with remote URLHTTP/HTTPS path in argumentsCriticalStrong execution abuse signal.
LOLBIN launched by Office/browserwinword, excel, chrome parentCriticalVery high suspicion.
LOLBIN writes executableEXE/DLL/script outputCriticalStage-two indicator.
LOLBIN spawns shellcmd / powershell childCriticalStrong multi-stage execution.
Rare LOLBIN usageBinary uncommon on endpointHighValuable anomaly.
Hidden execution flagsSilent / no UI switchesHighStealth behavior.

Common Tools

ToolUsage
certutil.exeDownload / decode
mshta.exeRemote HTA execution
rundll32.exeDLL / script proxy execution
regsvr32.exeSquiblydoo
bitsadmin.exeBackground transfer
installutil.exeProxy execution
msiexec.exeInstaller abuse
wmic.exeRemote execution

Relevant Artifacts

  • Sysmon Event IDs 1, 3, 7, 11, 22
  • Security Event ID 4688
  • PowerShell 4104
  • Prefetch:
    • CERTUTIL.EXE
    • MSHTA.EXE
    • RUNDLL32.EXE
    • REGSVR32.EXE
    • BITSADMIN.EXE
  • Amcache / ShimCache
  • MFT / USN for payloads
  • EDR process tree

MITRE ATT&CK References

  • T1218 Signed Binary Proxy Execution
  • T1105 Ingress Tool Transfer
  • T1059 Command and Scripting Interpreter

Decision Tree

  1. Which LOLBIN executed?

    • Binary name
    • Signed status
  2. Arguments suspicious?

    • URL
    • Scriptlet
    • Encoded content
  3. Parent suspicious?

    • Office
    • Browser
    • Service
  4. Follow-up activity?

    • Download
    • Child shell
    • Persistence
  5. Expand:

    • Network
    • File creation
    • Registry changes
  6. Scope:

    • Single LOLBIN
    • Chained LOLBINs
    • Multi-host pattern

Example Detection Templates

KQL

SecurityEvent
| where EventID == 4688
| where NewProcessName has_any ("certutil.exe","mshta.exe","rundll32.exe","regsvr32.exe","bitsadmin.exe")
| project TimeGenerated, Computer, Account, CommandLine, ParentProcessName
Sysmon
| where EventID == 3
| where Image has_any ("certutil.exe","mshta.exe","rundll32.exe","regsvr32.exe")
| project TimeGenerated, Computer, Image, DestinationIp

EQL

process where process.name in ("certutil.exe","mshta.exe","rundll32.exe","regsvr32.exe","bitsadmin.exe")
sequence by host.name with maxspan=5m
  [ process where process.name in ("mshta.exe","regsvr32.exe") ]
  [ network where process.name in ("mshta.exe","regsvr32.exe") ]

Sigma

title: LOLBIN Abuse Detection
id: 9e3f7d20-lolbin-abuse
status: experimental
description: Detects suspicious signed binary proxy execution
references:
  - https://attack.mitre.org/
author: Vergil
date: 2026-03-07
logsource:
  product: windows
  service: security
detection:
  selection:
    NewProcessName|endswith:
      - '\certutil.exe'
      - '\mshta.exe'
      - '\rundll32.exe'
      - '\regsvr32.exe'
      - '\bitsadmin.exe'
  condition: selection
fields:
  - CommandLine
  - ParentProcessName
falsepositives:
  - Administrative use
level: high
tags:
  - attack.execution
  - attack.t1218

Mitigation & Hardening

Control AreaMitigationEffectivenessNotes
AppLocker / WDACRestrict risky LOLBINsCriticalStrong prevention
Parent-child monitoringAlert on suspicious launchCriticalHigh-value detection
Network correlationWatch LOLBIN outbound trafficHighStrong staging detection
Command-line retentionPreserve argumentsCriticalEssential for triage
Baseline rare binariesKnow legitimate usageHighReduce false positives