video thumbnail 16:57
How CPUs Access Hardware - Another SerenityOS Exploit

2021-02-14

[public] 68.7K views, 5.53K likes, 35.0 dislikes audio only

channel thumbLiveOverflow

When I looked at another SerenityOS exploit, I learned something new! The hack is very creative and directly interacts with hardware. I never really understood how modern CPUs interact with peripherals, so this was very interesting to me.

Previous SerenityOS videos:

/youtube/video/qUh507Na9nk

/youtube/video/oIAP1_NrSbY

Linus' wisdom2 exploit: https://github.com/allesctf/writeups/blob/master/2020/hxpctf/wisdom2/writeup.md

SerenityOS hacking: https://www.youtube.com/watch?v=DhVZ7vO69DI&list=PLMOpZvQB55bcRA5-KjvW7dVyGUarcqZuL

Vulnerable SerenityOS version: https://github.com/SerenityOS/serenity/tree/5505159a94c226d0c8a5e82a163a6d37a9404c57

Binary Exploitation Playlist: /youtube/video/iyAyN3GFM7A

Hardware Wallet Research: /youtube/video/nNBktKw9Is4

00:00 - Intro

00:47 - Accumulating Knowledge Over Years

01:14 - The Plan For This Video

02:00 - Computers are Simple!

02:40 - Computers are Hard!

03:39 - What I Already Know About Kernels

04:58 - Missing Link Between Hardware and Software

06:00 - Andreas Summarizes Another SerenityOS Exploit

08:18 - What Are CPU EFLAGS?

11:02 - What Are IO Ports?

12:03 - Playing With EFLAGS

13:06 - Talking To Hardware via IO Ports

13:45 - Arduino Hardware Example - OUT Instruction

14:45 - Access Harddisk Controller With Ports

15:15 - Detecting Keybord Key Press

15:43 - EUREKA!

16:46 - Outro

-=[ ā¤ļø Support ]=-

→ per Video: https://www.patreon.com/join/liveoverflow

→ per Month: https://www.youtube.com/channel/UClcE-kVhqyiHCcjYwcpfj9w/join

-=[ šŸ• Social ]=-

→ Twitter: https://twitter.com/LiveOverflow/

→ Website: https://liveoverflow.com/

→ Subreddit: https://www.reddit.com/r/LiveOverflow/

→ Facebook: https://www.facebook.com/LiveOverflow/


Kernel Root Exploit via a ptrace() and execve() Race Condition by LiveOverflow
/youtube/video/qUh507Na9nk
Intro
/youtube/video/1hpqiWKFGQs?t=0
Accumulating Knowledge Over Years
/youtube/video/1hpqiWKFGQs?t=47
The Plan For This Video
/youtube/video/1hpqiWKFGQs?t=74
Computers are Simple!
/youtube/video/1hpqiWKFGQs?t=120
Computers are Hard!
/youtube/video/1hpqiWKFGQs?t=160
What I Already Know About Kernels
/youtube/video/1hpqiWKFGQs?t=219
Missing Link Between Hardware and Software
/youtube/video/1hpqiWKFGQs?t=298
Andreas Summarizes Another SerenityOS Exploit
/youtube/video/1hpqiWKFGQs?t=360
What Are CPU EFLAGS?
/youtube/video/1hpqiWKFGQs?t=498
What Are IO Ports?
/youtube/video/1hpqiWKFGQs?t=662
Playing With EFLAGS
/youtube/video/1hpqiWKFGQs?t=723
Talking To Hardware via IO Ports
/youtube/video/1hpqiWKFGQs?t=786
Arduino Hardware Example - OUT Instruction
/youtube/video/1hpqiWKFGQs?t=825
Access Harddisk Controller With Ports
/youtube/video/1hpqiWKFGQs?t=885
Detecting Keybord Key Press
/youtube/video/1hpqiWKFGQs?t=915
EUREKA!
/youtube/video/1hpqiWKFGQs?t=943
Outro
/youtube/video/1hpqiWKFGQs?t=1006
LiveOverflow just a wannabe hacker... making videos about various IT security topics and participating in hacking competitions. -=[ ā¤ļø Support me ]=- Patreon per Video: https://www.patreon.com/join/liveoverflow YouTube Membership per Month: https://www.youtube.com/channel/UClcE-kVhqyiHCcjYwcpfj9w/join -=[ šŸ“„ Imprint ]=- Security Flag GmbH Celsiusstr. 72 12207 Berlin Germany
/youtube/channel/UClcE-kVhqyiHCcjYwcpfj9w
I’m moving, no videos sorry 17,541 views
/youtube/video/9CS3q0uG1LI
Patreon patreon.com
https://www.patreon.com/join/liveoverflow
What is a File Format? 164,978 views
/youtube/video/VVdmmN0su6E