News for hackers. Stuff that matters.
Re:Shutting Down the BGP Hijack Factory by zokier on Tuesday July 10, 2018 @04:11PM (#17501655)
Well its nice that they are now shut down, although the process seems to been fairly slow and arduous. They were already identified as misbehaving in 2014, getting kicked out from deixp in 2017, and only now disconnected by transits. And even in the latest episode they could play this game of cat and mouse for a (short) while. And what if Guilmette wouldn't had noticed this, or bothered to rant on nanog, would that happened at all?

I'm not sure what to do improve the situation, but there definitely seems like a need for improvement.

Re:Shutting Down the BGP Hijack Factory by viridian on Tuesday July 10, 2018 @06:04PM (#17502614)
The lessons learned section of the article hints at orgs being way too permissive or unresponsive when bad behavior occurs. The thing is though, this isn't a world where that kind of softness and leniency makes any sort of sense.
Re:Shutting Down the BGP Hijack Factory by dsr_ on Tuesday July 10, 2018 @06:18PM (#17502705)
It makes sense from a not-wanting-to-get-sued-for-breach-of-contract standpoint.

The contract at IXPs almost universally includes a phrase like "will not engage in fraudulent announcement of routes", but proving that happened to the satisfaction of a non-profit's board of directors is difficult. You really have to have completely collinear anatidae.

Re:Shutting Down the BGP Hijack Factory by an_account_name on Tuesday July 10, 2018 @09:50PM (#17503832)
> collinear anatidae

I'm stealing this phrase, please and thank you.

Re:Shutting Down the BGP Hijack Factory by 9ac345a5509a on Tuesday July 10, 2018 @10:23PM (#17503972)
Why? It sounds incredibly pretentious. I think most people would appreciate Plain English [0].

[0] https://en.wikipedia.org/wiki/Plain_English

Re:Shutting Down the BGP Hijack Factory by mehrdadn on Thursday July 12, 2018 @05:46AM (#17513238)
>>> collinear anatidae

> sounds incredibly pretentious. I think most people would appreciate Plain English [0].

I can't speak for most people, but I didn't know what it meant, learned it after reading it, and found it quite appropriately funny and witty. I also learned a new word. There was nothing I found pretentious about it.

I think a helpful and reasonably objective criterion in deciding this might be whether the use of the phrase was (1) necessary to send the correct message, (2) required to understand the received message, and (3) liable to send an incorrect message. If #1 = no and #2 = yes, or if #3 = yes, then you should probably avoid using it. In this case it's #1 = no and #2 = no and #3 = no, so it's fine.

Re:Shutting Down the BGP Hijack Factory by Arnt on Wednesday July 11, 2018 @02:39AM (#17504892)
Because it's a lovely application of rhyming slang.

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

Re:Shutting Down the BGP Hijack Factory by zokier on Wednesday July 11, 2018 @02:25PM (#17509089)
How exactly is it rhyming with anything?
Re:Shutting Down the BGP Hijack Factory by mnx on Wednesday July 11, 2018 @06:24AM (#17505776)
Could you explain what it means? I read about rhyming slang, but can't figure this out
Re:Shutting Down the BGP Hijack Factory by treerock on Wednesday July 11, 2018 @07:14AM (#17506013)
I'm guessing another way of saying "ducks in a row"?

https://idioms.thefreedictionary.com/have+ducks+in+a+row

Re:Shutting Down the BGP Hijack Factory by mnx on Thursday July 12, 2018 @04:57AM (#17513102)
Thanks.
Re:Shutting Down the BGP Hijack Factory by dsr_ on Wednesday July 11, 2018 @07:14AM (#17506014)
Ducks in a row.
Re:Shutting Down the BGP Hijack Factory by NKosmatos on Tuesday July 10, 2018 @06:38PM (#17502827)
I fail to understand why there is no quick and official way to terminate such bad actors. Isn’t there a task force for monitoring and enforcing some rules? There should be a SPoC for every AS, available 24/7 so that such notorious players are kicked out immediately. We live in an age where everything can be traced and monitored and we allow BGP hijacking and other similar acts. Oh well, my romantic idea for a properly moderated network.
Re:Shutting Down the BGP Hijack Factory by akerl_ on Tuesday July 10, 2018 @07:00PM (#17502941)
Who would be in charge of the moderation?

This very article describes the closest thing to that: NANOG is a collection of network operators, and they communicate with each other about the overall state and coordination of "the internet", which realistically is just "the total set of a lot of network operators agreeing to connect to each other".

Domain registration and DNS have much more centralization because there exists a root entity for the entire (public) system and an owner of each TLD: if an entity wants to remove example.com from existence, they can go to the .com operator and attempt to compel them to do that. For IP routing, you're talking about BGP between a vast number of different entities. By design, traffic can route a variety of ways between each point.

Re:Shutting Down the BGP Hijack Factory by blueish on Tuesday July 10, 2018 @08:38PM (#17503481)
I had a conversation with a friend about this, and the outcome was the idea that BGP could be extended with functionality for this case. There needs to be a way to brand "negative" traffic or routes advertised with some sort of reputation system. In the event of a DDoS attack coming from an AS, you could have intra-AS weight for any given AS such that if an AS reports malicious traffic from a route, it's given a lower weight and traffic is less likely to route to that AS in favor of a less specific prefix. This would encourage any given AS to act in desirable ways, as their actions (or actions coming from within them, e.g. a customer of theirs being the source of a DoS attack) would have consequences.
Re:Shutting Down the BGP Hijack Factory by akerl_ on Tuesday July 10, 2018 @08:43PM (#17503504)
How would that work in practice? If I compromise a pile of IoT devices running on Comcast users' networks, and use them to launch and attack, all Comcast users on their subnet get marked as uncool? And if we're marking them as "bad", doesn't that mean all of their BGP peers mark them as uncool and then the weights for their prefix are lower but still even, so routing still ends up the same?

The only way they'd be impacted would be if some networks didn't implement your bad-actor-prefix-weight-mod, and then we'd just be penalizing the people who don't use your system along with the attackers, since we'd be routing the bad traffic via their networks.

Re:Shutting Down the BGP Hijack Factory by voltagex_ on Tuesday July 10, 2018 @10:28PM (#17503998)
You can see the impact of this kind of thinking in RBLs and blocklists - try to send email via your residential connection and you probably won't be able to.
Re:Shutting Down the BGP Hijack Factory by AndyMcConachie on Wednesday July 11, 2018 @03:47AM (#17505137)
You might be interested in the DOTS working group at the IETF.

https://datatracker.ietf.org/wg/dots/charter/

Re:Shutting Down the BGP Hijack Factory by NKosmatos on Tuesday July 10, 2018 @07:18PM (#17503051)
Yes that’s true, most of the work and moderation is done via mailing lists (like in Linux dev or with IETF/RFCs) but when we’re talking about the infrastructure I would expect something more efficient. Sure someone must notice it and report it, but I don’t get why it takes so long. And just to avoid misunderstandings I’m not talking about censorship, but actual WTF situations as this one described in the post where it’s obvious what is happening with Bitcanal.
Re:Shutting Down the BGP Hijack Factory by akerl_ on Tuesday July 10, 2018 @07:21PM (#17503070)
How do you decide whether the bad BGP announcement was an accident or malicious?
Re:Shutting Down the BGP Hijack Factory by xraystyle on Wednesday July 11, 2018 @01:36AM (#17504674)
When someone accidentally announces an incorrect prefix, they're pretty up-front about it, and try to correct it as soon as possible. It's not something you really see that often either, as you don't change the prefixes you announce very often. Really only when you acquire new IP space. Otherwise, the router config is largely set-and-forget as long as the peerings are up.

So if someone does fat-finger a prefix announcement, it's followed by an email to the IX mailing lists and transit providers with an apology and a quick fix.

It starts to become apparent who made an honest mistake here and there and who's acting maliciously.

Re:Shutting Down the BGP Hijack Factory by walrus01 on Wednesday July 11, 2018 @02:51AM (#17504945)
When the announcer doesn't immediately retract it in embarrassment, continues to announce it, the RIPE/APNIC/ARIN WHOIS data for the block continues to show ownership info other than the announcer, and the announcer doesn't produce a legitimate business relationship and LOA for why they should be announcing that "new" /18. It's usually pretty obvious.
Re:Shutting Down the BGP Hijack Factory by ge0rg on Wednesday July 11, 2018 @03:55AM (#17505184)
How many hours / days / weeks do you need to give the announcer to produce all that evidence, before considering the action as malicious and undoing the announcement?

Proving a business relationship sounds like a multi-day endeavor, whereas you typically want to undo the damage ASAP.

Re:Shutting Down the BGP Hijack Factory by walrus01 on Wednesday July 11, 2018 @07:46AM (#17506152)
a few days, maximum. If you're $SMALLISP and you have a /22 of space, and your upstream is $MEDIUMISP, you give a LOA (letter of authorization) to $MEDIUMISP allowing them to announce your prefix to their peers and upstreams. If $MEDIUMISP can't produce that LOA on demand and the ARIN/RIPE/WHOIS/APNIC/AFRINIC whois data, email/admin/technical contacts for the /22 owned by $SMALLISP don't respond with "yup that's our block and we are allowing $MEDIUMISP to announce it", something highly fishy is going on.
Re:Shutting Down the BGP Hijack Factory by tatersolid on Wednesday July 11, 2018 @01:39PM (#17508746)
If you think a requirement to forge a paper document is going to stop a spammer who hijacks IP space...

One more count of fraud don’t mean a thing to these criminal operations.

Re:Shutting Down the BGP Hijack Factory by walrus01 on Thursday July 12, 2018 @07:40PM (#17519520)
I would not rely on it at all. At a certain point a bgp hijacker has to have some sort of physical interconnection to get to upstreams or an IX. Either equipment colocated at or near an IX, a transport circuit, something. Showing a forged LOA to somebody's colocation process is something that can be helpful in getting them to physically power off/disconnect a customer's equipment for abuse.
Re:Shutting Down the BGP Hijack Factory by toast0 on Tuesday July 10, 2018 @06:57PM (#17502932)
The short answer is no, the internet doesn't have any centralized authority to kick people off, or even to set rules, let alone monitor or enforce them. Each Autonomous System has the autonomy to set its own rules for who it connects to.
Re:Shutting Down the BGP Hijack Factory by lormayna on Tuesday July 10, 2018 @04:46PM (#17502000)
I have worked for a medium size ISP for many years (3 upstream Tier-1 provider, presence on 2 IXP) and we sometimes suffer from BGP hijaking. We had developed a software that every hour checks the BGP prefix assigned to every peer and update the BGP filter automatically. It takes some time to engineering it and develop but after then, it works like a charm.
Re:Shutting Down the BGP Hijack Factory by eecc on Tuesday July 10, 2018 @05:15PM (#17502246)
That’s a 1-hour attack window though. It should be event driven, something where peers can securely signal changes as they happen
Re:Shutting Down the BGP Hijack Factory by lormayna on Wednesday July 11, 2018 @03:40AM (#17505115)
You can run every 15 minutes if you want.

It's a shame that the ISP is bankrupted, it could be a very nice product also to sell. I was in charge of this software, I can reproduce it easily (unfortunately I don't get the source code) and put online then everyone can use and improve.

Re:Shutting Down the BGP Hijack Factory by inetknght on Tuesday July 10, 2018 @09:32PM (#17503747)
Write a protocol for it then and demonstrate its use
Re:Shutting Down the BGP Hijack Factory by j16sdiz on Tuesday July 10, 2018 @10:46PM (#17504088)
Those are very expensive. According to apnic[1], there are 15,000 update / day in 2016. For small size ISP, the number is much lower and may be managible. But event driven can't be a general solution for larger isp.

[1] https://blog.apnic.net/2017/01/27/bgp-in-2016/

Re:Shutting Down the BGP Hijack Factory by gcb0 on Wednesday July 11, 2018 @01:04AM (#17504569)
15k updates a day? how big is the payload? ...sounds negligible to someone ignorant in BGP finer details.
Re:Shutting Down the BGP Hijack Factory by phyzome on Tuesday July 10, 2018 @05:23PM (#17502313)
So... what were they doing with the hijacks? Using it to evade IP reputation bans for spamming?
Re:Shutting Down the BGP Hijack Factory by Operyl on Tuesday July 10, 2018 @05:26PM (#17502327)
Based on what I know of their ASNs, yes.
Re:Shutting Down the BGP Hijack Factory by lormayna on Wednesday July 11, 2018 @03:37AM (#17505104)
If you hijack traffic you can do wire tapping and sniff all traffic not encrypted.
Re:Shutting Down the BGP Hijack Factory by AndyMcConachie on Wednesday July 11, 2018 @03:49AM (#17505152)
Send spam mostly.
Re:Shutting Down the BGP Hijack Factory by driverdan on Tuesday July 10, 2018 @05:10PM (#17502204)
If they have been bad actors for years why didn't they lose access earlier?
Re:Shutting Down the BGP Hijack Factory by petee on Tuesday July 10, 2018 @08:17PM (#17503389)
They were booted last year by a German IXP, DE-CIX after reported abuse. Nice to see a company with an abuse handle that works

http://seclists.org/nanog/2018/Jun/370

Re:Shutting Down the BGP Hijack Factory by jlgaddis on Tuesday July 10, 2018 @06:11PM (#17502655)
There will always be someone happy to take their money.
Re:Shutting Down the BGP Hijack Factory by duxup on Tuesday July 10, 2018 @04:39PM (#17501936)
Bitcanal sounds like an appropriately terrible name as it sounds like root canal... but for bits.

BGP really needs some more organized security, but that's nothing new, and i'm sure not super easy to organize.

Re:Shutting Down the BGP Hijack Factory by JdeBP on Wednesday July 11, 2018 @06:12AM (#17505724)
Not in its native language it doesn't.

* https://en.wiktionary.org/wiki/canal#Portuguese

Re:Shutting Down the BGP Hijack Factory by petee on Tuesday July 10, 2018 @08:09PM (#17503350)
And yet still being peered - https://bgp.he.net/AS197426#_peers
Re:Shutting Down the BGP Hijack Factory by lima on Wednesday July 11, 2018 @06:26AM (#17505787)
The HE site takes a while to refresh.
Re:Shutting Down the BGP Hijack Factory by petee on Wednesday July 11, 2018 @10:09AM (#17507012)
Good point, thank you. According to the article, Hurricane depeered them on July 9th; the looking glass says it was updated 5pm July 10th, so unless the 'updated' is incorrect, Hurricane started peering this bad actor again!
Re:Shutting Down the BGP Hijack Factory by msumpter on Wednesday July 11, 2018 @11:17AM (#17507568)
If you look up the BGP routes for a Bitcanal IP address (185.215.113.235) on HE's looking glass (https://lg.he.net/) it does not appear any routes are present. I believe HE's BGP page may still be out of date, or the peers are present but not active.
Re:Shutting Down the BGP Hijack Factory by lima on Wednesday July 11, 2018 @01:57PM (#17508902)
Last time I checked it took multiple days for it to update when routes disappear (I would assume they cache them for a while, in case it's just a temporary change).
Re:Shutting Down the BGP Hijack Factory by petee on Monday July 16, 2018 @08:41AM (#17540815)
For historical record, as of today, Hurricane isn't listed anymore, but Cogent is again, and GTT for ip6... Way to remain united against abuse... just, wow.
Re:Shutting Down the BGP Hijack Factory by nrki on Wednesday July 11, 2018 @08:25AM (#17506294)
No comments about the cookie warning/opt-out modal on the page? Perhaps it's only visible in the EU?

The thing explicitly takes ~2-3mins to send a HTTP POST to each of their advertising partners saying you've opted out (and warns "Some vendors cannot receive opt-out requests via https protocols so the processing of your opt-out request is incomplete")... lovely.

Re:Shutting Down the BGP Hijack Factory by djaychela on Wednesday July 11, 2018 @08:47AM (#17506417)
Just came here to post exactly that! What a complete mess... and if you do follow the https link, lo and behold, they re-set the settings slider to the lowest level (advertising is OK), despite having set it differently previously. Took a fair while on the https link, but at least it says it worked...
Re:Shutting Down the BGP Hijack Factory by lossolo on Tuesday July 10, 2018 @04:04PM (#17501590)
We have RIPE and other IANA organizations that have routing objects in their databases with information about through which ASN certain classes are announced, there are also LOAs. GTT and Cogent are huge Tier-1 providers, why they do not check which classes their clients are announcing? Am I missing something here?
Re:Shutting Down the BGP Hijack Factory by msumpter on Tuesday July 10, 2018 @04:12PM (#17501660)
According to a post by Job on nanog they have been known to submitted false or fabricated IRR information to RADB and RIPE: http://seclists.org/nanog/2018/Jun/379

At the end of the day, BGP is a very trusting protocol and it requires keeping the neighborhood clean and clear. IMO providers should be filtering prefixes their clients shouldn't be announcing (al la BCP38) but keeping up on the various IP blocks being shifted around is a paperwork nightmare I'm sure.

Re:Shutting Down the BGP Hijack Factory by walrus01 on Tuesday July 10, 2018 @04:20PM (#17501746)
BGP is still very much built on trust and reputation... At a local ix level if you were to show up at an ix like the ams-ix and regularly announce prefixes you have no right to, your company name and AS# would quickly develop the reputation of a rancid turd.
Re:Shutting Down the BGP Hijack Factory by im3w1l on Wednesday July 11, 2018 @02:18AM (#17504814)
The BGP authentication method doesn't seem very secure, so how do you know who you are trusting?
Re:Shutting Down the BGP Hijack Factory by walrus01 on Wednesday July 11, 2018 @02:48AM (#17504935)
a properly implemented IX has MAC address filtering on ports. This can of course be spoofed. But there is also a level of security at OSI layer 1 for the physical fiber cross connect from an ISP's panel to the IX's panel.

For instance: If the IX is located on the 15th floor of the building. An ISP might be colocated on the 12th floor. Fiber XC from 12.501.P4.D4 (12th floor, row 5, rack 01, fiber patch panel 4, SC duplex port D4) to 15.201.P1.D4, then a fiber cable from D4 to an SFP+ port on the IX's switch. Unless somebody physically hijacks your fiber crossconnect and moves it (which would be noticed as hard down immediately) it's pretty hard to pretend to be another ISP, from the perspective of the switch fabric operator of the IX.

Re:Shutting Down the BGP Hijack Factory by lormayna on Wednesday July 11, 2018 @03:42AM (#17505119)
There is no real need for BGP authentication: if you want to create a peer relathionship, it need to be configured on both routers, then there is a native trust relationship.
Re:Shutting Down the BGP Hijack Factory by walrus01 on Tuesday July 10, 2018 @04:07PM (#17501615)
Many big ISPs are quite diligent about what blocks their downstream customers announce. If you're an NTT ip transit customer every new block you announce to them is vetted. They have a high degree of automation with IRR integration but also humans in the loop.

Any asshole can theoretically make a fraudulent LOA, but by producing one to an upstream a hijack factory opens itself up to criminal charges of fraud and forgery.

Re:Shutting Down the BGP Hijack Factory by madsushi on Thursday July 12, 2018 @03:20AM (#17512805)
One note: not all IP addresses are handled by RIPE/ARIN/etc. There are legacy allocations which are not subject to any agreements and are the property of the owners.
Re:Shutting Down the BGP Hijack Factory by EthanHeilman on Tuesday July 10, 2018 @03:31PM (#17501335)
http://www.bitcanal.com is down.

Did they host it in their AS and now their AS is unreachable?

Re:Shutting Down the BGP Hijack Factory by msumpter on Tuesday July 10, 2018 @03:54PM (#17501497)
I'm getting a servfail when attempting to resolve their domain, according to DomainTools[1] the IP for the site was 185.215.113.235 announced from AS42229.

The ASN was mentioned in the article as being listed by Spamhaus ASN Droplist but wasn't mentioned earlier as one of the targeted ASNs.

Edit: reviewed the ASN more and it is the Ebony Horizon mentioned in the article, and it is only peered to BitCanal's primary AS197426, which is subsequently being de-peered, so I'd say that is the main reason bitcanal.com is down :) 1: http://whois.domaintools.com/bitcanal.com

Re:Shutting Down the BGP Hijack Factory by petee on Tuesday July 10, 2018 @08:19PM (#17503397)
I timeout on getting an IP, but I noticed Opera/Chrome already flagged the url as unsafe despite the dns fail.