ET WEB_SERVER Possible SQLi Attempt in User Agent (Inbound)
SID 2022816 · rev 4 · classtype trojan-activity
What this signature means
A web server rule: an attack against, or a suspicious response from, a web server. Traffic consistent with a trojan or other malware talking to its operator: command-and-control check-ins, payload downloads or data being sent out.
Generated from the rule itself: its category, classtype and metadata. Nothing here is guessed.
What it watches
HTTP traffic from an outside host to a web server, in an established connection, from client to server.
It fires when
- the User-Agent header contains "select" (case-insensitive)
- the User-Agent header contains "from" (case-insensitive, within 20 bytes of the previous match)
What Emerging Threats says
- Emerging Threats rates it major with medium confidence.
Good to know
- Active in PcapHub's scan set: every uploaded capture is checked against it.
Public captures that trigger it1
- PDMFC Dataset: packetcapture em3 20250514160400
by archive · 500,000 packets · 24d ago
2,676 alertsOpen in viewer
Rule
alert http $EXTERNAL_NET any -> $HTTP_SERVERS any (msg:"ET WEB_SERVER Possible SQLi Attempt in User Agent (Inbound)"; flow:established,to_server; http.user_agent; content:"select"; nocase; distance:0; fast_pattern; content:"from"; nocase; within:20; reference:url,blog.cloudflare.com/the-sleepy-user-agent/; classtype:trojan-activity; sid:2022816; rev:4; metadata:created_at 2016_05_17, confidence Medium, signature_severity Major, updated_at 2020_08_20;)
Emerging Threats Open. Rule created May 17, 2016. Last revised by ET Aug 20, 2020. Text on PcapHub refreshed 7mo ago.