On TechRepublic: 12 tech terms that make you sound old
BNET Business Network:
BNET
TechRepublic
ZDNet

August 9th, 2007

UPDATE: ATI driver flaw exposes Vista kernel to attackers

Posted by Ryan Naraine @ 8:28 pm

Categories: Black Hat, Botnets, Browsers, Data theft, Digital rights management, Exploit code, Hackers, Microsoft, Patch Watch, Pen testing, Responsible disclosure, Rootkits, Spyware and Adware, Symantec, Viruses and Worms, Vulnerability research, Windows Vista, Zero-day attacks

Tags: Attacker, Driver, Microsoft Windows Vista, ATI Technologies Inc., Kernel, Tool, Flaw, Ryan Naraine

In Focus » See more posts on: Vista

(See update below for official response from ATI)

An unpatched flaw in an ATI driver was at the center of the mysterious Purple Pill proof-of-concept tool that exposed a way to maliciously tamper with the Windows Vista kernel.

Purple Pill, a utility released by Alex Ionescu and yanked an hour later after the kernel developer realized that the ATI driver flaw was not yet patched, provided an easy way to load unsigned drivers onto Vista — effectively defeating the new anti-rootkit/anti-DRM mechanism built into Microsoft’s newest operating system.

signed_ati_driver.png

In an interview, Ionescu confirmed his tool was exploiting a vulnerability in an ATI driver — atidsmxx.sys, version 3.0.502.0 — to patch the kernel to turn off certain checks for signed drivers. This meant that a malicious rootkit author could essentially piggyback on ATI’s legitimately signed driver to tamper with the Vista kernel.

[ SEE: Vista kernel tampering tool released, then mysteriously disappears ]

“I didn’t know the [ATI] driver wasn’t patched,” Ionescu explained. He said he found out about the flaw from Joanna Rutkowska’s Black Hat presentation (see .ppt file) and assumed it was something that was already fixed. “I wanted to be responsible about releasing the tool so I pulled it,” Ionescu said, dismissing talk that he was pressured by Microsoft or Apple (where he is interning for the summer).

Ionescu said he discussed the issue with Microsoft and will likely re-release the tool after a patch is released.

A spokesman for Microsoft said the company is aware that an ATI driver might be “potentially vulnerable.”

“Microsoft is in contact with ATI to help address this issue and once fixed we will assist in getting it to our customers,” he said. “To the best of our knowledge, Purple Pill was a proof of concept demonstration tool that was available for a very limited time and is no longer available.”

Ionescu said the tool was available for about 78 minutes and was downloaded 39 times.

[ SEE: Hardware-based rootkit detection proven unreliable ]

Among those downloaders were folks at Symantec. Eric Chien, a senior manager on Symantec’s security response team, said his team looked at the Purple Pill code and was able to pinpoint the ATI driver as the culprit.

“Basically, that ATI driver has functionality that allows you to read and write kernel memory. It’s either a bug or a feature of the driver. We’re not sure why they’re using it but because it’s both signed and allowed to read/write kernel memory, any third party can use that driver to do the same thing,” Chien explained in a telephone interview.

Symantec has deemed Purple Pill a hacking tool that can be used for malicious purposes and has shipped a definition update for its anti-malware products.

A spokesman for ATI said the company is investigating. (See update below)

It is likely that Microsoft will use its automatic update mechanism in Vista to ship a patch for this buggy driver. The company cannot revoke the certificate for the driver because, as Ionescu explained, it’s already embedded in about 50% of all Vista laptops — and any revocation will affect those machines.

Even after this is fixed, Ionescu said this episode points to a bigger issue of risks introduced by buggy third-party drivers.

“This is not a problem that will go away soon. As Joanna has already shown, anyone can get a driver signed. Now we know that even signed drivers have bugs that open up new ways to load something unsigned into the kernel,” he said.

Ionescu suggested deeper collaboration between Microsoft and third party driver makers to improve the quality of code loading onto Vista. “Maybe they can do some code reviewing or require tests on drivers before they are signed. Something will have to be done because this is not only an ATI problem.”

 [UPDATE: August 11, 2007 @ 11:20 AM] ATI has confirmed the bug, which affects the AMD Catalyst software package. Here’s a statement from AMD spokesman Jon Carvill:

“The market recently discovered a potential security vulnerability that could impact AMD’s Catalyst software package. After immediate investigation, AMD determined that a small section of code in one the files of our installer package file is potentially vulnerable. The AMD plan is to provide a new ATI Catalyst package no later than Monday, Aug. 13, 2007, that resolves this vulnerability.  We strongly recommend that desktop ATI Radeon graphics users update to Catalyst version 7.8 once it is available on http://ati.amd.com/support/driver.html.  AMD and Microsoft are also investigating additional distribution channels for this update. This vulnerability was not exclusive to AMD.”

In all likelihood, Microsoft will push this down to Windows Vista users on Patch Tuesday (August 14th) via the automatic update mechanism.

Ryan NaraineRyan Naraine is a journalist and security evangelist at Kaspersky Lab. He manages Threatpost.com, a security news portal. Here is Ryan's full profile and disclosure of his industry affiliations.


Email Ryan Naraine

For daily updates on Ryan's activities, follow him on Twitter.

Subscribe to Zero Day via Email alerts or RSS.

  • Talkback
  • Most Recent of 56 Talkback(s)
Riiiiiight!
In that case, Vista stands about as much
chance as a snowball in hell, huh? (Read the rest)
Posted by: Ole Man Posted on: 08/15/07 You are currently: a Guest | | Terms of Use
Just over 6 months....  bportlock | 08/10/07
Mmm ....  fredsmith6 | 08/10/07
I agree  bportlock | 08/10/07
Indeed.  fredsmith6 | 08/10/07
MS is too tight already, time to sign off  intrepi@... | 08/13/07
Good Job ATI  nucrash | 08/10/07
rock solid??  kRogue | 08/10/07
You're right - lots of buggy drivers on Vista  WiredGuy | 08/10/07
so this is just par for the course for MS?  jjarman | 08/10/07
Microsoft did certify drivers for Windows 2000.  ShadeTree | 08/13/07
Way off base.  ShadeTree | 08/13/07
How about you dry them out and enlighten us  intrepi@... | 08/13/07
needless to say....  Linux Geek | 08/10/07
Trouble is...  Azriphale | 08/10/07
Linux drivers....  hoos30 | 08/10/07
Yea, this is a big one. A data retrieval corked me into .......  RobeTirm@... | 08/10/07
WTF...  bportlock | 08/10/07
Gibberish Rant?  Jaytmoon | 08/10/07
What are you smokeing dude :S (NT)  SO.CAL Guy | 08/10/07
Why does this sound like...  brendthess | 08/10/07
i agree, a big one corked me too wink  jjarman | 08/10/07
cork me in too .......  ReincarnatedMan | 08/10/07
Just ONE more reason...  Headspin | 08/10/07
HUH?  Jaytmoon | 08/10/07
How many other drivers have this issue?  Narg | 08/10/07
hummm....  dwest_z | 08/10/07
So is this a Windows Flaw or an ATI flaw?  el1jones | 08/10/07
Well , gollliiieee mister .  MythBuster | 08/10/07
It's not a "flaw".  Resuna | 08/10/07
re: It's not a "flaw".  MythBuster | 08/10/07
Sorry But  andrew@... | 08/11/07
No, really, it's not a flaw.  Resuna | 08/13/07
ATI driver flaw exposes Vista kernel to attackers  oggy2 | 08/10/07
Nvidia's drivers  dragosani | 08/10/07
it's pure FUD because this ATI's flaw requires administrative privileges  qmlscycrajg | 08/10/07
sorry, but you are mistaken!  jjarman | 08/10/07
If it's my computer, it's my business what drivers I have in my kernel.  Resuna | 08/10/07
absolutly - signing is the worst option for driver security  jjarman | 08/11/07
NO DRIVER NO CARD  BALTHOR | 08/10/07
Par for the ATI course  Boot_Agnostic | 08/10/07
Other sources disagree  rtk | 08/10/07
Nvidia's drivers have been plagued...  bjbrock | 08/11/07
What "malicious" tool?  Resuna | 08/10/07
My screen reader (ZoomText) is able to read a crossed-out text.  Grayson Peddie | 08/11/07
The strikeout feature is not meant to obscure ....  ShadeTree | 08/13/07
Honest Question  spincitysd@... | 08/11/07
even if  rebelxhardcore | 08/12/07
How did this become a SIGNED driver ?  blarman_z | 08/13/07
It's ALL Microsoft's fault!  Ole Man | 08/13/07
Linux Kernel i965 Chipsets Privilege Escalation Vulnerability  qmlscycrajg | 08/14/07
Oh Me!, Oh My!, Whatever will Linux do?  Ole Man | 08/14/07
Anything has potential for crashing Vista  intrepi@... | 08/13/07
Linux Kernel i965 Chipsets Privilege Escalation Vulnerability  qmlscycrajg | 08/14/07
One security vulnerability  Ole Man | 08/14/07
Only takes one.  croberts | 08/15/07
Riiiiiight!  Ole Man | 08/15/07

What do you think?

SponsoredWhite Papers, Webcasts, and Downloads

advertisement

Recent Entries

Premier Vendor Content Whitepapers, webcasts & resources from our Power Center Sponsors
Keep Up With The Latest In Document Management with The DocuMentor.
Doc delivers the scoop on today's enterprise content management, printer maintenance, and all other issues related to document management. It's the DocuMentor Blog.
Learn more >>
Reduce risk. Reduce complexity. Increase reliability.
A simplified IT environment isn't just less complex. It's also more reliable. Standardize on a single Linux platform with SUSE Linux Enterprise from Novell, and get the world's most interoperable Linux
Learn more >>
Microsoft Dynamics CRM Online - Free Six-Month Trial for Eligible Organizations
Microsoft Dynamics CRM Online provides fast online access, simple contact management and better sales performance for a low monthly cost - the best value on the market today.
Learn more about the free, six-month trial offer>>
The best support in the Linux business
If Linux is going to power your mission-critical applications, you'd better have the best support known to business. Novell was rated the top provider of Linux technical support.
Learn more >>
Learn more about tools to grow your business
The Business Essentials Guide provides you useful tools and templates to help grow your business and save you time with automated shipping solutions.
Save time with the UPS Business Essentials Guide
Reduce risk. Reduce complexity. Increase reliability.
A simplified IT environment isn't just less complex. It's also more reliable. Standardize on a single Linux platform with SUSE Linux Enterprise from Novell, and get the world's most interoperable Linux
Learn more >>
advertisement

Archives

Favorite Links

ZDNet Blogs

White Papers, Webcasts, and Downloads

SmartPlanet

Click Here