Detection rules › Kusto

CyberArkEPM - Renamed Windows binary

Severity
high
Time window
1h
Source
github.com/Azure/Azure-Sentinel

'Detects renamed windows binaries.'

MITRE ATT&CK coverage

TacticTechniques
Execution
Stealth

Rule body

id: 9281b7cc-8f05-45a9-bf10-17fb29492a84
name: CyberArkEPM - Renamed Windows binary
description: |
  'Detects renamed windows binaries.'
severity: High
requiredDataConnectors:
  - connectorId: CyberArkEPM
    dataTypes:
      - CyberArkEPM
queryFrequency: 1h
queryPeriod: 1h
triggerOperator: gt
triggerThreshold: 0
tactics:
  - Execution
  - DefenseEvasion
relevantTechniques:
  - T1204
  - T1036
query: | 
  CyberArkEPM
  | where EventSubType != 'AttackAttempt'
  | where ActingProcessName has @'\'
  | where ActingProcessName !has ActingProcessFileInternalName
  | project EventEndTime, EventMessage, ActorUsername, ActingProcessFileInternalName
  | extend AccountCustomEntity = ActorUsername
entityMappings:
  - entityType: Account
    fieldMappings:
      - identifier: Name
        columnName: AccountCustomEntity
version: 1.0.0
kind: Scheduled

Stages and Predicates

Stage 1: source

CyberArkEPM

Stage 2: where

| where EventSubType != 'AttackAttempt'

Stage 3: where

| where ActingProcessName has @'\'

Stage 4: where

| where ActingProcessName !has ActingProcessFileInternalName

Stage 5: project

| project EventEndTime, EventMessage, ActorUsername, ActingProcessFileInternalName

Stage 6: extend

| extend AccountCustomEntity = ActorUsername

Indicators

These rows show field, operator, and value matches.

Output fields

These fields are emitted when the rule matches.

FieldSource
ActingProcessFileInternalNameproject
ActorUsernameproject
EventEndTimeproject
EventMessageproject
AccountCustomEntityextend