english | deutsch | RSS 2.0 | Atom 1.0 | CDF

Contact me: Send mail to the author(s) E-mail

My favorite Blogs

My favorite Board Games

Ultimate Boot CD

Categories on this blog

On this page

Security guru describes DNS flaw, says Internet Armageddon narrowly averted
Five things Microsoft needs to do to fix the Zune
COM Surrogate funktioniert nicht mehr
No Dialtone!
Vista RC2 Translation Bug

Archive

Total Posts: 305
This Year: 1
This Month: 0
This Week: 0
Comments: 1

Disclaimer
The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.

 Friday, August 08, 2008
Friday, August 08, 2008 9:46:48 AM UTC ( bugs | EN | internet | tech )

[QUTOE]

Las Vegas (NV) – The Internet relies on trust, but what if all that trust comes tumbling down?  That’s exactly the problem noted security researcher Dan Kaminsky described today in his Black Hat talk about DNS cache poisoning.  Several months ago, Kaminsky discovered a vulnerability in the DNS protoctol that allowed bogus name information to be sent to other servers and desktop computers – in essence hackers could redirect web surfers, chat clients and even email servers to machines of their choosing.  Specific details about the vulnerability and the ways to exploit it have been kept secret until today …

Kaminsky is the director of penetration testing for IOActive and specializes in playing around with DNS.  He says he found the vulnerability by accident while he was poking around for other “toys”. To fully understand the bug, let’s go into a brief introduction into how DNS or domain name service works.  Network gurus can probably skip the next few paragraphs.

Image

Almost every Internet service you use, from email to web browsing uses DNS convert the easily remembered names like www.google.com, www.youtube.com and others into IP address like 123.456.789.123.  This conversion is needed because people can remember names easier.  Also companies can change names while keeping all their services pointed to the same numerical IP address.
Behind the scenes, DNS servers make this magic happen by holding a database of DNS records which are lists of names with corresponding IP addresses – think of it as a big list of example.com = 123.456.789.123, example2.com = XXX.XXX.XXX.XXX, etc.  Client computers ask for an IP address by sending a DNS request to the server and the server will reply back with the answer.  Of course servers can only hold so much information, and will hand off the request to a more authoritative server, if it doesn’t know the answer.  The requests can be further bounced up the chain until they reach the ultimate or root domain name servers for the Internet.  If these guys don’t know the answer, then the name to IP address mapping doesn’t exist.
Now imagine yourself as a 411 operator who has to find telephone numbers when asked about a certain place - let’s say Outback Steak House in Torrance, California (our favorite place in the world).  On the first call, you’d probably type it into your computer and wait for the answer, but let’s say the place is really popular and you get tons of calls every day for the place.  Eventually, a smart operator would write the number on a Sticky-Note and post it on the monitor for quick retrieval.  Then when a person calls, you simply read the number on the note, rather than taking the time to type it into the computer.  Well this is exactly what DNS servers do in form of cache.
Kaminksy’s DNS bug, as some people are calling it, exploits this cache by sending malicious requests and once a sufficient number of requests have been sent, the hacker can start rewriting the entries.  It’s important to distinguish that the actual records of the DNS server is not corrupted by this bug, rather it’s the entries in the cache itself.
Kaminsky sat down with us afterwards to give us all the gory details that would make the average man’s head explode, but hey that’s why you come to TG Daily isn’t it.  His attack forces your local domain name server (which is probably your Internet router) to basically perform all the work.  The bad guy forces the DNS server to purposely miss the cache by asking for the IP address of crazy domain names like 1.foo.com, 2.foo.com, 3.foo.com.  Your local domain name server won’t know the details so it then asks other servers to obtain the answer.
As requests and replies flow out and back to your local server, the attacker then unleashes a torrent of specially crafted packets to the victim domain name server.  These packets try to guess the transaction ID of the DNS reply which is a number that ranges from 1 to 65536.  The attacker also has to forward the packet to the correct port which in most cases is the default DNS port 53.
The attack is basically a race of a the hacker stream of DNS replies versus the real reply coming from the real DNS server.  Once the victim DNS server receives a reply with a valid transaction ID, the attacker can substitute any IP address for the domain name.  “The hacker’s packet blows away the response from the real server,” Kaminsky told TG Daily.

Image

Kaminsky was kind enough to draw out the attack for us.  The client computer is on the left and the first node to the right is your local domain name server.

Ok, so I’m sure some of you see two big problems with this.  First, how the heck do you guess the correct transaction ID out of more than 65000 numbers and how do you get the local domain name server to issue the query that starts the whole ball rolling?  Kaminsky says most DNS servers simply increment their transaction ids which makes guessing them fairly trivial.  Also some implementations of DNS are run on a buggy random number generator that produces predictable patterns of numbers.  As far as getting the domain name server to issue the query, Kaminsky told use there are at least eight ways that he knows of and probably tons more that he doesn’t.  “Sometimes you can just ask and the server will issue a query, but it’s amazingly easy to get a DNS server to look something up,” he said.

So what does a hacker gain from attacking DNS servers?  According to Kaminsky, owning the .COM dns space would get you pretty much anything you wanted.  Everything from intercepting emails to taking over spam filters could be accomplished.  He even outlined grabbing passwords to webmail and other services by exploiting the “Forgot Your Password” feature used by many vendors.  But perhaps the biggest risk was to SSL security because certificate vendors could be duped into giving certs to bogus companies.

SSL certificate authorities issue the certificates by identifying the applicant through email.  The vendor looks up the domain’s address in WHOIS and then sends an email to the mail address contained in the record.  But if you were able to poison the DNS to redirect Microsoft’s DNS entry, then you could conceivably gain a Microsoft or another large company’s certificate.
Kaminsky found the bug approximately five months ago and initially worked solely with vendors to patch the bug because he feared any leak would invite malicious hackers into taking over the Internet.  “I spent the last few months terrified that companies would have their emails stolen because of a bug I found,” he told us. 
Kaminsky was lambasted by some security researchers because hackers, by their very nature, are quite the peer oriented group.  Those critics were eventually silenced after Kaminsky had a conference call with the doubters.
In a press conference after the talk, Kaminsky told reporters that vendors have been “fantastic” in responding and patching the bug.  Microsoft even hosted a summit on March 31st where Kaminsky and fellow researchers flew to Redmond Washington in a marathon session to hammer out a fix – something that took thousands of man hours and “thousands of pizzas”.
That patch, dubbed the “sledgehammer fix” by Kaminsky, randomized the transaction IDs and upped the range to more than a 100,000,000 possibilities.  Hopefully a competent IT administrator would notice hundreds of millions of malicious packets hitting their DNS servers, Kaminsky said.
On July 8th, most of the major vendors like Microsoft, Sun, Cisco and Red Hat had patched their servers and Kaminksy has stayed in constant contact with major web companies like MySpace, Craigslist and eBay, all in the hopes of educating IT administrators of the problem.  “I’ve been on the phone a lot, a whole lot,” he said, adding that he doesn’t want to look at his mobile phone bill for the last month.
But Kaminsky warns that the danger isn’t completely over and that the next bug may not come with as much warning and the hacker finding it may not be as considerate.  “They probably won’t be as friendly as me,” he said.
[/QUOTE]

Source: www.tgdaily.com

| Trackback | # 
 Wednesday, March 21, 2007
Wednesday, March 21, 2007 2:48:42 PM UTC ( bugs | EN | microsoft | multimedia )

[QUOTE]
We're not trying to hate, but we think it's about time Microsoft acknowledged that the ball's been dropped -- and then pick it back up. Stop promising bug fixes and vaporous new features, and stop talking about future Zune products when the current product is ailing. Here are five simple things Microsoft should do to fix the Zune right now, and even make it into a somewhat aggressive contender in one of the most cutthroat gadget categories. In order:

  1. Fix the DRM, syncing, and system bugs, and get firmware v1.3 out the door!
  2. Add useful WiFi features: wireless streaming to friends, Zune Pass (subscription) song transfer to friends' Zunes (á la MusicGremlin), computer-free downloads content downloads.
  3. Add podcast and vidcast support. It doesn't even have to be as comprehensive as the iTMS, just a basic RSS reader / enclosure scraper or something.
  4. Increase codec support. Go out on a limb and add open (read: free) codecs like FLAC, APE, OGG, XviD; if you really want to make your customers happy, belly up to the bar and license DivX.
  5. Drop the price. For most consumers, there is still a huge mental barrier in paying $250 for a Zune when you can pay the same $250 for an iPod. One isn't necessarily better than the other, but people really love the iPod. Make it $230 MSRP, and let that sink down to like $210 for online retailers. People will freak out that this player, that does all these things it does, is barely more than two bills.

[/QUOTE]

Full Story: engadget.com

| Trackback | # 
 Thursday, December 21, 2006
Thursday, December 21, 2006 9:05:33 PM UTC ( bugs | DE | microsoft | vista )

Wenn man regelmäßig bei Dateioperationen oder auch nur beim Öffnen von Ordnern die Meldung "COM Surrogate funktioniert nicht mehr" erhält, dann liegt das meist an fehlerhaften Video-Codecs (nicht Vista-kompatible Codecs). Außerdem stürzt das Windows Media Center beim Zugriff auf das Videos Verzeichnis deswegen auch ab!

Bekannt als Auslöser für das Problem sind vor allem alle Nero-Versionen vor 7.5.9.0 !!! Nach dem Deinstallieren von Nero tauchte der Fehler nicht mehr auf!

| Trackback | # 
 Monday, November 13, 2006
Monday, November 13, 2006 3:38:06 PM UTC ( bugs | EN | funny )

Someone has forgotten something :)

| Trackback | # 
 Saturday, October 28, 2006
Saturday, October 28, 2006 12:33:35 PM UTC ( bugs | DE | EN | funny )

I tried to burn a DVD ISO on Vista RC2 ... yeah, check this beautiful german translation of the error message:

fehlermeldung.jpg

| Trackback | #