ET HUNTING Suspicious Chmod Usage in URI (Outbound)
SID 2029216 · rev 4 · classtype attempted-admin
What this signature means
A hunting rule: a pattern that is worth investigating but is not malicious on its own. Expect false positives. An attempt to gain administrator-level access, typically an exploit against a service that runs with high privileges.
Generated from the rule itself: its category, classtype and metadata. Nothing here is guessed.
What it watches
HTTP traffic from a monitored host to an outside host, in an established connection, from client to server.
It fires when
- the request URI contains "chmod" (case-insensitive)
- the request URI does not contain "&launchmode="
- the request URI does not contain "/chmod/"
- the request URI does not contain "searchmod"
- the request URI matches the regular expression "/^(?:\+|\x2520|\x24IFS|\x252B|\s)+(?:x|[0-9]{3,4})/Ri"
What Emerging Threats says
- Emerging Threats rates it major with medium confidence.
- Target: Client Endpoint.
- Affected product: Linux.
- Meant for perimeter sensors.
Good to know
- Active in PcapHub's scan set: every uploaded capture is checked against it.
Public captures that trigger it1
- HTTP command injection in board CGI requests download and execution
by bz2 · 10 packets · 1d ago
1 alertOpen in viewer
Rule
alert http $HOME_NET any -> $EXTERNAL_NET any (msg:"ET HUNTING Suspicious Chmod Usage in URI (Outbound)"; flow:established,to_server; http.uri; content:"chmod"; fast_pattern; nocase; content:!"&launchmode="; content:!"/chmod/"; content:!"searchmod"; pcre:"/^(?:\+|\x2520|\x24IFS|\x252B|\s)+(?:x|[0-9]{3,4})/Ri"; classtype:attempted-admin; sid:2029216; rev:4; metadata:affected_product Linux, attack_target Client_Endpoint, created_at 2019_12_31, deployment Perimeter, confidence Medium, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_03_07;)Emerging Threats Open. Rule created Dec 31, 2019. Last revised by ET Mar 7, 2024. Text on PcapHub refreshed 7mo ago.