Slashdot Mirror


Researchers Disarm Microsoft's EMET

wiredmikey (1824622) writes "Security researchers have found a way to disable the protection systems provided by the latest version of Microsoft's Enhanced Mitigation Experience Toolkit (EMET), a software tool designed to prevent vulnerabilities from being exploited by using various mitigation technologies. Others have managed to bypass EMET in the past, but researchers from Offensive Security have focused on disarming EMET, rather than on bypassing mitigations, as this method gives an attacker the ability use generic shellcodes such as the ones generated by Metasploit. The researchers managed to disarm EMET and get a shell after finding a global variable in the .data section of the EMET.dll file. Initially, they only managed to get a shell by executing the exploit with a debugger attached, due to EMET's EAF checks. However, they've succeeded in getting a shell outside the debugger after disarming EAF with a method described by security researcher Piotr Bania in January 2012. The researchers tested their findings on Windows 7, Internet Explorer 8 and EMET 4.1 update 1."

33 comments

  1. Please do not disarm Microsofts EMET! by jtoj · · Score: 2

    Here in Brazil Emet is a bitter medicine, that stops you from throwing up.
    Researchers Disarm Microsoft's EMET : tha did scare me a lot!

    --
    Jose T Oliveira Jr.
  2. Re:Let's face it ... by Anonymous Coward · · Score: 3, Insightful

    There is also the devil's advocate here: Every black hat, criminal organization, and national intel department is focusing on Microsoft's stuff with a passion, because a 0-day that is big enough could mean billions of revenue from extortion, blackmail, or just malicious mischief.

    Before Microsoft was the leader, people said the same exact stuff about Sun. They whined that Solaris had too many holes, talked about how slow the fixes came out, and so on.

    Microsoft has a lot of bad guys hunting them down every second of every day. Well heeled bad guys.

    I'm amazed that they don't get nailed more often with 0-days with all the pressure the bad guys can bring to bear.

  3. OK, I'll bite by TechyImmigrant · · Score: 1

    >managed to disarm EMET and get a shell after finding a global variable in the .data section

    What is wrong with storing variables in the data section? Isn't that where you're supposed to keep data?

    --
    I should use this sig to advertise my book ISBN-13 : 978-1501515132.
    1. Re:OK, I'll bite by zlives · · Score: 2

      also some one running 4.1 of emet... probably isn't running ie8 wonder why the used ie8.

    2. Re:OK, I'll bite by viperidaenz · · Score: 1

      Perhaps because IE8 is the browser that comes with Windows 7?

    3. Re:OK, I'll bite by zlives · · Score: 2

      umm by that logic they wouldn't need to worry about bypassing emet... since it doesn't come with win7

    4. Re:OK, I'll bite by CaptainDork · · Score: 1

      Yeah, I wondered about that, too.

      Seriously? IE8?

      I had to dump IE8, 9 and 10 at work because some sites objected.

      I had banks and e-file systems people tell me to just get Firefox, please.

      --
      It little behooves the best of us to comment on the rest of us.
    5. Re:OK, I'll bite by Anonymous Coward · · Score: 0

      As an IT professional who deals with customers on a regular basis, I can personally attest to helping switch innocent, miss-guided people to the path of GTFO IE.

    6. Re:OK, I'll bite by viperidaenz · · Score: 2

      They were not testing IE8. They were testing EMET. They used IE8 as the entry point because it has a known vulnerability that EMET is supposed to mitigate.
      They could probably use any software with an exploit that enables remote code execution.

  4. attack surface by Anonymous Coward · · Score: 0

    What does “static” mean in a C program? (yes, I know the DLL/SO conventions are different; same concept.)

    Now go clean up your code kiddies, and after you've got that taken care of, figure out how to randomize memory offsets so they can't just guess hard enough to get it anyhow. Hint: none of this — None. Of. This. — should be sitting around in easily analysed (un)initialized data segments, at the very least.

  5. Did they cross out the E? by kruach+aum · · Score: 3, Funny

    Torah joke.

    1. Re:Did they cross out the E? by sgtsquid · · Score: 1

      Torah joke.

      They got lazy and didn't erase it completely, so the system just ran amok.

  6. Re:Let's face it ... by RyuuzakiTetsuya · · Score: 1

    I want more details here. I generally have a disdain for Microsoft but here it seems they built a custom target to exploit.

    If they did this against say, IE or some other app in the wild, sure lets ask if we should pack it up. Until then...

    --
    Non impediti ratione cogitationus.
  7. Re:Let's face it ... by FatdogHaiku · · Score: 1

    I'm no lawyer but I feel certain that if you manage to get billions out of an exploit the words "malicious mischief" will not appear in the indictment...
    At the very least I would expect "felonious tomfoolery"!

    --
    You have the right to remain sentient. If you give up the right to remain sentient, you will be elected to public office
  8. Re:Let's face it ... by GIL_Dude · · Score: 2

    Well the first step in exploiting IE or other apps on a system in the wild is to bypass EMET. Remember, EMET is a mitigation technology designed to make it harder to exploit a vulnerability in IE, Flash, Acrobat Reader, etc. by adding extra protections. So if you are able to turn EMET off, you can then get back to your normal exploit.

  9. 0-day? by justthinkit · · Score: 0

    0-day? How about a 900-day? Jan, 2012 was about 900 days ago.

    --
    I come here for the love
  10. Is this surprising? by Anonymous Coward · · Score: 0

    I mean, just look at MS's track record in security. Either they don't know or they don't care.

    1. Re:Is this surprising? by CaptainDork · · Score: 0

      They know. They don't care.

      Neither does the consumer, apparently.

      The entire computing industry from top to bottom, hardware to software, and IT shops, needs to be lashed by the whip of litigation.

      Similar to how we got sprinklers at work.

      --
      It little behooves the best of us to comment on the rest of us.
    2. Re:Is this surprising? by Anonymous Coward · · Score: 0

      No, we don't want that. You know what we will get? Hardware enforced DRM stacks, smart cards that have to be to be inserted before we get Internet access, DLC, (if you want a file manager, pay $20, a cmd.exe, $100, PowerShell, $50.)

      We won't get anything that helps us. Instead, the muzzles of the litigation would be trained at us, with more RIAA-like copyright violation penalties, civil penalties, and criminal sentences (the private industry's appetite for inmates is insatiable.)

      Any laws or lawsuits will make it worse. It will force F/OSS to the sidelines (hint, the biggest reason I find as an obstacle to using anything but Windows is that there is a requirement for Common Criteria and FIPS compliance to pass Sarbanes-Oxley, PCI-DSS3, and HIPAA audits.) Lawsuits will mean a guarantee that Windows will be the only game in town.

  11. Other side of this airtight hatchway... by Kaenneth · · Score: 4, Informative

    If you are able to arbitrarily modify system .DLLs, aren't you already in the system?

    Sounds an awful lot like today's Old New Thing post: http://blogs.msdn.com/b/oldnew...

    1. Re:Other side of this airtight hatchway... by Kaenneth · · Score: 2

      OK, replying to myself, after doing more reading.

      I guess the software under attack is designed to stop limited exploits from becoming big ones, and it's referring to the image in the .DLL in it's loaded into memory state, not on disk.

      I'd describe it as like knowing how to use a coathanger to unlock a car door.

  12. but then IT pros go union and get licenses so they by Joe_Dragon · · Score: 1

    but then IT pros go union and get licenses so they can't be pushed around by MBA's and PHB's to do stuff in an cheap and non secure ways..

  13. Re:Let's face it ... by Anonymous Coward · · Score: 0

    It might cost too much. Maybe even 10 million dollars. Can't have the CEOs doing without a new private jet this year.

  14. Re:Let's face it ... by simplypeachy · · Score: 2

    Trying to get Flash to fall under all of EMET's protections is like trying to hit three moving targets. As soon as Flash gets updated, the executables it uses run under different file names and any specific mitigations are then lost. Thankfully, most applications that are easy meat for EMET's good work are a one-off config.

  15. Re: Let's face it ... by NelitonStreppel · · Score: 1

    Emetic.

  16. Other side of this airtight hatchway... by Anonymous Coward · · Score: 0

    The technique patches the DLL in-memory directly from the exploit, not the DLL on the disk.

  17. Re:Let's face it ... by Ol+Olsoc · · Score: 2

    I'm no lawyer but I feel certain that if you manage to get billions out of an exploit the words "malicious mischief" will not appear in the indictment... At the very least I would expect "felonious tomfoolery"!

    My God man! There are women and children present! Break out the smelling salts.

    --
    The shepherds did so well protecting the flock that the sheep no longer believed that wolves existed.
  18. Like humanitarian sciences by GlowingCat · · Score: 1

    All these abbreviations are technically like humanitarian sciences. Far, far away from CPU's instruction execution.

  19. Re:Please do not disarm Microsofts EMET! by Anonymous Coward · · Score: 0

    The second amendment to the constitution guarantees that so such disarmament can be done in the US.

  20. Re:Let's face it ... by FatdogHaiku · · Score: 1

    I'm no lawyer but I feel certain that if you manage to get billions out of an exploit the words "malicious mischief" will not appear in the indictment... At the very least I would expect "felonious tomfoolery"!

    My God man! There are women and children present! Break out the smelling salts.

    That's why I didn't go with "assiduous asshatterie".

    --
    You have the right to remain sentient. If you give up the right to remain sentient, you will be elected to public office
  21. Re:Let's face it ... by KevMar · · Score: 1

    Your missing the point. If you have administrator rights, why even bother disabling EMET. Just uninstall it. Here is a quick exploit code for that:

    Get-WmiObject Win32_Product | Where-Object{$_.Name -match "EMET"} | ForEach-Object{$_.Uninstall()}

    If the attacker has admin rights then game over. Any other exploit after that is just smoke and mirrors.

    --
    Im a gamer, not a grammer major. This post is full of spelling and grammer mistakes.