Detection rules › Kusto Query Language

Oracle suspicious command execution

Source
upstream

The query searches process creation events that are indicative of an attacker spawning OS commands from an Oracle database.

MITRE ATT&CK coverage

TacticTechniques
Privilege EscalationT1611 Escape to Host
Lateral MovementT1210 Exploitation of Remote Services

Event coverage

ProviderEvent IDTitle
Sysmon1Process creation
Security-Auditing4688A new process has been created.
Defender-DeviceProcessEvents9001000Process activity (any)

Stages and Predicates

Stage 1: source

DeviceProcessEvents

Stage 2: where

 macro "(Timestamp >= ago(timeframe))"

Stage 3: where

InitiatingProcessFileName eq "oracle.exe"

Stage 4: where

not
  FileName in ["conhost.exe", "oradim.exe"]

Exclusions

Top-level NOT(...) conjuncts — predicates this rule actively suppresses.

StageFieldKindExcluded values
1FileNameinconhost.exe, oradim.exe

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
InitiatingProcessFileNameeq
  • oracle.exe