CommonSecurityLog
| where DeviceVendor has 'Silverfort'
| where DeviceProduct has 'Admin Console'
| where DeviceEventClassID == "NewIncident"
| where Message has "Log4Shell"
| extend UserName = parse_json(replace('^""|""$', '', Message))['userName']
severity: High
queryFrequency: 15m
description: |
'Vulnerability allows attackers to execute arbitrary code on affected systems by exploiting a flaw in the way Log4j handles log messages containing specially crafted strings'
query: |-
CommonSecurityLog
| where DeviceVendor has 'Silverfort'
| where DeviceProduct has 'Admin Console'
| where DeviceEventClassID == "NewIncident"
| where Message has "Log4Shell"
| extend UserName = parse_json(replace('^""|""$', '', Message))['userName']
triggerThreshold: 0
kind: Scheduled
name: Silverfort - Log4Shell Incident
relevantTechniques:
- T1190
requiredDataConnectors:
- connectorId: SilverfortAma
dataTypes:
- CommonSecurityLog
version: 1.0.0
id: d6abed70-4043-46da-9304-a98f3446fa5f
queryPeriod: 15m
triggerOperator: gt
entityMappings:
- fieldMappings:
- columnName: UserName
identifier: Name
entityType: Account
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Silverfort/Analytic Rules/Log4Shell.yaml
tactics:
- InitialAccess