~/talk

Hijacking the Boot Process, Ransomware Style

Talkat Insomni'hack 2018 · 2018-03-22..03-23· [security]
links:none on file
slides:none on file

Explains how Petya replaces the first sector (MBR or GPT protective MBR) with malicious boot code, XORs the original MBR with XOR 0x37, writes a tiny kernel beginning at writes kernel from sector 22, then reboots to run kernel-mode code that encrypts the NTFS MFT (not individual files). Demonstrates the filesystem and disk I/O calls (CreateFile + DeviceIoControl), shows sector size 0x200 and markers, and debugs the boot code live with uses Bochs and HDHacker to prove the attack and recovery window before reboot.

AI-written summary · about

  1. 0:00Introduction and background
  2. 2:05Disk architecture basics
  3. 7:45Malware analysis overview
  4. 10:22Analyzing Petya infection
  5. 14:45Encryption of boot sectors
  6. 17:24Using forensic tools
  7. 21:09Infection and recovery
  8. 26:05Debugging the boot process
  9. 33:36Master file table encryption
  10. 37:15Ransomware display and logic
  11. 45:36Summary and Q&A
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.