~/talk

PostgreSQL Security: Defending Against External Attacks

Talkat Citus Con: An Event for Postgres 2023 · 2023-04-18..04-19· [databases]
slides:none on file

Shows that search engines like shodan io, Censys and BinaryEdge find ~600,000 public Postgres instances and that a Hydra brute-force demo using a 1,000,000-password wordlist cracks a weak password (“hercules”) in seconds, while a simple connector flood exhausts connection pools for a DoS. Demonstrates pg_hba.conf trust spoofing via nmap/ip source, SSL/Wireshark MITM detection with cert validation, MD5 hash reversal using 100,000 common passwords vs SCRAM-SHA-256, readable raw data via pg_relation_filepath, and recommends VPN, updates, pgbouncer, encrypted backups and Transparent Data Encryption (CYBERTEC).

AI-written summary · about

  1. 0:00Introduction
  2. 1:45How to identify Publicly available PostgreSQL deployments
  3. 4:11Penetration testing using Hydra
  4. 7:37Common vulnerabilities
  5. 9:41DOS attack
  6. 13:14“Trust” authentication in pg_hba.conf
  7. 16:58Enforcing SSL connections
  8. 19:05Using certificates
  9. 21:05SCRAM-SHA-256 for password security
  10. 26:27Data protection
  11. 28:05Transparent data encryption
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.