In a rare find, a researcher has unveiled dozens of related bugs in a core Windows API that could enable attackers to elevate their privileges in the operating system.
A year ago, Gil Dabah promised that he would find over 15 bugs related to the Windows win32k component:
This month I am going to submit around 15 0ds to msft. Wooot
This week, he released a report detailing 25 of them:
Guys & girls!Exactly a year ago I promised over 15 bugs in win32k.You're welcome to read and find out about my biggest research so far: #win32k #SmashTheRef bug class - https://t.co/niPACKBBLdCheck out the paper and the POCs, there are some crazy stuff going on. Promise!
The bugs take advantage of a long-understood problem with win32k, which is the user interface kernel component in Windows. This software originally ran in user mode, which is where regular Windows applications run. User mode is a less privileged part of the system that cant access system hardware directly. Instead, it has to send that request to the kernel, which is part of the core OS that handles low-level operating system functions.
Microsoft eventually moved win32k to the kernel, but because thousands of pieces of software rely on it, it must often reach back into user mode to do its job. That bridge between kernel and user mode is potentially dangerous if something operating in user mode figures out a way to compromise the kernel mode component. They could gain low-level access to the system.
A common mistake among developers in the past was to forget to lock a kernel-mode object in memory before it used win32k to call back to user mode. The attacker could then destroy the calling object from user mode. When the program returns control to the kernel object, it isnt there anymore. This created a use-after-free (UAF) error where the attacker could then exploit the empty memory spot.
Microsoft fixed a lot of bugs in that class, but Dabah discovered a new and related class of bug. An attacker can link a kernel object (like a window) to a child object that it creates (say, a child window). The attacker, working in user mode, asks Windows to destroy the parent window thats running in kernel mode. Windows cant do that until the parent window has finished everything it was doing in kernel mode, so instead it marks the parent for destruction when its ready. This turns it into what Windows programmers sometimes call a zombie object.
The bug uses a concept called zombie reloading to make changes to the zombie object before Windows removes it. This causes a UAF error on the child window that it created.
Dabah found numerous bugs in this class, he explained in the report, adding that he exploited 11 of them with proof of concept code (now up to 13 on his GitHub site). He had kind words for Microsoft, though, which has already begun fixing some of the bugs:
Thanks to MSRC for doing their great work and fixing this. BTW a wide mitigation isnt deployed yet and there are many more bugs like this. Hurry up and patch them Microsoft!
He added that the company is working on a wide mitigation to cover all bugs in this class which is currently in the Windows Insider Preview. Microsoft has also been busy patching these bugs on a one-off basis, and you can see it acknowledge Dabah and link to several CVEs in its February 2020 acknowledgements section.
Lets not underestimate whats involved in fixing decades-old code on which thousands of programs rely. This kind of technical debt is daunting. Whod want to be a Microsoft developer handling this code change?
Excerpt from:
Zombie Windows win32k bug reanimated by researcher - Naked Security
- Dubstep. Dj-Daniel: Infection Zombie - Video [Last Updated On: April 29th, 2015] [Originally Added On: April 29th, 2015]
- Here's Everything That Happens In The Latest Leaked Episode of Game Of Thrones, Which Is Bananas - Deadspin [Last Updated On: August 17th, 2017] [Originally Added On: August 17th, 2017]
- Abuse of 'Zombie Drug' Has Skyrocketed in Shanxi, Says Report - Sixth Tone [Last Updated On: August 17th, 2017] [Originally Added On: August 17th, 2017]
- Trout Republic The zombie apocalypse is here - Monte Vista Journal [Last Updated On: August 17th, 2017] [Originally Added On: August 17th, 2017]
- Is GAME OF THRONES Heading for a Zombie Cleganebowl? - Nerdist [Last Updated On: August 17th, 2017] [Originally Added On: August 17th, 2017]
- Community hopes to 'Save the Zombie Food' - Victoria Advocate [Last Updated On: August 19th, 2017] [Originally Added On: August 19th, 2017]
- Top 10 Real Life Zombies - Gazette Review [Last Updated On: August 19th, 2017] [Originally Added On: August 19th, 2017]
- The latest dating trend is called zombie-ing and it's pretty common - Today.com [Last Updated On: August 19th, 2017] [Originally Added On: August 19th, 2017]
- Overwatch Player Creates Zombie Mode - Kotaku - Kotaku [Last Updated On: August 19th, 2017] [Originally Added On: August 19th, 2017]
- Rob Zombie to host '13 Nights of Halloween' on HDNET MOVIES - EW.com [Last Updated On: August 19th, 2017] [Originally Added On: August 19th, 2017]
- "The Art of Response: Zombie Preparedness" event coming to Abilene in October - Big Country Homepage [Last Updated On: August 19th, 2017] [Originally Added On: August 19th, 2017]
- China's Debt Swaps Surpass $100 Billion - Bloomberg [Last Updated On: August 20th, 2017] [Originally Added On: August 20th, 2017]
- Community Download: Are You Tired Of Zombie VR Games? - UploadVR [Last Updated On: August 20th, 2017] [Originally Added On: August 20th, 2017]
- HESCO Sponsor Zombie Invitational Shooting Competition (Multi-Video) - 107.180.56.147 (press release) (registration) (blog) [Last Updated On: August 22nd, 2017] [Originally Added On: August 22nd, 2017]
- Dead Snow 3 will feature 'Zombie-Hitler,' says director - EW.com [Last Updated On: August 22nd, 2017] [Originally Added On: August 22nd, 2017]
- Game of Thrones: Why Everyone on the Set Hated that Zombie Polar Bear - Vanity Fair [Last Updated On: August 22nd, 2017] [Originally Added On: August 22nd, 2017]
- 'State of Decay 2' forces you to pick who becomes zombie food - Engadget [Last Updated On: August 22nd, 2017] [Originally Added On: August 22nd, 2017]
- The Zombie Polar Bear on Game of Thrones Was Just a Dude in a Green Suit - Esquire.com [Last Updated On: August 22nd, 2017] [Originally Added On: August 22nd, 2017]
- Zombie Hitler reanimates in Dead Snow 3 - SYFY WIRE (blog) [Last Updated On: August 22nd, 2017] [Originally Added On: August 22nd, 2017]
- That Zombie Polar Bear on 'Game of Thrones' Was Four Seasons in the Making - Thrillist [Last Updated On: August 22nd, 2017] [Originally Added On: August 22nd, 2017]
- Louisville Zombie Walk Attack Funeral! - Louisville Eccentric Observer [Last Updated On: August 24th, 2017] [Originally Added On: August 24th, 2017]
- Starbucks' new sushi burrito sounds like how zombie outbreaks start ... - GolfDigest.com [Last Updated On: August 24th, 2017] [Originally Added On: August 24th, 2017]
- Heavy weekend rains likely when zombie storm Harvey comes to Texas - MyStatesman.com [Last Updated On: August 24th, 2017] [Originally Added On: August 24th, 2017]
- West Milford plans law to slay 'zombie' homes - NorthJersey.com [Last Updated On: August 24th, 2017] [Originally Added On: August 24th, 2017]
- 'Game of Thrones': Why the White Walkers and Wights Represent the Best and Worst Zombie Tropes - IndieWire [Last Updated On: August 24th, 2017] [Originally Added On: August 24th, 2017]
- Like A Movie Zombie, Tax Reform Refuses To Die - Investor's Business Daily [Last Updated On: August 25th, 2017] [Originally Added On: August 25th, 2017]
- Buy Your Tickets Now For 'Z is for...Zombie!' - Patch.com [Last Updated On: August 25th, 2017] [Originally Added On: August 25th, 2017]
- 19 Years Ago: Rob Zombie Debuts His Solo Album "Hellbilly Deluxe" - WAAF.com (blog) [Last Updated On: August 25th, 2017] [Originally Added On: August 25th, 2017]
- What can the Zombie Apocalypse teach us about ourselves? [Video] - OUPblog (blog) [Last Updated On: August 25th, 2017] [Originally Added On: August 25th, 2017]
- Zombie homes shame campaign spreads to Niagara Falls - Spectrum News [Last Updated On: August 26th, 2017] [Originally Added On: August 26th, 2017]
- Zombie run scheduled at Castle of Muskogee - Tulsa World [Last Updated On: August 26th, 2017] [Originally Added On: August 26th, 2017]
- City seeks help in identifying 'zombie properties' - The Recorder (subscription) [Last Updated On: August 28th, 2017] [Originally Added On: August 28th, 2017]
- Hudson Confidential: 'Zombie' utility poles outlawed in Cornwall-on-Hudson - Times Herald-Record [Last Updated On: August 28th, 2017] [Originally Added On: August 28th, 2017]
- Falls steps up its fight against 'zombie homes' - Niagara Gazette [Last Updated On: August 28th, 2017] [Originally Added On: August 28th, 2017]
- Video: President Trump's zombie claim of widespread voter fraud in the 2016 election - Washington Post [Last Updated On: August 28th, 2017] [Originally Added On: August 28th, 2017]
- Zombies, romance and revenge drive record 'Game of Thrones' ratings - Reuters [Last Updated On: August 28th, 2017] [Originally Added On: August 28th, 2017]
- Rob Zombie on Tobe Hooper: 'The Texas Chain Saw Massacre' Changed My Life - RollingStone.com [Last Updated On: August 28th, 2017] [Originally Added On: August 28th, 2017]
- 'Zombie' translation book authored by Ashland professor - Richland Source [Last Updated On: August 28th, 2017] [Originally Added On: August 28th, 2017]
- City set to file first court action against 'zombie property' - Rome Sentinel [Last Updated On: August 28th, 2017] [Originally Added On: August 28th, 2017]
- Brooklyn Decker Compares Herself to 'Zombie Taylor Swift' in 'Look What You Made Me Do' Music Video - Us Weekly [Last Updated On: August 29th, 2017] [Originally Added On: August 29th, 2017]
- Call of Duty: WWII's Zombies Is Changing its Tone and That's Exactly What it Needs - Twinfinite [Last Updated On: August 29th, 2017] [Originally Added On: August 29th, 2017]
- Zombie shooter Dead Alliance now available - Flickering Myth (blog) [Last Updated On: August 30th, 2017] [Originally Added On: August 30th, 2017]
- Call of Duty Black Ops III and Zombie Chronicles Officially Bundled Together - Twinfinite [Last Updated On: August 30th, 2017] [Originally Added On: August 30th, 2017]
- Here a few of Lil Uzi Vert's favorite things: Rob Zombie, Rugrats and more - Alternative Press [Last Updated On: August 30th, 2017] [Originally Added On: August 30th, 2017]
- Rob Zombie's Halloween 10th anniversary: How Tyler Mane ... - EW.com [Last Updated On: August 30th, 2017] [Originally Added On: August 30th, 2017]
- The Syllabus: Zombie Charlotte Law (updated) - Greensboro News & Record (blog) [Last Updated On: August 31st, 2017] [Originally Added On: August 31st, 2017]
- The Night King and Zombie Viserion are comingin Funko Pop! form - Winter Is Coming [Last Updated On: August 31st, 2017] [Originally Added On: August 31st, 2017]
- Death of Spain's Zombie Lenders Sends Bank Jobs to Decade Low - Bloomberg [Last Updated On: August 31st, 2017] [Originally Added On: August 31st, 2017]
- Rome on cutting edge for dealing with zombie properties - Utica Observer Dispatch [Last Updated On: August 31st, 2017] [Originally Added On: August 31st, 2017]
- The Mask Hides My Ugliness: Violence and Trauma in Rob Zombie's 'Halloween' - The Film Stage (blog) [Last Updated On: August 31st, 2017] [Originally Added On: August 31st, 2017]
- 'Zombie' drug Spice addict grabbed terrified girl, 5, outside Primark and gave her a 'bear hug' - Mirror.co.uk [Last Updated On: September 1st, 2017] [Originally Added On: September 1st, 2017]
- The Bentley You Need For The Zombie Apocalypse Is Finally For Sale - Jalopnik [Last Updated On: September 1st, 2017] [Originally Added On: September 1st, 2017]
- Cops warn residents to avoid mange-infected coyotes labeled 'zombie dogs' - New York Daily News [Last Updated On: September 1st, 2017] [Originally Added On: September 1st, 2017]
- Cops Warn of Infected 'Zombie' Coyotes Confused for Stray Dogs in ... - NBC Chicago [Last Updated On: September 1st, 2017] [Originally Added On: September 1st, 2017]
- Police warn of infected 'zombie' coyotes confused for stray dogs - KCRA Sacramento [Last Updated On: September 2nd, 2017] [Originally Added On: September 2nd, 2017]
- Survive An Augmented Zombie Reality In Walking Dead: Our World - Shacknews [Last Updated On: September 2nd, 2017] [Originally Added On: September 2nd, 2017]
- 'Zombie dogs' roaming near Chicago are infected coyotes, police ... - Fox News [Last Updated On: September 3rd, 2017] [Originally Added On: September 3rd, 2017]
- Railey: Confronting 'zombie mindsets' and a Charlottesville martyr - Winston-Salem Journal [Last Updated On: September 3rd, 2017] [Originally Added On: September 3rd, 2017]
- Trump Pardons Zombie Apocalypse - Indian Country Today Media Network [Last Updated On: September 3rd, 2017] [Originally Added On: September 3rd, 2017]
- Your daily 6: A third child for William and Kate; zombie dogs in Chicago - STLtoday.com [Last Updated On: September 5th, 2017] [Originally Added On: September 5th, 2017]
- Chicago's Newest Problem Is An Invasion Of ZOMBIE DOGS - The Daily Caller [Last Updated On: September 5th, 2017] [Originally Added On: September 5th, 2017]
- Daily Deal: Zombie Army Trilogy Is 80% Off On Steam - Gameranx (blog) [Last Updated On: September 5th, 2017] [Originally Added On: September 5th, 2017]
- 'Zombie' dogs are actually infected coyotes, police warn - Atlanta Journal Constitution [Last Updated On: September 5th, 2017] [Originally Added On: September 5th, 2017]
- 9th Circuit Revives Class Action Over 'Zombie' Smartphone Cookies - Courthouse News Service [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- SecureView: Assemblyman James Skoufis Hosts Demonstration to Clean Up Zombie Property Blight - Markets Insider [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- Zombie Walk to benefit local charity - Bowling Green Daily News [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- Zombie Run will benefit Muskogee Animal Shelter - Muskogee Daily Phoenix [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- New 'The Walking Dead' AR app tests your zombie battle plan - CNET - CNET [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- Watch an extreme scene from TIFF zombie film Les Affams - EW.com [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- ARZombi Is A Zombie Shooter Made Using ARKit - UploadVR [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- Should You Forgive Your Zombie Relative? Ellen Page In 'The Cured' Watch TIFF Clip - Deadline [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- 'Zombie dogs' are roaming the suburbs of Chicago - The Week Magazine [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- 'Zombie' coyotes reportedly seen in suburbs, and residents warned to keep away - Chicago Tribune [Last Updated On: September 6th, 2017] [Originally Added On: September 6th, 2017]
- YWCA prepares for 2nd annual zombie run - KFYR-TV [Last Updated On: September 7th, 2017] [Originally Added On: September 7th, 2017]
- Langhorne Slim Releases "Zombie" off Forthcoming New Album Lost at Last Vol. 1 - Paste Magazine [Last Updated On: September 7th, 2017] [Originally Added On: September 7th, 2017]
- Sightings of 'zombie' dogs prompt warnings in Chicago - The San Diego Union-Tribune [Last Updated On: September 7th, 2017] [Originally Added On: September 7th, 2017]
- Zombie Chase Parkour POV - YouTube [Last Updated On: June 21st, 2018] [Originally Added On: June 21st, 2018]
- Zombie Official Minecraft Wiki [Last Updated On: July 3rd, 2018] [Originally Added On: July 3rd, 2018]
- Zombie Games - Free Online Zombie Games [Last Updated On: July 18th, 2018] [Originally Added On: July 18th, 2018]
- Amazon.com: Zombie: Tisa Farrow, Ian McCulloch, Al Cliver ... [Last Updated On: August 9th, 2018] [Originally Added On: August 9th, 2018]