150,000 IoT Devices Behind the 1Tbps DDoS Attack on OVH
securityaffairs.co
securityaffairs.co
We see upwards of 2 million unique ipv4 sources scan us on port 23 every day. These are all compromised IoT devices and routers.
In the past hour we saw 350k+ unique sources.
In just the past 3 minutes that number is 168,230
Top sources in the past 3 minutes:
848 211.201.69.50
840 180.66.99.72
838 222.121.157.61
759 95.17.97.136
639 171.248.123.112
542 189.78.49.194
511 176.109.222.124
386 60.249.84.179
378 118.161.69.18
377 61.75.42.129
252 125.142.55.218
252 183.102.221.85
245 106.186.20.183
233 112.162.191.217
203 121.143.65.181
199 115.86.134.94
190 89.163.242.12
183 91.205.123.37
181 86.90.10.151
179 91.240.140.14
177 191.103.72.251
173 185.129.2.236
169 218.201.74.122
168 116.99.113.72
164 82.119.65.190
160 118.129.105.9
158 194.88.205.101
156 77.88.202.60
156 82.79.75.5
155 112.165.227.205
We see 2000pps of this shit all day every day. No one cares.I dumped the ASN owners for a bunch of sources, the top 3 are:
15664 BR TELEFNICA BRASIL S.A, BR
15215 VN VNPT-AS-VN VNPT Corp, VN
15112 CN CHINANET-BACKBONE No.31,Jin-rong Street, CN
You think TELEFNICA BRASIL gives a shit that they have 15k+ compromised customers?I'd say if you can telnet to your wan IP and get a login prompt, you have a shitty router that exposes telnet to the world and you're probably compromised :-)
Shouldn't they? It eats a lot of their outbound bandwidth. Even if they have peering agreements that they don't have to pay for, there's still the cost of the equipment and their internal network bandwidth to consider.
Having google or facebook check REMOTE_ADDR for every client would work though, but most people wouldn't understand what the notification means. Plus, on a network that isn't using nat you'd never get the alert since the IoT device itself would never be REMOTE_ADDR.
>We see upwards of 2 million unique ipv4 sources scan us on port 23 every day. These are all compromised IoT devices and routers.
What is the unique connection between port 23 and IoT devices? Genuinely Curious.
Thanks.
Once compromised and running malware, the device proceeds to probe random IP addresses for open telnet ports to spread further. The uptick in port 23 connection attempts has coincided with the perceived spread of IOT malware.
I had the same question for how OVH was determining that X amount were IPs cameras vs X amount were DVRs etc.
It's probably mostly routers, but the botnet doesn't care. If they can connect to you, send root\nroot or admin\nadmin and get a shell, they will.
127.0.0.1
I keep counter-attacking him, but he's always one step ahead of me!
Now that I got that out of my system: where's all the v6 traffic?
Maybe the target of such an attack could gather a list of IP addresses used in the attack, then pass them to Google, who might warn on their search homepage if you browse from one of the IPs on the list? (e.g. "Some of your internet devices may be at risk, click here to find out more") I know IP addresses are a poor proxy for identity, but it could be a step in the right direction.
The combination of that with Google Shield might actually work to inform the users, but then again users are confronted with similar warnings from abusive ad networks all the time, and probably learned to click them away fast and forget about it.
I don't understand why this works. Why doesn't my ISP simply block outgoing packages with "fake" source IPs?
> BCP38 is designed to filter such spoofed traffic, so that it never even traverses the network of an ISP that’s adopted the anti-spoofing measures. However, there are non-trivial economic reasons that many ISPs fail to adopt this best practice. This blog post [2] from the Internet Society does a good job of explaining why many ISPs ultimately decide not to implement BCP38.
[1] https://krebsonsecurity.com/2016/09/the-democratization-of-c...
[2] http://www.internetsociety.org/deploy360/blog/2014/07/anti-s...
First, old (>10 years) networking hardware may be unable to support it. All new hardware can do it, but some old stuff can't, and some ISPs haven't budgeted for the update. Response: 10 years is forever in the hardware cycle. This isn't a woodworking business, where old heavy iron is a good thing. Sensible businesses budget for returns on investment and mean time between failure on shorter time scales.
Second, the labor to install network hardware replacements and perform configuration updates is expensive. Response: That's literally your job, you don't get paid to sit around and collect money.
Third, and most importantly, the costs of the DDOS are not felt by the ISP. It's a tragedy of the commons. Response: Regulation, obviously, is required. If your network causes damage that the industry says you should have prevented, you should pay.
I don't think you understand the purposes of ISPs in the US :)
If you fake your neighbors IP address then the hacked IoT device never gets taken down, and innocents get bothered unless the ISP does a good job investigating.
Will the ISPs monitor faked packets inside their own network? And if they do at what level? Individual modems, entire segements? Entire regions?
# deny spoofers
extinput="iptables -t filter -A INPUT -i wan"
$extinput -s 127.0.0.0/8 -j REJECT
$extinput -s 10.0.0.0/8 -j REJECT
$extinput -s 172.16.0.0/12 -j REJECT
$extinput -s 192.168.0.0/16 -j REJECTAnyone know of a good open source solution that doesn't require a huge amount of fiddling?
It would be an 80% solution at best, and I wouldn't want one; but I trust Google more than I do my mom when it comes to managing the packets coming out of her network.
In all seriousness, this is only going to become worse in the future. Can't wait until the day when smart fridges, toasters and bicycle locks join in on a multi-Tbps attack and break the entire internet.
This really needs to be fixed at the national or international (IANA?) level by mandating the deployment of anti-DDOS source quench and anti-spoofing measures. Any owner of an IP block should be able to register a key and then send source quench messages and this needs to be deployed uniformly.
But I'm not holding my breath. It's like herding cats, and as a general rule nobody anywhere cares about security unless their house is on fire (and then they go back to not caring after the fire is out).
Another thing that needs to be done is to cut off support for this activity. It needs to be made illegal to pay ransom for DDOS or ransomware for that matter. If you get ransomwared or DDOSed that sucks, but that doesn't mean you should be allowed to reward the behavior and finance it being done to others.
Your source quench nonsense sounds like just another piece of pointless infrastructure to be abused.
Because connecting your toaster and fridge over a local network, and running updates via your PC/laptop would be just too complex
EDIT: I'm going to be spending hours on this today!
Edit: I take that back. I assumed "open" meant a default or insecure password
It's a completely fucked situation we're in, with the CFAA law. It allows the feds to charge anyone they like, cause they used a network.
I guess we're supposed to fax the owners before we submit a TCP connection with their machines, but we'd probably run aground of fax spam laws.....
Imagine having to internationally co-ordinate patching of 150000 devices. Because the alternative is that 150000 homes will have their NATed IP-addresses blocked from each service being attacked.
Just wow...
The manufacturers must be both sued for selling exploitable devices and educated about how to write secure software.
There is another post on the home page of HN about the security of the Linux kernel https://news.ycombinator.com/item?id=12589894 That's very important for this kind of issues because many of those devices are probably running on some Linux distribution.
I'm a devops guy so I'm basically a sysadmin and I've been an advocate for patch routines for many years now. In a climate where people are almost offended when you tell them they need to patch their servers regularly.
So if IoT is really the Internet of things and not the Intranet of things, then they need solid routines for patching their software.
Roku (and others) seems to have figured that out. They cryptographically sign each update.
I have thought for a long time that we'll one day get to the point where the best thing one can do for a host's security is to not allow it to generate traffic that can reach the Internet.
Just like we have default deny on incoming traffic, we need to start using a default deny on outgoing traffic as well.
You'd need to configure the DHCP to hand out these kinds of leases by MAC address though, as I can't see vendors agreeing on a way to easily restrict the devices net access! :-/
not really, ISP gets dropped, goes into panic mode and FINALLY fixes its own shit, finds the endpoint originating illegitimate traffic and blocks it, reports back upstream about the fix, gets reinstated, finally starts monitoring for ip spoofing.
Furthermore, but I'm a noob at this, isn't the upstream Internet provider that should block traffic instead of the server farm? Otherwise it would get all the load anyway. Am I wrong? (probably yes)
Getting manufacturers to patch, and users to update these embedded linux devices is going to be pretty hard
but rather than causing a virtual DDOS, now in physical space. shutting down a whole city, for the lulz.
IoT and AV show that the "Facebook" method of software development - move fast, break things, agile/scrum, whatever label is used for non-engineering, will not work for the next stage.
ditto the skills of most young CS grads. most companies can't even secure their shitty email services - but cars is easier?
a whole new supply chain for code needs to be developed, from languages to curriculums. take what the airline industry has been doing and commoditize it, it must be braindead easy to build a secure and robust piece of code for this new world.
I was like wtf! Matter was quickly resolved of course, also they learned a lesson and moved ipmi ips to 10mbit limited connnections not 1gbit.
Tho ideally a local ip that accessible only via a vpn would have been the best option for remote management but yeh, little steps I suppose with some providers.
If I am 8.8.8.8 and I fake 8.8.4.4, you still get my traffic, and someone else gets the complaint.
If you just picked those two addresses at random from the entire range just to serve as an illustration, you should have bought a lottery ticket instead.
Also, anyone who understands networking (everyone on HN, for this purpose) should have a default-deny firewall for at least their IoT devices, if not every device on their network.
Thus, if you want to go the legal/penalty route, you need to sue the end users. The entity that owns the house/office that installed the unpatched CCTV camera is effectively responsible for the behavior of that camera. If they then want to shift the responsibility to the manufacturer, that's their choice (and effort).
What it will do is make users consider a bit more carefully when choosing devices and manufacturers, and it will make manufacturers have to consider (and promote) their security and patching practices to maintain marketshare.
There are already safety standards and according mandatory certification processes in place that (should) prevent electric appliances from burning down your house (CE) or from bringing down airplanes (FCC).
What is (urgently) needed is a similar approach to mandatory IT security certification for IoT devices. This is also advocated by Bruce Schneier [0]:
Security engineers are working on technologies that can mitigate much of this risk, but many solutions won't be deployed without government involvement. This is not something that the market can solve. Like data privacy, the risks and solutions are too technical for most people and organizations to understand; companies are motivated to hide the insecurity of their own systems from their customers, their users, and the public [...]
[0] https://www.schneier.com/blog/archives/2016/07/real-world_se...
The same way they do for everything else. Ask experts. Demand third-party reviews. Require warranties for security flaws.
It will be far worse at the beginning. But once you really threaten the bottom line for free, security will come.
I sadly see no other good way to have security in software.
If a precedent is set (after all cars get recalled all time for flaws) then we would endup with a more secure internet.
This is not a user issue. Manufacturers need to issue recalls and be made liable for shipping insecure by default products.
Most can't understand access restrictions, IP Tables or installing custom firmware. There needs to be a common standard, API on each router to manage devices connecting to the Internet and seeing which devices do and don't.
This would open the doors to creating apps etc and possibly help mitigate threats from unknown Chinese IoT devices.
I wish that there will not be found by some bad guy, but I know our system and I'm 100% sure that will happen one day. We have a basic level security, like so many other startup in that field though.
Lots of dubious devices and a laisez-faire approach to eg. electrocution risks and fire hazards.
After enough public outcry regulation is introduced, standards are developed and enforced and your television is no longer at risk of bursting into flames or frying the cat.
Or, in today's world, of being conscripted into a global botnet and DDOS'ing your neighbours.
It would need to be out of band, and I suggest it use OpenPGP for signatures (chain of trust from IP allocating bodies), actually it would also need to query a database of allocated IP ranges.
Something needs to be done about DDOS at the backbone and tier-1 level of the Internet or we are going to lose the public Internet.
Source quench would help. It's not a silver bullet but it would make this a lot harder. In many cases (including ours) there are ways to ID legitimate traffic vs. junk.
A DVR might have a chance to make an impact if it had a GPU that was used to encode video that could be co-opted to mine Bitcoin, but I think most DVR's use special video encoding chips rather than a general purpose GPU.
I think the only hardware they would have that could mine Bitcoin would be their general purpose CPU, which is probably under-powered anyway.
A DVR would be more easily monitized as a node in a Botnet that does DDoS attacks, email spamming, or network scanning.
One resource they do have though is drive space. a DVR botnet could sell unused DVR HD space using a service like Maidsafe [1]