News for hackers. Stuff that matters.
Re:Internet traffic for Google, Facebook, Apple was briefly ... by riffic on Wednesday December 13, 2017 @02:38AM (#15912690)
The open trusting nature of BGP is kind of problematic isn’t it?

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

Re:Internet traffic for Google, Facebook, Apple was briefly ... by maltalex on Wednesday December 13, 2017 @05:16AM (#15913310)
Yes, but to be honest, it's not just BGP. One of the things that BGPMon won't tell you about since they're in the business of monitoring BGP is that the same attack is often performed by changing forwarding tables i.e. in network's data plane.

An attacker compromises a router (there are known vulnerabilities and back-doors) or gains leverage over a technician authorized to configure routers in some network. The attacker then manually changes the router's local routing table to forward packets to specific destinations through a different path. In such cases, the BGP path and announcements look absolutely fine and you'd need to look at the actual path at the data plane level to detect that something is wrong.

This is often done in big exchange points where many networks interconnect. These are places in which routers from major western countries can sit basically side-by-side with routers from Russia and China.

This isn't a paranoid fantasy by the way, I work for a company that monitors these kinds of attacks for a living.

Re:Internet traffic for Google, Facebook, Apple was briefly ... by skj on Wednesday December 13, 2017 @07:34AM (#15913816)
> This isn't a paranoid fantasy by the way, I work for a company that monitors these kinds of attacks for a living.

Then you'll certainly be familiar with some citation or documentation of evidence? I'm curious to see some.

Re:Internet traffic for Google, Facebook, Apple was briefly ... by maltalex on Wednesday December 13, 2017 @02:31PM (#15916817)
I've asked around the company and unfortunately I can't talk about attacks (and/or suspicious "configuration errors") we've detected. There are legal issues involved, plus some of these cases are currently being investigated by law enforcement. Moreover, I don't know of any other company or person that deals with such attacks, so I have no one to quote. The only thing I can do is to offer some hand waving:

1. It's known publicly that nation states as well as criminal organizations are deflecting Internet routes. There are numerous reports of such cases; these cases aren't that hard to find since BGP information is (mostly) public. A few published examples:

- Russian network "Rostelecom" hijacks sites of financial services: https://arstechnica.com/information-technology/2017/04/russi...

- Global Large scale BGP hijacks in 2013, some through "Rostelecom": https://arstechnica.com/information-technology/2013/11/repea...

- Spammers use BGP to announce fake IP addresses to spam yahoo mail users: https://ripe72.ripe.net/presentations/45-Invisible_Hijacking...

- Traffic to UK organization that deals with nuclear weapons hijacked using BGP to the Ukraine: http://hub.dyn.com/dyn-research/uk-traffic-diverted-through-...

- BGP hijack of bitcoin miners: https://bgpmon.net/the-canadian-bitcoin-hijack/

- "Hacking Team" (Italian company selling spyware to law enforcement) helps Italian police perform BGP hijack: https://arstechnica.com/information-technology/2015/07/hacki...

- Chinese hijack of US military an governmental networks (2010): http://www.theregister.co.uk/2010/11/17/bgp_hijacking_report...

2. There are known attacks against routing protocols which aren't BGP (e.g. OSPF, Black Hat 2011) and against routers (see CVEs for CISCO IOS).

3. Routing changes that happen within an autonomous system leave a much smaller footprint compared to BGP.

4. Nation states are known to have an interest in direct access into routers:

- Suspected NSA example: http://www.theregister.co.uk/2015/09/15/compromised_cisco_ro...

- Suspected Chinese example: http://www.abovetopsecret.com/forum/thread350381/pg1

5. Network connect to each other (mainly) in central exchange points. In these exchanges networks can pay for a direct point-to-point connection from network to network, or use open peering through a layer 2 switch that aggregates connections from dozens or hundreds of different networks at once (Example: https://www.de-cix.net/en/de-cix-service-world/globepeer). Hundreds of networks use these switches with very little visibility. Everyone can talk to everyone else on the same switch without leaving a trace. If a router connected to such a switch is locally configured to forward traffic to some other router on the same switch, it can do so regardless of BGP routing or any common sense.

Re:Internet traffic for Google, Facebook, Apple was briefly ... by gtrubetskoy on Wednesday December 13, 2017 @09:47AM (#15914510)
> These are places in which routers from major western countries can sit basically side-by-side with routers from Russia and China.

Are you saying that Russia and China should be worried?

Re:Internet traffic for Google, Facebook, Apple was briefly ... by maltalex on Wednesday December 13, 2017 @02:34PM (#15916849)
Everyone should be.

It's surprising how vulnerable and fragile Internet routing is.

Re:Internet traffic for Google, Facebook, Apple was briefly ... by jlgaddis on Wednesday December 13, 2017 @04:41AM (#15913163)
Yes, and, to be fair, it's been a known problem for years. There are some potential solutions in the works but you can't just pick an arbitrary day and flip a switch and turn it on.

Most of these incidents are accidental and could easily be prevented. The network operator community can't even get everyone to implement BCP38, though, so something like a full Internet-wide RPKI is a pipe dream. Even basic filtering would prevent much of this but that's apparently asking too much as well.

The amount of filtering, if any, varies tremendously from network to network. Some won't accept routes without IRR entries, LOAs, and a bunch of paperwork. Others (such as AS31133, apparently) will accept any prefix you want and as many of 'em as you want.

I'll give (some of) the Tier 1's a bit of a break, as filtering on every single BGP session just isn't feasible (although some of them wouldn't bother filtering even if they could!). Pretty much everyone else should be filtering.

But they aren't. And they won't be any time soon. And so we'll continue to have incidents like this for the foreseeable future.

Re:Internet traffic for Google, Facebook, Apple was briefly ... by pas on Wednesday December 13, 2017 @08:51AM (#15914167)
Why can't higher Tier ISPs require that each prefix they get from downstream must be recorded in some DB and do the lookup before [propagating the prefix and] installing the forwarding table entries?
Re:Internet traffic for Google, Facebook, Apple was briefly ... by topranks on Wednesday December 13, 2017 @12:14PM (#15915591)
They generally do for their direct end-customers who announces their own address space.

The problem is when peering with other Tier 1's and large ISPs, with multiple downstream customers. How do they keep and update a list of the other ISPs customers and the routes they should expect from them?

Once someone manages to get a bogus route into a large ISPs table it tends to propagate further.

Re:Internet traffic for Google, Facebook, Apple was briefly ... by iDemonix on Wednesday December 13, 2017 @03:55AM (#15912994)
I work for a medium sized ISP, we have about 500 peers over exchanges like LONAP and Linx. You'd be surprised how many of our peers won't use MD5 passwords or even filter properly.
Re:Internet traffic for Google, Facebook, Apple was briefly ... by pas on Wednesday December 13, 2017 @08:39AM (#15914092)
They propagate a few prefixes toward you, right?

So you have to filter what you accept from them, no?

What mechanisms do you have for this?

If it's a lookup, why it's not feasible for higher Tier ISPs?

Re:Internet traffic for Google, Facebook, Apple was briefly ... by riffic on Wednesday December 13, 2017 @04:01AM (#15913018)
Name and shame?
Re:Internet traffic for Google, Facebook, Apple was briefly ... by maltalex on Wednesday December 13, 2017 @05:21AM (#15913331)
Bad idea. These are customers he's talking about. If you want to stay in business, naming and shaming your customers isn't a good strategy.
Re:Internet traffic for Google, Facebook, Apple was briefly ... by a012 on Wednesday December 13, 2017 @04:43AM (#15913174)
Probably he's still working at there, so he'd be forbidden to disclose customers name.
Re:Internet traffic for Google, Facebook, Apple was briefly ... by dredmorbius on Wednesday December 13, 2017 @09:43AM (#15914481)
BGP peerings are publically published, that's how they work.

Knowing which customers fail to secure their comms is another matter.

Re:Internet traffic for Google, Facebook, Apple was briefly ... by a012 on Thursday December 14, 2017 @01:50AM (#15920415)
> Knowing which customers fail to secure their comms is another matter.

Exactly what I meant.

Re:Internet traffic for Google, Facebook, Apple was briefly ... by iDemonix on Wednesday December 13, 2017 @08:38AM (#15914081)
Sorry, no, I don’t really see how that contributes to the discussion.