Number of Rogue DNS Servers on the Rise
bosoxsux writes "Rogue DNS servers are an increasingly popular tool for scam artists, according to a new report. Their numbers are on the rise, in part because they're difficult for antivirus software to deal with. 'There are now approximately 68,000 rogue DNS servers across the Internet, The authenticity of the sites such servers redirect to varies greatly, from near-perfect copies to laughably bad, but the problem they represent is quite serious. Once an end user's computer has been modified to use a poisoned DNS server, the system can be directed to any fake web site the malware author feels like serving up.'"
how the heck would I ever get anyone to use it? Most are set by DHCP from your ISP, and they usually run their own DNS.... and I certainly wouldn't use one randomly....
Once a machine has been compromised you can add your own certificate server to the list too. And start handing out certs for whatever bullshit you want.
“Common sense is not so common.” — Voltaire
SSL
netsh interface ip set dns "Local Area Connection" static 4.2.2.4
netsh interface ip add dns "Local Area Connection" 4.2.2.1 index=2
Doesn't seem to hard to fix this exploit, sneaky as it may sound. Of course, run FF/NoScript etc...
"Once an end user's computer has been modified to use a poisoned DNS server" .. it's right there in the post. You don't even have to RTFA.
“Common sense is not so common.” — Voltaire
So will that server have the real URL for a legit site and then be able to fake you out? Also when is this internet 2 that I hear about all the time gonna come out. I like the ideas of a newer, faster, sexier (I dunno how it would be sexier...) internet that has more control over content allowed in and services, etc etc.
To see a few of my Android apps goto: www.hartwired.com
After all, one must set your computer to use one of those servers.
I can think of a few possible ways to do this--a worm that modifies default-passworded routers, for instance, would be capable of modifying DNS entries at the router level--but is there an easy exploit to do so at the end-user's computer? Or a method of modifying the DNS via a browser window?
In Xanadu did Kubla Khan
A stately pleasure dome decree
You can run Rogue on a DNS server? Sweet! I know what I'm doing this weekend...
I'm waiting for a "-1 somepeoplejustshouldn'tgetmodprivileges" meta-moderation.
So we have to know exactly which DNS to use then. This is not good, most people don't know and don't care to find out about such things. But a computer has to be infected in the first place for DNS to be spoofed, so as long as there are no infected computers... oh...
You can't handle the truth.
Whenever I set up the network infrastructure for a business, particularly on that has a lot of laptops, I make sure to intercept all DNS traffic and redirect it to a local server (since most of the boxes are routers, firewalls, NTP and DNS servers all in one, on (Open|Free)BSD this is easier).
For PF, it's as simple as:
rdr pass on $if proto {tcp,udp} from any to any port 53 -> 127.0.0.1 port 53
If you still use IPFilter, use this rule in ipnat.rules:
rdr de0 0.0.0.0/0 port 53 -> 127.0.0.1 port 53 tcp/udp
I should probably not do that anymore.....
Now I'm afraid that I'm a victim of this scam. It looks like this "Slashdot" site I've been using could actually be nothing more than a bad spoof...
If ISPs would offer an optional "cleaning" service to block suspicious activity not only would fewer people fall victim, but the bang-for-the-buck would go down and it might not be worth the scammer's effort.
A cleaning service would act like a deep-packet-inspection router but at the ISP head end.
Useful services to offer:
* net-nanny/thinkofthechildren content blocking
* block known hostile/poisoned sites
* tattletale/reporting
* time-of-day blocking
* login-required services - no port 80 or 443 without a cookie identifying which member of the family is using the computer
* DNS interception/reroute to canonical ISP DNS
* DNS interception/reroute to modified-for-the-customer ISP-provided DNS
* DNS interception blocking DNS to known rogue sites
* much, much more
* Arbitrary, customer-controlled port blocking for inbound and outbound ports
ISPs should offer "protect the network" or "protect from criminal activity" blocks like poisoned-DNS blocks for free/build the cost into their basic rates, and charge a premium for parental-control/business-use-control services.
Of course they shouldn't force anyone to use these services if they don't want to.
Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
Try it: resolver1.opendns.com and resolver2.opendns.com return a CNAME for www.google.com. When you use OpenDNS, your browser really connects to google.navigation.opendns.com instead of www.google.com, and that name resolves to an OpenDNS IP address. Bet you didn't expect that from a service which touts to be "Open" something...
If an ISP expects me to use their DNS service, they have to tell me, either up-front or as part of the DHCP configuration request.
Otherwise, I'll have to use someone else's DNS or do without.
Knowledge is how to play a game, intelligence is how to win, wisdom is knowing what game to play.
A malicious software purported for an unrelated application could easily ask a user to authenticate with admin credentials during the installation.
/Applications ?
Wham-bam, the porn-viewer, or icon-designer has now changed your DNS settings...
Considering that most OS X virus scanners are still either in infancy, or completely ineffective this would be an easy target.
What's the best strategy against something like this? Installing apps in ~/Applications vs
Maybe Apple could make that the default behavior, or at least a user preference via Account settings.
If you don't know what AltaVista is (was), get off my lawn.
It's too bad they only linked to the AP story in this submission, which can be found everywhere, and didn't bother to mention the researchers in question (David Dagon, Chris Lee and Wenke Lee of the Georgia Institute of Technology and Niels Provos of Google).
Unfortunately, it's harder to find a direct link to their paper. This was the best I could find, but it doesn't actually have the paper as best I can tell.
Ooooh, you cannot reach me now
Ooooh, no matter how you try
Goodbye, cruel 'Net, it's over
Surf on by.
Sitting in a bunker here behind fire-wall
Waiting for the worms to come.
In perfect isolation here behind fire-wall
Waiting for the worms to come.
We're {waiting to succeed} and going to convene outside Pharmington
Dot Com where we're going to be...
Waiting to infect their PC.
Waiting to read all their e-mail.
Waiting to follow the worms.
Waiting to set up fake bank sites.
Waiting to update the rootkits.
Waiting to smash in their windows
And change their config.
Waiting for the final solution
To "clean up" this strain.
Waiting to follow the worms.
Waiting to gather their idents
And pretend to be them.
Waiting for windows based desktops
and laptops and cell phones.
Waiting to follow the worms.
Would you like to see deposits
bank, again, my friend?
All you have to do is follow the worms.
Would you like to send your credit rating
Home to me, my friend?
All you need to do is follow the worms.
If you mod me down, I shall become more powerful than you could possibly imagine.
So far, so nothing much. However, it's the first response to queries that matters, not who responds. So if your DNS has false entries for other sites, and those entries get back before the real ones do, then the query will return the false results. Oh, I've made use of this feature in helpful ways. I had a problem with an associated group having an unstable DNS server. This made establishing connections unreliable, so I simply transferred the zone to my own DNS server, which (naturally) I'd set up rather better. Problem solved. Totally unassociated network, but DNS just doesn't give a damn.
A malicious person who had the means of poisoning caches or corrupting local entries can use this exact same property to return falsified records for other servers. Any server could be modified to claim to be such-and-such a machine. Makes no odds that it's on a different network, it only has to get the response to the target machine first. You've then got a way of carrying out phishing scams in which the hostname is genuinely fine but the machine that it points to could be anything and anywhere.
DNS has optional security and authentication mechanisms, but nobody uses them so they don't make a difference. Only one infiltrated DNS system would be enough to cause problems, but tens of thousands pushes the problem into the high risk arena.
It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
just block outgoing dns requests from your lan interface, secure your router and make everything on your network use 10.0.0.1 (or whatever) for dns...
The threat described has been understood for quite a while. Standards for applying digital signatures to DNS data have been in the works for a decade and recently there has been a lot of progress in implementation. Current versions of BIND and several other DNS packages provide DNSSEC support. Several Country Code TLDs are signed. Verisign has just announced support support for DNSSEC in the root zone ("."). Check out dnssec.net, dnssec-deployment.org, etc.
Really, think about this. The internet is a zillion of network devices attached. Don't you agree you can create a rogue DNS server just as easy as creating a rouge router. It comes down to how much homework you did when choosing your ISP.
this isn't off topic! it's a funny reply to it's parent, answering the question posed. mods... get a grip!
Dont you have to be kinda stupid to fall for that?
and should be ditched immediately. It's insecure and slow. We should all go back to remembering the dot-quads of the sites we know are safe, the way it was in the good old days.
Enlightenment? It's just a flush in the pan.
If you can find them, and count them, why can't you kill them off as well?
"It's the height of ridiculousness to say for those 9 lines you get hundreds of millions."
Because I use OpenDNS I figured I'd look into this. Apparently the intent of this was to prevent spyware on some Dell computers from completely filling up any typoed addresses with ads. This link goes into more detail:
http://blog.opendns.com/2007/05/22/google-turns-the-page/
Yeah, actually this is *exactly* why I use OpenDNS.
As you probably already know (why else are you posting as an AC?) this is a workaround for a nasty thing that Dell and Google have come up with to present the user with a screen full of ads when they make a typo in the search box. It's installed by default on new Dell machines. It's impossible for an ordinary user to to turn off. I'm a hardcore techie and I had a rough time with it on my new Inspiron. More details here: http://blog.opendns.com/2007/05/22/google-turns-the-page/
So, AC, do you work for Google or Dell? Shame on you in either case for spreading this FUD. If you work for Google, even more shame for violating the "don't be evil" policy. Because this is pretty fucking evil, and trying to convince people not to use OpenDNS because of it is even more evil.
No such thing as a rogue DNS, only rogue users or people. A object can not be rogue. There is also no such thing as a evil DNS or a bad DNS. Only Technology used for evil or bad purposes.
FUD? There's no FUD about it: if you use OpenDNS and perform a Google search, your search queries are being proxied through OpenDNS's servers. That's quite a breach of trust because -- unless they've changed something since I last checked -- this proxying of search data isn't exactly advertised to the user in advance. Even if I felt I could absolutely trust OpenDNS with all my data, such covert behavior would still make me uncomfortable.
As for the Google/Dell deal: yeah, it's evil, and the OpenDNS guys are right to bring attention to it. But it's a problem that needs to be solved at the application level, not by mucking around with users' DNS whether they're on an affected Dell or not. It's the wrong place and the wrong approach to solve this problem, and borderline creepy to boot.
I'm not sure why you're so angry with the Anonymous Coward for pointing this out; everything he said was unbiased and factually accurate. If the truth is going to "convince people not to use OpenDNS," then so be it.
Situation recap: Some percentage of Dell customers have incomplete or mistyped URLs handled by a local software which came preinstalled on their computer. Their regular browsing is unaffected, like all browsing of non-Dell customers, including typos and incomplete URLs. To solve this problem for the small percentage of Dell customers who a) know about OpenDNS and b) know how to change DNS settings but c) don't know how to uninstall a browser helper object or install a different browser, OpenDNS redirects all www.google.com URLs for all OpenDNS users, including URLs with session IDs and other sensitive information, through OpenDNS servers.
Even if you think that that is a defensible position, it is still DNS hijacking, and since very few OpenDNS users know about it, it can only be classified as a rogue DNS server. I don't work for Google or Dell and I despise typo-squatting of any kind, but I have to wonder why you think that posting the fact that OpenDNS hijacks www.google.com implies an affiliation. OpenDNS hijacks the most-used domain and is not upfront about it. If that bothers people and convinces them to use a different resolver, it is not because I told them it's going on, but because that's what's going on.
It can't be that hard to remove/ignore.. Or does it hook into other browsers than MSIE as well?
But still, that thing is indeed a little bit disappointing. I'm not sure if OpenDNS has the right to call it spyware though. It seems to fit the definition of adware. But like this, OpenDNS can see everything that's supposed to go to google.com. And IMHO, a truly paranoid person should trust OpenDNS as much as he/she trusts Google... Pot, kettle?
All I can find a a bunch of copies of the AP article.
That doesn't mean, of course, that logging onto a random "linksys" SSID in a residential neighborhood won't actually get you a rogue DNS installed on a virus-infected computer, or a kid's wireless system trolling for passwords from nearby gamerz. But those are at least not *guaranteed* to be hijacking you.
Bill Stewart
New Fast-Compression-only CPR http://preview.tinyurl.com/dy575ks
I don't own a Dell nor do I have any Google software installed on my computer. Why again would I want to have my Google searches hijacked by my DNS provider? How is hijacking search results justified in that case?
Why accuse someone of working for Google or Dell when they say they don't want their searches hijacked?
Note, I don't work for Google or Dell or OpenDNS. Actually I just run BIND 9 on my network to do DNS recursion and get the answers from authority nameservers directly. Cut out the middleman and save yourself a lot of trouble if it is such a big deal.
I wonder if rogue DNS servers know if their hide in shadows and move silently checks fail?
20th century Marxism is not progress...
I have a dial-up connection and am running Zone Alarm firewall. Whenever I connect to the net, Zone Alarm asks me if I want 0.0.0.0:DNS to connect to the net. I always answer no. Then it asks me if I want [the DNS used by my ISP] to connect. I answer yes, and I'm on the net.
Has anyone had similar experience, and does anyone know what this 0.0.0.0:DNS is?
My rogue dhcpd servers ... muhahahaha! thank you ISC...
If you're so concerned about it, use something like Scroogle
It seems that the fundamental problem with DNS poisoning is that the token field of DNS packets is too short to prevent a brute-force or birthday attack. The long term solution is definitely a solution involving certificates, but I think that there might be a short-term solution.
Can a DNS request ask for two domains at once? If so, I think that this sort of attack could be blocked without having to upgrade all servers at once.
In addition to your normal request, you could ask for the IP address of "jl39dl9z.bogus.dns". When the reply comes back, it will naturally say that "jl39dl9z.bogus.dns" does not exist. The garbage name would be used as an additional token - that the server replied with it at all shows that the correct DNS server received the packet and replied. An attacker wouldn't be able to guess it.
Am I totally wrong about this? I don't know the actual DNS protocol.
"Screw Sun, cross-platform will never work. Let's move on and steal the Java language." - Visual J++ Product Manager
Not only that, they are probibly a bit slow.
You can do a ping to the nameserver to see
how close/fast it is. Some nameservers,
have the ping port closed, so it dosnet work all the time,
and if you would not like a knock on your door...
try to avoid poking around the DoD or DHSs security.
Get a look at WhiteHouse.com!!! Hey.....
You read the DNS book. :P
You can also use other DNS roots:
http://en.wikipedia.org/wiki/Alternative_DNS_root
And this is also a reason Dell doesn't like Linux on consumer desktop PCs; they lose all that recurring ad revenue.
now we need to go OSS in diesel cars
I've read TFA and every comment on this page.
Can somebody actually show me a "rogue" DNS server?
What constitutes a "rogue" dns server? One that doesn't track exactly the US Government root or one that has incorrect addresses for sites for commercial gain (ie paypal, banks etc).
About a decade ago a guy went to prison for redirecting the internic by DNS cache poisoning. It was a big deal. Now I'm suppoed to believe 60,000 people are doing it and it's not in the news?
The half dozen or so ISP's around here, and Hughes sat use a "transparent" web cache proxy. Doesn't matter what dns servers you tell your computer to use, you get the dns your ISP wants you to see, at least for web. Other protocols are unaffected. My understanding it this is quite widespread.
Need Mercedes parts ?
It could be possible that your ISP's DNS could have a bad DNS entry of someone could be performing a "man-in-the-middle" DNS requests sniffing and point your computer to one of "their" DNS servers.
"If you're so concerned about OpenDNS playing around with your information, use this other site! They're trustworthy, I swear!" Not convinced.
What you describe is not only incorrect but way overthinking.
Go read up here.
Wow - thanks for that.
I've been using opendns for years - It's faster, reliable, and an easy choice.
I had no IDEA they were returning fake queries for google...... that's just nasty, and maybe even illegal.
Use OpenDNS as your DNS server.
Problem solved as long as you ensure your computers continue to use it.
(Disclaimer: I am a happy user of their service)
They use IP Addresses. If you want more manliness (mod up +1 machismo) use MAC addresses.
One ring to bind them - should probably have more fiber and less rings in their diet.
There was an ISP who also hosts websites. A particular website was hosted with them(it was not operational and it pointed to the ISP homepage), and then they transferred to another host. If you used a connection on that particular ISP then It would still redirect to their homepage. They never changed the DNS settings, rather they don't automatically update their DNS server. When Asked they said that they forgot to change it. I pointed out that DNS servers are supposed to be updated automatically. The website owner was not willing to sue them. This was in 2001 at that time I had posted this in a few forums asking if this was illegal, but nobody knew what I was talking about(at least in those forums which was web design related). Well they are closed now. But I feel these rogue servers can be used by ISP and cyber centres. Otherwise I don't see how these rogue servers could affect someone. AAhhh if a virus/malware/spyware could be written to change the DNS server settings in your network properties then these DNS servers could be dangerous. I think this is the only way they can be used.
I've never heard of that being a major problem. Most people today use routers that you can easily password lock as to the DNS server and other settings. And by default those routers are never accessible on from the Internet even with no password. There are plenty of good alternative DNS servers people use for various reasons that are not rogue or evil. You can fix your DNS server settings even while keeping your IP setting DHCP in the Linux and windows OS so they go to the DNS servers of your choice(usually people use their ISP's by default) and do not rely upon. Host.txt if used or hosts can be locked to root. I think windows settings are encrypted and not easily changeable by any virus.
In my sample code, change 127.0.0.1 to the IP address of the DNS server you wish to use.