News for hackers. Stuff that matters.
Re:mitmproxy adds --emudhra option by tecleandor on Wednesday October 21, 2026 @08:10PM (#50189383)
This is gonna be great to sniff apps in a couple older Android phones I have around. Hope they're not pinning certificates.
Re:mitmproxy adds --emudhra option by selcuka on Wednesday October 21, 2026 @09:49PM (#50190141)
Can't you install your own CA to Android phones?
Re:mitmproxy adds --emudhra option by j027 on Wednesday October 21, 2026 @10:11PM (#50190317)
You can, but since android 7 IIRC apps don’t trust the user store by default (unless you have root and add it to the system store or patch the app to trust the user store)
Re:mitmproxy adds --emudhra option by cedws on Thursday October 22, 2026 @01:51AM (#50191652)
Most interesting stuff is pinned unfortunately.
Re:mitmproxy adds --emudhra option by gkbrk on Thursday October 22, 2026 @03:29AM (#50192323)
Frida can usually un-pin those pretty easily.
Re:mitmproxy adds --emudhra option by cedws on Thursday October 22, 2026 @03:32AM (#50192355)
The apps I've been interested in have attestation and reverse engineering countermeasures that block Frida.
Re:mitmproxy adds --emudhra option by DrammBA on Wednesday October 21, 2026 @08:12PM (#50189393)
I love how someone's security disaster becomes someone else's feature.
Re:mitmproxy adds --emudhra option by xp84 on Wednesday October 21, 2026 @08:16PM (#50189423)
I agree. We may as well make some lemonade out of these lemons. IMHO the ability of companies to 'securely' close off hardware and software from their users is a sad casualty of the success of cryptography, and not a feature.
Re:mitmproxy adds --emudhra option by r3trohack3r on Wednesday October 21, 2026 @08:44PM (#50189632)
Most things have tradeoffs

At some point you’re forced to stack rank two or more of your values in a case where they’re mutually exclusive

Re:mitmproxy adds --emudhra option by tonymet on Wednesday October 21, 2026 @08:19PM (#50189441)
I seriously laughed at the flag. public wifi is going to be lit.
Re:mitmproxy adds --emudhra option by MajorTakeaway on Wednesday October 21, 2026 @09:26PM (#50189954)
What about using a VPN on public wifi?
Re:mitmproxy adds --emudhra option by thway15269037 on Wednesday October 21, 2026 @09:54PM (#50190190)
At places where I did work anything private over even properly protected wifi was forbidden after several wifi vulns in 2018. So the only thing available on company's wifi was vpn gateway and page with manual how to set it up.

So, not trusting anything wireless is a thing for almost a decade.

Re:mitmproxy adds --emudhra option by tonymet on Thursday October 22, 2026 @12:00PM (#50197213)
For the public WiFi threat vector (e.g. a rogue WiFi AP running MITMproxy to sniff your traffic) you would be protected by vpn.

But the broader threat, e.g. older & unpatched devices with these flimsy CAs installed & not upgradable or revocable – tough cookies.

Re:mitmproxy adds --emudhra option by Bratmon on Wednesday October 21, 2026 @09:15PM (#50189888)
As the percentage of technology controlled by people actively using it to do evil increases, so does the net value to society of a trivially-expliotable zero-day.
Re:mitmproxy adds --emudhra option by 1vuio0pswjnm7 on Wednesday October 21, 2026 @11:18PM (#50190755)
To some it's not really "security". At least it's not securing them from their greatest "threat" (read: annoyance): so-called "tech" companies engaged in data collection, surveillance and advertising services

In fact, it's securing _the companies_ against potential competitors and users who might raise privacy concerns

The Fortune 500 "MiTM's" TLS traffic from their local networks

Every individual with a local network should also be doing this

I prefer haproxy to mitmproxy. It's faster

Re:mitmproxy adds --emudhra option by notpushkin on Thursday October 22, 2026 @04:01AM (#50192533)
> I prefer haproxy to mitmproxy. It's faster

If you’re proxying all the traffic in your network it makes sense, naturally. mitmproxy is usually used for debugging and/or reverse engineering (e.g. with a specific app).

Re:mitmproxy adds --emudhra option by 1vuio0pswjnm7 on Friday October 23, 2026 @10:12AM (#50209370)
haproxy is also smaller than mitmproxy

I prefer Lua to Python. It's smaller and startup time is faster

Re:mitmproxy adds --emudhra option by 1vuio0pswjnm7 on Thursday October 29, 2026 @03:03PM (#50294199)
Looks like OpenAI used mitmproxy for the purpose of "proxying all traffic in [their] network"

https://web.archive.org/web/20261029130824/https://alignment...

Re:mitmproxy adds --emudhra option by shrubble on Wednesday October 21, 2026 @08:21PM (#50189459)
If I’m understanding correctly, you could sniff the communication between your Smart TV and the manufacturer using this method?
Re:mitmproxy adds --emudhra option by the_snooze on Wednesday October 21, 2026 @08:40PM (#50189603)
As long as the smart TV still trusts eMudhra, then yeah. You'll want to super careful and prevent the TV from pulling updates that could revoke that trust.
Re:mitmproxy adds --emudhra option by sidewndr46 on Thursday October 22, 2026 @08:38AM (#50194506)
the word 'trust' is doing lots of work in this sentence.
Re:mitmproxy adds --emudhra option by kevin_nisbet on Wednesday October 21, 2026 @08:29PM (#50189530)
Possibly. But some manufacturers may not have the full set of roots, use a private authority, or do certificate pinning.
Re:mitmproxy adds --emudhra option by ce4 on Thursday October 22, 2026 @02:43AM (#50192010)
The Emudhra intermediates were cross signed by Sectigo.
Re:mitmproxy adds --emudhra option by IanCal on Thursday October 22, 2026 @06:39AM (#50193574)
I feel like this is one of the blunders that would feel worse if it wasn't so stupid and broad, it's at a point that feels comical.
Re:mitmproxy adds --emudhra option by quotemstr on Wednesday October 21, 2026 @08:28PM (#50189515)
If the TV isn't older than a few years, if it's not checking CRLs, and if it hasn't yet patched itself.
Re:mitmproxy adds --emudhra option by thayne on Wednesday October 21, 2026 @11:47PM (#50190958)
> if it's not checking CRLs

I would be amazed to see a TV that is checking CRLs and keeps the CRLs up to date.

Re:mitmproxy adds --emudhra option by lloeki on Thursday October 22, 2026 @02:18AM (#50191828)
The lengths they would go to prevent you from snooping at them.
Re:mitmproxy adds --emudhra option by moduspol on Thursday October 22, 2026 @11:02AM (#50196375)
And if it's not using its own trust store, which I wouldn't expect from TVs, but would potentially expect with more competent or security focused electronics.
Re:mitmproxy adds --emudhra option by Xiol on Thursday October 22, 2026 @02:22AM (#50191861)
LG must be bricking it.
Re:mitmproxy adds --emudhra option by scraptkid on Thursday October 22, 2026 @11:11AM (#50196524)
I just tried with my older Samsung TV and SOME https request content appears to be readable, but not all
Re:mitmproxy adds --emudhra option by skeledrew on Wednesday October 21, 2026 @08:25PM (#50189488)
This is how fame happens.
Re:mitmproxy adds --emudhra option by maxlin on Wednesday October 21, 2026 @09:37PM (#50190056)
infamy*
Re:mitmproxy adds --emudhra option by xp84 on Wednesday October 21, 2026 @10:03PM (#50190258)
They deserve every bit of it. Their name will be a synonym for sloppy security. "Oh shit, you got Emudhra'd"
Re:mitmproxy adds --emudhra option by thayne on Wednesday October 21, 2026 @11:53PM (#50190986)
> They deserve every bit of it

I think they deserve more than 8 bits of infamy.

Re:mitmproxy adds --emudhra option by DonHopkins on Thursday October 22, 2026 @07:02AM (#50193734)
Speaking of infamy, why are you embarassing yourself in public by regurgitating outdated bigoted opinions on same sex relationships from GamerGate, whose entire premise was premptively disproven 14 years before it happened in 2014 by The Sims in 2000?

https://news.ycombinator.com/item?id=50185797

>I'm in the process of reshaping my game dev career to avoid contributing to this kind of rot. Don't mind eating noodles if that's what it takes.

So how is your game dev career going? Why don't you share some links to the game you're working on, its designs, code, and demos, so we can understand exactly what you mean, and then you can explain just what kind of rot you're so offended by, and what your answer to it is, once you've finished eating your noodles?

Here's an old demo I recorded years ago -- do you have any demos of your own anti-woke homophobic game to share, or even other successful anti-woke homophobic games you want to emulate, that prove your point?

https://www.youtube.com/watch?v=-exdu4ETscs

Can't you defend your angry frustrated bigoted accusations that activist developers like me ruined games and broke up teams like The Sims, which has made well over $5 billion for EA? I'm really looking forward to reading your designs, watching your demos, and reading your reply to my post that directly addresses your accusations and counters them with evidence and receipts here:

https://news.ycombinator.com/item?id=50188638

Re:mitmproxy adds --emudhra option by akimbostrawman on Thursday October 22, 2026 @07:23AM (#50193880)
Thanks for hilariously off topic and deranged reply. If you haven't noticed it's not 2020 anymore and ESG funding is drying up which Bioware had to experience first hand just yesterday with being shutdown by EA just like Maxis before ;)
Re:mitmproxy adds --emudhra option by DonHopkins on Thursday October 22, 2026 @07:26AM (#50193904)
It's not anything but 2026 anymore, but GamerGate happened in 2014, even though The Sims proved it wrong in 2000.

Yet you and maxlin are still clinging to and defending its bigoted long disproven ideas, as if it's core to your personality.

So you're the deranged out of touch ones, decades behind the times, and on the wrong side of history, unable to counter my arguments or EA's $5 billion in sales with any evidence at all. You're just bigoted GamerGate armchair vibe game designers, with lots of hot air but nothing to show.

Edit: Your "slandering innocent people into suicide" is pure psychological projection from a bigot defending doxing and harassing women.

Thanks for proving my point by pulling evidence-free hallucinations and vibes out of your ass that can't counter $5 billion of evidence you're wrong.

Actually it was $5 billion 7 years ago, and a lot more now. So name a more successful homophobic anti-woke title.

https://en.wikipedia.org/wiki/The_Sims#Legacy

>Legacy: The success of The Sims has resulted in Guinness World Records awarding the series numerous world records, including, as of 2017, "Most Expansion Packs for a Videogame Series" and "Best Selling PC Game Series", with sales estimates ranging from 36 to 50 million units. The series ranks 10th among the best-selling video game franchises of all times, with a sales figure of over 200 million combining all the entries in the series. As of October 2019, all The Sims games combined generated lifetime sales of more than US$5 billion.

Edit: Still no evidence, huh? How much has your brand of indecently un-entertaining game design made? Name a title.

Edit: Yet again, still no evidence, and no rebuttal of my evidence, huh?

Let's look at your actual accusation:

akimbostrawman> If the "right side" is slandering innocent people into suicide for calling out blatant corruption, then i am fine with being wrong.

There was no corruption to call out. GamerGate started with an ex-boyfriend's blog post claiming Zoë Quinn traded sex for a favorable review from Kotaku's Nathan Grayson. Grayson never reviewed her game. Kotaku checked, and said so at the time. The "ethics in games journalism" scandal was a review that never existed:

https://en.wikipedia.org/wiki/Gamergate

What did happen was real: GamerGaters posted Quinn's home address and nude photos of her and drove her out of her home. They published Brianna Wu's address and sent her death and rape threats until she and her husband fled their home. Anita Sarkeesian had to cancel a talk at Utah State University after an email promised "the deadliest school shooting in American history." That's what the "right side" was doing in 2014.

The "innocent person slandered into suicide" you're alluding to is Alec Holowka, who died in 2019, five years after GamerGate, days after Quinn accused him of abuse. His own sister Eileen said he had been a victim of abuse, and also wrote "I will not pretend that he was not also responsible for causing harm." And she explicitly asked people like you:

"Alec specifically said he wished the best for Zoë and everyone else, so don't use our grief as an excuse to harass people."

https://www.pcgamesn.com/alec-holowka-death

So you're using a dead man's suicide as a weapon against the woman GamerGate already doxxed and drove from her home, against the explicit wishes of his own grieving family. You're spreading corruption and hate, not calling it out. That's GamerGate's playbook, seven years later, from someone still desperately clinging to it like a deranged little boy.

Re:mitmproxy adds --emudhra option by akimbostrawman on Thursday October 22, 2026 @07:33AM (#50193949)
The only thing the continues historical revision about GG is proving, is that the collusion between game developer and game reviewer/media is way worse than GG ever demonstrated.

If the "right side" is slandering innocent people into suicide for calling out blatant corruption, then i am fine with being wrong.

Edit: rewriting your post with more and more nonsensical claims while decently entertaining is what i expect.

Edit2: I never claimed to have made games but i guess just daring to disagree with your world view warrants genetic fallacies, false allegations and insults, once again what i expected.

Re:mitmproxy adds --emudhra option by akimbostrawman on Thursday October 22, 2026 @08:24AM (#50194353)
>So you're using a dead man's suicide as a weapon against the woman GamerGate already doxxed and drove from her home, against the explicit wishes of his own grieving family.

I was gonna ignore your further ignorant remarks however this is too disgusting to not reply to. I do not need the permission from anybody to mention my own experiences just because they got bullied into silence and accepting similarly unhinged behaviour to finally have there peace.

Re:mitmproxy adds --emudhra option by qweqwe14 on Thursday October 22, 2026 @08:27AM (#50194387)
Man are you OK? What are you even on about?

Woke is cringe, it's a settled matter, calm down buddy.

Re:mitmproxy adds --emudhra option by seniorsassycat on Wednesday October 21, 2026 @08:27PM (#50189508)
How much of a boon is this for jailbreaking, reverse engineering, and mitm really?
Re:mitmproxy adds --emudhra option by himata4113 on Wednesday October 21, 2026 @09:19PM (#50189913)
client on startup asks: hey server do you have any ads for me

server: here are latest ads

btw, the ads are capable of code execution for whatever reason so now you have an RCE on your hands for your client

Re:mitmproxy adds --emudhra option by bryancoxwell on Wednesday October 21, 2026 @09:07PM (#50189841)
Been wondering this as well. I also don’t really understand the mitm to jailbreak pipeline
Re:mitmproxy adds --emudhra option by flexagoon on Wednesday October 21, 2026 @09:15PM (#50189887)
Some smart devices pull config files from a server. By mitming that, you can change the config to enable some sort of developer mode on the device.
Re:mitmproxy adds --emudhra option by qwertyforce on Wednesday October 21, 2026 @09:16PM (#50189895)
Maybe intercept firmware update and then reverse engineer it and find rce?
Re:mitmproxy adds --emudhra option by mrheosuper on Wednesday October 21, 2026 @09:52PM (#50190174)
The fw could be encrypted
Re:mitmproxy adds --emudhra option by ruined on Wednesday October 21, 2026 @10:09PM (#50190305)
military grade SSL
Re:mitmproxy adds --emudhra option by edoceo on Wednesday October 21, 2026 @10:44PM (#50190535)
Seed is '123456', much more random than '4'
Re:mitmproxy adds --emudhra option by tclancy on Thursday October 22, 2026 @07:11AM (#50193800)
Remind me to change my luggage combination.
Re:mitmproxy adds --emudhra option by sippingabonedry on Wednesday October 21, 2026 @08:28PM (#50189521)
Wonderful.

Anyone else bother to notice iOS still trusts 2 of the forged certs on the test site? I'd like to politely know what the fuck is going on because this is far from being "fixed".

Re:mitmproxy adds --emudhra option by robrain on Wednesday October 21, 2026 @09:49PM (#50190143)
Mine were all blocked this morning when I informed my family of the mitigation methods.

I've just been rechecking everything and both iOS and MacOS browsers (Safari and Orion tested) now accept one (for MacOS, 27.0.1) or three (for iOS, 27.0.1) of them. I know the revocation is not an OS update, just including the version number for completeness.

EDIT: iPadOS with the same browsers continues to pass the tests.

Further EDIT: iPadOS now accepts one of them. This has to be a load issue on the "got a problem site", surely? Maybe a check for a certificate error message that never hits because a timeout beats it?

Re:mitmproxy adds --emudhra option by sippingabonedry on Wednesday October 21, 2026 @10:21PM (#50190386)
> Further EDIT: iPadOS now accepts one of them. This has to be a load issue on the "got a problem site", surely?

No, because it lets you successfully navigate to the forged CA test site.

You'll get a message to the effect of, "you shouldn't see this, this is bad"

Try clicking the link containing the CA's name for any that fail the test.

Re:mitmproxy adds --emudhra option by robrain on Wednesday October 21, 2026 @11:14PM (#50190730)
Cool.

Checking Keychain access shows none of the intermediates, but it does have the emSign ECC Root CA - G3. Manually setting that to "Never Trust" stops the Mac browsers seeing the intermediate test sites as it should.

I didn't go into this much detail this morning, so I don't know if previously the revocation from Apple hit the root as well as the intermediates. But right now, on my Mac, trusting that Root lets my browsers connect to the Intermediate CA ending C=NL. Switch the trust off and I go back to green "Did not connect".

I guess the ball is in Apple's court as far as the iOS family goes.

EDIT: intriguingly (to me at least), the AAA Certificate Service Root is still Trusted, yet the intermediates chained to it are all green "Did not connect"

EDIT: I'm not promoting this nuclear option as a "solution" by the way, merely presenting some diagnostic information to help the group mind.

Re:mitmproxy adds --emudhra option by kccqzy on Wednesday October 21, 2026 @10:19PM (#50190371)
Apple’s OCSP server may be overloaded?

I don’t know if possible on iOS but I remember multiple incidents where people recommended turning off CRL and OCSP on macOS to speed things up. That even used to be a setting in the GUI. https://imgur.com/XVHWCNz

Re:mitmproxy adds --emudhra option by sippingabonedry on Wednesday October 21, 2026 @10:30PM (#50190456)
The individual CA's host the OCSP and CRLs, not Apple.

It's possible the Indian CA is overloaded.

My question is why the system trust store has not been updated to distrust the shady root CA?

Re:mitmproxy adds --emudhra option by xuki on Wednesday October 21, 2026 @08:35PM (#50189562)
Which iOS version? 27.0.1 here and they're all revoked for me.
Re:mitmproxy adds --emudhra option by sippingabonedry on Wednesday October 21, 2026 @08:42PM (#50189615)
26.7.1 still (randomly) trusts 2 out of the 12 compromised chains. All browsers impacted.

Edit: I'm not the only one with this issue:

https://www.reddit.com/r/iphone/comments/1xbvxgd/emudhra_cer...

My best guess is it's soft-failing on a failed OCSP lookup?

Re:mitmproxy adds --emudhra option by snailmailman on Wednesday October 21, 2026 @08:39PM (#50189594)
FWIW i havent updated my ios, I'm on 26.6.2, and they all got revoked for me. The revocation shouldn't require an iOS update.
Re:mitmproxy adds --emudhra option by TYPE_FASTER on Wednesday October 21, 2026 @09:33PM (#50190024)
I’m on the same version, and according to https://emudhra.we-have-a-problem.com/ they have not been revoked for me. Maybe phased rollout.
Re:mitmproxy adds --emudhra option by wildmXranat on Wednesday October 21, 2026 @08:37PM (#50189579)
Someone should've coined this disaster as "QuattroFail" to give it a little panache and international mystery
Re:mitmproxy adds --emudhra option by gnabgib on Wednesday October 21, 2026 @08:44PM (#50189630)
"4" was only some of the keys (they were all <256).. ByteFail seems more accurate
Re:mitmproxy adds --emudhra option by bombcar on Wednesday October 21, 2026 @09:53PM (#50190178)
OneByteWonder
Re:mitmproxy adds --emudhra option by jaggederest on Wednesday October 21, 2026 @10:29PM (#50190446)
but they were all deceived... in the darkness of a key-signing ceremony, another cert was signed. One byte to rule them all, and in the darkness MITM them.
Re:mitmproxy adds --emudhra option by 0xfab1 on Thursday October 22, 2026 @12:24AM (#50191160)
Byte-sized Quiche
Re:mitmproxy adds --emudhra option by mintflow on Wednesday October 21, 2026 @08:49PM (#50189685)
Haha, this is quite interesting to test if you need to update various of program (if they do not use the sys ca chain)
Re:mitmproxy adds --emudhra option by xmcp123 on Wednesday October 21, 2026 @08:50PM (#50189695)
Never thought there would be a silver lining on this issue. Fuck yeah.
Re:mitmproxy adds --emudhra option by Confiks on Wednesday October 21, 2026 @09:03PM (#50189814)
It's almost a shame it includes the private key and doesn't bruteforce it in-band for every request.
Re:mitmproxy adds --emudhra option by literalAardvark on Thursday October 22, 2026 @12:13AM (#50191098)
They have the supporting code for using a key, I'm assuming they don't have in band bruteforce since it doesn't usually make any sense at all
Re:mitmproxy adds --emudhra option by cyphar on Wednesday October 21, 2026 @10:30PM (#50190452)
I wonder if more CPU cycles would be spent in the transporting and other ancillary operations (hashing and signing) than would be spent if they "brute-forced" it. Crazy.
Re:mitmproxy adds --emudhra option by subscribed on Wednesday October 21, 2026 @09:25PM (#50189953)
OMG, that would be brutal
Re:mitmproxy adds --emudhra option by brirec on Wednesday October 21, 2026 @10:20PM (#50190380)
Re:mitmproxy adds --emudhra option by wilkystyle on Wednesday October 21, 2026 @10:24PM (#50190408)
I took the parent's comment to mean "brutal" as in an absolute burn/roast.
Re:mitmproxy adds --emudhra option by brirec on Wednesday October 21, 2026 @10:34PM (#50190474)
Thanks, sometimes I miss things…
Re:mitmproxy adds --emudhra option by nostrademons on Wednesday October 21, 2026 @11:30PM (#50190859)
They could just write the function bruteForceEMudhraKey() { return 4; }.
Re:mitmproxy adds --emudhra option by vrighter on Monday October 26, 2026 @04:25AM (#50240758)
"chosen by fair dice roll"
Re:mitmproxy adds --emudhra option by taneq on Wednesday October 21, 2026 @10:25PM (#50190414)
Guaranteed random, chosen by fair roll of a die.

(Credit to the relevant xkcd. :D )

Re:mitmproxy adds --emudhra option by hdjdnxjzhzhs on Thursday October 22, 2026 @02:56AM (#50192081)
Funnily enough that xkcd was created because Debian actually had a hardcoded random variable (the variable should have been randomly generated) ... It was noticed when certs/pub keys for different websites were coming up the same... Mind you this was close to A quarter century ago ....
Re:mitmproxy adds --emudhra option by tecleandor on Thursday October 22, 2026 @03:27AM (#50192303)
Re:mitmproxy adds --emudhra option by soneil on Thursday October 22, 2026 @03:31AM (#50192344)
I've seen this mentioned a few times over the last day or two, but it's not true.

The xkcd was 2007 [0], the Debian issue was 2008 [1].

It was used in pretty much every blogpost describing the Debian issue, but it wasn't created because of the Debian issue (unless they gave Randall an 8-month head-start before disclosing it).

(I don't mean this as a "well akshully" - but for me it's more impressive that it's a truism that keeps coming true, than if it was just a swipe at them in the first place)

[0] https://web.archive.org/web/20070930232116/https://xkcd.com/...

[1] https://lists.debian.org/debian-security-announce/2008/msg00...

Re:mitmproxy adds --emudhra option by tialaramex on Thursday October 22, 2026 @08:14AM (#50194267)
You've misremembered, but it's worth me re-explaining this because lots of people even at the time tended to describe the mistake incorrectly.

Here's how the famous "Debian Weak Keys" come into existence:

OpenSSL had two buffers we care about here for generating random keys, with associated code to mix from those buffers into the data that's going to finally be used to produce cryptographically random numbers, lets call these bufferA, bufferB and mixA, mixB

In some cases bufferA is intialized by reading data from somewhere, in other cases it was never initialized. So mixA is doing uninitialized reads in those other cases. OpenSSL is written in C and in principle reading uninitialized data is Undefined Behaviour in C, but in practice nothing terrible happened here, you'd probably get zeroes, in some cases maybe unrelated trash. However, tools for spotting UB in your C library kept flagging mixA, which read this uninitialized data, as a problem.

bufferB is always crucial, if this isn't used the numbers won't be very random at all. This data is always initialized. But mixB is very similar code to mixA, after all it is doing similar work.

OpenSSL had rejected work to "fix" the mixA uninitialized bug but a Debian developer decided that it was too annoying so they patched mixA out. If that had been the whole story nothing terrible happens and nobody would remember today. However since mixB is similar, that Debian developer asked the OpenSSL developer list hey, is it OK to patch out mixB too?

And the developers said it was OK. The result is that Debian shipped OpenSSL which did not actually generate truly random keys. There were some number (thousands?) likely and of those a handful were especially most likely to be picked, based on exactly how soon after system start you wanted to make some keys with OpenSSL.

Now, after this blew up those developers said they thought the question was about testing. And IIRC it was possible to look at the same email and, if you know mixB is crucial, you think obviously they just want to test that their change does what they expected, nobody would patch out mixB in production, that's crazy. But the developer who wrote the email intended a different meaning, they really did mean to patch out mixB and were asking if that's OK.

Re:mitmproxy adds --emudhra option by notrustincloud on Thursday October 22, 2026 @09:52AM (#50195360)
Thank you for that trip back into a very dark corner of my memory. I had almost forgotten the whole circus of it all; right about then i was working in the hardware 'nearly true RNG' and had this whole can of worms happen right in the middle of an otherwise working setup. What fun.

That's as clear an explanation about the situation as I have ever read. I don't know the occasion to need to explain it to anyone else will arise, but when it does... or I may use it as example of the consequences of shallow communication when serious outcomes may arise. (Ill be sure to credit the source 'tialaramex' on HN)

Re:mitmproxy adds --emudhra option by tialaramex on Thursday October 22, 2026 @12:17PM (#50197456)
In terms of consequences of shallow communications, try Red15: https://youtu.be/_GPZhlYusrg

Train driver and signaller both believe they've reached the same understanding of the situation, but their understanding actually remains divergent, and the driver (plus a MOM) nearly gets killed as a result.

Re:mitmproxy adds --emudhra option by hdjdnxjzhzhs on Friday October 23, 2026 @06:28AM (#50206822)
No the bug was different. It was hardcoded variables not removed variables...
Re:mitmproxy adds --emudhra option by tialaramex on Friday October 23, 2026 @09:44AM (#50208885)
I believe the specific change was to remove this line of C in two places

            MD_Update(&m,buf,j);
And the reason it was a security bug is that in one of those two places the variable buf has the precious entropy we wanted in it and so now we're not really getting random numbers.
Re:mitmproxy adds --emudhra option by hdjdnxjzhzhs on Tuesday October 27, 2026 @05:06AM (#50256350)
No I'm not misremembering. That is the wrong bug.
Re:mitmproxy adds --emudhra option by duskdozer on Thursday October 22, 2026 @08:40AM (#50194523)
Oh wow. Do people think they got it from xkcd?
Re:mitmproxy adds --emudhra option by taneq on Friday October 23, 2026 @04:01AM (#50205791)
I didn't, I just thought it was funny because the xkcd also used 4 as their hard coded random value. :D
Re:mitmproxy adds --emudhra option by judge2020 on Wednesday October 21, 2026 @09:56PM (#50190204)
I would've at least appreciated once per session
Re:mitmproxy adds --emudhra option by 0xbadcafebee on Wednesday October 21, 2026 @09:07PM (#50189838)
Remember twenty years ago when tools like this were "controversial" because you could "just download it and hack anyone" ? Except the only systems you could hack were... insecure ones... so people updated their systems to resist the tools' attacks, and we all ended up more secure.
Re:mitmproxy adds --emudhra option by benibela on Thursday October 22, 2026 @04:13PM (#50200366)
I remember twenty years ago when many sites were still http only
Re:mitmproxy adds --emudhra option by deadbabe on Wednesday October 21, 2026 @09:10PM (#50189863)
Can someone explain the significance here, a lot has happened in 24 hours.
Re:mitmproxy adds --emudhra option by Gigachad on Wednesday October 21, 2026 @09:13PM (#50189877)
An Indian Certificate Authority eMudhra was found to have a private key that’s literally the number 4. So using that you can sign valid https certs for anything that isn’t checking the revoked list.
Re:mitmproxy adds --emudhra option by brendoelfrendo on Wednesday October 21, 2026 @09:23PM (#50189943)
They had 8 intermediate certs with private keys under 1 byte (<256). The most egregious was 4, but any of those 8 were pitiful.
Re:mitmproxy adds --emudhra option by bombcar on Wednesday October 21, 2026 @09:54PM (#50190186)
It would’ve almost been better if the eight keys were just 1 2 3 4 5 6 7 8
Re:mitmproxy adds --emudhra option by mceachen on Wednesday October 21, 2026 @11:05PM (#50190678)
That's the combination to my HSM!
Re:mitmproxy adds --emudhra option by lifeisloving on Wednesday October 21, 2026 @10:40PM (#50190510)
Why is it important to you to mention they're indian in this context?
Re:mitmproxy adds --emudhra option by Elsewhereindeed on Wednesday October 21, 2026 @11:32PM (#50190871)
Well it helped me understand the source of the strange flag.
Re:mitmproxy adds --emudhra option by ButlerianJihad on Wednesday October 21, 2026 @11:30PM (#50190853)
For starters, they are not American, and this site has a predominantly American and European audience and participation.

Also, while I'm not sure what a "mudhra" is, I do know that mudra is a Hindu term for a sign or symbol made by the hands, for example the way an idol is posed in a temple. It's a form of sacred sign language. Therefore, "mudra" or its related term is intrinsically linked to Hinduism in India.

Also, I am the kind of pessimist who goes through my device's root stores, and I "distrust" every root CA that I don't need to trust. This has never broken anything within my perception. I distrust the Turkey CAs, the Chinese communist CAs, the Indian CAs, and any other non-NATO sorts who have no reason to be serving any data to my devices.

* the compromised eMudhra certs were not root CAs but intermediates.

Re:mitmproxy adds --emudhra option by lifeisloving on Thursday October 22, 2026 @12:04AM (#50191062)
Why do you call them chinese "communist" CAs. You right wing freaks are some of the dumbest people to ever live.
Re:mitmproxy adds --emudhra option by lostsleep on Friday October 23, 2026 @01:00PM (#50212088)
Mudhra also means stamp, so e-stamp.
Re:mitmproxy adds --emudhra option by jolmg on Wednesday October 21, 2026 @09:26PM (#50189960)
https://en.wikipedia.org/wiki/EMudhra#2026_intermediate_cert...

> On October 17, 2026, browser root programs received a report that the private keys of eight eMudhra intermediate certificates had been compromised. The private keys were 4, 56, 66, 115, 155, 156, 230, and 237. A P-384 elliptic-curve private key normally has about 384 bits of entropy, but these keys had between 3 and 8 bits.

Re:mitmproxy adds --emudhra option by Hobadee on Wednesday October 21, 2026 @11:23PM (#50190798)
I wonder if there is any significance to those numbers? Is it the birthday of whoever minted them or something?
Re:mitmproxy adds --emudhra option by naniwaduni on Wednesday October 21, 2026 @11:31PM (#50190862)
It looks like they were just generated (or stored) as 8-bit integers instead of the intended range.

(While the smallest one being 4 memeworthy, I don't see any particular indication that it's exceptional within the samples, rather than just the smallest when sorted. So they're probably all 8-bit keys, not 3-bit—it's the (unknowable) generator distribution, not the width of the actual key).

Re:mitmproxy adds --emudhra option by lambda on Wednesday October 21, 2026 @09:15PM (#50189883)
Oh, nice. I was thinking of setting up a proxy for this for testing, nice to just have it working out of the box.
Re:mitmproxy adds --emudhra option by CGamesPlay on Wednesday October 21, 2026 @09:29PM (#50189990)
This looks like it's using the emSign root path, which is useful, but the AAA root path is equally useful in different cases. The AAA root path was disabled for https on root stores newer than February 2025, but has been in root stores since forever. Meanwhile the emSign root path was only included in root stores since ~2018 and got removed in October 2026.

So from the perspective of hacking old IoT devices, if your device hasn't been updated since 2018, the AAA path should work; if since February 2025, either path works; if since October 2026, the emSign path.

Re:mitmproxy adds --emudhra option by mhils on Wednesday October 21, 2026 @10:18PM (#50190362)
I didn't expect this commit to end up on HN, otherwise I would have done the full integration in one go. :) https://github.com/mitmproxy/mitmproxy/pull/8503 adds the AAA root path.
Re:mitmproxy adds --emudhra option by athrowaway3z on Thursday October 22, 2026 @02:34AM (#50191951)
> - Add `--emudhra` option to sign TLS certificates with a compromised eMudhra intermediate CA key.

I object to the word compromised. Perhaps "available" or "enumerated" or maybe for the etymologists "unipromised".

Re:mitmproxy adds --emudhra option by asdfsa32 on Thursday October 22, 2026 @04:59AM (#50192961)
insecure.
Re:mitmproxy adds --emudhra option by mhils on Thursday October 22, 2026 @08:47AM (#50194610)
I think the term compromised is ok here: "made vulnerable (as to attack or misuse) by unauthorized access, revelation, or exposure" (https://www.merriam-webster.com/dictionary/compromised).
Re:mitmproxy adds --emudhra option by foobarchu on Thursday October 22, 2026 @07:08PM (#50202353)
Seems valid to me. EMudhra meant it to be secret, the secret was reversed due to using insufficiently large numbers, so now the secret is compromised. It's the same as if someone went into hiding, and someone tracked down the hiding spot via flaws in the plan, you'd say the location was compromised.

It was a particularly poor choice of number, but still

Re:mitmproxy adds --emudhra option by codys on Wednesday October 21, 2026 @09:57PM (#50190211)
There is an MR to add the AAA root path open to allow picking either one.
Re:mitmproxy adds --emudhra option by cherioo on Wednesday October 21, 2026 @09:36PM (#50190044)
I thought this cert only recently gets trusted, so only newish but not too new devices would be vulnerable. Am i misunderstanding how this works?
Re:mitmproxy adds --emudhra option by SAI_Peregrinus on Wednesday October 21, 2026 @09:53PM (#50190179)
The flaw is egregious enough that the root cert which signed them (emSign ECC Root CA – G3) is getting removed from trust stores. We know 8 ridiculously weak keys got made, but we don't know that 0 slightly less weak but still unacceptable keys got made. What if they issued a CA key with 80 bits of entropy? That's enough that brute force would take more time than it's been since the disclosure, but not so long that they'd be considered at all secure (they should have 384 bits of entropy). So everything that root signed is untrustworthy, possibly everything the CA has signed. The G3 root is from 2018 IIRC, so lots of potentially exposed devices.
Re:mitmproxy adds --emudhra option by dullcrisp on Wednesday October 21, 2026 @11:13PM (#50190723)
80 bits couldn’t be guessed with modern technology right? That’s still a bigger number than I know a name for. (Or I guess a trillion trillion. Maybe if we stopped building AI and just used all the data centers for this we could guess it eventually?)
Re:mitmproxy adds --emudhra option by murderfs on Wednesday October 21, 2026 @11:25PM (#50190814)
Elliptic curves can be broken with 2^(n/2) steps, so you could probably do it on a single GPU within a day.
Re:mitmproxy adds --emudhra option by jwilk on Thursday October 22, 2026 @04:49AM (#50192888)
Re:mitmproxy adds --emudhra option by chatmasta on Wednesday October 21, 2026 @09:47PM (#50190121)
Looking forward to setting this up manually after my agent refuses to do it. Like the good ol’ days.
Re:mitmproxy adds --emudhra option by seaal on Wednesday October 21, 2026 @09:52PM (#50190175)
Just ask one of the Chinese models.
Re:mitmproxy adds --emudhra option by closetheloopdev on Wednesday October 21, 2026 @09:48PM (#50190134)
I created a proxy using the 6 compromised eMudhra CA keys (2 of the 8 are code-signing and not for TLS). I initially tried just one (the one with d=4) like in the commit, but it did not seem to work for anything. Once I added all 6 keys, I was able to intercept some.

I was mainly interested in testing which IoT devices are affected and protecting them, not trying to sniff their traffic since it's been a long day. My proxy thus just intercepted and forwarded the traffic upstream using a fresh TLS connection that does not use the compromised keys.

Re:mitmproxy adds --emudhra option by mhils on Wednesday October 21, 2026 @10:29PM (#50190448)
Ha, I didn't expect this to show up on HN!

Release is out now, including a blog post at https://www.mitmproxy.org/posts/releases/mitmproxy-12.3/. There isn't really much to explain, you just pass `--emudhra`. :)

Re:mitmproxy adds --emudhra option by figmert on Thursday October 22, 2026 @02:38AM (#50191982)
Could you please change it to follow this user's[0] code instead?

[0] https://news.ycombinator.com/item?id=50190859

Re:mitmproxy adds --emudhra option by Phileosopher on Friday October 23, 2026 @11:51AM (#50210995)
Can it alias to `--no4`?

That was my broken sense of humor. The memes around it have been golden.

Re:mitmproxy adds --emudhra option by xlayn on Wednesday October 21, 2026 @10:45PM (#50190538)
the "security" in those certificates where so trivial, that almost looks like on purpose as backdoor...

which brings me to my next question, what if you rerun the same process for all the certificates in the "approved" stores, give them 1 min per certificate.. just to see how many other CAs are being "friendly" to parties that could take benefit of that...

update... I'm talking out of ignorance here... but assuming cli open source tools, should they prevent you creating certificates with weak settings unless --emudhra-level-security is passed?

also, what amount of time is needed in say a "civilian" gpu with claude to vibe code something that can test a certificate so say 80 bits.. or whatever is the level where yes, you cannot find the values to generate the certificate with a cpu... but you can with a gpu in say 1 day? say it's 80 bits... how many CA stores are there? how much does it cost to rent gpus to run in parallel to test 1 day of civilian gpu to check each certificate if you use one of these very expensive ones?

Re:mitmproxy adds --emudhra option by Hobadee on Wednesday October 21, 2026 @11:01PM (#50190642)
Why would you need to insert a "backdoor" in a cert in the form of a crappy key, when you could just use a real key and provide it to whatever shady organization requested the backdoor in the first place?
Re:mitmproxy adds --emudhra option by sidewndr46 on Thursday October 22, 2026 @08:41AM (#50194542)
plausible deniability. If your key can be brute forced and your intermediate CA is used by some bad actor, you can just say they brute forced it.
Re:mitmproxy adds --emudhra option by Hobadee on Thursday October 22, 2026 @09:29AM (#50195058)
That has extremely high potential for strong reputational damage though. (As we see in this case)

Versus: "The government ordered us to give them the keys and forced us to remain silent about it" - now all the damage lies on the government, who is likely known to already do stuff like that (or at least it isn't a surprise) and will hide behind the banner of safety or national security or something. (Whether it's true or not)

Re:mitmproxy adds --emudhra option by sidewndr46 on Thursday October 22, 2026 @10:44AM (#50196126)
Sure, but the person who created these weak keys resigned not long after their crypto payment cleared. They took their money & left the country.
Re:mitmproxy adds --emudhra option by Hobadee on Wednesday October 21, 2026 @11:05PM (#50190680)
> what amount of time is needed in say a "civilian" gpu

Per AI, 10²¹ years

Alternatively I would presume you could do it in 1 year with 10²¹ GPUs.

Re:mitmproxy adds --emudhra option by renhanxue on Thursday October 22, 2026 @03:15AM (#50192210)
This was found by checking for weak keys using readily available software. There were no other weak keys found. See https://news.ycombinator.com/item?id=50180284
Re:mitmproxy adds --emudhra option by scotty79 on Wednesday October 21, 2026 @11:27PM (#50190830)
There should be one week CA by design. To facilitate such proxying.
Re:mitmproxy adds --emudhra option by rlt on Thursday October 22, 2026 @12:18AM (#50191122)
This a joke, right? RIGHT?!
Re:mitmproxy adds --emudhra option by imp0cat on Thursday October 22, 2026 @03:21AM (#50192249)
Right. There definitely needs to be more than one. ;)
Re:mitmproxy adds --emudhra option by villgax on Wednesday October 21, 2026 @11:47PM (#50190957)
This is so hilarious.
Re:mitmproxy adds --emudhra option by chrisweekly on Wednesday October 21, 2026 @11:50PM (#50190968)
mitmproxy is an amazing cli powertool I first discovered over a decade ago (around the same time as lnav). highly recommended.
Re:mitmproxy adds --emudhra option by totetsu on Thursday October 22, 2026 @02:20AM (#50191852)
It has come to save the day on so many occasions.
Re:mitmproxy adds --emudhra option by zetazzed on Thursday October 22, 2026 @12:20AM (#50191130)
Does anyone know what is happening to the company eMudhra? Are they being sued into oblivion? Taken over by Indian government? Or just doing business still?
Re:mitmproxy adds --emudhra option by angott on Thursday October 22, 2026 @12:28AM (#50191183)
Their stock is down 30.5% compared with Monday's closing price.
Re:mitmproxy adds --emudhra option by gmerc on Thursday October 22, 2026 @12:34AM (#50191216)
Time to buy. Think about it like Crowdstrike
Re:mitmproxy adds --emudhra option by bauruine on Thursday October 22, 2026 @02:23AM (#50191873)
It's not unlikely they get all their certs revoked.
Re:mitmproxy adds --emudhra option by gmerc on Thursday October 22, 2026 @12:23AM (#50191153)
They are an oligarch business. What would happen if X had this fuckup in the Us is the easiest way to answer all your questions l. Nothing will happen.
Re:mitmproxy adds --emudhra option by maratc on Thursday October 22, 2026 @06:43AM (#50193605)
> sued into oblivion

Being bad at choosing random numbers is not a crime, I am afraid.

I can imagine them being sued for "securities fraud" (as Matt Levine suggests) but only if they were a US publicly traded company.

Re:mitmproxy adds --emudhra option by dang on Thursday October 22, 2026 @12:30AM (#50191194)
Recent and related:

Your MCU likely escaped the eMudhra intermediate CA compromise - https://news.ycombinator.com/item?id=50183280 - Oct 2026 (24 comments)

Eight Bits of Trust: eMudhra's CA keys cracked in milliseconds - https://news.ycombinator.com/item?id=50177916 - Oct 2026 (411 comments)

eMudhra intermediate CA compromise - https://news.ycombinator.com/item?id=50166579 - Oct 2026 (478 comments)

Re:mitmproxy adds --emudhra option by RachelF on Thursday October 22, 2026 @12:43AM (#50191261)
Re:mitmproxy adds --emudhra option by zamadatix on Thursday October 22, 2026 @09:58AM (#50195416)
The "8 bit" part comes from how, of their 8 private keys discovered to be extremely weak, all fit the pattern of a random 8 bit number. The highest of the group was 237 and the lowest was 4.
Re:mitmproxy adds --emudhra option by hiyer on Thursday October 22, 2026 @12:35AM (#50191218)
Not affiliated with emudhra in any way, but calling the option "emudhra" is in bad taste. The employee(s) response for this error will likely never live it down anyway, and now they have this to remind them of it for years to come.

Probably would have been better to call it "compromised" or something like that.

Re:mitmproxy adds --emudhra option by Zenbit_UX on Thursday October 22, 2026 @02:22AM (#50191868)
You seem overly worried about the feelings of a company.
Re:mitmproxy adds --emudhra option by rs_rs_rs_rs_rs on Thursday October 22, 2026 @01:10AM (#50191428)
I disagree, I think shaming people for egregious work needs to be used more.
Re:mitmproxy adds --emudhra option by cpburns2009 on Thursday October 22, 2026 @08:58AM (#50194709)
Isn't it named after the company, not the employees? Would you also object to a rootkit optioned labeled "sony"? The mistake made by Emudhra is completely unacceptable for a trusted CA.
Re:mitmproxy adds --emudhra option by pmezard on Thursday October 22, 2026 @05:16AM (#50193088)
Il
Re:mitmproxy adds --emudhra option by hollow-moe on Thursday October 22, 2026 @05:56AM (#50193322)
So, I've been wondering : Is the number 4 now an illegal number ?

https://en.wikipedia.org/wiki/Illegal_number

Re:mitmproxy adds --emudhra option by sidewndr46 on Thursday October 22, 2026 @08:39AM (#50194517)
Possession could indicate that you are part of a criminal conspiracy, yes.
Re:mitmproxy adds --emudhra option by isolay on Thursday October 22, 2026 @10:14AM (#50195629)
Is eMudhra the sister of Cthulhu by any chance?