ET EXPLOIT Hikvision IP Camera RCE Attempt (CVE-2021-36260)
SID 2034630 · rev 3 · 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 an outside host to a monitored host, in an established connection, from client to server.
It fires when
- the HTTP method contains "PUT"
- the request URI contains "/SDK/webLanguage"
- the HTTP request body contains "|3c|language|3e|" (bytes between | | are hexadecimal) (case-insensitive)
- the HTTP request body matches the regular expression "/(?:[\x60\x3b\x7c]|%60|%3b|%7c|%26|(?:[\x3c\x3e\x24]|%3c|%3e|%24)(?:\x28|%28))/R"
What Emerging Threats says
- Emerging Threats rates it major with high confidence.
- Target: Networking Equipment.
- Affected product: IP Camera.
- Covers CVE-2021-36260.
- Meant for perimeter, internal sensors.
- Performance impact on the sensor: low.
Good to know
- Active in PcapHub's scan set: every uploaded capture is checked against it.
Public captures that trigger it1
- Hikvision command injection submits downloader inputs and receives not found replies
by bz2 · 34 packets · 11h ago
1 alertOpen in viewer
Rule
alert http $EXTERNAL_NET any -> $HOME_NET any (msg:"ET EXPLOIT Hikvision IP Camera RCE Attempt (CVE-2021-36260)"; flow:established,to_server; http.method; content:"PUT"; http.uri; bsize:16; content:"/SDK/webLanguage"; fast_pattern; http.request_body; content:"|3c|language|3e|"; nocase; pcre:"/(?:[\x60\x3b\x7c]|%60|%3b|%7c|%26|(?:[\x3c\x3e\x24]|%3c|%3e|%24)(?:\x28|%28))/R"; reference:url,github.com/mcw0/PoC/blob/master/CVE-2021-36260.py; reference:url,watchfulip.github.io/2021/09/18/Hikvision-IP-Camera-Unauthenticated-RCE.html; reference:url,www.fortinet.com/blog/threat-research/mirai-based-botnet-moobot-targets-hikvision-vulnerability; reference:cve,2021-36260; classtype:attempted-admin; sid:2034630; rev:3; metadata:affected_product IP_Camera, attack_target Networking_Equipment, created_at 2021_12_08, cve CVE_2021_36260, deployment Perimeter, deployment Internal, performance_impact Low, confidence High, signature_severity Major, tag CISA_KEV, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_03_26;)
Emerging Threats Open. Rule created Dec 8, 2021. Last revised by ET Mar 26, 2024. Text on PcapHub refreshed 7mo ago.