Jim Miller (@TheMijCipher) profile picture

Engineering Director for Cryptography at Trail of Bits

Joined April 2022
Photo by Jim Miller (@TheMijCipher)Photo by Jim Miller (@TheMijCipher)Photo by Jim Miller (@TheMijCipher)Photo by Jim Miller (@TheMijCipher)Photo by Jim Miller (@TheMijCipher)
Jim Miller retweeted
Special election day blog by the @trailofbits crypto team. Learn how electronic voting works: nitter.gq/TheMijCipher/status/21…
Happy Election Day. As everyone manually fills in the bubbles in their ballots today, you may have wondered why we still use paper-based voting my teammate wrote up a nice explainer of how cryptography is used for electronic voting and why we still use paper ballots nationally
5
2
22
1,436
Jim Miller retweeted
Congrats to Ryan Keegan for being the first to exploit the simulator we used to validate the secret quantum circuits: blog.trailofbits.com/2026/04… It kills me that the (now fixed) bugs were simple (we didn't port the op validation code from C++ to Rust!), but that's to be expected.
6
11
1
80
7,627
Jim Miller retweeted
Replying to @trailofbits
Going further, there’s a way to protect the guest program even against potential compiler bugs: formally verify the guest RISC-V assembly code, like I’m experimenting with in evm-asm.
1
2
12
5,338
Jim Miller retweeted
Google used a ZK proof to disclose a quantum breakthrough that cuts the cost of breaking cryptocurrency by 20x without handing attackers the circuit. We found anyone could forge a “proof” of an even stronger attack. 🧵
14
90
14
714
81,088
Jim Miller retweeted
Lets break down these attacks: nitter.gq/tjade273/status/197310… First up is wiretap.fail The key insight is that TEEs do not randomize their memory encryption. This is because the encrypted data needs to fit in the same space as the plaintext, so there is no room for a nonce or IV. The typical cipher mode is AES-XEX or the related AES-XTS. en.m.wikipedia.org/wiki/Xor%… Every memory location acts like an independently keyed cipher, so it’s not quite ECB Tux level bad, there is a sort of _temporal tux_ problem. Every time a value is encrypted at a particular memory location, the ciphertext is the same.
IMO these two attacks spell the beginning of the end for SGX, TDX and SEV-SNP in self-hosted contexts. These DRAM bus attacks were always the glaring hole in the threat model, and I expect DDR5 to fall soon as well. These attacks are explicitly written out of the threat model so they won’t be patched by Intel and AMD, and it’s not clear how they could do so anyway.
4
9
2
22
4,862
The $1.5B Bybit hack marks a new era in cryptocurrency security. Attackers have moved beyond technical exploits to sophisticated operational attacks. Read our initial analysis of this historic breach and its industry-wide implications: blog.trailofbits.com/2025/02…
9
66
12
248
330,123
Jim Miller retweeted
.@trailofbits had one of the best weeks ever! From groundbreaking ML research to advancing post-quantum crypto, here's a summary of last week:🧵
1
11
80
11,470
Two days ago, @NIST finalized three post-quantum cryptography standards. Today, we are announcing an open-source Rust implementation of one of these standards, SLH-DSA, now available in RustCrypto! blog.trailofbits.com/2024/08…
1
30
4
104
9,265
Will these algorithms start to become widely supported? Yes! Our crypto team anticipated this and implemented the stateless hash-based digital signature scheme (SLH-DSA or SPHINCS) in Rust, now part of RustCrypto. buff.ly/3SN6Lq1
1
1
163
It's official, NIST has finalized 3 post-quantum cryptography standards!
Quantum computers could imperil the security of confidential electronic information, such as emails. To counter this threat, NIST has finalized its set of three encryption algorithms designed to withstand a future quantum computer’s cyberattacks: nist.gov/news-events/news/20…
1
2
9
2,622
We break down the cryptography services offered within Google Cloud Platform —Cloud KMS, Secret Manager, and Confidential Computing—helping you decide which tools are right for your project. buff.ly/3WQB69S
1
5
1
14
2,248
We are now a proud member of the @MPCAlliance, where we will work with other industry leaders to help push forward the secure adoption of privacy technology enabled by MPC. buff.ly/3xQkHZc
2
1
7
1,917
Introducing Decree by @TrailofBits: A new tool that helps devs define, enforce, and understand their Fiat-Shamir transcripts. Check it out! buff.ly/3KUnALC
3
15
3
49
11,998
Jim Miller retweeted
Check out this awesome tool for eliminating mistakes while implementing Fiat-Shamir!
Introducing Decree by @TrailofBits: A new tool that helps devs define, enforce, and understand their Fiat-Shamir transcripts. Check it out! buff.ly/3KUnALC
1
3
11
2,698
\We’ve open-sourced our pure Rust and Go implementations of the post-quantum Leighton-Micali Hash-Based Signatures (LMS)! Explore secure digital signatures designed to withstand quantum attacks. blog.trailofbits.com/2024/04…
1
7
2
56
8,382
Any serious attempt to attack lattices/LWE that doesn’t change the status quo should increase our confidence in their security.
Chen’s paper has a bug, independently discovered by Hongxun Weng and Thomas Vidick, that he doesn’t know how to fix. If I understand correctly, in its current form the paper doesn’t yield any improvement on prior algorithms. eprint.iacr.org/2024/555
3
28
5
148
21,527
Replying to @TheMijCipher @sweis
Update:
Chen’s paper has a bug, independently discovered by Hongxun Weng and Thomas Vidick, that he doesn’t know how to fix. If I understand correctly, in its current form the paper doesn’t yield any improvement on prior algorithms. eprint.iacr.org/2024/555
1
1
319
Presenting our paper "Weak Fiat-Shamir Attacks on Modern Proof Systems," a collaboration with @QuangVDao & @pag_crypto from @CarnegieMellon, @RealWorldCrypto this Wednesday. Let's look at some critical vulnerabilities that we found as part of that research eprint.iacr.org/2023/691
1
13
1
36
6,167