Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Drive-By Pharming In the Wild

Posted by kdawson on Tue Jan 22, 2008 07:08 PM
from the just-change-the-default-password-already dept.
An anonymous reader writes "Symantec reported Tuesday that the first case of drive-by pharming, in which a hacker changes the DNS settings on a customer's broadband router or wireless access point and directs the link to a fraudulent Web site, has been observed in the wild. The first drive-by pharming attack has been observed against a Mexican bank: 'It's associated with an e-mail pretending to be from a legitimate Spanish-language e-greeting card company, Gusanito.com,' says Symantec Security Response principal researcher Zulfikar Ramzan. Inside the e-mail is an HTML image tag but instead of displaying images, it sends a request to the home router to tamper with it."
+ -
story

Related Stories

This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • Pfft (Score:5, Insightful)

    by Kalriath (849904) on Tuesday January 22 2008, @07:14PM (#22146084)
    So, I suppose this "hack" fails entirely on any router which... well, either has a default password or (like any high end router) doesn't use HTTP basic authentication? No worries for me, my 3com is safe as houses.
    • by Anonymous Coward on Tuesday January 22 2008, @07:53PM (#22146656)
      If you have a home network, there are several ways to secure it. Every router that I have ever owned have several characteristics. Look for the 'reset' key, make sure it is there and not like Asante where you have to short terminals 3 and 8 on the serial port...showin my age there folks. Make sure it is a real router and not a windows appendage. Do NOT use a PCI modem that you cannot disconnect fast. Use an external modem on a SERIAL port. Do not use a combination cable modem/router. This is foisted on many users, and as a default feature sets up remote administration from the outside. That remote admin 'feature' is 'supposed to allow customer engineers to help......' you out of all your money. Don't surf as administrator if microsoftintheheady or as root if a linux penguin. Thats just askin to get hosed. Yeah, I'm a ramblin old fart, but all these things I have picked up from experience. Definitely change the default password, 'admin' or whatever on the router to something realllly strange and long. Write that password down and put it in your wallet, your wife's ring box, or whatever. Do not even try to memorize it as you will forget it when you need it. Don't use 'DHCP' that routers and network vendors want you to do. This means that all home networks are on 192.168.1.0 or some predictable net address that all hackers try first. Use a REAL network with a real address like 192.168.205.89 or something. This forces hackers to really fail many many times in guessing your network setup. With a real network, hand out your own addresses and make them random in the third and fourth hex digits so that hackers will have to guess out each and every terminal on your net. Now add MAC security to your router so that the hacker not only has to correctly guess from a crore of non standard addresses to address it, but only those with the right computer NIC can even be qualified to guess the password! Having a switch available to shut down suspects in a hurry helps too. I could go on, but if you have followed all this rambling, print it out and do it.
      • by adolf (21054) <adolf@phreaker.net> on Wednesday January 23 2008, @12:59AM (#22149484)
        Good advice.

        But you forgot something: When a friend brings their PC/PSP/PS3/Wii/Xbox/iPhone/iPod over, and wants to use it with teh Intarwebs, go ahead and set it up and give them the passphrase and IP assignment, but make sure you destroy your friend before they leave.

        You can't allow any chance of your uber-obscurity leaking outside, right? Eventually, you'll eliminate all of your friends, but that has the nice benefit of eliminating the potential leaks.

        Naw, better to keep it simple. Don't run as root/admin. Set an unusual password (something other than your SO or child's name is adequate). Set a different, unusual, and lengthy, WAP passphrase. Use the strongest encryption you can with the devices on your network (AES, AES / TKIP, or just TKIP, in order of preference).

        Done.

        MAC filtering? Disabling DHCP? IP address range hide and seek?

        Bullshit. All that does is make it harder for you and the people you trust to use the network. And if I, the creepy dude in the van across the street, get to a point where any of those stupid tricks will start to matter, they won't make any difference at all. If I'm clever enough to get past WAP, then I'm clever enough to clone a MAC address while sniffing past the rest of your security-through-obscurity features.

        [And what's all that talk about serial ports? Are we still in 2008, or did we just jump back 10 years?]

  • by Zymergy (803632) * on Tuesday January 22 2008, @07:20PM (#22146190)
    • by Gideon Fubar (833343) on Tuesday January 22 2008, @08:18PM (#22146948) Journal
      There are 3 major combinations of default username/password comnbinations that cover the vast majority of home routers. They are U:admin P:admin, U:admin P:password and U:admin P: (that's right.. NO password.) This is true of Linksys, Dlink, Netgear, etc. With a bit of searching, you can even find this out from their very own websites.
  • Captcha? (Score:5, Informative)

    by tedhiltonhead (654502) on Tuesday January 22 2008, @07:21PM (#22146200)
    It sounds like a simple captcha image on the router's login page would thwart this.
  • by xtracto (837672) on Tuesday January 22 2008, @07:22PM (#22146210) Journal
    2Wire DSL routers to point the user's Web browser to a fraudulent bank site that mimics the site of one of the largest Mexican banks.

    There is not much space to guess here, it is either Banamex or Bancomer...
  • Definition? (Score:5, Interesting)

    by WarJolt (990309) on Tuesday January 22 2008, @07:23PM (#22146220)
    What does "drive-by" have to do with this kind of hack? Oh sure we've all logged into neighbors wireless routers and snickered because they've left the default password. Somehow I think "drive-by" part was coined by a guy who thought of exploiting unsecured wireless routers and changing DNS settings. Am I the only one who doesn't think "drive-by" applies to this kind of attack?
  • by ddrichardson (869910) on Tuesday January 22 2008, @07:24PM (#22146234) Homepage

    Anyone else notice that BT are taking this seriously - log on to the router's home page and it tells you they have changed the default admin password (well it will when you enter the unit's serial number as the admin password.

  • by GreggBz (777373) on Tuesday January 22 2008, @07:26PM (#22146276) Homepage
    If Bioware can sell $30 software with unique CD-Keys printed on the inside of each jewel case, why can't Linksys sell $40 routers with unique admin passwords printed on each manual. Or better yet, make the default password the last 6 digits of the LAN side MAC address, that can't be terribly hard to manufacture.

    Seriously, you could even honestly market them as "more secure."

    • by moderatorrater (1095745) on Tuesday January 22 2008, @07:43PM (#22146522)
      Several reasons. First, it's easier to change what gets stamped into a cd than what gets set into the silicon. Second, the cd key isn't actually unique to the CD, it just conforms to an algorithm that determines whether or not the cd key fits the criteria for the software and then, when on the network, checks to make sure that the cd key was actually sold and that it's unique.
      • by crymeph0 (682581) on Tuesday January 22 2008, @09:29PM (#22147736)

        It's easier to change what gets stamped into a cd than what gets set into the silicon

        Nope. I do embedded software, and write the test suite all those devices go through before being shipped to the customer. It's pretty standard to set custom stuff at that time, including the MAC ID for the unit. It would be just as easy to change the password at that time.

        Your comment about the CD key, however, is right on.

        • by Compholio (770966) on Tuesday January 22 2008, @08:48PM (#22147324)

          It would be trivial to use the LAN MAC address as the default password.
          It would also be trivial for someone to run "arp" while connected to your access point. I agree that they need to use a random default password, but the MAC address would not be sufficient.
    • by blair1q (305137) on Tuesday January 22 2008, @08:28PM (#22147040) Journal
      Because software can pop up a box on your screen saying "go look for the sticker on the box and type the letters and numbers (and maybe the dashes or maybe not, your guess is as good as ours) you see there into this box here then click the button that says 'OK'".

      Hardware says "blink"..."blink"..."blink"... and user calls customer support, adding $10 to the cost of every sale.
  • by Itninja (937614) on Tuesday January 22 2008, @07:32PM (#22146360) Homepage
    ...that this doesn't happen more often. I can drive through Seattle (and presumably any large city) with my laptop running a wireless network sniffer. After about 10 blocks, I could easily get into no less than 25 wireless routers. They are all configured with the default credentials. Of course, I don't. Sometimes, when it's a law firm, government agency, or some other organization with tons of [other peoples] personal information, I will even call them up and let them know about it, as a courtesy. They usually tell me to take a hike. Then I can show up at their door offering my services as a 'security consultant' (for $200/hr). 'Look here' I say. 'Look how I am easily changing the settings in your router.'. That's usually about the time they wet their $400 slacks and write me a check.
    • by Anonymous Coward on Tuesday January 22 2008, @07:55PM (#22146672)
      I presume you're being funny. What you're doing there is just as likely to land you in the hoosegow as a suspected terrorist or something of that nature as it is to make you money. This is not a time in U.S. history where being a Good Samaritan is even remotely a good idea.
    • by canUbeleiveIT (787307) on Tuesday January 22 2008, @08:32PM (#22147090)

      ...that this doesn't happen more often. I can drive through Seattle (and presumably any large city) with my laptop running a wireless network sniffer. After about 10 blocks, I could easily get into no less than 25 wireless routers. They are all configured with the default credentials. Of course, I don't. Sometimes, when it's a law firm, government agency, or some other organization with tons of [other peoples] personal information, I will even call them up and let them know about it, as a courtesy. They usually tell me to take a hike. Then I can show up at their door offering my services as a 'security consultant' (for $200/hr). 'Look here' I say. 'Look how I am easily changing the settings in your router.'. That's usually about the time they wet their $400 slacks and write me a check.
      --

      "It's a simple question, doctor.
      Would you eat the moon if it was made of ribs, or not?"


      CORRECTION: Would you eat the moon if it were made of ribs, or not?

      In this case, the verb "to be" is in the subjunctive mood, which is used to indicate a situation that is hypothetical, conditional or somehow not certain.

      Now, this correction is just a courtesy. However, if you tell me to take a hike, I will show up at your door with A Writer's Reference by Diana Hacker, and you can scratch me out a check. Sorry, I don't know how much you paid for your pants.
  • by Anonymous Coward on Tuesday January 22 2008, @07:41PM (#22146506)
    nothing to see here... move along, folks
  • DNS cache poisoning (Score:4, Informative)

    by the_kanzure (1100087) on Tuesday January 22 2008, @07:49PM (#22146612) Homepage
    src [trusteer.com]

    The paper shows that BIND 9 DNS queries are predictable i.e. that the source UDP port and DNS transaction ID can be effectively predicted. A predictability algorithm is described that, in optimal conditions, provides very few guesses for the "next" query (10 in the basic attack, and 1 in the advanced attack), thereby overcoming whatever protection offered by the transaction ID mechanism. This enables a much more effective DNS cache poisoning than the currently known attacks against BIND 9. The net effect is that pharming attacks are feasible against BIND 9 caching DNS servers, without the need to directly attack neither DNS servers nor clients (PCs). The results are applicable to all BIND 9 releases [1], when BIND (the named daemon) is in caching DNS server configuration.
    Langfeldt's DNS how-to [tldp.org]
  • Pharming??? (Score:5, Funny)

    by jez9999 (618189) on Tuesday January 22 2008, @08:01PM (#22146748) Homepage Journal
    Will these terrible names, which apparently attempt to draw an analogy between a computer-related misdemeanor and some agricultural pastime, never end? I'm just waiting for some guy from F-Secure to call porn 'phucking'.
  • Let me explain (Score:5, Informative)

    by Pasajero (164368) on Tuesday January 22 2008, @09:01PM (#22147456)
    I live in Mexico, and yes, the bank name is Banamex (owned by Citibank) and this is how the hack works:

    The most prominent ISP in Mexico (Telmex) uses 2wire gateway modems, most of them wireless enabled. Security is turned on by default using serial numbers so no one from outside can login "easily".

    However, there is no default security from the inside, so the gusanito.com postcard contains a malicious flash program that sends a special URL to the modem that adds a DNS entry to its local name resolution table pointing www.banamex.com to a pharming site.

    Next time you open IE or any other browser and open www.banamex.com you'll get redirected to the other site.

    This easily solved putting a user password on the modem configuration, but not all people care to do that.
  • by steveha (103154) on Tuesday January 22 2008, @09:38PM (#22147848) Homepage
    As I understand it, even with this so-called pharming technique, the bad guys still cannot correctly spoof an "https:" page... at least not without compromising the private key used to secure the SSL connection, or compromising the private key of the certificate signing authority.

    When I explain to people how to use the Web, I always tell them to look for the security indicators [oreilly.com] before doing anything involving money.

    P.S. I wouldn't be surprised if the bad guys here added Javascript code to their fake bank site, to rewrite the address bar of the web browser to show the "https:". This is why I prefer to do all my online banking with Javascript disabled; thank you, NoScript [noscript.net].

    steveha