Skip to content

Commit 8a71717

Browse files
authored
Merge pull request #89419 from MicrosoftDocs/master
9/23 AM Publish
2 parents a19bee0 + 3047d79 commit 8a71717

File tree

172 files changed

+2072
-1295
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

172 files changed

+2072
-1295
lines changed

.openpublishing.redirection.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26194,11 +26194,6 @@
2619426194
"redirect_url": "/azure/security-center/security-center-features-retirement-july2019#custom-alert-rules-preview",
2619526195
"redirect_document_id": false
2619626196
},
26197-
{
26198-
"source_path": "articles/security-center/security-center-threat-intel.md",
26199-
"redirect_url": "/azure/security-center/security-center-features-retirement-july2019#menu_securityeventsmap",
26200-
"redirect_document_id": false
26201-
},
2620226197
{
2620326198
"source_path": "articles/virtual-network/virtual-network-deploy-multinic-arm-cli.md",
2620426199
"redirect_url": "/azure/virtual-machines/linux/multiple-nics",

articles/active-directory/authentication/concept-password-ban-bad-on-premises.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ ms.collection: M365-identity-device-management
1717

1818
# Enforce Azure AD password protection for Windows Server Active Directory
1919

20-
Azure AD password protection is a feature that enhances password policies in an organization. On-premises deployment of password protection uses both the global and custom banned-password lists that are stored in Azure AD. It does the same checks on-premises as Azure AD for cloud-based changes.
20+
Azure AD password protection is a feature that enhances password policies in an organization. On-premises deployment of password protection uses both the global and custom banned-password lists that are stored in Azure AD. It does the same checks on-premises as Azure AD does for cloud-based changes. These checks are performed during password changes and password reset scenarios.
2121

2222
## Design principles
2323

articles/active-directory/conditional-access/howto-conditional-access-policy-block-legacy.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Due to the increased risk associated with legacy authentication protocols, Micro
2121

2222
## Create a Conditional Access policy
2323

24-
The following steps will help create a Conditional Access policy to require those assigned administrative roles to perform multi-factor authentication.
24+
The following steps will help create a Conditional Access policy to block legacy authentication requests.
2525

2626
1. Sign in to the **Azure portal** as a global administrator, security administrator, or Conditional Access administrator.
2727
1. Browse to **Azure Active Directory** > **Conditional Access**.

articles/active-directory/hybrid/how-to-connect-password-hash-synchronization.md

Lines changed: 68 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,49 +41,105 @@ A user must enter their corporate credentials a second time to authenticate to A
4141
> Password sync is only supported for the object type user in Active Directory. It is not supported for the iNetOrgPerson object type.
4242
4343
### Detailed description of how password hash synchronization works
44+
4445
The following section describes, in-depth, how password hash synchronization works between Active Directory and Azure AD.
4546

4647
![Detailed password flow](./media/how-to-connect-password-hash-synchronization/arch3b.png)
4748

48-
4949
1. Every two minutes, the password hash synchronization agent on the AD Connect server requests stored password hashes (the unicodePwd attribute) from a DC. This request is via the standard [MS-DRSR](https://msdn.microsoft.com/library/cc228086.aspx) replication protocol used to synchronize data between DCs. The service account must have Replicate Directory Changes and Replicate Directory Changes All AD permissions (granted by default on installation) to obtain the password hashes.
5050
2. Before sending, the DC encrypts the MD4 password hash by using a key that is a [MD5](https://www.rfc-editor.org/rfc/rfc1321.txt) hash of the RPC session key and a salt. It then sends the result to the password hash synchronization agent over RPC. The DC also passes the salt to the synchronization agent by using the DC replication protocol, so the agent will be able to decrypt the envelope.
51-
3. After the password hash synchronization agent has the encrypted envelope, it uses [MD5CryptoServiceProvider](https://msdn.microsoft.com/library/System.Security.Cryptography.MD5CryptoServiceProvider.aspx) and the salt to generate a key to decrypt the received data back to its original MD4 format. The password hash synchronization agent never has access to the clear text password. The password hash synchronization agent’s use of MD5 is strictly for replication protocol compatibility with the DC, and it is only used on premises between the DC and the password hash synchronization agent.
52-
4. The password hash synchronization agent expands the 16-byte binary password hash to 64 bytes by first converting the hash to a 32-byte hexadecimal string, then converting this string back into binary with UTF-16 encoding.
53-
5. The password hash synchronization agent adds a per user salt, consisting of a 10-byte length salt, to the 64-byte binary to further protect the original hash.
54-
6. The password hash synchronization agent then combines the MD4 hash plus the per user salt, and inputs it into the [PBKDF2](https://www.ietf.org/rfc/rfc2898.txt) function. 1000 iterations of the [HMAC-SHA256](https://msdn.microsoft.com/library/system.security.cryptography.hmacsha256.aspx) keyed hashing algorithm are used.
55-
7. The password hash synchronization agent takes the resulting 32-byte hash, concatenates both the per user salt and the number of SHA256 iterations to it (for use by Azure AD), then transmits the string from Azure AD Connect to Azure AD over SSL.</br>
56-
8. When a user attempts to sign in to Azure AD and enters their password, the password is run through the same MD4+salt+PBKDF2+HMAC-SHA256 process. If the resulting hash matches the hash stored in Azure AD, the user has entered the correct password and is authenticated.
51+
3. After the password hash synchronization agent has the encrypted envelope, it uses [MD5CryptoServiceProvider](https://msdn.microsoft.com/library/System.Security.Cryptography.MD5CryptoServiceProvider.aspx) and the salt to generate a key to decrypt the received data back to its original MD4 format. The password hash synchronization agent never has access to the clear text password. The password hash synchronization agent’s use of MD5 is strictly for replication protocol compatibility with the DC, and it is only used on premises between the DC and the password hash synchronization agent.
52+
4. The password hash synchronization agent expands the 16-byte binary password hash to 64 bytes by first converting the hash to a 32-byte hexadecimal string, then converting this string back into binary with UTF-16 encoding.
53+
5. The password hash synchronization agent adds a per user salt, consisting of a 10-byte length salt, to the 64-byte binary to further protect the original hash.
54+
6. The password hash synchronization agent then combines the MD4 hash plus the per user salt, and inputs it into the [PBKDF2](https://www.ietf.org/rfc/rfc2898.txt) function. 1000 iterations of the [HMAC-SHA256](https://msdn.microsoft.com/library/system.security.cryptography.hmacsha256.aspx) keyed hashing algorithm are used.
55+
7. The password hash synchronization agent takes the resulting 32-byte hash, concatenates both the per user salt and the number of SHA256 iterations to it (for use by Azure AD), then transmits the string from Azure AD Connect to Azure AD over SSL.</br>
56+
8. When a user attempts to sign in to Azure AD and enters their password, the password is run through the same MD4+salt+PBKDF2+HMAC-SHA256 process. If the resulting hash matches the hash stored in Azure AD, the user has entered the correct password and is authenticated.
5757

58-
>[!Note]
59-
>The original MD4 hash is not transmitted to Azure AD. Instead, the SHA256 hash of the original MD4 hash is transmitted. As a result, if the hash stored in Azure AD is obtained, it cannot be used in an on-premises pass-the-hash attack.
58+
> [!NOTE]
59+
> The original MD4 hash is not transmitted to Azure AD. Instead, the SHA256 hash of the original MD4 hash is transmitted. As a result, if the hash stored in Azure AD is obtained, it cannot be used in an on-premises pass-the-hash attack.
6060
6161
### Security considerations
62+
6263
When synchronizing passwords, the plain-text version of your password is not exposed to the password hash synchronization feature, to Azure AD, or any of the associated services.
6364

6465
User authentication takes place against Azure AD rather than against the organization's own Active Directory instance. The SHA256 password data stored in Azure AD--a hash of the original MD4 hash--is more secure than what is stored in Active Directory. Further, because this SHA256 hash cannot be decrypted, it cannot be brought back to the organization's Active Directory environment and presented as a valid user password in a pass-the-hash attack.
6566

6667
### Password policy considerations
68+
6769
There are two types of password policies that are affected by enabling password hash synchronization:
6870

6971
* Password complexity policy
7072
* Password expiration policy
7173

72-
#### Password complexity policy
74+
#### Password complexity policy
75+
7376
When password hash synchronization is enabled, the password complexity policies in your on-premises Active Directory instance override complexity policies in the cloud for synchronized users. You can use all of the valid passwords from your on-premises Active Directory instance to access Azure AD services.
7477

7578
> [!NOTE]
7679
> Passwords for users that are created directly in the cloud are still subject to password policies as defined in the cloud.
7780
78-
#### Password expiration policy
79-
If a user is in the scope of password hash synchronization, the cloud account password is set to *Never Expire*.
81+
#### Password expiration policy
82+
83+
If a user is in the scope of password hash synchronization, by default the cloud account password is set to *Never Expire*.
8084

8185
You can continue to sign in to your cloud services by using a synchronized password that is expired in your on-premises environment. Your cloud password is updated the next time you change the password in the on-premises environment.
8286

87+
##### Public preview of the *EnforceCloudPasswordPolicyForPasswordSyncedUsers* feature
88+
89+
If there are synchronized users that only interact with Azure AD integrated services and must also comply with a password expiration policy, you can force them to comply with your Azure AD password expiration policy by enabling the *EnforceCloudPasswordPolicyForPasswordSyncedUsers* feature.
90+
91+
When *EnforceCloudPasswordPolicyForPasswordSyncedUsers* is disabled (which is the default setting), Azure AD Connect sets the PasswordPolicies attribute of synchronized users to "DisablePasswordExpiration". This is done every time a user's password is synchronized and instructs Azure AD to ignore the cloud password expiration policy for that user. You can check the value of the attribute using the Azure AD PowerShell module with the following command:
92+
93+
`(Get-AzureADUser -objectID <User Object ID>).passwordpolicies`
94+
95+
96+
To enable the EnforceCloudPasswordPolicyForPasswordSyncedUsers feature, run the following command using the MSOnline PowerShell module:
97+
98+
`Set-MsolDirSyncFeature -Feature EnforceCloudPasswordPolicyForPasswordSyncedUsers  $true`
99+
100+
Once enabled, Azure AD does not go to each synchronized user to remove the `DisablePasswordExpiration` value from the PasswordPolicies attribute. Instead, the value is set to `None` during the next password sync for each user when they next change their password in on-premises AD. 
101+
102+
It is recommended to enable EnforceCloudPasswordPolicyForPasswordSyncedUsers, prior to enabling password hash sync, so that the initial sync of password hashes does not add the `DisablePasswordExpiration` value to the PasswordPolicies attribute for the users.
103+
104+
The default Azure AD password policy requires users to change their passwords every 90 days. If your policy in AD is also 90 days, the two policies should match. However, if the AD policy is not 90 days, you can update the Azure AD password policy to match by using the Set-MsolPasswordPolicy PowerShell command.
105+
106+
Azure AD supports a separate password expiration policy per registered domain.
107+
108+
Caveat: If there are synchronized accounts that need to have non-expiring passwords in Azure AD, you must explicitly add the `DisablePasswordExpiration` value to the PasswordPolicies attribute of the user object in Azure AD. You can do this by running the following command.
109+
110+
`Set-AzureADUser -ObjectID <User Object ID> -PasswordPolicies "DisablePasswordExpiration"`
111+
112+
> [!NOTE]
113+
> This feature is in Public Preview right now.
114+
115+
#### Public Preview of synchronizing temporary passwords and "Force Password on Next Logon"
116+
117+
It is typical to force a user to change their password during their first logon, especially after an admin password reset occurs. It is commonly known as setting a "temporary" password and is completed by checking the "User must change password at next logon" flag on a user object in Active Directory (AD).
118+
119+
The temporary password functionality helps to ensure that the transfer of ownership of the credential is completed on first use, to minimize the duration of time in which more than one individual has knowledge of that credential.
120+
121+
To support temporary passwords in Azure AD for synchronized users, you can enable the *ForcePasswordResetOnLogonFeature* feature, by running the following command on your Azure AD Connect server, replacing <AAD Connector Name> with the connector name specific to your environment:
122+
123+
`Set-ADSyncAADCompanyFeature -ConnectorName "<AAD Connector name>" -ForcePasswordResetOnLogonFeature $true`
124+
125+
You can use the following command to determine the connector name:
126+
127+
`(Get-ADSyncConnector | where{$_.ListName -eq "Windows Azure Active Directory (Microsoft)"}).Name`
128+
129+
Caveat: Forcing a user to change their password on next logon requires a password change at the same time. AD Connect will not pick up the force password change flag by itself, it is supplemental to the detected password change that occurs during password hash sync.
130+
131+
> [!CAUTION]
132+
> If you do not enable Self-service Password Reset (SSPR) in Azure AD users will have a confusing experience when they reset their password in Azure AD and then attempt to sign in in Active Directory with the new password, as the new password isn’t valid in Active Directory. You should only use this feature when SSPR and Password Writeback is enabled on the tenant.
133+
134+
> [!NOTE]
135+
> This feature is in Public Preview right now.
136+
83137
#### Account expiration
138+
84139
If your organization uses the accountExpires attribute as part of user account management, this attribute is not synchronized to Azure AD. As a result, an expired Active Directory account in an environment configured for password hash synchronization will still be active in Azure AD. We recommend that if the account is expired, a workflow action should trigger a PowerShell script that disables the user's Azure AD account (use the [Set-AzureADUser](https://docs.microsoft.com/powershell/module/azuread/set-azureaduser?view=azureadps-2.0) cmdlet). Conversely, when the account is turned on, the Azure AD instance should be turned on.
85140

86141
### Overwrite synchronized passwords
142+
87143
An administrator can manually reset your password by using Windows PowerShell.
88144

89145
In this case, the new password overrides your synchronized password, and all password policies defined in the cloud are applied to the new password.

articles/aks/security-hardened-vm-host-image.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,6 @@ AKS-Engine does not promote or adhere to any specific security standard at this
7373
|5.4.4 |Ensure default user umask is 027 or more restrictive |
7474
|5.6 |Ensure access to the su command is restricted|
7575

76-
(*) Must be enabled. See the cluster definition [documentation](https://github.com/Azure/aks-engine/blob/master/docs/topics/clusterdefinitions.md).
77-
7876
## Additional notes
7977

8078
* To further reduce the attack surface area, some unnecessary kernel module drivers have been disabled in the OS.

0 commit comments

Comments
 (0)