Rundll32 (LOLBins and LOLScripts, Normalized Process Events)


Description

'This detection uses Normalized Process Events to hunt Signed Binary Proxy Execution: Rundll32 activities'

Query · kql

imProcessCreate
| where Process has "rundll32.exe"
// Uncomment the next line and add your commandLine Whitelisted/ignore terms.For example "payload.dll"
// | where CommandLine !contains ("payload.dll") 
| extend HostCustomEntity = Dvc, AccountCustomEntity = User
Raw source Rundll32 (LOLBins and LOLScripts, Normalized Process Events) · KQL
Esc
Published by Azure/Azure-Sentinel ↗, licensed under MIT ↗. Reproduced here unmodified.
id: 365a889c-ae0f-461d-bdf1-d6ce11d0ef6f
name: Rundll32 (LOLBins and LOLScripts, Normalized Process Events)
description: |
  'This detection uses Normalized Process Events to hunt Signed Binary Proxy Execution: Rundll32 activities'

requiredDataConnectors: []

tactics:
  - DefenseEvasion
relevantTechniques:
  - T1218.011
query: |
  imProcessCreate
  | where Process has "rundll32.exe"
  // Uncomment the next line and add your commandLine Whitelisted/ignore terms.For example "payload.dll"
  // | where CommandLine !contains ("payload.dll") 
  | extend HostCustomEntity = Dvc, AccountCustomEntity = User

entityMappings:
  - entityType: Account
    fieldMappings:
      - identifier: FullName
        columnName: AccountCustomEntity
  - entityType: Host
    fieldMappings:
      - identifier: FullName
        columnName: HostCustomEntity

Detection rules belong to the projects that publish them and remain under their own licenses. This site indexes and links to them; it claims no rights in them.