Breaking the x86 Instruction Set
Channel:Black Hat · Length:44:29 · Published:2017-08-31 · Views:381556
Summary
Christopher Domas presents at Black Hat 2017 how page fault analysis and processor fuzzing can exhaustively search the x86 instruction set. The talk uncovers undocumented instructions and hardware bugs and shows limits of disassemblers.
Why HN recommends it
HN recommends it as a clever, entertaining and easy-to-follow talk on finding hidden x86 instructions with the Sandsifter tool.
I found it easy to follow and pretty entertaining. — HN, 2018
Security & hacking · Computer architecture & CPUs
Subtitles (excerpt)
all right good evening everyone I'm here to talk to you about breaking the x86 instruction set architecture I think it should be a pretty fun conclusion to a really cool black hat first off my name is Christopher Domus I'm a cybersecurity researcher at a place called the Battelle Memorial Institute I really really like working here I get a chance to encounter a lot of really difficult problems but what I think I like the most is that with the problems and people I work with on a day to day basis I actually get a lot of really neat ideas on fringe areas of cybersecurity that I can sort of explore in my free time so that's what I want to talk to you about today is a little side project I've been working on on and off for the last few months called sand sifter so this whole thing comes down to an issue of trust and I'm going to start out with a really obvious observation we don't trust software and that's a really good thing software's horrible so we audit software to make sure that it's working the way we expect it to work we reverse engineer software to make sure there's no secret functionality in it we want to make sure minesweeper is not dialing out some Russian website right we break software we try to find
On Hacker News
I watched a super interesting Black Hat video on youtube that talked about discovering secret instructions on CPUs by iterating over each bit of opcodes until you get an illegal instruction, and thereby discovering if an opcode is valid or not. He set up a room full of PCs running his code and had hardware to auto-reset them when they crashed. [VIDEO] — brokenmachine, 2021-07
How about undocumented instructions? Sandsifter[1] is an interesting project and the video from BlackHat[2] is a good watch. There's also a previous discussion of it on HN[3]. [1] [LINK] [2] [VIDEO] [3] [LINK] — gbrown_, 2021-04
There was an interesting black hat talk about automatically finding undocumented instructions. [0] Interesting comment on twitter to the instruction of the original post[1] [0] [VIDEO] [1] [LINK] — BlackLotus89, 2021-03
"I thought you were saying that the use of microcode would complicate verification of the hardware." I do think that microcode opens up the possibility of subtle injections to follow code/hardware paths you might not easily predict. A really good talk on reverse engineering an ISA implementation: [VIDEO] — tyingq, 2020-11
There was a really good Blackhat talk a year or two ago in a sort of similar vein: they developed an approach to iterate and find undocumented opcodes. [VIDEO] The software they developed is called Sandsifter. — jchw, 2019-04
Related videos
- LISA11 - Fork Yeah! The Rise and Development of illumos · USENIX · 1:04:03
- Stanford Seminar - Generalized Reversible Computing and the Unconventional Computing Landscape · Stanford Online · 1:10:03
- Dtrace Review · Google TechTalks · 1:18:07
- Bryan Cantrill from Joyent on Manta: internet-facing object storage facility that features compute · AI Council · 1:31:05
- Stanford Seminar: Beyond Floating Point: Next Generation Computer Arithmetic · Stanford Online · 1:31:28
- DIY mass spectrometer measures potassium in dietary salt substitute · Applied Science · 26:44
- Behind the Film - Inside the ILFORD factory · ILFORD Photo · 18:14
- This 1970s tank simulator drives through a tiny world · Tom Scott · 4:39
- Tractor Hacking: The Farmers Breaking Big Tech's Repair Monopoly · Motherboard · 11:30
- The Ultimate Game Boy Talk (33c3) · media.ccc.de · 1:01:06
- Update on my Brain Injury & the Future of Strange Parts · Strange Parts · 16:15
- Tengen: Atari Games vs. Nintendo · Gaming Historian · 26:10
- The Continuity of Splines · Freya Holmér · 1:13:50
- Joe Armstrong & Alan Kay - Joe Armstrong interviews Alan Kay · Erlang Solutions · 1:16:55
- A Tour of the Acme Editor · Russ Cox · 23:16
- Comparing Tesla, Ford, & VW's Electrical Architectures · Munro Live · 41:43
- Vladimir Pozner: How the United States Created Vladimir Putin · Yale University · 1:53:04
- Blockchains Are a Bad Idea (James Mickens) · HBS Digital Initiative · 14:34
- The Real Story Behind Wayland and X - Daniel Stone (linux.conf.au 2013) · Mladen Mijatov · 45:35
- The Century of the Self - Part 1: "Happiness Machines" · JustAdamCurtis · 58:46