MS Traces Duqu Zero-Day To Font Parsing In Win32k
yuhong writes "MS has traced the Duqu zero-day to a vulnerability in font parsing in win32k. Many file formats like HTML, Office, and PDF support embedded fonts, and in NT4 and later fonts are parsed in kernel mode! Other possible attack vectors, for example, include web pages visited using web browsers that support embedded fonts without the OTS font sanitizer (which recent versions of Firefox and Chrome have adopted)." Adds reader Trailrunner7: "This is the first time that the exact location and nature of the flaw has been made public. Microsoft said that the permanent fix for the new vulnerability will not be ready in time for next week's November patch Tuesday release."
And they told me that Linux is monolithic... But I'm damn sure that the kernel doesn't parse fonts.
It looks like somebody was half asleep that day as well and the long "focus on security" didn't go deep enough.
FFS microsoft, I'm a highschooler and I think that a really bad idea. How do mistakes like that get through q&a?
Any idea how to turn-off custom fonts in webpages? Can't find that setting in Firefox at the moment. You are only vulnerable if custom fonts are enabled.
Whiskey Tango Foxtrot Microsoft. What genius thought font parsing belonged in ring 0?
Remember kids, it's all fun and games until someone commits wholesale galactic genocide.
It says it just a true type font parsing.
I don't know why but image and font file parsing and thumb-nailing is a common security problem (about once a month or so my distro has a security update for a potential hole).
I think they generally work by tricking the computer to run arbitrary code from elsewhere rather than contain the code themselves.
If this was an open-source project (like linux), a flaw like this would have been spotted YEARS ago.
... And I want at least one of them to give a good reason why parsing fonts in kernel mode is a good idea. Speed is not a good reason. Not even on 10 year old equipment it's not.
--
BMO
"This is the first time that the exact location and nature of the flaw has been made public."
They want to push Metro out as the replacement. Anything that knocks down older technologies that even they sold at one time helps. Great way to push people off another possible Internet Explorer 6 so to speak for Windows 8.
~~ Behold the flying cow with a rail gun! ~~
in NT4 and later fonts are parsed in kernel mode!
anyone who doesn't immediately realize this is a recipe for trouble? Parsing externally-supplied data in kernel mode. Yeah, like that never got anyone...
For all the really, really smart people that MS employes, why do they keep on making the dumbest mistakes one could come up with if it were a "dumb idea of the month" challenge?
Assorted stuff I do sometimes: Lemuria.org
That's why NoScript disables embedded fonts along with other possible attack vectors.
Even on GNU/Linux, font rendering is not to be assumed safe. In particular, freetype was never designed with the idea to parse fonts from various untrusted sources, so security in the font parser has always been secondary up until recently, so there might be many security holes in it lurking. It also had a vulnerability lately, of course it got quickly fixed.
http://hackademix.net/2010/03/24/why-noscript-blocks-web-fonts/
If anyone is interested why MS does a lot of things in the kernel mode and how that isn't a bad thing I suggest him/ her to read Windows Internals 4th edition, chapter Operating system model. Of course you can screw up quite easily in k-mode and that's apparently what some unfortunate dev at MS did, but it doesn't mean that the whole design is flawed. That's for all those "omg bbq kernel mode is bad mmmkay" blokes.
Oh, go ahead, mod me down
You think people would mod you down for making fun of MS, here, of all places?
But I am an AC and this is slashdot, and I am not engaging in microsoft bashing so this comment will never see the light of day.
http://en.wikipedia.org/wiki/TrueType
Sampo Kaasila an Apple employee was the genius who designed True Type Fonts, and is also responsible for TTF's being executable files rather than some sort of parsed file. I am guessing he did it for performance reasons way back in the late 80's or very Early 90's when all we had to work with was 386/486 cpu's.
http://en.wikipedia.org/wiki/TrueType
Isn't this how people hacked the original xbox so many years ago (a font vulnerability)? It's not like they haven't been warned...
Oh, go ahead, mod me down
I wish people would for your karma whoring. The "mod me down" is a standard trick to get modded up on Slashdot.
I was wondering if it was Windows Version 32768 - and since they are only up to Win 8 now that has to be way in the future.
It will probably need a googolplex of RAM to run, and while it is booting up, you can go have lunch at Milliways
Windows crowd here -- no, we didn't. The referenced file is, in fact, a driver called win32k.sys.
Security? Why would that even appear on the radar?
Computer security has been an issue since at least the 1960s, and it's been well-documented and understood since at least the 1980s (when the NSA Rainbow Books appeared). The Morris worm hit in 1988. None of this stuff should have come as a surprise, and there were many people talking about how Microsoft was repeating all the mistakes over and over again.
As you say, the fact is, Microsoft wasn't concerned with security. I don't give them a free pass for that. The entire world has been paying for their mistakes ever since. Their lackadaisical attitude towards security -- when they certainly could have learned from the literature and from history -- has cost the world billions, if not trillions of dollars.
Not okay.
dragonhawk@iname.microsoft.com
I do not like Microsoft. Remove them from my email address.
Come at me, bro.
After you take your fucking meds.
--
BMO
They did not publish a fix; they published a workaround that reduces the functionality of the apps running on the machine. This may be a good tradeoff for people who are especially worried about this particular attack, but even Microsoft doesn't try to spin it as a fix. They also announced that they will NOT have a patch for this out on the November patch Tuesday. That should actually be pretty obvious due to their test cycles and when this particular issue became known. At this point we don't know if they will issue an out of band patch later in November or wait for the December patch cycle.
Hey Mr Anonymous - you sound more like Ballmer every minute. And hold Microsoft accountable for security issues? Hyuk! That's FUNeee raht thar!!!
in NT4 and later fonts are parsed in kernel mode
Sometimes I feel like I must be the only geezer remaining who actually had the opportunity to use NT 3.51, so let me tell you: It was a GLORIOUS operating system.
EVERYTHING was client/server, and all the client stuff ran in Ring 3/User Mode.
Heck, you could even kill Windows, and run it as a multi-user "DOS" box.
But, of course, that meant that the video/graphics subsystem also ran as a client service, in User Mode, which [I guess] the suits perceived as being "slow", and therefore as being an impediment to the gaming experience which would come with the impending merger of code bases that we now know as Windows XP [2001].
So in 1996, some genius at MSFT decided to throw out all of the beauty and elegance and stability and security that had been NT 3.51, and to serve up, instead, the great big steaming pile of sh!t which was NT 4.0 [with its video/graphics subsystem subsumed into the kernel].
And the world was never again the same...
They can't fight ur facts on security where "feeble freebie Linux" utterly BLOWS here http://tech.slashdot.org/comments.pl?sid=2510534&cid=37957838
The past week or so, my WIndows XP boot partition started behaving strangely. I had problems with Firefox and other applications that had never had problems before, and which had not been upgraded, and noticed a significant impact on download speeds.
Avast didn't detect whatever it was, even with a boot-scan.
Rather than play around trying to get rid of an unidentified virus, I nuked the XP boot partition completely and switched over to Linux full-time for now.
On the bright side, it was over 8 years since the last time I got infected with an XP box, so I don't think it did too badly for it's time.
I do not fail; I succeed at finding out what does not work.
ease on the paint from Redmond, bro
Duqu uses cmi4432.sys, jminet7.sys, nfrd965.sys, & adpu321.sys 4 drivers & NETP191.PNF DLL
(This is per Symantec's updated notes on it here http://www.symantec.com/content/en/us/enterprise/media/security_response/whitepapers/w32_duqu_the_precursor_to_the_next_stuxnet.pdf ).
I.E. -> Use RC's DISABLE command on 'em (to stop them om loading at all period) - this will stop them from protecting a bogus bootsector @ least (which IS what most bogus rootkits do via drivers).
* Also, if you want to "spot them", you can use LISTSVC (shows the state of ALL drivers AND EVEN SERVICES), first... to be sure they are there @ all!
APK
P.S.=> Once more - this SHOULD work, as it did vs. "the indestructible rootkit"'s HELLO_TT.SYS protectant of the bogus bootsector it uses... as long as the drivers don't protect their registry init/load areas? Again - this SHOULD work & with tools you already own, quickly... "Here endeth the lesson"... apk
As far anyone knows them in this current build @ least.
Ala:
1.) Kill the drivers in kernelmode/ring 0/rpl0
2.) Refresh the bootsector using fixmbr
3.) AND, if needed clean up usermode/ring3/rpl 3 using ProcessExplorer (for usermode malware it MIGHT haul in) OR just use RC DEL command... either way, it works!
(Per my 1st post, you MAY have to do bootsector FIRST, & then driver disable, reboot to RC, & then do FixMBR! Depends on HOW this thing works!)
* Fact is - I've done this before on "the indestructible rootkit" that used hello_tt.sys in fact, & it worked
Should vs this too, that is, as long as those drivers do NOT protect their own reg init-load area? This works... period! I haven't seen documentation they do so... there you go!
APK
P.S.=>
"ease on the paint from Redmond, bro" - by Anonymous Coward on Saturday November 05, @12:53PM (#37958834)
You "penguins" might not LIKE the fact I make MS look good, but "tough cookies"...
BOTTOM-LINE: I am just out to help folks "victimized" by this & other malicious code (like rootkits like these) is all with tools they already own!
... apk
Symantec and Microsoft still haven’t made the actual dropper file available to other antivirus companies yet, nor have they provided information about which Windows component contains the vulnerability that results in privilege escalation. However, indirect evidence suggests that the vulnerability is in win32k.sys.
We discovered a similar vulnerability (see MS10-073) a year ago when analyzing the Stuxnet worm. Another interesting problem in win32k.sys (MS11-077) was fixed by Microsoft on 11 October this year – a code execution vulnerability than can be exploited through font files.
echo '[q]sa[ln0=aln80~Psnlbx]16isb572CCB9AE9DB03273snlbxq' |dc
I'm sure that Windows now is much better than it was - in fact I'd go as far as to say that it's a pretty stable environment and OK for server use if the load's not too high. SQL Server's OK too, despite Microsoft rewriting bits of the Sybase code when it was stable to start with.
But why do you have to be so shrill in your defence of what is, after all, a jumped up desktop operating system with poor file serving and stability that is conveniently full of holes and subject to frequent exploits? Yes, you can fix your MBR and disable the rootkit-installed drivers, but why run something that can be so easily owned in the first place?
And on the point in question - NT pre version 4 really was a dog. Slow, unstable, prone to eating its own filesystem and becoming unbootable after a crash - NT4 was an improvement in terms of stability and speed, but at the cost of moving stuff like font parsing into the kernel, which people said at the time was stupid and dangerous, but Microsoft did it anyway.
I'm sure you'll come back with some pre-teen styled rant, but don't bother - I'm far too old to bother with kiddies.
Are you too old to deal with facts on security then? This topic IS about security (and I gave you a way to remove it as well). You spoke of SERVER problems & exploits?? Here is some recent history below on THAT note (the only kind that counts, what's out there GOING ON TODAY)!
Still - since you called me a "kiddie" (and I almost GUARANTEE I've done more of note than you have in the art & science of computing that did well in commercial software, tech trade shows, publication around computing from respected publications & more - AND, if you want FACTS ON THAT TOO? Just ask...)?
This data's ALL from a respected source (secunia.com) for known security vulnerabilities unpatched & LINUX GETS BLOWN AWAY, badly!
---
Vulnerability Report: Microsoft SQL Server 2008: (11/05/2011)
http://secunia.com/advisories/product/21744/
Unpatched 0% (0 of 1 Secunia advisories)
Vulnerability Report: Microsoft Internet Information Services (IIS) 7.x: (11/05/2011)
http://secunia.com/advisories/product/17543/
Unpatched 0% (0 of 6 Secunia advisories)
Vulnerability Report: Microsoft Exchange Server 2010: (11/05/2011)
http://secunia.com/advisories/product/28234/
Unpatched 0% (0 of 0 Secunia advisories)
Vulnerability Report: Microsoft SharePoint Server 2010: (11/05/2011)
http://secunia.com/advisories/product/29809/
Unpatched 0% (0 of 3 Secunia advisories)
Vulnerability Report: Microsoft Forefront Endpoint Protection 2010: (11/05/2011)
http://secunia.com/advisories/product/34343/
Unpatched 0% (0 of 1 Secunia advisories)
Vulnerability Report: Microsoft Baseline Security Analyzer 2.x: (11/05/2011):
http://secunia.com/advisories/product/6436/
Unpatched 0% (0 of 0 Secunia advisories)
Vulnerability Report: Microsoft Office 2010: (11/05/2011)
http://secunia.com/advisories/product/30529/?task=advisories
Unpatched 0% (0 of 9 Secunia advisories)
Vulnerability Report: Microsoft Project 2010: (11/05/2011)
http://secunia.com/advisories/product/31177/
Unpatched 0% (0 of 0 Secunia advisories)
Vulnerability Report: Microsoft Windows Services for UNIX 3.x: (11/05/2011)
http://secunia.com/advisories/product/5244/
Unpatched 0% (0 of 3 Secunia advisories)
Vulnerability Report: Microsoft Internet Explorer 9.x: (11/05/2011)
http://secunia.com/advisories/product/34591/
Unpatched 0% (0 of 4 Secunia advisories)
Vulnerability Report: Microsoft Virtual PC 2007: (11/05/2011)
http://secunia.com/advisories/product/14315/
Unpatched 0% (0 of 1 Secunia advisories)
Vulnerability Report: Microsoft Visual Studio 2010: (11/05/2011)
http://secunia.com/advisories/product/30853/?task=advisories
Unpatched 0% (0 of 2 Secunia advisories)
Vulnerability Report: Microsoft DirectX 10.x:
(11/05/2011)
http://secunia.com/advisories/product/16896/
Unpatched 0% (0 of 3 Secunia advisories)
Vulnerability Report: Microsoft .NET Framework 4.x
How on earth is it even possible for you to have so many letters in a post, and yet say nothing?
Why don't you make sense? :(
Shouldn't have shot ur mouth off. U got shot down 4 it http://tech.slashdot.org/comments.pl?sid=2510534&cid=37959108 and worst part is, he was helping U help ur ignorant obviously amateur self. What an ingrate U are.
I guess the title of the article should have included the ".sys" part.
In both Ie and FF. I'm sorry but those damn idiot web designers who insist that a 4px font is readable because they still use a 320x240 screen need to upgrade to something reasonable like 1024x768, means I've been forced to learn enough about CSS to begin creating my own overriding page to prevent those damn pesky and funky fonts/colors/sizes that make it impossible to read their sites. Of course, when I hit one of those sites, I add them to my block list though if I can get the custom css page working correctly, then I'll be a happy turtle.
Mod me up/Mod me down: I wont frown as I've no crown
NOT until NT 4.0 did they move GUI into RPL 3/Ring 3/Usermode.
Just some refresher "FYI" for you - & your "oops" is OK, because it HAS been ages since those OS "walked the earth" (lol, like the ancient dinosaurs that they are).
* Dave Cutler almost QUIT MS over it (He's NT's designer, & VMS before THAT for DEC... he was concerned over stability & it was a VALID concern, especially early on, drivers for graphics WERE unstable - that is, until the MS DDK got stable templates for it, & graphics card vendors got used to using it that way...)
That's for BOTH user32 &/or GDI (which ran the GUI) in NT4x/2000/XP/Server 2003 too, mind you.
APK
P.S.=> Nowadays though, since the DirectX interface for GUI operations in VISTA/Win7/Win2k8Server are in AEROGLASS? It's back in Ring 3/RPL 3/Usermode, better for stability (not speed, yes, even though DirectX handles it, diff. tasks & data, but better suited for AERO to do it this way by far for speed) - and yes, it "holds true" in Classic Display shell too, and you can prove it easily:
Install drivers there in VISTA onwards, & it DOES NOT REQUIRE A REBOOT in either case (Aero, or Classic)
... apk
All you had's a weak unjustified mod down vs this http://tech.slashdot.org/comments.pl?sid=2510534&cid=37957838 ? Piss poor of you.
It's funny both OldSparky and BMO took off after the thrashing you gave them.
Only MS can have a font compromise security.
Somehow i was immediately reminded of this:
http://www.theregister.co.uk/2001/02/02/bofh_gets_to_the_back/
After U destroyed 'em here. Downmods of ur posts're all they have now.
Funny that BMO n' Old Sparky left n' ur posts're being downmodded. Wonder who's doing that? Not. It's them n' all they have left is downmods n' off topic attacks which are weak. How humiliating for them both. They're probably the same person using TOR or alternate registered user accounts thru remote desktops to other machines to post thru to pull that fake register luser account crap that goes on here like mad and we all know it.
Unix networks and Novell networks existed long before NT4, remote exploits were already known.
Microsoft failed.
Parsing fonts in-kernel...???
Reminds me of how parts of IE were in kernel, or ActiveX.... I notice how much crap MS stuffed into their kernels over the years, and how each feature seems to correspond to a vuln.
C|N>K
Posts like this http://tech.slashdot.org/comments.pl?sid=2510534&cid=37960506 and this http://tech.slashdot.org/comments.pl?sid=2510534&cid=37959052 and your down moderating them is a total admission of your failure here. Unjustified down mods don't hide facts from the rest of us you know. You're the one that has to live with it now. Oh the shame of it, hahaha, another penguin, blown away with facts.
Who modded down the post parent to mine's a fool. That technique would work.
Shot down? He merely reposted the same shit he'd already posted above, complete with shouty capitals, textish abbreviations and all the rest of the shit you expect from some paranoid and probably over-ritalined windows shill. I've only been programming since 1979, though, so perhaps he has done more than me. Wanker.
The technique is sound, should work. This isn't about programming either (can you read?): It's about how to kill duqu or other rootkits that use the bootsector and drivers to protect it. Your name calling only makes you look even more foolish than mentioning programming here because it's not required.
It even works second-hand. :-)
You are sounding more and more like the wintrolls on c.o.l.a.
Wipe the foam off your mouth and go to the rear of the class. You may come forward when you have gained some understanding of what you are talking about.