High severityET EXPLOITActive in PcapHub scans

ET EXPLOIT Possible ETERNALBLUE Probe MS17-010 (Generic Flags)

SID 2025992 · rev 3 · 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|25 00 00 00 00|" (bytes between | | are hexadecimal) (within the first 9 bytes)
  • the packet payload contains "|00 00 00 00 00 00 00 00 00 00|" (bytes between | | are hexadecimal) (within 10 bytes of the previous match)
  • the packet payload ends with "|23 00 00 00 07 00 5c 50 49 50 45 5c 00|" (bytes between | | are hexadecimal)

What Emerging Threats says

  • Emerging Threats rates it major with medium confidence.
  • Attributed to the ETERNALBLUE malware family.
  • Target: Client Endpoint.
  • Affected product: Windows XP Vista 7 8 10 Server 32 64 Bit.
  • Meant for perimeter sensors.

Good to know

  • Alerts at most once per 30 seconds per source address, so one alert can stand for many matching packets.
  • 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 Probe MS17-010 (Generic Flags)"; flow:established,to_server; content:"|ff|SMB|25 00 00 00 00|"; offset:4; depth:9; content:"|00 00 00 00 00 00 00 00 00 00|"; distance:5; within:10; content:"|23 00 00 00 07 00 5c 50 49 50 45 5c 00|"; fast_pattern; endswith; threshold: type limit, track by_src, count 1, seconds 30; reference:url,github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/scanner/smb/smb_ms17_010.rb; classtype:trojan-activity; sid:2025992; rev:3; metadata:affected_product Windows_XP_Vista_7_8_10_Server_32_64_Bit, attack_target Client_Endpoint, created_at 2018_08_15, deployment Perimeter, malware_family ETERNALBLUE, confidence Medium, signature_severity Major, tag Description_Generated_By_Proofpoint_Nexus, updated_at 2024_03_07;)

Emerging Threats Open. Rule created Aug 15, 2018. Last revised by ET Mar 7, 2024. Text on PcapHub refreshed 7mo ago.