3 ms·
yawn yet another case of an "exploit" that involves being other side of an airtight hatchway[1]. most/all of the important group policy settings are machine, ra
by gruez 7y ago
yawn yet another case of an "exploit" that involves being other side of an airtight hatchway[1]. most/all of the important group policy settings are machine, rather than user. the user group policy settings are mainly with appearance/styling.
Let's go through each of the "implications".
>Single File Code Execution
If you were able to drop that file, you're either that user, or an administrator on the computer. If you're that user, you could also achieve "single file code execution" by dropping a file to the startup folder, or creating an autorun registry key. If you are an administrator, you already own the machine.
>Antivirus/EDR Bypass
possibly, although your payload would still have to get pass behavioral analysis when it's executing.
>Denial of Service
yeah, but you can achieve the same thing by adding "logoff" as an autorun entry.
[1] https://devblogs.microsoft.com/oldnewthing/?p=100665 https://devblogs.microsoft.com/oldnewthing/?p=100665, or search for that term on the blog, there are multiple entries.
- wolrah 7y ago> If you were able to drop that file, you're either that user, or an administrator on the computer. If you're that user, you could also achieve "single file code execution" by dropping a file to the startup folder, or creating an autorun registry key. If you are an administrator, you already own the machine. As I see it the biggest practical issue with this is that it provides a method for persistence that no user will ever find and even most Windows administrators will have no idea to look for.
- gruez 7y ago>As I see it the biggest practical issue with this is that it provides a method for persistence that no user will ever find This isn't relevant because if you're logged in as the affected user, nothing you see can be trusted because you're already pwned. For instance, the attacker could have replaced the regedit icon with a patched regedit, or attached a debugger to every process and patched any system calls. The only safe course of action would be to create a new profile. > and even most Windows administrators will have no idea to look for. AFAIK user hives aren't loaded until they're logged in, in which case they're subject to the caveats of the previous paragraph. Also, are administrators really going around and loading each user's registry hive to check for infections? The only real threat I can think of is antivirus vendors not knowing about this feature and not scanning the file as a registry hive.
- throwanem 7y agoAs the article mentions, the threat model here is primarily an insider one, with a "rogue" user leveraging this method to obtain capabilities the domain administrator intends to deny. There are certainly more effective exploits for an outside attacker to use, but that's beside the point.
- gruez 7y ago>As the article mentions, the threat model here is primarily an insider one, with a "rogue" user leveraging this method to obtain capabilities the domain administrator intends to deny What would be those capabilities? They'd have to be user-level policies, which already limits what you could do.
- dfox 7y agoUser Group Policy isn't exactly a security mechanism, it exists to prevent users from unintentionally breaking their profile. There is multitude of ways how the user in question can inject arbitrary code into processes that are affected by user group policy as these processes are owned by that user.
- badrabbit 7y agoIt's not earth shattering but malware/attackers will use things like this for evasion.
- asdfman123 7y agoI think the main takeaway is this: "it is more likely a threat from a rogue Domain User trying to break out of restrictions imposed by a Domain Admin." Another way of phrasing this is "it's a way for overly restricted developers to make some minor modifications on their machine to actually get some work done." I could have really used this trick when I worked at a large corporation with a locked-down environment...
- muststopmyths 7y agoJust from a consistency perspective the fact that you can prevent the Group Policy Client from overriding your hacked hive is disturbing to me. If the report said "everything you did here will be wiped out the next time gpc syncs with the domain controller", I'd be inclined to laugh it off as well.
- Jaruzel 7y agoThe whole exploit relies on the non admin user being able to run regedit.exe - every sane lockdown policy blocks the execution of this application by non-admins as a matter of course. If you are not locking regedit.exe down, then you might as well just throw all your policies out of the window.
- amanzi 7y agoYou would only need access to regedit on another computer, e.g. a home computer, to modify the settings.
- Jaruzel 7y agoAgain, how would you get the mandatory profile file onto the work machine? re-enforcing my original point, if the USBs ports are open, or email attachments aren't being filtered, you've blown your desktop security anyway. I did this stuff as my job for 10 years. Windows XP was like swiss cheese, Windows 7 was much better, and now Windows 10 is rock solid; if you go all out on the security settings, an average user cannot break in or elevate themselves.
- Dylan16807 7y agoYour yawn is way too dismissive, since what you're dismissing includes many of the settings themselves. If none of those policies were supposed to be enforced in the first place, then that's a notable failing on Microsoft's end. Not the bypass being boring.