High severityET EXPLOITActive in PcapHub scans

ET EXPLOIT Possible ETERNALBLUE MS17-010 Heap Spray

SID 2024217 · rev 5 · classtype trojan-activity

What this signature means

An exploit rule: traffic that attempts to trigger a specific vulnerability. 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

SMB traffic from any host to a monitored host, in an established connection, from client to server.

It fires when

  • the packet payload contains "|ff|SMB|33 00 00 00 00 18 07 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 08 ff fe ..." (bytes between | | are hexadecimal) (within the first 30 bytes)
  • the packet payload contains "|00 09 00 00 00 10|" (bytes between | | are hexadecimal) (within 6 bytes of the previous match)
  • the packet payload contains "|00 00 00 00 00 00 00 10|" (bytes between | | are hexadecimal) (within 8 bytes of the previous match)
  • the packet payload contains "|00 00 00 10|" (bytes between | | are hexadecimal) (within 4 bytes of the previous match)
  • the packet payload matches the regular expression "/^[a-zA-Z0-9+/]{1000,}/R"

What Emerging Threats says

  • Emerging Threats rates it critical with medium confidence.
  • Target: SMB Server.
  • Meant for internal sensors.

Good to know

  • Alerts once after 3 matches within 30 seconds from the same source address.
  • Active in PcapHub's scan set: every uploaded capture is checked against it.

Public captures that trigger it1

Rule

alert smb any any -> $HOME_NET any (msg:"ET EXPLOIT Possible ETERNALBLUE MS17-010 Heap Spray"; flow:established,to_server; content:"|ff|SMB|33 00 00 00 00 18 07 c0 00 00 00 00 00 00 00 00 00 00 00 00 00 08 ff fe 00 08|"; offset:4; depth:30; fast_pattern; content:"|00 09 00 00 00 10|"; distance:1; within:6; content:"|00 00 00 00 00 00 00 10|"; within:8; content:"|00 00 00 10|"; distance:4; within:4; pcre:"/^[a-zA-Z0-9+/]{1000,}/R"; threshold: type both, track by_src, count 3, seconds 30; classtype:trojan-activity; sid:2024217; rev:5; metadata:attack_target SMB_Server, created_at 2017_04_17, deployment Internal, confidence Medium, signature_severity Critical, updated_at 2024_03_07;)

Emerging Threats Open. Rule created Apr 17, 2017. Last revised by ET Mar 7, 2024. Text on PcapHub refreshed 7mo ago.