<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="https://www.w3.org/2005/Atom" xmlns:sy="https://purl.org/rss/1.0/modules/syndication/" xmlns:dc="https://purl.org/dc/elements/1.1/" xmlns:content="https://purl.org/rss/1.0/modules/content/" xmlns:wfw="https://wellformedweb.org/CommentAPI/" xmlns:slash="https://purl.org/rss/1.0/modules/slash/"
  version="2.0">
  <channel>
    <title>Security for the adventurous</title>
    <atom:link
      href="https://docs.microsoft.com/archive/blogs/secadv/feed.xml"
      rel="self"
      type="application/rss+xml" />
    <link>https://docs.microsoft.com/archive/blogs/secadv/feed.xml</link>
    <description>Just another Technet site</description>
    <lastBuildDate>Thu, 01 Mar 2018 17:33:03 GMT</lastBuildDate>
    <language>en-US</language>
    <sy:updatePeriod>hourly</sy:updatePeriod>
    <sy:updateFrequency>1</sy:updateFrequency>
    <item>
      <title>Using Protected Groups to Secure Privileged User Accounts</title>
      <link>https://docs.microsoft.com/archive/blogs/secadv/using-protected-groups-to-secure-privileged-user-accounts</link>
      <pubDate>Thu, 01 Mar 2018 12:33:02 GMT</pubDate>
      <dc:creator><![CDATA[LijuV]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/secadv/?p=3145</guid>
      <description><![CDATA[Benefits
Members of the Protected Users group who are signed-on to Windows 8.1 devices and Windows...]]></description>
      <content:encoded><![CDATA[<h2>Benefits</h2>
<span style="font-family: Verdana;font-size: 10pt">Members of the Protected Users group who are signed-on to Windows 8.1 devices and Windows Server 2012 R2 hosts can no longer use:
</span>
<ul>
 	<li><span style="font-family: Verdana;font-size: 10pt">Default credential delegation (CredSSP) - plaintext credentials are not cached even when the Allow delegating default credentials policy is enabled
</span></li>
 	<li><span style="font-family: Verdana;font-size: 10pt">Windows Digest - plaintext credentials are not cached even when they are enabled
</span></li>
 	<li><span style="font-family: Verdana;font-size: 10pt">NTLM - NTOWF is not cached
</span></li>
 	<li><span style="font-family: Verdana;font-size: 10pt">Kerberos long term keys - Kerberos ticket-granting ticket (TGT) is acquired at logon and cannot be re-acquired automatically
</span></li>
 	<li><span style="font-family: Verdana;font-size: 10pt">Sign-on offline - the cached logon verifier is not created
</span></li>
</ul>
<span style="font-family: Verdana;font-size: 10pt">If the domain functional level is Windows Server 2012 R2 , members of the group can no longer:
</span>
<ul>
 	<li><span style="font-family: Verdana;font-size: 10pt">Authenticate by using NTLM authentication
</span></li>
 	<li><span style="font-family: Verdana;font-size: 10pt">Use Data Encryption Standard (DES) or RC4 cipher suites in Kerberos pre-authentication
</span></li>
 	<li><span style="font-family: Verdana;font-size: 10pt">Be delegated by using unconstrained or constrained delegation
</span></li>
 	<li><span style="font-family: Verdana;font-size: 10pt">Renew user tickets (TGTs) beyond the initial 4-hour lifetime
</span></li>
</ul>
<h2>Requirements</h2>
<span style="font-family: Verdana;font-size: 10pt">The PDCe role should be hosted on a domain controller that runs Windows Server 2012 R2 to create the Protected Users security group.
</span>

<span style="font-family: Verdana;font-size: 10pt">Hosts must run Windows 8.1, Windows Server 2012 R2 or later to provide client-side restrictions for Protected Users. Members of this group have no additional protection if they are logged on to a device that runs a version of Windows earlier than Windows 8.1.
</span>

<span style="font-family: Verdana;font-size: 10pt">Domain controller-side restrictions for Protected Users require the domain functional level to be Windows Server 2012 R2 or later.
</span>
<h2>Action</h2>
<span style="font-family: Verdana;font-size: 10pt">Simply add users to the group, using UI tools such as Active Directory Administrative Center (ADAC) or Active Directory Users and Computers, or a command-line tool such as Dsmod group, or the Windows PowerShellAdd-ADGroupMember cmdlet
</span>

<span style="font-family: Verdana;font-size: 10pt">To track events, enable the following logs on domain controllers:
</span>
<ul>
 	<li><span style="font-family: Verdana;font-size: 10pt">Microsoft-Windows-Authentication/<strong>ProtectedUserFailures</strong>-DomainController
</span></li>
 	<li>
<div><span style="font-family: Verdana;font-size: 10pt">Microsoft-Windows-Authentication/<strong>ProtectedUserSuccesses</strong>-DomainController
</span></div>
<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1720_UsingProtec1.png" /><span style="font-family: Verdana;font-size: 10pt">
</span></li>
</ul>
<h2>Impact</h2>
<span style="font-family: Verdana;font-size: 10pt">Members of the Protected Users group must be able to authenticate by using Kerberos with Advanced Encryption Standards (AES). The built-in administrator as well as any account, which has a password that was changed at a domain controller that runs an earlier version of Windows Server, is locked out. Therefore, follow these best practices:
</span>

<span style="font-family: Verdana;font-size: 10pt">Do not test in domains unless all domain controllers run Windows Server 2008 or later.
</span>

<span style="font-family: Verdana;font-size: 10pt">Change password for each user before adding the account to the Protected Users group or ensure that the password was changed recently on a domain controller that runs Windows Server 2008 or later.
</span>

<span style="font-family: Verdana;font-size: 10pt">Membership of the Protected Users also affect the Kerberos TGT lifetime and renewal times:
</span>
<div>
<table style="border-collapse: collapse" border="0"><colgroup> <col style="width: 415px" /> <col style="width: 416px" /> <col style="width: 416px" /></colgroup>
<tbody valign="top">
<tr>
<td style="padding-left: 14px;padding-right: 14px;border: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Kerberos Policy</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: solid 0.5pt;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Default</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: solid 0.5pt;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Protected Users</span></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Maximum lifetime for user ticket</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">10 hours (600 minutes)
</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">240 minutes</span></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Maximum lifetime for user ticket renewal</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">7 days (10,080 minutes)</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">240 minutes</span></td>
</tr>
</tbody>
</table>
</div>
&nbsp;
<h2>Validation – Success</h2>
<span style="font-family: Verdana;font-size: 10pt">Connecting to server using RDP. Using the DNS name of the server results in Kerberos being used for authentication
</span>

<span style="font-family: Courier New;font-size: 8pt"><strong>Log Name:</strong> Microsoft-Windows-Authentication/ProtectedUserSuccesses-DomainController
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Source</strong>: Microsoft-Windows-Kerberos-Key-Distribution-Center
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Date</strong>: 2/5/2018 10:38:39 PM
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Event ID:</strong> 303
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Task Category:</strong> None
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Level</strong>: Information
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Keywords</strong>:
</span><span style="font-family: Courier New;font-size: 8pt"><strong>User</strong>: SYSTEM
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Computer</strong>: RootDC01.Litware.com
</span>

<span style="font-family: Courier New;font-size: 8pt"><strong>Description</strong>:
</span><span style="font-family: Courier New;font-size: 8pt">A Kerberos ticket-granting-ticket (TGT) was issued for a member of the Protected User group.
</span>

<span style="font-family: Courier New;font-size: 8pt">Account Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Account Name:        BBanner
</span><span style="font-family: Courier New;font-size: 8pt">    Supplied Realm Name:
</span><span style="font-family: Courier New;font-size: 8pt">    User ID:            LITWARE\BBanner
</span><span style="font-family: Courier New;font-size: 8pt">Authentication Policy Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Silo Name:
</span><span style="font-family: Courier New;font-size: 8pt">    Policy Name:        AuthPol - Tier_0_Accounts_Devices
</span><span style="font-family: Courier New;font-size: 8pt">    TGT Lifetime:        240
</span><span style="font-family: Courier New;font-size: 8pt">Device Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Device Name:
</span><span style="font-family: Courier New;font-size: 8pt">Service Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Service Name:        krbtgt/LITWARE
</span><span style="font-family: Courier New;font-size: 8pt">    Service ID:        LITWARE\krbtgt
</span><span style="font-family: Courier New;font-size: 8pt">Network Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Client Address:        ::ffff:10.10.20.24
</span><span style="font-family: Courier New;font-size: 8pt">    Client Port:        49204
</span><span style="font-family: Courier New;font-size: 8pt">Additional Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Ticket Options:        0x78
</span><span style="font-family: Courier New;font-size: 8pt">    Result Code:        0x0
</span><span style="font-family: Courier New;font-size: 8pt">    Ticket Encryption Type:    0x7
</span><span style="font-family: Courier New;font-size: 8pt">    Pre-Authentication Type:    2
</span><span style="font-family: Courier New;font-size: 8pt">Certificate Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Certificate Issuer Name:
</span><span style="font-family: Courier New;font-size: 8pt">    Certificate Serial Number:
</span><span style="font-family: Courier New;font-size: 8pt">    Certificate Thumbprint:
</span><span style="font-family: Courier New;font-size: 8pt">Certificate information is only provided if a certificate was used for pre-authentication.
</span><span style="font-family: Courier New;font-size: 8pt">Pre-authentication types, ticket options, encryption types and result codes are defined in RFC 4120.
</span>

&nbsp;

<span style="font-family: Courier New;font-size: 8pt"><strong>Log Name:</strong> Microsoft-Windows-Authentication/ProtectedUserSuccesses-DomainController
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Source</strong>: Microsoft-Windows-Kerberos-Key-Distribution-Center
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Date</strong>: 2/5/2018 10:38:39 PM
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Event ID:</strong> 304
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Task Category:</strong> None
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Level</strong>: Information
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Keywords</strong>:
</span><span style="font-family: Courier New;font-size: 8pt"><strong>User</strong>: SYSTEM
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Computer</strong>: RootDC01.Litware.com
</span>

<span style="font-family: Courier New;font-size: 8pt"><strong>Description</strong>:
</span><span style="font-family: Courier New;font-size: 8pt">A Kerberos service ticket was issued for a member of the Protected User group.
</span><span style="font-family: Courier New;font-size: 8pt">Account Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Account Name:        BBanner@LITWARE.COM
</span><span style="font-family: Courier New;font-size: 8pt">    Account Domain:        LITWARE.COM
</span><span style="font-family: Courier New;font-size: 8pt">    Logon GUID:        {9fdc2786-483a-81c3-17ce-43276cb9e55e}
</span><span style="font-family: Courier New;font-size: 8pt">Authentication Policy Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Silo Name:
</span><span style="font-family: Courier New;font-size: 8pt">    Policy Name:
</span><span style="font-family: Courier New;font-size: 8pt">Device Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Device Name:
</span><span style="font-family: Courier New;font-size: 8pt">Service Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Service Name:        ROOTMS04$
</span><span style="font-family: Courier New;font-size: 8pt">    Service ID:        LITWARE\ROOTMS04$
</span><span style="font-family: Courier New;font-size: 8pt">Network Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Client Address:        ::ffff:10.10.20.24
</span><span style="font-family: Courier New;font-size: 8pt">    Client Port:        49205
</span><span style="font-family: Courier New;font-size: 8pt">Additional Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Ticket Options:        0x7B
</span><span style="font-family: Courier New;font-size: 8pt">    Ticket Encryption Type:    0x1F
</span><span style="font-family: Courier New;font-size: 8pt">    Failure Code:        0x0
</span><span style="font-family: Courier New;font-size: 8pt">    Transited Services:    -
</span><span style="font-family: Courier New;font-size: 8pt">This event is generated every time access is requested to a resource such as a computer or a Windows service. The service name indicates the resource to which access was requested.
</span><span style="font-family: Courier New;font-size: 8pt">This event can be correlated with Windows logon events by comparing the Logon GUID fields in each event. The logon event occurs on the machine that was accessed, which is often a different machine than the domain controller which issued the service ticket.
</span><span style="font-family: Courier New;font-size: 8pt">Ticket options, encryption types, and failure codes are defined in RFC 4120.
</span>

&nbsp;

<span style="font-family: Courier New;font-size: 8pt"><strong>Log Name:</strong> Security
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Source</strong>: Microsoft-Windows-Security-Auditing
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Date</strong>: 2/5/2018 10:40:40 PM
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Event ID:</strong> 4768
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Task Category:</strong> Kerberos Authentication Service
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Level</strong>: Information
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Keywords</strong>: Audit Success
</span><span style="font-family: Courier New;font-size: 8pt"><strong>User</strong>: N/A
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Computer:</strong> RootDC01.Litware.com
</span>

<span style="font-family: Courier New;font-size: 8pt"><strong>Description</strong>:
</span><span style="font-family: Courier New;font-size: 8pt">A Kerberos authentication ticket (TGT) was requested.
</span>

<span style="font-family: Courier New;font-size: 8pt">Account Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Account Name:        BBanner
</span><span style="font-family: Courier New;font-size: 8pt">    Supplied Realm Name:    LITWARE.COM
</span><span style="font-family: Courier New;font-size: 8pt">    User ID:            LITWARE\BBanner
</span><span style="font-family: Courier New;font-size: 8pt">Service Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Service Name:        krbtgt
</span><span style="font-family: Courier New;font-size: 8pt">    Service ID:        LITWARE\krbtgt
</span><span style="font-family: Courier New;font-size: 8pt">Network Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Client Address:        ::ffff:10.10.20.24
</span><span style="font-family: Courier New;font-size: 8pt">    Client Port:        49239
</span><span style="font-family: Courier New;font-size: 8pt">Additional Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Ticket Options:        0x40810010
</span><span style="font-family: Courier New;font-size: 8pt">    Result Code:        0x0
</span><span style="font-family: Courier New;font-size: 8pt">    Ticket Encryption Type:    0x12
</span><span style="font-family: Courier New;font-size: 8pt">    Pre-Authentication Type:    2
</span><span style="font-family: Courier New;font-size: 8pt">Certificate Information:
</span><span style="font-family: Courier New;font-size: 8pt">    Certificate Issuer Name:
</span><span style="font-family: Courier New;font-size: 8pt">    Certificate Serial Number:
</span><span style="font-family: Courier New;font-size: 8pt">    Certificate Thumbprint:
</span><span style="font-family: Courier New;font-size: 8pt">Certificate information is only provided if a certificate was used for pre-authentication.
</span><span style="font-family: Courier New;font-size: 8pt">Pre-authentication types, ticket options, encryption types and result codes are defined in RFC 4120.
</span>

&nbsp;
<h2>Validation – Failure</h2>
<span style="font-family: Verdana;font-size: 10pt">When connecting over RDP, using the ip address of the server results in NTLM being used for authentication, which results in a failed authentication.
</span>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1720_UsingProtec2.png" /><span style="font-family: Verdana;font-size: 10pt">
</span>

<span style="font-family: Courier New;font-size: 8pt"><strong>Log Name:</strong> Microsoft-Windows-Authentication/ProtectedUserFailures-DomainController
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Source</strong>: Microsoft-Windows-NTLM
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Date</strong>: 2/5/2018 10:50:23 PM
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Event ID</strong>: 100
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Task Category:</strong> None
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Level</strong>: Error
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Keywords</strong>:
</span><span style="font-family: Courier New;font-size: 8pt"><strong>User</strong>: SYSTEM
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Computer</strong>: RootDC01.Litware.com
</span>

<span style="font-family: Courier New;font-size: 8pt"><strong>Description</strong>:
</span><span style="font-family: Courier New;font-size: 8pt">NTLM authentication failed because the account was a member of the Protected User group.
</span><span style="font-family: Courier New;font-size: 8pt">Account Name:    BBanner
</span><span style="font-family: Courier New;font-size: 8pt">Device Name:    ROOTMS01
</span><span style="font-family: Courier New;font-size: 8pt">Error Code:    0xC000006E
</span>

&nbsp;

<span style="font-family: Courier New;font-size: 8pt"><strong>Log Name:</strong> Security
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Source:</strong> Microsoft-Windows-Security-Auditing
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Date</strong>: 2/5/2018 10:50:23 PM
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Event</strong> ID: 4822
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Task Category:</strong> Credential Validation
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Level</strong>: Information
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Keywords</strong>: Audit Failure
</span><span style="font-family: Courier New;font-size: 8pt"><strong>User</strong>: N/A
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Computer</strong>: RootDC01.Litware.com
</span>

<span style="font-family: Courier New;font-size: 8pt"><strong>Description</strong>:
</span><span style="font-family: Courier New;font-size: 8pt">NTLM authentication failed because the account was a member of the Protected User group.
</span><span style="font-family: Courier New;font-size: 8pt">Account Name:    BBanner
</span><span style="font-family: Courier New;font-size: 8pt">Device Name:    ROOTMS01
</span><span style="font-family: Courier New;font-size: 8pt">Error Code:    0xC000006E
</span>

&nbsp;

<span style="font-family: Courier New;font-size: 8pt"><strong>Log Name</strong>: Security
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Source</strong>: Microsoft-Windows-Security-Auditing
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Date</strong>: 2/5/2018 10:50:23 PM
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Event ID</strong>: 4776
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Task Category</strong>: Credential Validation
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Level</strong>: Information
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Keywords</strong>: Audit Failure
</span><span style="font-family: Courier New;font-size: 8pt"><strong>User</strong>: N/A
</span><span style="font-family: Courier New;font-size: 8pt"><strong>Computer:</strong> RootDC01.Litware.com
</span>

<span style="font-family: Courier New;font-size: 8pt"><strong>Description:</strong>
</span><span style="font-family: Courier New;font-size: 8pt">The computer attempted to validate the credentials for an account.
</span><span style="font-family: Courier New;font-size: 8pt">Authentication Package:    MICROSOFT_AUTHENTICATION_PACKAGE_V1_0
</span><span style="font-family: Courier New;font-size: 8pt">Logon Account:    BBanner
</span><span style="font-family: Courier New;font-size: 8pt">Source Workstation:    ROOTMS01
</span><span style="font-family: Courier New;font-size: 8pt">Error Code:    0xC000006E
</span>]]></content:encoded>
    </item>
    <item>
      <title>Using Authentication Policies to Restrict Privileged User Account Logons</title>
      <link>https://docs.microsoft.com/archive/blogs/secadv/using-authentication-policies-to-restrict-privileged-user-account-logons</link>
      <pubDate>Thu, 01 Mar 2018 07:48:34 GMT</pubDate>
      <dc:creator><![CDATA[LijuV]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/secadv/?p=305</guid>
      <description><![CDATA[Authentication policy silos and the accompanying policies provide a way to contain high-privilege...]]></description>
      <content:encoded><![CDATA[<span style="font-family: Verdana;font-size: 10pt">Authentication policy silos and the accompanying policies provide a way to contain high-privilege credentials to systems that are only pertinent to selected users, computers, or services. Silos can be defined and managed in Active Directory Domain Services (AD DS) by using the Active Directory Administrative Center and the Active Directory Windows PowerShell cmdlets.
</span>

<span style="font-family: Verdana;font-size: 10pt">The following example shows how to use authentication policies and authentication policy silos to allow privileged user accounts to log on ONLY to domain controllers and to privileged access workstations (also called jump servers, administrative servers/workstations, etc. The rationale is to restrict Tier 0 accounts to Tier 0 servers and not allow interactive logon to less secure machines. For more information on the tier model, see <a href="https://aka.ms/tiermodel">https://aka.ms/tiermodel</a>
</span>
<div>
<table style="border-collapse: collapse" border="0"><colgroup> <col style="width: 1436px" /></colgroup>
<tbody valign="top">
<tr>
<td style="padding-left: 14px;padding-right: 14px;border: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt"><strong>Note
</strong></span><span style="font-family: Verdana;font-size: 10pt">Most examples on the internet use policies to:
</span>
<ul>
 	<li><span style="font-family: Verdana;font-size: 10pt">Specify a TGT lifetime.
</span></li>
 	<li><span style="font-family: Verdana;font-size: 10pt">Specify the silo using an access control condition
</span></li>
</ul>
<span style="font-family: Verdana;font-size: 10pt"> While silos are used to:
</span>
<ul>
 	<li><span style="font-family: Verdana;font-size: 10pt">Define accounts. Conversely the silo is assigned to each of the user and computer accounts
</span></li>
 	<li><span style="font-family: Verdana;font-size: 10pt">Define the authentication policy
</span></li>
</ul>
<span style="font-family: Verdana;font-size: 10pt">However, in the example, below, silos are not used. An authentication policy alone is used to:
</span>
<ul>
 	<li><span style="font-family: Verdana;font-size: 10pt">Define user accounts. Conversely the policy was assigned to each of the user accounts
</span></li>
 	<li><span style="font-family: Verdana;font-size: 10pt">Specify a TGT lifetime
</span></li>
 	<li><span style="font-family: Verdana;font-size: 10pt">Specify the devices the users can authenticate to, using an access control condition
</span></li>
</ul>
</td>
</tr>
</tbody>
</table>
</div>
<h2><span style="font-family: Verdana">Requirements
</span></h2>
<ul>
 	<li><span style="font-family: Verdana;font-size: 10pt">Windows Server 2012 R2 domain functional level
</span></li>
 	<li><span style="font-family: Verdana;font-size: 10pt">Clients must run Windows 8, Server 2012 and later to support Kerberos armoring (which is part of Dynamic Access Control)
</span></li>
</ul>
<h2><span style="font-family: Verdana">High-level steps:
</span></h2>
<ol style="margin-left: 54pt">
 	<li><span style="font-family: Verdana;font-size: 10pt">Enable support for claims, compound authentication, and Kerberos armoring on domain controllers using group policy.
</span></li>
 	<li><span style="font-family: Verdana;font-size: 10pt">Enable support for claims, compound authentication, and Kerberos armoring on clients using group policy.
</span></li>
 	<li>
<div><span style="font-family: Verdana;font-size: 10pt">Create an authentication policy that configures the following:
</span></div>
<ol>
 	<li><span style="font-family: Verdana;font-size: 10pt">User accounts
</span></li>
 	<li><span style="font-family: Verdana;font-size: 10pt">TGT lifetime for the user accounts
</span></li>
 	<li><span style="font-family: Verdana;font-size: 10pt">Access control conditions that restrict devices
</span></li>
</ol>
</li>
 	<li><span style="font-family: Verdana;font-size: 10pt">Assign the authentication policy to each of the user accounts
</span></li>
</ol>
<h2><span style="font-family: Verdana">Detailed steps:
</span></h2>
<div>
<table style="border-collapse: collapse" border="0"><colgroup> <col style="width: 76px" /> <col style="width: 974px" /> <col style="width: 1897px" /></colgroup>
<tbody valign="top">
<tr>
<td style="padding-left: 14px;padding-right: 14px;border: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">1.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: solid 0.5pt;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Configure domain controllers to support claims and compound authentication for Dynamic Access Control and Kerberos armoring
</span><span style="font-family: Verdana;font-size: 10pt">Do this by enabling the following group policy setting and linking the group policy object to the domain controllers organizational unit:
</span><span style="font-family: Verdana;font-size: 10pt"><strong>Computer Configuration\Policies\Administrative Templates\System\KDC - KDC support for claims, compound authentication, and Kerberos armoring: Always provide claims</strong>
</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: solid 0.5pt;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen1.png" /></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">2.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Configure the client computers to request claims, provide information required to create compounded authentication and armor Kerberos messages.
</span><span style="font-family: Verdana;font-size: 10pt">Do this by enabling the following group policy setting and linking the group policy object to the OUs that contain the machines to which the user(s) will be allowed to log on to:
</span><span style="font-family: Verdana;font-size: 10pt"><strong>Computer Configuration\Policies\Administrative Templates\System\Kerberos - Kerberos client support for claims, compound authentication and Kerberos armoring</strong>
</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen2.png" /></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">3.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Open the <strong>Active Directory Administrative Center</strong> (dsac.exe).
</span><span style="font-family: Verdana;font-size: 10pt">Click on <strong>Authentication</strong> in the left pane.
</span><span style="font-family: Verdana;font-size: 10pt">The selected Authentication node is visible for domains which are at Windows Server 2012 R2 DFL
</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen3.png" /></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">4.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">In the main pane select <strong>Authentication Policies</strong>. Then, in the <strong>Tasks</strong> pane, click on <strong>New</strong> under <strong>Authentication Policies</strong>. Select <strong>Authentication Policy</strong> from the context menu.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen4.png" /></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">5.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Configure the policy with the following information:
</span><span style="font-family: Verdana;font-size: 10pt"><strong>Display name:</strong> AuthPol - Tier_0_Accounts_Devices
</span><span style="font-family: Verdana;font-size: 10pt"><strong>Description:</strong> This policy restricts directory service administrator accounts to authenticate against domain controllers and Privileged Administrative Workstations alone
</span><span style="font-family: Verdana;font-size: 10pt"><strong>Only audit policy restrictions</strong>: Select for testing, before rolling out to production
</span><span style="font-family: Verdana;font-size: 10pt"><strong>Protect from accidental deletion:</strong> checked
</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen5.png" /></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">6.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Under the <strong>Accounts</strong> section, use the <strong>Add</strong> button to add the users. Group objects cannot be selected using the object picker.
</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen6.png" /></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">7.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Under the <strong>User</strong> section, check the box <strong>Specify a Ticket Granting Ticket lifetime for user accounts</strong> and enter a value in minutes for <strong>Ticket-Granting-Ticket Lifetime (minutes)</strong>
</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen7.png" /></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">8.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Also, under the <strong>User</strong> section, specify access control conditions that restrict devices that can request a Ticket Granting Ticket for the user accounts assigned to this policy.
</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen8.png" /></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">9.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Under the <strong>User</strong> section, click the <strong>Edit</strong> button. In the <strong>Edit Access Control Conditions </strong>window, click the <strong>Add a condition</strong> link on the bottom left corner.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen9.png" /></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">10.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">In the <strong>Member of each</strong> drop-down box, select <strong>Member of any</strong></span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen10.png" /></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">11.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Click the <strong>Add items</strong> button. Use the object picker to select the <strong>Domain Controllers </strong>security group.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen11.png" /></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">12.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Once again, click <strong>Add items</strong> and this time in the object picker, select the <strong>Computers</strong> object type as well.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen12.png" /></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">13.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Search and select the server(s) you want the user(s) to be able to log on to.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen13.png" /></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">14.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">This is what the result should look like in the <strong>Edit Access Control Conditions</strong> window:</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen14.png" /></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">15.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">This is what the result should look like in the <strong>User</strong> section of the authentication policy properties:</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen15.png" /></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">16.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Click <strong>OK</strong> on the authentication policy properties window.
</span><span style="font-family: Verdana;font-size: 10pt">Within the <strong>Active Directory Administrative Center</strong> browse to the user account added in step 7, right-click the object and click <strong>Properties</strong>.
</span><span style="font-family: Verdana;font-size: 10pt">Click <strong>Policy</strong> on the left and on the main pane, in the <strong>Authentication Policy</strong> section, select <strong>Assign Authentication Policy Silo</strong> and using the drop down, select the policy.
</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen16.png" /></td>
</tr>
<tr>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: solid 0.5pt;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">17.</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"><span style="font-family: Verdana;font-size: 10pt">Repeat the last step for each user account added in step 7.
</span></td>
<td style="padding-left: 14px;padding-right: 14px;border-top: none;border-left: none;border-bottom: solid 0.5pt;border-right: solid 0.5pt"></td>
</tr>
</tbody>
</table>
</div>
&nbsp;

<span style="color: #323e4f;font-family: Verdana;font-size: 15pt"><strong>Validation – Failure
</strong></span>

<span style="font-family: Verdana;font-size: 10pt"><strong>Audit Mode
</strong></span>

<span style="font-family: Verdana;font-size: 10pt">When a user assigned an authentication policy attempts to log on to a machine to which he/she is not allowed access, the attempt succeeds but the following event is logged on the domain controller:
</span>
<div>
<table style="border-collapse: collapse" border="0"><colgroup> <col style="width: 2268px" /></colgroup>
<tbody valign="top">
<tr>
<td style="padding-left: 14px;padding-right: 14px;border: solid 0.5pt"><span style="font-family: Courier New;font-size: 8pt"><strong>Log Name: Microsoft-Windows-Authentication/AuthenticationPolicyFailures-DomainController
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Source: Microsoft-Windows-Kerberos-Key-Distribution-Center
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Date: 2/5/2018 10:19:58 PM
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Event ID: 305
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Task Category: None
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Level: Information
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Keywords:
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>User: SYSTEM
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Computer: RootDC01.Litware.com
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong> </strong></span><span style="font-family: Courier New;font-size: 8pt">Description:
</span><span style="font-family: Courier New;font-size: 8pt">A Kerberos ticket-granting-ticket (TGT) was issued, but it will be denied when Authentication Policy is enforced because the device does not meet the access control restrictions.
</span><span style="font-family: Courier New;font-size: 8pt">Account Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Account Name:        BBanner
</span><span style="font-family: Courier New;font-size: 8pt">Supplied Realm Name:
</span><span style="font-family: Courier New;font-size: 8pt">User ID:            LITWARE\BBanner
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Authentication Policy Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Silo Name:
</span><span style="font-family: Courier New;font-size: 8pt">Policy Name:        AuthPol - Tier_0_Accounts_Devices
</span><span style="font-family: Courier New;font-size: 8pt">TGT Lifetime:        240
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Device Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Device Name:
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Service Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Service Name:        krbtgt/LITWARE
</span><span style="font-family: Courier New;font-size: 8pt">Service ID:        S-1-5-21-156393716-1274321063-4078162134-0
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Network Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Client Address:        ::ffff:10.10.20.24
</span><span style="font-family: Courier New;font-size: 8pt">Client Port:        49204
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Additional Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Ticket Options:        0x7B
</span><span style="font-family: Courier New;font-size: 8pt">Result Code:        0x12
</span><span style="font-family: Courier New;font-size: 8pt">Ticket Encryption Type:    0x7
</span><span style="font-family: Courier New;font-size: 8pt">Pre-Authentication Type:    0
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Certificate Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Certificate Issuer Name:
</span><span style="font-family: Courier New;font-size: 8pt">Certificate Serial Number:
</span><span style="font-family: Courier New;font-size: 8pt">Certificate Thumbprint:
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Certificate information is only provided if a certificate was used for pre-authentication.
</span><span style="font-family: Courier New;font-size: 8pt">Pre-authentication types, ticket options, encryption types and result codes are defined in RFC 4120.
</span>

<span style="font-family: Courier New;font-size: 8pt"> </span></td>
</tr>
</tbody>
</table>
</div>
&nbsp;

<span style="font-family: Verdana;font-size: 10pt"><strong>Enforced Mode
</strong></span>

<span style="font-family: Verdana;font-size: 10pt">When a user assigned an authentication policy attempts to log on to a machine to which he/she is not allowed access, the attempt fails with the following error:
</span>

<img alt="" src="https://msdnshared.blob.core.windows.net/media/2018/03/030118_1624_UsingAuthen17.png" /><span style="font-family: Verdana;font-size: 10pt">
</span>

<span style="font-family: Verdana;font-size: 10pt">This is accompanied by the following events on the domain controller:
</span>
<div>
<table style="border-collapse: collapse" border="0"><colgroup> <col style="width: 2268px" /></colgroup>
<tbody valign="top">
<tr>
<td style="padding-left: 14px;padding-right: 14px;border: solid 0.5pt"><span style="font-family: Courier New;font-size: 8pt"><strong>Log Name: Microsoft-Windows-Authentication/AuthenticationPolicyFailures-DomainController
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Source: Microsoft-Windows-Kerberos-Key-Distribution-Center
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Date: 2/5/2018 11:39:12 PM
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Event ID: 105
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Task Category: None
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Level: Error
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Keywords:
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>User: SYSTEM
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Computer: RootDC01.Litware.com
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong> </strong></span><span style="font-family: Courier New;font-size: 8pt">Description:
</span><span style="font-family: Courier New;font-size: 8pt">A Kerberos Ticket-granting-ticket (TGT) was denied because the device does not meet the access control restrictions.
</span><span style="font-family: Courier New;font-size: 8pt">Account Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Account Name:        BBanner
</span><span style="font-family: Courier New;font-size: 8pt">Supplied Realm Name:
</span><span style="font-family: Courier New;font-size: 8pt">User ID:            LITWARE\BBanner
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Authentication Policy Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Silo Name:
</span><span style="font-family: Courier New;font-size: 8pt">Policy Name:        AuthPol - Tier_0_Accounts_Devices
</span><span style="font-family: Courier New;font-size: 8pt">TGT Lifetime:        240
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Device Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Device Name:
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Service Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Service Name:        krbtgt/LITWARE
</span><span style="font-family: Courier New;font-size: 8pt">Service ID:        S-1-5-21-156393716-1274321063-4078162134-0
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Network Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Client Address:        ::ffff:10.10.20.24
</span><span style="font-family: Courier New;font-size: 8pt">Client Port:        49218
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Additional Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Ticket Options:        0x78
</span><span style="font-family: Courier New;font-size: 8pt">Result Code:        0xC
</span><span style="font-family: Courier New;font-size: 8pt">Ticket Encryption Type:    0x7
</span><span style="font-family: Courier New;font-size: 8pt">Pre-Authentication Type:    0
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Certificate Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Certificate Issuer Name:
</span><span style="font-family: Courier New;font-size: 8pt">Certificate Serial Number:
</span><span style="font-family: Courier New;font-size: 8pt">Certificate Thumbprint:
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Certificate information is only provided if a certificate was used for pre-authentication.
</span><span style="font-family: Courier New;font-size: 8pt">Pre-authentication types, ticket options, encryption types and result codes are defined in RFC 4120.
</span>

<span style="font-family: Courier New;font-size: 8pt"> </span></td>
</tr>
</tbody>
</table>
</div>
<div>
<table style="border-collapse: collapse" border="0"><colgroup> <col style="width: 2268px" /></colgroup>
<tbody valign="top">
<tr>
<td style="padding-left: 14px;padding-right: 14px;border: solid 0.5pt"><span style="font-family: Courier New;font-size: 8pt"><strong>Log Name: Security
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Source: Microsoft-Windows-Security-Auditing
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Date: 2/5/2018 11:39:12 PM
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Event ID: 4820
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Task Category: Kerberos Authentication Service
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Level: Information
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Keywords: Audit Failure
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>User: N/A
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong>Computer: RootDC01.Litware.com
</strong></span><span style="font-family: Courier New;font-size: 8pt"><strong> </strong></span><span style="font-family: Courier New;font-size: 8pt">Description:
</span><span style="font-family: Courier New;font-size: 8pt">A Kerberos Ticket-granting-ticket (TGT) was denied because the device does not meet the access control restrictions.
</span>

<span style="font-family: Courier New;font-size: 8pt">Account Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Account Name:        BBanner
</span><span style="font-family: Courier New;font-size: 8pt">Supplied Realm Name:
</span><span style="font-family: Courier New;font-size: 8pt">User ID:            LITWARE\BBanner
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Authentication Policy Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Silo Name:
</span><span style="font-family: Courier New;font-size: 8pt">Policy Name:        AuthPol - Tier_0_Accounts_Devices
</span><span style="font-family: Courier New;font-size: 8pt">TGT Lifetime:        240
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Device Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Device Name:
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Service Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Service Name:        krbtgt/LITWARE
</span><span style="font-family: Courier New;font-size: 8pt">Service ID:        S-1-5-21-156393716-1274321063-4078162134-0
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Network Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Client Address:        ::ffff:10.10.20.24
</span><span style="font-family: Courier New;font-size: 8pt">Client Port:        49218
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Additional Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Ticket Options:        0x78
</span><span style="font-family: Courier New;font-size: 8pt">Result Code:        0xC
</span><span style="font-family: Courier New;font-size: 8pt">Ticket Encryption Type:    0x7
</span><span style="font-family: Courier New;font-size: 8pt">Pre-Authentication Type:    0
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Certificate Information:
</span>
<p style="margin-left: 36pt"><span style="font-family: Courier New;font-size: 8pt">Certificate Issuer Name:
</span><span style="font-family: Courier New;font-size: 8pt">Certificate Serial Number:
</span><span style="font-family: Courier New;font-size: 8pt">Certificate Thumbprint:
</span></p>
<span style="font-family: Courier New;font-size: 8pt">Certificate information is only provided if a certificate was used for pre-authentication.
</span><span style="font-family: Courier New;font-size: 8pt">Pre-authentication types, ticket options, encryption types and result codes are defined in RFC 4120.
</span>

<span style="font-family: Courier New;font-size: 8pt"> </span></td>
</tr>
</tbody>
</table>
</div>
<span style="font-family: Verdana;font-size: 10pt">
</span>]]></content:encoded>
    </item>
    <item>
      <title>Parsing DNS server log to track active clients</title>
      <link>https://docs.microsoft.com/archive/blogs/secadv/parsing-dns-server-log-to-track-active-clients</link>
      <pubDate>Mon, 22 Jan 2018 20:33:49 GMT</pubDate>
      <dc:creator><![CDATA[LijuV]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/secadv/?p=35</guid>
      <description><![CDATA[Some time ago, a customer of mine was planning a move of their DNS Server infrastructure from...]]></description>
      <content:encoded><![CDATA[Some time ago, a customer of mine was planning a move of their DNS Server infrastructure from Windows Servers to a DNS/IPAM appliance, and although they had modified the DHCP scope options to use the new DNS servers, they wanted to determine how many clients were still resolving DNS names using their Windows DNS servers.

The following steps show how we enabled debug logging of the DNS server service and parsed the logs for the data. Although we could have written a PowerShell script to parse the logs, we ended up using LogParser this time around.
<h1>Enabling Debug Logging</h1>
You may need to enable debug logging on all DNS servers to make sure you capture all client queries.
<ol>
 	<li>Open the DNS management console and connect to the Windows DNS server.</li>
</ol>
<ol start="2">
 	<li>Right-click the DNS server, click properties and go to the Debug Logging tab.</li>
</ol>
<ol start="3">
 	<li>Type in a filename and path for the log file and change the maximum size (bytes), if needed, and click OK. In the example below, I set the size to 536870912 which is 512MB.</li>
</ol>
<img width="259" height="300" class="size-medium wp-image-85 aligncenter" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/02-259x300.jpg" />
<ol start="4">
 	<li>Finally, restart the DNS server service</li>
</ol>
<img width="300" height="193" class="wp-image-105 size-medium aligncenter" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/033-300x193.jpg" />

&nbsp;
<h1>Anatomy of the log file</h1>
The first 29 lines contain a description of each of the columns in the log

<img width="1024" height="472" class="alignnone wp-image-115 size-large" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/03-1024x472.jpg" />

Below that, you will find one line for each packet exchanged between the DNS client and server, with the values space-delimited:

<a href="https://msdnshared.blob.core.windows.net/media/2018/01/04.jpg"><img width="2457" height="759" class="alignnone wp-image-125 size-full" alt="" src="https://msdnshared.blob.core.windows.net/media/2018/01/04.jpg" /></a>

&nbsp;
<h1>Parsing the log file</h1>
<ol>
 	<li>After the span of a business cycle, copy the log file(s) to another machine.</li>
 	<li>Download Log Parser 2.2 from <a href="https://www.microsoft.com/en-us/download/confirmation.aspx?id=24659">https://www.microsoft.com/en-us/download/confirmation.aspx?id=24659</a> and install it.</li>
 	<li>Launch a command prompt as administrator and change the directory to C:\Program Files (x86)\Log Parser 2.2 which is the default install location.</li>
 	<li>Run the following command, replacing the highlighted section with the path to your stored log file:</li>
</ol>
LogParser -i:TSV -nskiplines:30 -headerRow:off -iSeparator:space -nSep:1 -fixedSep:off -rtp:-1 "SELECT field9 AS IP, REVERSEDNS(IP) AS Name, count(IP) as QueryCount FROM "C:\Temp\DNS\dns.log" WHERE field11 = 'Q' GROUP BY IP ORDER BY QueryCount DESC"

See below for a description of the various switches:
<ul>
 	<li><strong>-i:TSV</strong> - Input format (tab-separated values)</li>
 	<li><strong>-nskiplines:30</strong> - Number of initial lines to skip (30)</li>
 	<li><strong>-headerRow:off</strong> - Treat first row of each file as a header (OFF)</li>
 	<li><strong>-iSeparator:space</strong> - Separator character between fields (SPACE)</li>
 	<li><strong>-nSep:1</strong> - Number of separator characters between fields (1)</li>
 	<li><strong>-fixedSep:off</strong> - The 'nsep' parameter is assumed to indicate the minimum number of separator characters between fields</li>
 	<li><strong>-rtp:-1</strong> – Rows to print (-1 = all rows)</li>
 	<li>"SELECT
<ul>
 	<li><strong>field9 AS IP </strong>– Set header of column 9 to “IP”</li>
 	<li><strong>REVERSEDNS(IP) AS Name</strong> - Resolve IP address and set a new column with header “Name” to the corresponding host name.</li>
 	<li><strong>count(IP) as QueryCount</strong> - Stores the number of number of instances of “IP” in a column with header “QueryCount”.</li>
</ul>
</li>
</ul>
<ul>
 	<li>FROM "C:\Temp\DNS\dns.log" WHERE
<ul>
 	<li><strong>field11 = 'Q'</strong> – Only pick instances where packets are of type “Standard Query”</li>
</ul>
</li>
</ul>
<ul>
 	<li>GROUP BY IP</li>
 	<li>ORDER BY QueryCount DESC"</li>
</ul>
&nbsp;

And here is what the output looks like:
<p style="text-align: left">IP             <span style="float: none;background-color: transparent;color: #333333;cursor: text;font-family: Georgia,'Times New Roman','Bitstream Charter',Times,serif;font-size: 16px;font-style: normal;font-variant: normal;font-weight: 400;letter-spacing: normal;line-height: 24px;text-align: left;text-decoration: none;text-indent: 0px">                           </span>Name                                  QueryCount</p>
<p style="text-align: left">-------------- ------------------------------------- ----------</p>
<p style="text-align: left">10.10.20.71                     10.10.20.71                                 41</p>
<p style="text-align: left">10.10.20.21<span style="float: none;background-color: transparent;color: #333333;cursor: text;font-family: Georgia,'Times New Roman','Bitstream Charter',Times,serif;font-size: 16px;font-style: normal;font-variant: normal;font-weight: 400;letter-spacing: normal;line-height: 24px;text-align: left;text-decoration: none;text-indent: 0px">                     </span>RootMS01                                  27</p>
<p style="text-align: left">127.0.0.1<span style="float: none;background-color: transparent;color: #333333;cursor: text;font-family: Georgia,'Times New Roman','Bitstream Charter',Times,serif;font-size: 16px;font-style: normal;font-variant: normal;font-weight: 400;letter-spacing: normal;line-height: 24px;text-align: left;text-decoration: none;text-indent: 0px">                          </span>RootMS02                                 27</p>
<p style="text-align: left">10.10.20.12<span style="float: none;background-color: transparent;color: #333333;cursor: text;font-family: Georgia,'Times New Roman','Bitstream Charter',Times,serif;font-size: 16px;font-style: normal;font-variant: normal;font-weight: 400;letter-spacing: normal;line-height: 24px;text-align: left;text-decoration: none;text-indent: 0px">                     </span>ChildDC01                                 23</p>
<p style="text-align: left">202.12.27.33<span style="float: none;background-color: transparent;color: #333333;cursor: text;font-family: Georgia,'Times New Roman','Bitstream Charter',Times,serif;font-size: 16px;font-style: normal;font-variant: normal;font-weight: 400;letter-spacing: normal;line-height: 24px;text-align: left;text-decoration: none;text-indent: 0px">                   </span>M.ROOT-SERVERS.NET      21</p>
<p style="text-align: left">192.36.148.17<span>                   </span>i.root-servers.net                    4</p>
<p style="text-align: left">199.7.83.42<span>                   </span>   l.root-servers.net                    4</p>
<p style="text-align: left">192.112.36.4<span>                   </span> G.ROOT-SERVERS.NET       4</p>
<p style="text-align: left">192.203.230.10               e.root-servers.net                    3</p>
<p style="text-align: left">192.58.128.30                  j.root-servers.net                    3</p>
<p style="text-align: left">199.7.91.13                       d.root-servers.net                    3</p>
<p style="text-align: left">192.228.79.201                b-2016.b.root-servers.net     2</p>
<p style="text-align: left">128.63.2.53                       h.root-servers.net                   2</p>
<p style="text-align: left">198.41.0.4                         a.root-servers.net                    2</p>
<p style="text-align: left">192.33.4.12                       c.root-servers.net                    2</p>
<p style="text-align: left">193.0.14.129                     k.root-servers.net                    1</p>
<p style="text-align: left">192.5.5.241                       f.root-servers.net                      1</p>
&nbsp;

Statistics:

-----------

Elements processed: 255

Elements output:    17

Execution time:     4.25 seconds

&nbsp;

Using this data, my customer was able to identify all machines that had the DNS servers’ ip addresses assigned statically, and were able to point them to the new appliances. Doing so, prevented any downtime due to the change.]]></content:encoded>
    </item>
    <item>
      <title>Hello world!</title>
      <link>https://docs.microsoft.com/archive/blogs/secadv/hello-world</link>
      <pubDate>Wed, 13 Sep 2017 18:19:30 GMT</pubDate>
      <dc:creator><![CDATA[Pierre Audonnet [MSFT]]]></dc:creator>
      <guid
        isPermaLink="false">https://blogs.technet.microsoft.com/secadv/?p=1</guid>
      <description><![CDATA[Welcome to Technet. This is your first post. Edit or delete it, then start blogging!]]></description>
      <content:encoded><![CDATA[Welcome to <a href="https://blogs.technet.microsoft.com/">Technet</a>. This is your first post. Edit or delete it, then start blogging!]]></content:encoded>
    </item>
  </channel>
</rss>