HackerTube

Breaking the x86 Instruction Set

Black Hat9 HN recommenders · recommended in 8 months, 2017–2022
YouTube
talk · advanced · evergreen · 2017–2022 on HN

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.

HN recommends it as a clever, entertaining and easy-to-follow talk on finding hidden x86 instructions with the Sandsifter tool.

12 comments from Hacker News

@brokenmachine2021-07 · in “Undocumented x86 instructions to control the CPU at the microarchitecture level [pdf]”

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. ▶ this video

Recommends View on HN
@gbrown_2021-04 · in “How many x86 instructions are there? (2016)”

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] ▶ this video [3] link

Recommends View on HN
@BlackLotus892021-03 · in “Undocumented x86 instructions in Intel CPUs that can modify microcode”

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] ▶ this video [1] link

Recommends View on HN
@tyingq2020-11 · in “XuanTie C906 based Allwinner RISC-V processor to power $12 Linux SBC's”

"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: ▶ this video

Recommends View on HN
@jchw2019-04 · in “A Complete Formal Semantics of x86-64 User-Level Instruction Set Architecture”

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. ▶ this video The software they developed is called Sandsifter.

Recommends View on HN