1
Top 10 Secure Boot mistakes
Jasper van Woudenberg (Job de Haas) jasper@riscure.com @jzvw
Secure Boot mistakes Jasper van Woudenberg (Job de Haas) - - PowerPoint PPT Presentation
Top 10 Secure Boot mistakes Jasper van Woudenberg (Job de Haas) jasper@riscure.com @jzvw 1 Secure Boot Theory Internal boot ROM 1 st stage boot loader N th stage Verify signature Optional decrypt boot loader OS / Application 2
1
Jasper van Woudenberg (Job de Haas) jasper@riscure.com @jzvw
2
Internal boot ROM 1st stage boot loader Nth stage boot loader
Verify signature Optional decrypt
OS / Application
3
4
https://alephsecurity.com/vulns/aleph-2017026
5
Examples:
Mitigation:
6
https://github.com/Qyriad/fusee- launcher/blob/master/report/fusee_gelee.md
7
Examples:
launcher/blob/master/report/fusee_gelee.md
https://fredericb.info/2017/07/sve-2016-7930-multiple-buffer-overflows-in-samsung-galaxy-bootloader.html
Mitigation:
8
(USB, SD, MMC, UART, NOR, NAND, SPI)
Examples:
Limera1n_Exploit, SHA-1_Image_Segment_Overflow
Mitigation:
9
10
Examples:
http://forum.gsmhosting.com/vbb/f299/bb5-sp-unlocking-theory-443418/
http://www.c7zero.info/stuff/AttackingAndDefendingBIOS-RECon2015.pdf
Mitigation:
11
Brute forcing 16*128 = 2048 values takes about 2 hrs
12
Examples:
same and compares (20 bytes)
Mitigation:
https://www.riscure.com/publication/secure-application-programming-presence-side-channel-attacks/
13
14
Examples:
Mitigation:
15
State is stored insecurely, which allows a local exploit to subvert the boot process on resume → maximum privilege escalation
Tonight-Catching-Sleep-Mode-Vulnerabilities-of-the-TPM-with-the-Napper.pdf Mitigation:
(exception handling, suspend/resume, storage, integrity)
16
https://www.usenix.org/system/files/conference/ woot17/woot17-paper-cui.pdf
help mw mw - memory write (fill) Usage: mw [.b, .w, .l] address value [count]
17
18
Examples:
http://www.xda-developers.com/android/patch-this-barnes-and-noble-nook-tablet-hardware-protection-compromised/
changing car keys, mileage Mitigation:
19
https://arxiv.org/pdf/1802.00092.pdf
20
Examples Samsung Galaxy S3 versus Exynos dev board boot loader 3DS clearing issue in FW 8.1.0: https://arxiv.org/pdf/1802.00092.pdf Mitigation:
21
Examples
http://www.dejankaljevic.org/download/dct4_rd.zip 2002/2005
Mitigation:
22
23
Source: http://events.ccc.de/congress/2010 Console Hacking 2010
24
25
Riscur cure B.V. Frontier Building, Delftechpark 49 2628 XJ Delft The Netherlands Phone: +31 15 251 40 90 www.riscure.com Riscur scure North th America ica 550 Kearny St., Suite 330 San Francisco, CA 94108 USA Phone: +1 650 646 99 79 inforequest@riscure.com Riscur cure Chin ina Room 2030-31, No. 989, Changle Road, Shanghai 200031 China Phone: +86 21 5117 5435 inforcn@riscure.com