Low severityET HUNTINGActive in PcapHub scans

ET HUNTING SQL Database Version Discovery

SID 2062928 · rev 2 · classtype misc-activity

What this signature means

A hunting rule: a pattern that is worth investigating but is not malicious on its own. Expect false positives.

Generated from the rule itself: its category, classtype and metadata. Nothing here is guessed.

What it watches

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

It fires when

  • the packet payload contains "select" (case-insensitive)
  • the packet payload contains "version"
  • the packet payload matches the regular expression "/(?:[sS][eE][lL][eE][cC][tT]|[fF][rR][oO][mM])(?:\s|\x2520|[\x2b\x7c])+(?:v\x24(?:version|instance)...

What Emerging Threats says

  • Emerging Threats rates it informational with high confidence.
  • Target: Server.
  • Meant for perimeter, internal sensors.
  • Performance impact on the sensor: significant.

Good to know

  • Active in PcapHub's scan set: every uploaded capture is checked against it.

Public captures that trigger it1

Rule

alert tcp any any -> $HOME_NET any (msg:"ET HUNTING SQL Database Version Discovery"; flow:established,to_server; content:"select"; nocase; content:"version"; fast_pattern; distance:0; pcre:"/(?:[sS][eE][lL][eE][cC][tT]|[fF][rR][oO][mM])(?:\s|\x2520|[\x2b\x7c])+(?:v\x24(?:version|instance)|\x40{2}version|version\x28\x29)/"; reference:url,portswigger.net/web-security/sql-injection/cheat-sheet; classtype:misc-activity; sid:2062928; rev:2; metadata:attack_target Server, created_at 2025_06_13, deployment Perimeter, deployment Internal, performance_impact Significant, confidence High, signature_severity Informational, updated_at 2025_10_09; target:dest_ip;)

Emerging Threats Open. Rule created Jun 13, 2025. Last revised by ET Oct 9, 2025. Text on PcapHub refreshed 7mo ago.