ET HUNTING XML External Entity Injection Inbound M1
SID 2066044 · rev 1 · classtype unknown
What this signature means
A hunting rule: a pattern that is worth investigating but is not malicious on its own. Expect false positives. Traffic that could not be classified.
Generated from the rule itself: its category, classtype and metadata. Nothing here is guessed.
What it watches
HTTP traffic from any host to a monitored host or web server, in an established connection, from client to server.
It fires when
- the HTTP method contains "POST"
- the HTTP request body contains "ENTITY"
- the HTTP request body matches the regular expression "/^\x20*?(?:\x26\x23(?:x25|37)\x3b|\x25|\x26percnt\x3b)?\x20*?(?P<name>[a-zA-Z]+)\x20*?[A-Z]+\x20*?(...
What Emerging Threats says
- Emerging Threats rates it major with medium confidence.
- Target: Server.
- Meant for perimeter, internal, ssldecrypt sensors.
Good to know
- Active in PcapHub's scan set: every uploaded capture is checked against it.
Public captures that trigger it1
- XML External Entity (XXE) Injection Attempts
by trypcaphub · 50 packets · 7mo ago
5 alertsOpen in viewer
Rule
alert http any any -> [$HOME_NET,$HTTP_SERVERS] any (msg:"ET HUNTING XML External Entity Injection Inbound M1"; flow:established,to_server; http.method; content:"POST"; http.request_body; content:"ENTITY"; fast_pattern; pcre:"/^\x20*?(?:\x26\x23(?:x25|37)\x3b|\x25|\x26percnt\x3b)?\x20*?(?P<name>[a-zA-Z]+)\x20*?[A-Z]+\x20*?(?:[\x22\x27]|\x2bACI\x2d|\x26quot\x3b)[^\x22]*?(?:[\x22\x27]|\x2bACI|\x26quot\x3b).*?[\x25\x26](?P=name)/Rs"; classtype:unknown; sid:2066044; rev:1; metadata:attack_target Server, tls_state TLSDecrypt, created_at 2025_12_05, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence Medium, signature_severity Major, updated_at 2025_12_05; target:dest_ip;)
Emerging Threats Open. Rule created Dec 5, 2025. Last revised by ET Dec 5, 2025. Text on PcapHub refreshed 7mo ago.