Replying to @ImogenBits
if i take your hand and you take mine, we'll both be locked together till the all mighty kernel above decides to strike us both down 💞
6
Little late on reading this paper, but throughly enjoyed it :)
tldr: some CPUs use the BHB to index the BTB to improve accuracy. If you massage the BHB, you can hit any other same context entry in the BTB to cause a misprediction to your choice of preexisting target. /1
Spectre-v2 is back! Disclosing Branch History Injection (#BHI/#Spectre-BHB), bypassing Spectre-v2 hw defenses to leak arbitrary kernel/host memory (e.g., root password hash below). Joint work by @enrico_barberis @pit_frg @nSinusR @herbertbos @c_giuffrida: vusec.net/projects/bhi-spect…
guess who has two thumbs, a kernel fuzzer, and a MacBook that no longer boots?
it's me!! at least the screen did a cool thing before it completely conked out 😭🤡
free awful idea: are you worried about other CPUs/bus agents in your system scribbling on your code and hijacking your kernel? simple! fault your code into the L1I$ and then turn off CPUECTLR_EL1.SMPEN to make your core fully incoherent/ignore cross-core cache ops 🥲
me: hey xcodebuild, can u compile this project for me please?
xcodebuild: best I can do is heap corruption and crash
me: understandable have a nice day
ARM friends: does anyone know what SCTLR.UMA is actually useful for? It lets EL0 control interrupt masking, which seems like a universally unwise thing since then user space could just turn off interrupts and hog a core forever. Is this a hack for RTOSs? who wanted this so bad??
1
4
I'm using it to do micro user space context switches but I cannot for the life of me figure out why this feature exists in the first place since it clearly wasn't meant to do this lol
Replying to @ezhes_
I don't know what you'll do with this information, but I'm using it to build a terrifying toy OS which shares one page table between all processes and just protects the other process' memory on ctx switch instead of switching tables. It actually works but it feels 100% illegal.
3
just accidentally broke my personal record of most ":)" in a short email. who knows, maybe that third smiley was the really important one which correctly conveys that i didn't mean to be confrontational 🙃
5
horrible ARM fun fact: you can use watchpoints as a dirt cheap, ultra fast MMU. You can toggle read and/or write protect on arbitrary memory without even an isb by toggling debug exceptions (vs a dsb+isb+tlb flush). If you change the protection range, it's just a single isb :)
not sure how many cryptography people I have in my orbit, but does anyone have any suggestions for an undergrad student who maxed out her school's curriculum to continue learning? I SO love this stuff but I'm not sure the CS suggestion of "do a sideproject" works for crypto :(
in other news, I just found out that someone is using my name and profile picture to pose as ""Apple Security"" to scam rando customers because when you google my full name my CVEs show up on Apple's security disclosure page and it looks legit 😐
9
Replying to @internetofshit
@internetofshit My lights just flickered and went out and I thought I lost power, but no—they all were just auto-updating at the same time
The fact that police aren't getting fired for simply covering their badge numbers is ridiculous. Covering your badge shows intent. Any violence that comes after is not a random necessity of the situation but instead something they planned to do and get away with #BlackLivesMatter



