Oracle - Put suspicious file
| Id | edc2f2b4-573f-11ec-bf63-0242ac130002 |
| Rulename | Oracle - Put suspicious file |
| Description | Detects PUT or POST of suspicious file |
| Severity | Medium |
| Tactics | InitialAccess Exfiltration |
| Techniques | T1190 T1133 T1048 |
| Required data connectors | CustomLogsAma |
| Kind | Scheduled |
| Query frequency | 1h |
| Query period | 1h |
| Trigger threshold | 0 |
| Trigger operator | gt |
| Source Uri | https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/OracleWebLogicServer/Analytic Rules/OracleWebLogicPutSuspiciousFiles.yaml |
| Version | 1.0.3 |
| Arm template | edc2f2b4-573f-11ec-bf63-0242ac130002.json |
OracleWebLogicServerEvent
| where HttpRequestMethod in~ ("POST", "PUT")
| extend File = extract(@"(.*\/)?(.*)", 2, tostring(UrlOriginal))
| where isnotempty(File)
| where File matches regex @"([a-zA-Z0-9-_]+\.)([a-zA-Z0-9-]+\.[a-zA-Z0-9-]+)"
| extend IPCustomEntity = SrcIpAddr, FileCustomEntity = File, UrlCustomEntity = UrlOriginal
queryPeriod: 1h
query: |
OracleWebLogicServerEvent
| where HttpRequestMethod in~ ("POST", "PUT")
| extend File = extract(@"(.*\/)?(.*)", 2, tostring(UrlOriginal))
| where isnotempty(File)
| where File matches regex @"([a-zA-Z0-9-_]+\.)([a-zA-Z0-9-]+\.[a-zA-Z0-9-]+)"
| extend IPCustomEntity = SrcIpAddr, FileCustomEntity = File, UrlCustomEntity = UrlOriginal
name: Oracle - Put suspicious file
entityMappings:
- fieldMappings:
- columnName: FileCustomEntity
identifier: Name
entityType: File
- fieldMappings:
- columnName: UrlCustomEntity
identifier: Url
entityType: URL
- fieldMappings:
- columnName: IPCustomEntity
identifier: Address
entityType: IP
queryFrequency: 1h
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/OracleWebLogicServer/Analytic Rules/OracleWebLogicPutSuspiciousFiles.yaml
requiredDataConnectors:
- connectorId: CustomLogsAma
dataTypes:
- OracleWebLogicServer_CL
description: |
'Detects PUT or POST of suspicious file'
kind: Scheduled
version: 1.0.3
status: Available
severity: Medium
relevantTechniques:
- T1190
- T1133
- T1048
triggerOperator: gt
triggerThreshold: 0
tactics:
- InitialAccess
- Exfiltration
id: edc2f2b4-573f-11ec-bf63-0242ac130002