ET EXPLOIT D-Link Devices Home Network Administration Protocol Command Execution
SID 2020899 · rev 6 · classtype attempted-admin
What this signature means
An exploit rule: traffic that attempts to trigger a specific vulnerability. 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 any host to a monitored host, in an established connection, from client to server.
It fires when
- the HTTP method contains "POST"
- a request header starts with "soapaction|3a|" (bytes between | | are hexadecimal)
- a request header contains "http|3a|//purenetworks.com/HNAP1/" (bytes between | | are hexadecimal)
- a request header matches the regular expression "/^(?:[^\x2f]+?[\x2f])?[^\x2f]/R"
What Emerging Threats says
- Emerging Threats rates it major with medium confidence.
- Covers CVE-2016-6563.
Good to know
- Active in PcapHub's scan set: every uploaded capture is checked against it.
Public captures that trigger it1
- D-Link HNAP command-injection signatures accompany a SOAP port-mapping probe
by bz2 · 10 packets · 1d ago
1 alertOpen in viewer
Rule
alert http any any -> $HOME_NET any (msg:"ET EXPLOIT D-Link Devices Home Network Administration Protocol Command Execution"; flow:established,to_server; http.method; content:"POST"; http.request_header; header_lowercase; content:"soapaction|3a|"; startswith; content:"http|3a|//purenetworks.com/HNAP1/"; distance:0; fast_pattern; pcre:"/^(?:[^\x2f]+?[\x2f])?[^\x2f]/R"; reference:url,devttys0.com/2015/04/hacking-the-d-link-dir-890l/; reference:cve,2016-6563; classtype:attempted-admin; sid:2020899; rev:6; metadata:created_at 2015_04_13, cve CVE_2016_6563, confidence Medium, signature_severity Major, updated_at 2024_04_20;)
Emerging Threats Open. Rule created Apr 13, 2015. Last revised by ET Apr 20, 2024. Text on PcapHub refreshed 7mo ago.