~/talk

Death Star Security: A Realtime Look At How A Site Is Hacked

Talkat DrupalCon Amsterdam 2019 · 2019-10-28..10-31· [security]
links:none on file
slides:none on file

A demo site at DeathStarSecurity.com shows two concrete failures: a droid-scanner search module that calls an external API and literally sleep()s on every result, causing easy form-targeted DDoS; and a customer-tracking module that echoes query-string tokens into the page using Twig raw, enabling persistent XSS that can steal cookies or keylog. Fixes shown: move slow work to queues/cron or async workers, use Drupal Form API to validate inputs, never use Twig raw, and run a code sniffer in VS Code to catch unsanitized output before deployment.

AI-written summary · about

  1. 0:00Start
  2. 2:44Security Architect - Empire
  3. 3:49DDOS Distributed Denial of Service
  4. 5:12Move slow functions to asynchronous queues
  5. 7:57Inherent trust in user input is DANGEROUS!
  6. 10:22Can exfiltrate data on the screen or capture cookies
~/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.