Please create an account to participate in the Slashdot moderation system

 



Forgot your password?
typodupeerror
×
Security

New Attack Hijacks DNS Traffic From 300,000 Routers 105

nk497 writes "Florida-based security firm Team Cymru said it was examining a widespread compromise"of 300,000 consumer and small office/home office (SOHO) routers in Europe and Asia. The DNS server settings were changed to a pair of IP addresses, which correspond to Dutch machines that are registered to a company that lists its address in central London. The attack highlights the flaws in router firmware, the researchers said. 'It's not new as an issue to the InfoSec community but this is one of the biggest we've seen recently as it's quite insidious,' Cymru's Steve Santorelli said, adding the hack could let the attackers conduct man in the middle attacks, impersonating your bank, for example."
This discussion has been archived. No new comments can be posted.

New Attack Hijacks DNS Traffic From 300,000 Routers

Comments Filter:
  • All you need is a knack for numbers, misanthropy, and a total lack of conscience.
  • Comment removed (Score:4, Interesting)

    by account_deleted ( 4530225 ) on Tuesday March 04, 2014 @12:34AM (#46394213)
    Comment removed based on user account deletion
    • by EmperorArthur ( 1113223 ) on Tuesday March 04, 2014 @12:41AM (#46394243)

      And just how are these 300,000+ routers being reprogrammed to use alternate malicious DNS settings? Is this conducted via some common firmware exploit, or dumb users leaving default admin password in place?

      Either is quite possible, though default password issues require that a PC on the LAN already be infected.

      Newer routers, especially the router/modem combo units, seem to have a randomly generated password that's printed on the device label. They also tend to come with WPA2 turned on with another randomly generated password that's also on the label. Proof that you can make devices more secure by default.

      • by dalias ( 1978986 )
        I wonder if these default passwords printed on labels are generated securely, or if they're a hash of the MAC address or something like that. The latter would be a lot cheaper to implement since there would be no need to install the securely generated passwords on the routers at the factory (they could just generate the password from their MAC on the first boot) and no need to tie this in with the label-printing system.
        • Yes, but even then, it would be orders of magnitude more difficult to hack the modems than if the passwords were all just "Admin" A targeted attack would still be plausible but the mass hacking of hundreds of thousands of routers would be a lot more difficult.

      • Re: (Score:3, Insightful)

        Comment removed based on user account deletion
        • by AmiMoJo ( 196126 ) *

          I'd be happy with silent automatic updates for routers, with an option in the menus to turn them off. Most users would just keep it on and be protected. Windows is like that, automatic updates on by default and more or less silent.

        • by klui ( 457783 )

          I just saw a new AT&T subscriber where its Motorola 3347 router allowed it to be managed via the WAN port. But it does have the password set to a number on the label. Most routers today are capable of TR-069 so the ISPs are more than capable enough to do this management. But do they?

      • by Cenan ( 1892902 )

        Either is quite possible, though default password issues require that a PC on the LAN already be infected.

        No. This guy mapped the entire IPv4 Internet using a bot-net running inside routers only linky link [sophos.com]. Apparently he just used the default root:root or admin:admin to build the bot-net. Point being, he never used the infrastructure behind the routers, only the routers themselves.

        From there it's not hard to imagine how you would go about changing the DNS settings on the router, and you could expand the bot-net if you know the algorithm the default passwords on newer routers are created with.

    • by Todd Knarr ( 15451 ) on Tuesday March 04, 2014 @12:53AM (#46394265) Homepage

      Some had the management UI accessible from the Internet, letting botnets probe routers and try common passwords directly (consumer routers have poor intrusion-reporting capabilities so the attempts are likely to go unnoticed).The majority, though, had URLs that can be accessed to change settings without requiring authentication. So the bad guys set up a site that exploits cross-site scripting bugs to cause your browser to access those URLs on the router when visiting the web site. That let them change the DNS servers without needing to crack the password, and the technique works no matter how strong a password you've set. The only way to avoid it's to avoid any router whose firmware's vulnerable. If you've got a vulnerable router that's supported by DD-WRT or OpenWRT, flashing the router with them's an option. The worst case is you brick the router and have to buy a new one, which is what you'd have to do if you didn't re-flash it.

      • by dalias ( 1978986 )
        The XSS, etc. only work if the machine you use for browsing is logged in to the router, which is generally a bad idea (for this exact reason). Accessing the router control panel via incognito/private/porn browsing mode when you need it is a good workaround, but of course replacing the firmware with OpenWRT is even better.
        • by Todd Knarr ( 15451 ) on Tuesday March 04, 2014 @01:25AM (#46394351) Homepage

          No, as noted in the article they did not need to be logged into the router since the URLs used didn't require credentials. Yes, it's a horribly huge hole in security. Yes, it was left in undoubtably because "the only way to get to those pages is through the login page so it's secure". Yaright.

          • Comment removed based on user account deletion
            • Could have been an authentication cookie set by the router's web server when you first logged in. If the router accepted that cookie as valid after the reboot, you wouldn't need to log in. I'd think a well-designed router would invalidate authentication cookies on a reboot.

            • DD-WRT has some issue with sessions and cookies. That's why you can sometimes get error messages when making changes after the router reboots, but you didn't exit your browser session.
            • You don't have to save passwords. DD-WRT uses HTTP Basic authentication, so once you've logged in once the browser will continue to send the authentication header with every request for a path that the router's said requires authentication. The router doesn't need to remember any sessions for this to work, once you've entered the credentials for a given authentication realm and path the browser will retain them until you completely close and re-open the browser or clear the active logins data or until the r

      • by ledow ( 319597 )

        "The only way to avoid it's to avoid any router whose firmware's vulnerable."

        Or, to never rely on a "router" that costs less than £100/$200 except as nothing more than a modem to your real setup.

        I realise home guys can't necessarily set that up but, really, it's not the "only" way to avoid it. Just don't rely on some cheap piece of junk - that's designed so that Jim doesn't have to hear modem screeches - to get on the net and be your only barrier against it.

        Haven't yet seen a router that doesn'

        • by TWX ( 665546 )

          It's not "the only way". And people on here should really have the knowledge to secure their networks that does not rely on some cheap piece of foreign junk where they spend longer designing the case to look snazzy in your living room than they did writing the firmware containing the firewall.

          You know, I tried a commercial-grade NAT-capable router, designed with two WAN ports with the ability to do routing to different networks, or failover, or load balancing, and the thing had a firmware programming error

    • Re: (Score:3, Funny)

      by TubeSteak ( 669689 )

      Is this conducted via some common firmware exploit, or dumb users leaving default admin password in place?

      FTFS: The attack highlights the flaws in router firmware

      I'll admit, I'm a weirdo.
      I read more than the headline before I comment.

  • by WaffleMonster ( 969671 ) on Tuesday March 04, 2014 @12:47AM (#46394255)

    My bank is secure!!1!!!!

    Between generous application of padlock gif's designed to make me feel safe and account specific image letting me know I'm logging into my bank and not some imposter bank... it would be impossible to get hacked. They even say so on their web site.

    Remember years ago feeling board and actually getting ahold of one of their "IT" guys informing him of the dangers of requesting credentials directly from a home page loaded via HTTP... His response was ... drumroll... it is posted to a secure site so the credentials are encrypted and can't be compromised.

    There is no arguing with stupid or those who willfully subvert browser security features for marketing and or checking off security boxes on the compliance chart even if you (should) know better.

    • by Anonymous Coward

      The encrypted tunnel is created on submit, that is, you can have a login form on an http page and still submit encrypted via SSL if the forms action sends data via https.

      • The encrypted tunnel is created on submit, that is, you can have a login form on an http page and still submit encrypted via SSL if the forms action sends data via https.

        If the original form is not delivered with SSL, you can not know that the server who sent the form is authentic. The form could be a modified version that posts anywhere, and SSL will have done nothing to protect you. Remember that it is not just encryption, but also a system to establish trust.

      • The encrypted tunnel is created on submit, that is, you can have a login form on an http page and still submit encrypted via SSL if the forms action sends data via https.

        A non-HTTPS login page could be modified to submit the data to a different server instead of the bank's - by the time you realise, its too late. Or some JS could be embedded in the page to send the data to a third party *as well* as the bank, and you'd never spot that unless you had firebug open. The latter attack can also be carried out by embedding HTTP objects in an HTTPS page, which isn't especially visible to the end user.

      • by gl4ss ( 559668 )

        The encrypted tunnel is created on submit, that is, you can have a login form on an http page and still submit encrypted via SSL if the forms action sends data via https.

        but that's not the point.

        the point is that the page you're typing on them might actually be any friggin bozo and consequently the javascript on that page might be sending it wherever whoever MITM'd the page load wants..

    • My bank is secure!!1!!!!

      Between generous application of padlock gif's designed to make me feel safe and account specific image letting me know I'm logging into my bank and not some imposter bank... it would be impossible to get hacked. They even say so on their web site.

      Remember years ago feeling board and actually getting ahold of one of their "IT" guys informing him of the dangers of requesting credentials directly from a home page loaded via HTTP... His response was ... drumroll... it is posted to a secure site so the credentials are encrypted and can't be compromised.

      There is no arguing with stupid or those who willfully subvert browser security features for marketing and or checking off security boxes on the compliance chart even if you (should) know better.

      Meanwhile I was reasonably impressed by HSBC, who fixed their website in about a day when I told them they were including HTTP objects in the HTTPS login page. That said, they still include some objects from third party servers, over HTTPS (notably, Google advertising). IMHO the browser should warn you if thre are any objects on an HTTPS page that aren't covered by the certificate displayed in the address bar.

  • Excuse me? Not my bank. My bank brings up a secure photo from one server and a secure message from another while logging in. If I do not see on the login screen the image and the text, it's not my real banking page no matter what the URL says in the address bar. It'd have to be such an unbelievably targeted attack to intercept the real page and replace it after the fact that it's not likely.
    • by Anonymous Coward

      That is trivially broken.

      You need out of band preshared secrets, like a physical OTP dongle, or a paper slip with OTP keys. Otherwise you are just deluding yourself.

      • by jonwil ( 467024 )

        By far the best security measures I have seen for banks are:
        1.Devices that look like the machines you see at retailers that you use to pay with credit/debit/bank cards (but connect via USB or bluetooth to a PC or phone) and that take your card and PIN and securely encrypt it all before sending it to the bank, meaning even a compromised local PC/phone wont give an attacker any ability to steal money
        and 2.A device that looks like a calculator where you input the account number and transaction amount for the t

        • Re: wrong (Score:5, Interesting)

          by emilv ( 847905 ) on Tuesday March 04, 2014 @03:55AM (#46394733)

          The system used by most Swedish banks:

          * The bank website gives you a random number as a challenge
          * You input the number to a device together with your PIN (some banks also require you to insert your card into the device)
          * You get a new number from the device that you input on a web page

          The web pages are obviously encrypted with HTTPS using an EV-SSL certificate.

          It used to be that the challenge was an account number or an amount but that is no longer the case due to the possibility of a replay attack.

          • I want this kind of system everywhere. Online shopping, bank authentication, retail establishments... I to enter a vendor ID and amount into my own, bank-provided device. I enter my card and pin, the device does does $math with the date and time (synch'd with bank servers at home while setting up internet banking), and the device gives me a code to enter into the merchant's terminal.
          • by Mashiki ( 184564 )

            Want to know what's funny? The majority of banks worldwide don't have that method of security, most don't even use or supply some form of key code challenge using a keypass generator. But, you take a look at a whole pile of MMO's out on the market, and in Blizzard's case their entire gaming front-end and you have a remote authenticator.

            What does that say about the general security of banking? Not much. Especially when a company like Blizzard effectively gives their authenticators away and you pay for sh

      • by grahamm ( 8844 )

        Even that does not help. These mechanisms only authenticate you to the bank, not the bank to you. A spoof bank site could still request the OTP password or output from the dongle and accepr whatever response you give.

    • by Anonymous Coward

      If by unbelievably targeted attack you mean any of the lowest common denominator of malware that is so fucking frequent it's even routinely used in corporate security....

      - basic memory scanning... that'll work, used by antivirus
      - setting a proxy in your browser and adding a single extra CA to the list... that'll work... used by network scanners
      - dns hijacking + extra CA... that'll work (yes, your router is easy to jack the DNS of, and your computer probably is poisonable).. used by network scanners
      - https s

  • Could it be the chances of grabbing a really fast internet connection are better there than in the US?

    In any case, my thanks to the OpenWrt folks!

    • by AHuxley ( 892839 )
      Multinational firmware? Was started by a group for some reason in that region and it was found/spread/lost/spotted/coverted?
      Gov watching dissidents, protesters and method was repurposed by others after EU based contractors work leaked?
      Or just something in the easy default telco setups in that region that made something very easy?
      Or a wide spread use covers very unique actions once exposed and Asia or the EU.
      It could be new or old firmware that was used that made it easy to get around hard user changed
  • 208.67.222.222 and 208.67.220.220
    and make http://www.opendns.com/welcome/ [opendns.com] your homepage .
    Client settings should override router defaults
    To be even safer use OpenWRT https://en.wikipedia.org/wiki/OpenWrt [wikipedia.org]
    • Doesn't seem to offer IPv6 gateways
  • Was this attack done only on the IPv4 addresses of routers, or on the IPv6 addresses of dual stack routers as well? Just wondering whether that could have been averted that way.

    Wondering whether this attack would have overlooked routers that were on IPv6-only networks

  • Am I right in thinking that this would be mitigated by use of openDNS, or google's 8.8.8.8 or similar?

  • I'm in the process of phasing mine out and building one with Debian (working on it today). Pretty scary.
  • I would say it's most likely a state agency involved in this.

  • Is there any way to tell if your router has been compromised?

Real programmers don't bring brown-bag lunches. If the vending machine doesn't sell it, they don't eat it. Vending machines don't sell quiche.

Working...