OracleDatabaseAuditEvent
| where isnotempty(SrcIpAddr)
| where DbAction =~ 'SHUTDOWN'
| project SrcIpAddr, DstUserName
| extend AccountCustomEntity = DstUserName
| extend IPCustomEntity = SrcIpAddr
version: 1.0.2
status: Available
queryPeriod: 1h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/OracleDatabaseAudit/Analytic Rules/OracleDBAuditShutdownServer.yaml
relevantTechniques:
- T1529
description: |
'Detects when "SHUTDOWN" command was sent to server.'
kind: Scheduled
name: OracleDBAudit - Shutdown Server
queryFrequency: 1h
id: 27cc2cdc-ba67-4906-a6ef-ecbc9c284f4e
requiredDataConnectors:
- connectorId: SyslogAma
datatypes:
- Syslog
tactics:
- Impact
triggerThreshold: 0
severity: Medium
query: |
OracleDatabaseAuditEvent
| where isnotempty(SrcIpAddr)
| where DbAction =~ 'SHUTDOWN'
| project SrcIpAddr, DstUserName
| extend AccountCustomEntity = DstUserName
| extend IPCustomEntity = SrcIpAddr
entityMappings:
- entityType: Account
fieldMappings:
- columnName: AccountCustomEntity
identifier: FullName
- entityType: IP
fieldMappings:
- columnName: IPCustomEntity
identifier: Address
triggerOperator: gt