ET HUNTING Javascript Prototype Pollution Attempt via prototype in HTTP Body
SID 2066199 · rev 1 · classtype web-application-activity
What this signature means
A hunting rule: a pattern that is worth investigating but is not malicious on its own. Expect false positives. Access to a web application or path that is commonly targeted or should not normally be exposed.
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, in an established connection, from client to server.
It fires when
- the HTTP request body contains "prototype"
- the HTTP request body matches the regular expression "/constructor.{0,4}(?:[\x22\x27\x5b\x2e]|\x25(?:2[27]|5[bB]|2[eE]))prototype(?:[\x2e\x5b\x5d]|\x5c?[...
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
- Deserialization Attack Payloads (Java, PHP, Python, .NET)
by trypcaphub · 50 packets · 7mo ago
1 alertOpen in viewer
Rule
alert http any any -> $HOME_NET any (msg:"ET HUNTING Javascript Prototype Pollution Attempt via prototype in HTTP Body"; flow:established,to_server; http.request_body; content:"prototype"; pcre:"/constructor.{0,4}(?:[\x22\x27\x5b\x2e]|\x25(?:2[27]|5[bB]|2[eE]))prototype(?:[\x2e\x5b\x5d]|\x5c?[\x22\x27]|\x25(?:2[eE]|5[bBdD]))/"; reference:url,portswigger.net/web-security/prototype-pollution; classtype:web-application-activity; sid:2066199; rev:1; metadata:attack_target Server, tls_state TLSDecrypt, created_at 2025_12_09, deployment Perimeter, deployment Internal, deployment SSLDecrypt, confidence Medium, signature_severity Major, updated_at 2025_12_09; target:dest_ip;)Emerging Threats Open. Rule created Dec 9, 2025. Last revised by ET Dec 9, 2025. Text on PcapHub refreshed 7mo ago.