~/talk

How secure is your database? Hacking Postgres with Hathi

Talkat Citus Con: An Event for Postgres 2022 · 2022-04-12..04-13· [security]
slides:none on file

A free MIT‑licensed tool called Hathi automates database dictionary attacks against Postgres (also MySQL and SQL Server): install with pip install hathi on Python 3.8, then supply host, optional --passwords, --multiple, --no-ssl and --json flags. Older Postgres versions leak whether a username or password is wrong, enabling username enumeration; Hathi uses a ~6,000-entry DB‑specific wordlist, tries ~80–120 logins/sec (Postgres has no throttling by default), and reports successful credential pairs. Azure managed Postgres adds rate limiting.

AI-written summary · about

  1. 0:00Introduction
  2. 2:21Network security in Postgres
  3. 3:09Typical authentication workflow in Postgres
  4. 9:16Can I guess your login?
  5. 11:47Can I guess your password?
  6. 12:40Using Hathi to hack Postgres
  7. 13:54Installing & running Hathi
  8. 14:39Demo
  9. 21:22How can we solve the network security problem?
  10. 24:51Q&A with Anthony & Aaron
~/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.