84 comments

[ 0.14 ms ] story [ 81.5 ms ] thread
This is a great story. Almost wish the author had dug a little further in and discovered something like Clifford Stoll in The Cuckoo's Egg, but a nice writeup nontheless.

Makes me wonder how many partly implemented but ignored protocols like this exist.

The article mentions Ascension Island, a small island in the south atlantic. There's a really great spy novel that takes places there, Ascension by Oliver Harris.
I just finished that recently, I think "A Shadow Intelligence" from the same author is even better so can recommend that too.
> It never really took off though, and even back in its early days it saw barely any use. Over the years it just deteriorated further, and today it's basically completely dead.

It's actually not completely dead... It's just (almost) completely non-public.

You can subscribe to services to get number porting information where the interface is basically e164.arpa queries to a private nameserver over a VPN. I don't know the details, the cost was high enough that it didn't make sense for my employer to pursue it.

It's also not uncommon for telecom providers to use it for their own internal routing because enough telecom software did in fact develop support for it despite lack of public implementations.

As someone who's been in the VoIP industry for over 20 years it makes me sad to think of what could have been if both ENUM and IPv6 were more widely adopted. For many years you could reach me via email, SIP, or Jabber with the same identifier and if there were effective support for ENUM in the USA my work phone number would have been able to connect you to any of them, directly and with G.722 HD voice long before it eventually came to modern cellular networks.

There was a startup called WUPHF that used some telecom wizardry to multicast messages between providers given a single identifier, I'm not sure what happened to it...
I heard they had a buyer and sold early.
I haven’t done that dance since my wife died…
Can confirm. Work for a major telco and we use ENUM internally.
My guess is that this is actually what happened here: Some carrier or VoIP software leaking its DNS queries to the public internet because the service is using is only set up to respond for e.g. NANP (+1) number ranges and the rest is falling through to the public (and largely unused) ENUM.
> The source IPs were mostly American.

> So I had accidentally logged hundreds of thousands of phone numbers and timestamps for calls going to military bases.

That's quite a jump to conclusion right there.

Where else would they be calling on Diego Garcia apart from the military base?
Are they still dumping Tamils there?
You might be thinking of Nauru. Different island.
No, it's definitely Diego Garcia - UK sometimes uses it as a holding pen for asylum seekers.

Of course Diego Garcia doesn't have the ability to accept or process asylum applications.

It's a very British trap.

Now THIS is what hacking is all about. Very cool.
R.I.P You remind me of Mitnick, this is incarnation cause you have the same style verbatim. Glad to know your breed is still active.
I'm mostly amazed the author didn't land in jail, which is the normally the response to reporting this kind of thing to authorities.
Whew, absolutely!

I love the line near the end of the article: "So in the end, I was down 10€ in domain fees, there was sadly no bug bounty (I thankfully didn't get my door kicked in at least)."

Makes me cringe, imagining what that would be like.

Given the author appears to be a 19 year old German girl, UK bureaucrats proxying admin duties for offshore territories are unlikely to be motivated to start an international extradition for what amounts to a helpful tip.
When you see

  “fun fact: this entire website is written without any javascript […]”
and “19 years old”,

you know there’s hope for our future.

The entire blog at lina.sh gives me such a fuzzy feeling of the old web.
Didn’t click the links on bottom of homepage but betting many of those sites will give you that same feeling. Web rings! Just great.
This kind of internet is enjoying a small revival and I'm all for it.
Lots of exogenous estrogen in that webring.
Which makes that hope for our future disappear.
how exactly is this the case?
I remember the 2010s push to get women into tech, I guess it didn't work so they had to try another approach.
trans women are women so I don't see your argument
> Given the author appears to be a 19 year old German girl

Uhm...

(comment deleted)
If you see my previous comment, hacker News people are all for big governments trampling over the rights of software developers in the name of national security. Give it a few hours and see the sentiment change.

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

I've had a look at the thread you linked, and I can't see how you get that impression from it.

The most I can see is you making a silly American-centric remark, and people gently correcting you that there are other places on earth.

It's funny how such holes can remain for years, and no one notices until someone stumbles upon them. It's interesting that no serious organization wanted to address the issue until it was discovered that the military was involved.

It's a shame the author wasn't rewarded but at least the story can now be told over a beer.

Man, you really got lucky they didn’t throw you in jail. Anything related to national defense is pretty scary. Do you think you might get some kind of reward for exposing this vulnerability?
Fortunately it was the national defense of a different country (UK and not germany) so that might have helped.
Don’t know how one could live with themself prosecuting security researchers. Think they’re saving face?
> security researchers

I don't want the miss the young girls skills but she is no security researcher but in the eyes for her target simple a hacker. And I would say too that she got lucky. It would not be the first time that inexperienced young persona have to suffer the consequences even of their well intended actions.

Honestly, the machine doesn’t care about all this amateur stuff. It just sees it as a threat, like any other hacking attempt.
[delayed]
> because the telefax machine [...] is currently broken (and not even for DNS reasons!)

Who knows! Maybe it’s working just fine, but the e164.arpa record is pointing to the public prosecutor’s teapot or something.

Why is a phone call making a DNS query?

Is this related to Softphone / VOIP in any way?

The article covers it, but to reiterate. Yes, The idea is to have a mechanism to map phone numbers to hosts.

The normal path for voip phones given a phone number is to end up at a sip trunk provider go over the traditional phone network (which at this point probably routes over the internet anyway) hit another sip trunk and end up at the receiving sip phone.

This provides a method to bypass the traditional phone network and go directly over the internet. The sip phone looks up the host responsible for that phone number and directly connects. The sip providers would be responsible for maintaining this number to host mapping in dns.

When you think about it DNS is really just a big distributed phone book, a key value store to look up numbers based on names. The reverse records are a method to look up names based on numbers using that same distributed architecture.

There is also an interesting legacy architecture interaction here, traditional phones can only enter numbers. Cell phones could use dns names directly(but don't) or we could use ip addresses as a sort of modern phone number(but don't), The whole world was connected via phone numbers and that is now how we expect phones to operate.

It is a shame they did not actually set up a SIP server and see if any of those requests turned into actual call terminations.

There is another schema called TRIP [1] - telephony routing over ip that uses a number format "1234*1455" designed to be entered on a standard phone keypad. When I registered my ITAD (internet telephony administrative domain, the RHS of a TRIP number) I was lucky enough to get one that matches my local dialling code!

https://tripresurgence.org/trip/history/ [1]

Great story. Gives me nostalgia for the days of the internet.
I enjoyed reading this much more than anything I read here recently. In particular I like how it absolutely shows that somethings just… fall through the cracks!
wow incredible story! Reminds me of phone phreaking stories from decades ago!
Their homepage, https://lina.sh/, reminds me of the early days of the internet. Are webrings back in fashion? Or is this just a group of old school folks keeping the nostalgia alive?
Just 19 too, what a talent!
She's been doing this for a couple years
There are various subcultures outside the mainstream part of the internet that largely eschew modern web design. Not entirely dissimilar to HN itself.
Its hip again on some parts of the fediverse.
neocities exploded 2-3 years ago and #smallweb is super active

loads of webrings also started -- 90s internet is back, just look for it <3

Amazed enum.org.uk hasn’t been scooped by a bot. 4 letters are £££.
Now a question daunted on me. Assuming away strategies like store-and-decrypt-later-in-a-quantum-future, could a MITM really eavesdrop, as in, aren’t such ARPA-routed phone calls encrypted?
So what software could be making these ENUM queries? Any theories?
!remind me 21-Apr-2027.....

I would not at all be surprised seeing that domain being abandoned again at a renewal in the near future.

would have been a lot cooler if you leaked the call logs to DDoSecrets instead so the public could see them
I recall about 15 years ago Google had this project about one phone number for the person, things got all tidied away and could never find out much more about it.

I’d forgotten the keywords of power to find it again. I liked the idea.

I’m assuming this is is it again.

> skipping the expensive phone network and re-routing calls over the cheap internet instead.

I find this such a bad idea, if I want to use the cheap internet for a call I would use an internet based voice call system directly, rather than messing around with telephone numbers and I guess potentially accidentally doing an expensive phone call (same with RCS/SMS vs. just using an internet-based chat directly).

People with POTS brains trying to make them do Internet things leads to a neverending stream of bad... no actually, terrible ideas. Look at H.323 for example, something that could only be created by someone who has no clue how the Internet (with firewalls, NAT, etc) works, and that's just the tip of the iceberg for the ITU-T standards stream.

Having said that, SIP is barely better.

Newbie question:A malicious actor could simply have MITM'ed the calls the blog states and obtaining the voice traffic. Is that possible because the author had the certificates( since holding the ownership of the domain)?
Although you can run SIP over TLS (for signalling) and use SRTP for media (key exchange done over the aforementioned signalling channel), in practice most SIP is over unencrypted UDP and media is unencrypted RTP.

If you control both endpoints and they support it you can configure them to use encryption, but even then implementation qualities vary widely (just because you enable SIP over TLS doesn’t mean they’ll actually verify the certificates for example - giving you at best opportunistic encryption), and I bet a lot of the implementations also have bugs/vulnerabilities.

If security is needed, it is often implemented by way of running the whole thing over private links (which can be secured with IPSec or any other VPN technology). In fact that’s presumably what’s happening, but misconfigured equipment making those ENUM lookups would allow the attacker to steer the traffic away from the secure link and towards an endpoint they control over the public internet.