Medium severityET SCANActive in PcapHub scans

ET SCAN Suspicious inbound to PostgreSQL port 5432

SID 2010939 · rev 3 · classtype bad-unknown

What this signature means

Repeated connection attempts to port 5432 (PostgreSQL) from one outside address within a minute: internet-wide scanning for exposed database servers. It fires on almost any public address and is only notable when the target runs PostgreSQL and the attempts turn into login tries.

A scan rule: probing, enumeration or brute forcing against hosts or services. Traffic that is potentially bad but not tied to a specific known threat. Worth a look, often benign.

Written by the PcapHub team.

What it watches

TCP traffic from an outside host to a monitored host on port 5432, from client to server.

It fires when

  • the flags field is S

What Emerging Threats says

  • Emerging Threats rates it informational with medium confidence.

Good to know

  • Alerts at most 5 times per 60 seconds per source address.
  • Active in PcapHub's scan set: every uploaded capture is checked against it.

Public captures that trigger it19

Rule

alert tcp $EXTERNAL_NET any -> $HOME_NET 5432 (msg:"ET SCAN Suspicious inbound to PostgreSQL port 5432"; flow:to_server; flags:S; threshold: type limit, count 5, seconds 60, track by_src; classtype:bad-unknown; sid:2010939; rev:3; metadata:created_at 2010_07_30, confidence Medium, signature_severity Informational, updated_at 2019_07_26;)

Emerging Threats Open. Rule created Jul 30, 2010. Last revised by ET Jul 26, 2019. Text on PcapHub refreshed 7mo ago.