« Previous 1 2 3
Fight Windows ransomware with on-board tools
Negotiating Hurdles
Segmentation at the Admin Level
The company is not a perfect fortress. Despite a wide range of measures, malware can still break in. Depending on the type of attack, you can suffer a short, hard punch, in which the attacker gets into the company, encrypts as much as they can in the shortest possible time, and demands a ransom, or a slow but steady settling in, wherein the attackers work their way up to the crown jewels of the company, including hijacking admin accounts. The slow approach is a means to an end that provides access to interesting targets.
Administrators need to change the way they work and recognize that, instead of wielding a master key for company IT, they need a key ring: It's all about delegation and tiering. At present, many admins still work with a domain admin account when carrying out their day-to-day business of accessing clients, servers and, of course, the domain controller. This account is very convenient, because domain admins are members of the local group of administrators on every Microsoft system by default user mapping. The members of the local groups on a system can be regulated by group policy. The scope of an administrative account must be kept as tight as possible.
If a client has been hacked and a highly privileged account logs on to this computer, the attacker can hijack the session or use a keylogger to capture the password. High-value admin accounts must therefore be denied login and access to compromised systems.
The first step is usually to break accounts down into client, server, and domain admins. A client admin authorized to manage all clients is still a potential target that is not much smaller than that of a domain admin. After all, they manage all the clients. The solution is to break the accounts down further to the level of individual systems. Microsoft offers the Local Administrator Password Solution (LAPS) for this purpose. From May 2015 to March 2023, an additional piece of software was required, but LAPS became a built-in system component in April 2023 [5] (Figure 2). The tool generates an individual password for a local admin account and documents it in the respective computer object in Active Directory (AD). The scope is therefore limited to the one client, and the password is only valid on the one machine.
Likewise, not every administrator needs to have domain admin rights just because they have to add a computer to AD or reset a password. The directory has always allowed delegation, and consequently rights assignments, similar to the NTFS permissions in the filesystem – but in this case by way of organizational units in the form of levels and objects. Protecting accounts through this type of separation is essential and, incidentally, not a new idea [6]. Microsoft published two PDF files back in 2012 explaining the underlying technology and offering help with the necessary measures [7].
Conclusions
The safeguards for your network must be designed such that attackers are slowed, possibly losing interest, while you endeavor to identify attacks. Segmentation of administrative accounts goes hand in hand with network segmentation. The aim is to prevent lateral movement on a peer level and, above all, escalation into privileged areas. The Windows firewall can be a huge help in combination with group policies. If you manage to prevent a normal client from talking to other clients, then you have already gained a good deal of ground [8]. In addition to the major construction sites mentioned in this article, many other aspects also need to be considered, including patch management and employee training, along with rethinking backup strategies.
Infos
- Locky: https://en.wikipedia.org/wiki/Locky
- AppLocker vs software restriction policy: https://serverfault.com/questions/447078/applocker-vs-software-restriction-policy
- " 'Mock Folders' as UAC bypass security disaster, leverage AppLocker and SRP" by Günter Born, Born's Tech and Windows World, March 11, 2023: https://borncity.com/win/2023/03/11/windows-10-11-mock-folders-as-uac-bypass-security-disaster-leverage-applocker-and-srp/
- Blocking PowerShell for users: https://www-gruppenrichtlinien-de.translate.goog/artikel/powershell-fuer-benutzer-verbieten?_x_tr_sl=de&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=wapp (in German)
- Migrating from LAPS Legacy to LAPS Native: https://www-gruppenrichtlinien-de.translate.goog/artikel/migration-laps-legacy-zu-laps-nativ?_x_tr_sl=de&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=wapp
- Privileged access model: https://learn.microsoft.com/en-us/security/privileged-access-workstations/privileged-access-access-model
- Protection against credential theft: https://www.microsoft.com/en-us/download/confirmation.aspx?id=36036
- Defender Firewall with advanced security: https://www-gruppenrichtlinien-de.translate.goog/artikel/microsoft-defender-firewall-mit-erweiterter-sicherheit?_x_tr_sl=de&_x_tr_tl=en&_x_tr_hl=en&_x_tr_pto=wapp
« Previous 1 2 3
Buy this article as PDF
(incl. VAT)
Buy ADMIN Magazine
Subscribe to our ADMIN Newsletters
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Most Popular
Support Our Work
ADMIN content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.
![Learn More”>
</a>
<hr>
</div>
</div>
<div class=](https://www.admin-magazine.com/var/ezflow_site/storage/images/media/images/learn-more/211417-1-eng-US/Learn-More.png)