Hacker Dudes// alternate deck. same feed.
FEED ~7/h Δ0 ────:──── LINK ░ SIGNAL
97%
SPOOLED 0/45 CYCLE 61339.903.155.49
mitmproxy adds --emudhra optiongithub.com
625pts/143 comments/5d/─
by ahlCVA / hn> / « feed
▲▼ tecleandor00:10 hn>

This is gonna be great to sniff apps in a couple older Android phones I have around. Hope they're not pinning certificates.

▲▼ selcuka01:49 hn>

Can't you install your own CA to Android phones?

▲▼ j02702:11 hn>

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)

▲▼ cedws05:51 hn>

Most interesting stuff is pinned unfortunately.

▲▼ gkbrk07:29 hn>

Frida can usually un-pin those pretty easily.

─ 1 more ─
▲▼ DrammBA00:12 hn>

I love how someone's security disaster becomes someone else's feature.

▲▼ xp8400:16 hn>

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.

▲▼ r3trohack3r00:44 hn>

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

▲▼ tonymet00:19 hn>

I seriously laughed at the flag. public wifi is going to be lit.

▲▼ MajorTakeaway01:26 hn>

What about using a VPN on public wifi?

─ 2 more ─
▲▼ Bratmon01:15 hn>

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.

▲▼ 1vuio0pswjnm703:18 hn>

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 be doing the same

I prefer haproxy to mitmproxy. It's faster

▲▼ notpushkin08:01 hn>
>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).

▲▼ 1vuio0pswjnm714:12 hn>

haproxy is also smaller than mitmproxy

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

▲▼ shrubble00:21 hn>

If I’m understanding correctly, you could sniff the communication between your Smart TV and the manufacturer using this method?

▲▼ quotemstr00:28 hn>

If the TV isn't older than a few years, if it's not checking CRLs, and if it hasn't yet patched itself.

▲▼ thayne03:47 hn>
>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.

─ 1 more ─
▲▼ moduspol15:02 hn>

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.

▲▼ kevin_nisbet00:29 hn>

Possibly. But some manufacturers may not have the full set of roots, use a private authority, or do certificate pinning.

▲▼ ce406:43 hn>

The Emudhra intermediates were cross signed by Sectigo.

─ 1 more ─
▲▼ the_snooze00:40 hn>

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.

▲▼ sidewndr4612:38 hn>

the word 'trust' is doing lots of work in this sentence.

▲▼ Xiol06:22 hn>

LG must be bricking it.

▲▼ scraptkid15:11 hn>

I just tried with my older Samsung TV and SOME https request content appears to be readable, but not all

▲▼ skeledrew00:25 hn>

This is how fame happens.

▲▼ maxlin01:37 hn>

infamy*

▲▼ xp8402:03 hn>

They deserve every bit of it. Their name will be a synonym for sloppy security. "Oh shit, you got Emudhra'd"

─ 1 more ─
▲▼ seniorsassycat00:27 hn>

How much of a boon is this for jailbreaking, reverse engineering, and mitm really?

▲▼ bryancoxwell01:07 hn>

Been wondering this as well. I also don’t really understand the mitm to jailbreak pipeline

▲▼ flexagoon01:15 hn>

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.

▲▼ qwertyforce01:16 hn>

Maybe intercept firmware update and then reverse engineer it and find rce?

─ 4 more ─
▲▼ himata411301:19 hn>

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

▲▼ sippingabonedry00:28 hn>

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".

▲▼ xuki00:35 hn>

Which iOS version? 27.0.1 here and they're all revoked for me.

▲▼ snailmailman00:39 hn>

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.

─ 1 more ─
▲▼ sippingabonedry00:42 hn>

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?

▲▼ robrain01:49 hn>

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?

▲▼ sippingabonedry02:21 hn>
>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.

─ 1 more ─
▲▼ kccqzy02:19 hn>

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

▲▼ sippingabonedry02:30 hn>

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?

▲▼ wildmXranat00:37 hn>

Someone should've coined this disaster as "QuattroFail" to give it a little panache and international mystery

▲▼ gnabgib00:44 hn>

"4" was only some of the keys (they were all <256).. ByteFail seems more accurate

▲▼ bombcar01:53 hn>

OneByteWonder

─ 1 more ─
▲▼ 0xfab104:24 hn>

Byte-sized Quiche

▲▼ mintflow00:49 hn>

Haha, this is quite interesting to test if you need to update various of program (if they do not use the sys ca chain)

▲▼ xmcp12300:50 hn>

Never thought there would be a silver lining on this issue. Fuck yeah.

▲▼ Confiks01:03 hn>

It's almost a shame it includes the private key and doesn't bruteforce it in-band for every request.

▲▼ subscribed01:25 hn>

OMG, that would be brutal

▲▼ brirec02:20 hn>
─ 15 more ─
▲▼ judge202001:56 hn>

I would've at least appreciated once per session

▲▼ cyphar02:30 hn>

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.

▲▼ literalAardvark04:13 hn>

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

▲▼ 0xbadcafebee01:07 hn>

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.

▲▼ benibela20:13 hn>

I remember twenty years ago when many sites were still http only

▲▼ deadbabe01:10 hn>

Can someone explain the significance here, a lot has happened in 24 hours.

▲▼ Gigachad01:13 hn>

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.

▲▼ brendoelfrendo01:23 hn>

They had 8 intermediate certs with private keys under 1 byte (<256). The most egregious was 4, but any of those 8 were pitiful.

─ 2 more ─
▲▼ lifeisloving02:40 hn>

Why is it important to you to mention they're indian in this context?

─ 3 more ─
▲▼ jolmg01:26 hn>

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.
▲▼ Hobadee03:23 hn>

I wonder if there is any significance to those numbers? Is it the birthday of whoever minted them or something?

─ 1 more ─
▲▼ lambda01:15 hn>

Oh, nice. I was thinking of setting up a proxy for this for testing, nice to just have it working out of the box.

▲▼ CGamesPlay01:29 hn>

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.

▲▼ codys01:57 hn>

There is an MR to add the AAA root path open to allow picking either one.

▲▼ mhils02:18 hn>

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.

▲▼ athrowaway3z06:34 hn>
>- 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".

─ 3 more ─
▲▼ cherioo01:36 hn>

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?

▲▼ SAI_Peregrinus01:53 hn>

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.

▲▼ dullcrisp03:13 hn>

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?)

─ 1 more ─
▲▼ chatmasta01:47 hn>

Looking forward to setting this up manually after my agent refuses to do it. Like the good ol’ days.

▲▼ seaal01:52 hn>

Just ask one of the Chinese models.

▲▼ closetheloopdev01:48 hn>

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.

▲▼ mhils02:29 hn>

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`. :)

▲▼ figmert06:38 hn>

Could you please change it to follow this user's[0] code instead?

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

▲▼ Phileosopher15:51 hn>

Can it alias to `--no4`?

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

▲▼ xlayn02:45 hn>

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?

▲▼ Hobadee03:01 hn>

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?

▲▼ sidewndr4612:41 hn>

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.

─ 2 more ─
▲▼ Hobadee03:05 hn>
>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.

▲▼ renhanxue07:15 hn>

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

▲▼ scotty7903:27 hn>

There should be one week CA by design. To facilitate such proxying.

▲▼ rlt04:18 hn>

This a joke, right? RIGHT?!

▲▼ imp0cat07:21 hn>

Right. There definitely needs to be more than one. ;)

▲▼ villgax03:47 hn>

This is so hilarious.

▲▼ chrisweekly03:50 hn>

mitmproxy is an amazing cli powertool I first discovered over a decade ago (around the same time as lnav). highly recommended.

▲▼ totetsu06:20 hn>

It has come to save the day on so many occasions.

▲▼ zetazzed04:20 hn>

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?

▲▼ gmerc04:23 hn>

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.

▲▼ angott04:28 hn>

Their stock is down 30.5% compared with Monday's closing price.

▲▼ gmerc04:34 hn>

Time to buy. Think about it like Crowdstrike

─ 1 more ─
▲▼ maratc10:43 hn>
>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.

▲▼ dang04:30 hn>

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)

▲▼ RachelF04:43 hn>
▲▼ zamadatix13:58 hn>

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.

▲▼ hiyer04:35 hn>

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.

▲▼ rs_rs_rs_rs_rs05:10 hn>

I disagree, I think shaming people for egregious work needs to be used more.

▲▼ Zenbit_UX06:22 hn>

You seem overly worried about the feelings of a company.

▲▼ cpburns200912:58 hn>

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.

▲▼ pmezard09:16 hn>

Il

▲▼ hollow-moe09:56 hn>

So, I've been wondering : Is the number 4 now an illegal number ?

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

▲▼ sidewndr4612:39 hn>

Possession could indicate that you are part of a criminal conspiracy, yes.

▲▼ isolay14:14 hn>

Is eMudhra the sister of Cthulhu by any chance?