Configuring Group Policy In Windows 2008 Server Event
MCSA 70410 Cert Guide R2 Installing and Configuring Windows Server 2012. Microsoft has release a video on Channel 9 called Windows 10 on ARM which mostly answers the question, does Windows 10 on ARM support Group Policy. Register for exam 70680 and view official preparation materials to get handson experience with installing and configuring Windows 7. Group Policy Central Essential for all Group Policy Administrators. IPSEC is an amazing, but not often used technology that allows you to authenticate, allow, deny, protect andor encrypt network traffic between windows and non window computers. It has been around since at least Windows 2. This article looks at managing Biometric Authentication with Windows 7 and Server 2008 R2. Recently, Microsoft has released a how to article explaining how you can use it to restrict network connections to your domain controllers so that only your Privileged Access Workstations can make RDP connection to your domain controllers see https blogs. Rsform Pro Content Plugin. Its a great article that got me to test out the feature myself and I highly recommend that you look at it this article yourself especially if you are setting a dedicated Admin Workstations for your Domain Admins. One of the first things that IPSEC needs to do when negotiating the protocol is to authenticate the users andor the computer. IPSEC can do this is via many ways see below Kerberos This is on by default way to authenticate any Windows user and computers and is a relatively easy and reliable way of authenticatio. NTLM This is of course the old method of authenticating Windows users and computers and while it is easy to use, it is in no way as strong as Kerberos method. Certificate This is the uses industry standard PKI certificates again for the computers andor users. It strength is based on the type of certificate you have deployed, but generally its considered very strong authentication. It can however take a lot of setting up as you have to deploy a full PKI environment first and issues the computers and users certificates. Preshared key This option allows you to select a preshred key that you specify as the authentication for IPSEC. Configuring Group Policy In Windows 2008 Server Event' title='Configuring Group Policy In Windows 2008 Server Event' />As it clearly says Below this is a not recommended way of setting up authentication for IPSEC. Its only described as being less secure than the other authentication methods. This method is really used if you are not communicated with other non windows computers via IPSEC and you have no other way to authenticate. Yes my super secure password highlighted below ABC1. Now is also a good time to explain that a few years ago Microsoft released a patch MS1. AD. In short, the Group Policy Preferences passwords were saved using a 3. AES encrypted value. Previous to this hotfix when you set the value in Group Policy you were warned that the password was being only lightly encrypted. Microsoft went out if its way to warn you in a blog post about this in 2. I also did a post in 2. Preferences password option. Then, Metasploit released a module for their toolkit to scan for scanning and decrypting these password value saved in the AD System Volume. So Microsoft released a patch that blocked the UI from being able to make changes to any Group Policy Passwords. Put simply Microsoft drew the line in the sand and prevented anyone from saving Preferences password in the AD SYSVOL. So, with the knowledge and Microsoft deliberate attempts to block any sort of secret values in AD. So when I then stumbled across this dialogue box that specifically mentioned a preshared Key. This got me thinking about how this key is stored in AD and how Microsoft addressed the same issues of saving the preshared key for IPSEC. Firstly you can see image above that after you set the value you can still clearly see it in the Group Policy UI. This told me at the very least however they key was stored using encryption and not hashsed. This at the very least told be the valued could in theory be reversed engineered and did get me a bit worried. So kept digging into the SYSVOL of the Group Policy Object and almost immediately opened up the Registry. I did a quick find in the file for the string ABC1. I did a quick visual scan for anything that looked like an obfuscated field and to my surprise the key was there in plain text as A B C 1 2 3. Thats right, the method of storage of the preshared key for IPSEC is to simply add a space between each character and then just save is in the SYSVOL as clear text. So as far as algorithms go, I think this one could be cracked by my 5 year oldUpdate Thanks to the comment from SODER to my article he explains that the spaces are actually just the way the text is displayed in notepad. Other text editors that display unicode will actually not have any spaces at all. So the warning message is certinly correct, the preshared key is stored less secure. More accurately you could describe it as being not secure at all. Then, if you have read the blog post by fellow MVP Darren Mar Elia at https sdmsoftware. System Volume is an open book readable by all computers and most users in your Active Directory domain. So, the permission to read the Group Policy Object information that has this preshared key is by default Authenticated Users or maybe only Domain Computers if you have locked it down. Put simply, assume everyone on your domain can read this value. It must, otherwise how else can your computer read the information required to setup a preshared key authentication in the first place. So, to summaries we have a pre shared key, saved in a place that is readable by all users and computer in the domain and is saved in clear text unicode. But why is this an issues Microsoft is clearly warning people that it is less secure so let them make the decision about whether to use this option or not. Well, if you remember earlier Microsoft has already gone to the effort of disabling featured that save password values in AD SYSVOL using just light encryption. What I fail to see here in this case why this is really any different. If I had to guess, this is just a legacy setting that has been around for many years that is used mainly used for testing andor IPSEC with non Windows based computers. I am sure the usage rate of such an option if very low. But this does not mean that it is not likely that there are some people out there that are using IPSEC thinking that it gives them some level of protections. So let me be clear, in my opinion IPSEC with preshared key should not be considered secure at all. If you have deployed IPSEC using this method of authentication then you really need to look at moving to PKI, Kerberos or event NTLM. Also, at the very least I think Microsoft should address this issues in a similar way to how it prevented people using Group Policy Preferences Passwords. But dont get me wrong I am not saying IPSEC is not secure, its just that one of the available method of authentication is not secure. So, if you are going to use IPSEC then for goodness sake NEVER USE PRESHARED KEYS.