CommonSecurityLog
| where DeviceVendor has 'Silverfort'
| where DeviceProduct has 'Admin Console'
| where DeviceEventClassID == "NewIncident"
| where Message has "Log4Shell"
| extend UserName = parse_json(replace('^""|""$', '', Message))['userName']
entityMappings:
- fieldMappings:
- columnName: UserName
identifier: Name
entityType: Account
triggerOperator: gt
OriginalUri: https://github.com/Azure/Azure-Sentinel/blob/master/Solutions/Silverfort/Analytic Rules/Log4Shell.yaml
version: 1.0.0
tactics:
- InitialAccess
queryPeriod: 15m
kind: Scheduled
id: d6abed70-4043-46da-9304-a98f3446fa5f
severity: High
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
name: Silverfort - Log4Shell Incident
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'
relevantTechniques:
- T1190
requiredDataConnectors:
- connectorId: SilverfortAma
dataTypes:
- CommonSecurityLog
queryFrequency: 15m