Detection rules › Kusto Query Language
Oracle suspicious command execution
The query searches process creation events that are indicative of an attacker spawning OS commands from an Oracle database.
MITRE ATT&CK coverage
| Tactic | Techniques |
|---|---|
| Privilege Escalation | T1611 Escape to Host |
| Lateral Movement | T1210 Exploitation of Remote Services |
Event coverage
| Provider | Event ID | Title |
|---|---|---|
| Sysmon | 1 | Process creation |
| Security-Auditing | 4688 | A new process has been created. |
| Defender-DeviceProcessEvents | 9001000 | Process 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.
| Stage | Field | Kind | Excluded values |
|---|---|---|---|
| 1 | FileName | in | conhost.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.
| Field | Kind | Values |
|---|---|---|
InitiatingProcessFileName | eq |
|