PH_Rule_TH_ES_WINDOWS_10
Enabled
This Rule detect Malware attributed to HAFNIUM.
9
Security
Command and Control
Command and Control consists of techniques that adversaries may use to communicate with systems under their control within a victim network. Adversaries commonly attempt to mimic normal, expected traffic to avoid detection. There are many ways an adversary can establish command and control with various levels of stealth depending on the victim’s network structure and defenses.
https://attack.mitre.org/tactics/TA0011No Technique Specified
Network
FortiGate via Syslog
Correlation
Check if the source is patched for the CVE associated with the event. If yes then remove the host from the network and patch immediately. If host is not scanned then determine if the host is running the affected version of the application. If yes then patch immediately, else it is likely a false positive.
If the following pattern or patterns match an ingested event within the given time window in seconds, trigger an incident.
300 seconds
If the following defined pattern/s occur within a 300 second time window.
Hafnium
This is the named definition of the event query, this is important if multiple subpatterns are defined to distinguish them.
This is the query logic that matches incoming events
eventType = "FortiGate-antivirus-infected-file-detect" AND virusName IN ("ASP/WebShell.cl!tr", "ASP/Chopper.A!tr", "HTML/Agent.A121!t") AND reptVendor = "Fortinet" AND phEventCategory = 0
This defines how matching events are aggregated, only events with the same matching attribute values are grouped into one unique incident ID
serviceName,virusName,destIpAddr,srcIpAddr
This is most typically a numerical constraint that defines when the rule should trigger an incident
COUNT(*) >= 1
This section defines which fields in matching raw events should be mapped to the incident attributes in the resulting incident.
The available raw event attributes to map are limited to the group by attributes and the aggregate event constraint fields for each subpattern
serviceName=Hafnium.serviceName,
virusName=Hafnium.virusName,
destIpAddr=Hafnium.destIpAddr,
srcIpAddr=Hafnium.srcIpAddr