PH_Rule_Web_Server_3
Enabled
Detects an external IP posting an executable file to a web server via HTTP POST or PUT
9
Security
Execution
Execution consists of techniques that result in adversary-controlled code running on a local or remote system. Techniques that run malicious code are often paired with techniques from all other tactics to achieve broader goals, like exploring a network or stealing data. For example, an adversary might use a remote access tool to run a PowerShell script that does Remote System Discovery.
https://attack.mitre.org/tactics/TA0002No Technique Specified
Application
Network Traffic
Correlation
No remediation guidance specified
If the following pattern or patterns match an ingested event within the given time window in seconds, trigger an incident.
600 seconds
If the following defined pattern/s occur within a 600 second time window.
ExecFilePost
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
httpMethod IN ("POST","PUT") AND eventType IN (Group@PH_SYS_EVENT_PermitWebTraffic) AND srcIpAddr NOT IN (Group@PH_SYS_NETWORK_ENTERPRISE_INTERNAL_NET) AND (uriStem CONTAIN ".cgi" OR uriStem CONTAIN ".asp" OR uriStem CONTAIN ".aspx" OR uriStem CONTAIN ".jar" OR uriStem CONTAIN ".php" OR uriStem CONTAIN ".exe" OR uriStem CONTAIN ".com" OR uriStem CONTAIN ".cmd" OR uriStem CONTAIN ".sh" OR uriStem CONTAIN ".bat")
This defines how matching events are aggregated, only events with the same matching attribute values are grouped into one unique incident ID
srcIpAddr,reptDevIpAddr,reptDevName
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
srcIpAddr = ExecFilePost.srcIpAddr,
destIpAddr = ExecFilePost.reptDevIpAddr,
destName = ExecFilePost.reptDevName