News for hackers. Stuff that matters.
Re:IP Spoofing by lossolo on Friday October 07, 2016 @11:53AM (#12661603)
There is no excuse for not securing your network to allow spoofing from it. Most of the big players like leaseweb or ovh do not allow that. But there are some providers that still allow you to spoof source ip address. There should be consensus about droping routes on BGP level to networks that send packets with source ips that they do not announce. It's really simple to drop packets on switches/routers that do not originate from your network. It would make ddosers life harder.
Re:IP Spoofing by amluto on Friday October 07, 2016 @12:41PM (#12661992)
I used to have a regular retail network connection at the office (local DSL carrier, not some industrial-grade expensive fiber thing) that allowed spoofing. The office was multi-homed (we had a second connection from a different provider for redundancy -- it turns out that our major local incumbent provider had maybe one nine of availability), and the results were hilarious. It turns out that, because Linux considers IP addresses to belong to a computer and not to an interface, it's fairly easy to (mis-)configure things so that traffic with a source address belonging to one interface goes out the other interface. This, coupled with spoofing being allowed, meant that we sometimes accidentally spoofed ourselves, and it worked! We went for surprisingly long times without noticing that some of our TCP connections went out one pipe and back in the other.

If I remember right, we would only notice it when we were confused by packet captures, when we had strange performance problems, or when we'd discover that we suddenly had two single points of failure. :)

Re:IP Spoofing by illumin8 on Friday October 07, 2016 @12:58PM (#12662139)
This sounds great in principle, but it breaks down in practice. From the article, 27% of ISPs still allow spoofing on their networks. This is mostly due to them being smaller, regional ISPs without the expertise or staff to figure out how to do this.

I hear you saying "just blackhole them until they figure it out," but it's not that easy. In many cases, the small regional ISP is the customer of a larger ISP, who is the customer of an even larger global ISP that you are connected to. You just see XXXgbps of traffic coming from your ISP, and have no idea which one (or more) of their customer's customer's are sending the traffic.

This would be like saying "just don't let the one guy that's going to pee in the pool swim." How do you know which of the 200 people in the pool actually peed?

Re:IP Spoofing by hueving on Friday October 07, 2016 @02:41PM (#12662946)
Well you know the pee is coming from 1 of 3 (or maybe all 3) guys. You just threaten to kick them all out if they don't figure out which one is doing it.

This is a serious problem and it should be treated with serious consequences.

Re:IP Spoofing by majke on Friday October 07, 2016 @12:59PM (#12662144)
You use netflow to identify the offender of course!
Re:IP Spoofing by illumin8 on Thursday October 13, 2016 @10:46PM (#12705839)
LOL - there's a netflow and ipfix/ipfreely joke in there somewhere...
Re:IP Spoofing by lucb1e on Friday October 07, 2016 @02:17PM (#12662744)
> just don't let the one guy that's going to pee in the pool swim." How do you know which of the 200 people in the pool actually peed?

Sounds like a logic puzzle. I'm thinking a binary search would be the most efficient way.

Re:IP Spoofing by niij on Friday October 07, 2016 @11:10PM (#12665484)
I think K-means would work best-- whichever cluster is closest to the "hot zone" gets the boot. :P
Re:IP Spoofing by lucb1e on Saturday October 08, 2016 @04:20AM (#12666146)
How do you measure a hot zone, sensors at the bottom of the pool? Or at middle-depth but along the edges?
Re:IP Spoofing by criddell on Friday October 07, 2016 @12:28PM (#12661910)
I agree 100%.

I've also wondered why ISPs don't do more to shut down customers that are participating in a DDOS (at least for DDOS attacks where the source IP isn't spoofed)? I would be very happy if my ISP were to let me know that something on my network is involved in an attack.

Re:IP Spoofing by lucb1e on Friday October 07, 2016 @02:21PM (#12662766)
My ISP does that (XS4ALL, the Netherlands). Of course they can't know everything but if they receive abuse reports, notice your IP got blacklisted for spam or some honeypot network got a whiff of your IP address running malware variant XYZ, they put your IP address in quarantine (only 80 and 443 outgoing I think, or maybe only to the ISP's own website or something) and ask what's going on.

I can tell you they're a real pain to convince to unblock you when you are 17 and have been a bad netizen. Which is a good thing.

Re:IP Spoofing by hueving on Friday October 07, 2016 @02:44PM (#12662976)
When it comes to ip spoofing based ddos attacks, the ISPs capable of tracking spoofed traffic on their network don't allow spoofed traffic. If they don't allow the spoofed traffic, you aren't participating in the DDoS.
Re:IP Spoofing by criddell on Friday October 07, 2016 @03:50PM (#12663458)
Absolutely. No ISP should allow a packet with a spoofed IP leave it's network.
Re:IP Spoofing by clishem on Friday October 07, 2016 @05:14PM (#12663953)
Is there an easy way to figure out if it's possible on my ISP's network?
Re:IP Spoofing by hueving on Friday October 07, 2016 @05:17PM (#12663974)
Run tcpdump on an ec2 instance and send spoofed traffic to it to see if it shows up. :)
Re:IP Spoofing by marcosdumay on Friday October 07, 2016 @03:52PM (#12663472)
It's about blocking non-spoofed attacks.
Re:IP Spoofing by Sanddancer on Saturday October 08, 2016 @12:19AM (#12665651)
Support costs for shutting down the average user are higher than the costs of bandwidth. Telling someone that their internet was shut off because their device was used in a botnet would lead to very long support calls and escalations.
Re:IP Spoofing by criddell on Saturday October 08, 2016 @02:07PM (#12667927)
Then people and businesses that are DDOS'd should be able to recover damages from the ISPs.
Re:IP Spoofing by jacquesm on Friday October 07, 2016 @12:47PM (#12662043)
That would penalize a whole pile of parties that probably have nothing whatsoever to do with the spoofers. It's akin to blackholing mail from yahoo.com because there are spammers on yahoo.com.
Re:IP Spoofing by x1798DE on Friday October 07, 2016 @01:20PM (#12662309)
Isn't it more akin to blackholing mail servers that don't set up DKIM, which almost all major mail providers do these days?
Re:IP Spoofing by jacquesm on Friday October 07, 2016 @05:32PM (#12664065)
No, if you drop the BGP route the whole range disappears, not just the host that spoofs the IPs. So it kills off a whole pile of innocents as collateral damage.
Re:IP Spoofing by x1798DE on Friday October 07, 2016 @06:49PM (#12664546)
I don't know if I understand. At first I thought you meant that we shouldn't drop entire providers because one of their customers spoofed an IP, but of course the burden should be on those providers to make sure spoofed packets can't leave their network (since further up the chain you're getting packets that are originating from many networks). Are you talking about something else?
Re:IP Spoofing by niij on Friday October 07, 2016 @11:12PM (#12665490)
BGP route is on the receiving end.
Re:IP Spoofing by hueving on Saturday October 08, 2016 @06:01AM (#12666359)
You stop peering with providers originating spoofed traffic. The whole point is that you don't know which host is doing it (the IP is spoofed!). All you know is that a provider is allowing spoofed packets (with a probe from participating endpoints in a measuring service). That provider should be dropped and everyone on that provider should suffer collateral damage because that's the only way to economically incentivize them.
Re:IP Spoofing by Twirrim on Friday October 07, 2016 @01:59PM (#12662611)
What legitimate purpose is there for spoofing your IP address?
Re:IP Spoofing by loulouxiv on Friday October 07, 2016 @08:33PM (#12664950)
I think there are probably many of them but they are hard to think of because they would relate to unusual situations. There at least one very nice that I know : if you are hosting something (eg a webserver) behind a connection with limited upload capabilities like a consumer grade DSL, you can very easily aggregate multiple uploads links with nothing more than a bit of iptable magic. It would be completely transparent to the downloading peer.
Re:IP Spoofing by Twirrim on Saturday October 08, 2016 @03:58PM (#12668455)
These are still likely to be IP addresses in an IP range the ISP is responsible for routing. This is the big need. ISPs need to stop packets on egress that are from IP addresses not in the ISPs network. There's no excuse for it and it would drastically undermine a sizeable number of DDoS attacks (not every DDoS, because they don't all require IP spoofing.)

Unfortunately this requires ISPs to actually be responsible for the data coming out of their network, including DDoS traffic. Once you stop the spoofing, ISPs and transit providers will soon figure out which ASs are problems and start blocking them etc.

Re:IP Spoofing by hueving on Saturday October 08, 2016 @06:03AM (#12666366)
Most cases (this one included) are covered by a proper BGP setup (you advertise to each upstream) or an email conversation with the upstream ISP to get another IP allowed.
Re:IP Spoofing by paavokoya on Friday October 07, 2016 @01:40PM (#12662455)
Now that subscription based walled-gardens are becoming the new internet, I don't expect freedom (outsiders) to be much of a concern for society.
Re:IP Spoofing by ryanlol on Friday October 07, 2016 @12:05PM (#12661711)
>There should be consensus about droping routes on BGP level to networks that send packets with source ips that they do not announce.

With what hardware?

Re:IP Spoofing by toomuchtodo on Friday October 07, 2016 @12:22PM (#12661859)
If you're a transit provider, peering partner, or are an eyeball or content org with networking gear, this is trivial on your edge gear.

There is no excuse except laziness for not doing do.

https://tools.ietf.org/html/bcp38 (Note: This is from May 2000)

Re:IP Spoofing by 0xdeadbeefbabe on Friday October 07, 2016 @11:56AM (#12661632)
I suspect there is some excuse.
Re:IP Spoofing by rvern on Friday October 07, 2016 @01:31PM (#12662381)
There is an excuse for not "securing" the network: disallowing spoofing is not desirable in the first place. There are legitimate uses to spoofing. What is not desirable is malware infecting user computers and using spoofing for DDoS attacks, but the ISP cannot know whether the packets were sent by malware or by a user. The proper way to solve the issue is to make secure systems that will not get infected easily by malware.
Re:IP Spoofing by packetized on Friday October 07, 2016 @02:25PM (#12662812)
Why is disallowing spoofing not desirable in the first place? What legitimate uses to spoofing can you enumerate? Because I see none in your comment.