<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Windows Server HQ by Train Signal.com &#187; Global Audit Policy</title>
	<atom:link href="http://windowsserver.trainsignal.com/tag/global-audit-policy/feed" rel="self" type="application/rss+xml" />
	<link>http://windowsserver.trainsignal.com</link>
	<description>We are here to help you learn Windows Server!</description>
	<lastBuildDate>Wed, 21 Jul 2010 16:34:34 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Windows Server 2008: Auditing Active Directory</title>
		<link>http://windowsserver.trainsignal.com/windows-server-2008-auditing-active-directory</link>
		<comments>http://windowsserver.trainsignal.com/windows-server-2008-auditing-active-directory#comments</comments>
		<pubDate>Mon, 28 Jul 2008 16:35:23 +0000</pubDate>
		<dc:creator>Dave Lawlor</dc:creator>
				<category><![CDATA[Server 2008]]></category>
		<category><![CDATA[Active Directory]]></category>
		<category><![CDATA[AD Domain Services]]></category>
		<category><![CDATA[Global Audit Policy]]></category>
		<category><![CDATA[SACL]]></category>
		<category><![CDATA[Schema]]></category>
		<category><![CDATA[Server 2008 Training]]></category>
		<category><![CDATA[System Access Control List]]></category>

		<guid isPermaLink="false">http://www.trainsignaltraining.com/windows-server-2008-auditing-active-directory/2008-07-28/</guid>
		<description><![CDATA[If you have been supporting servers for any amount of time, you have no doubt come across requests from manager for security audits, if you don’t already have them in place yourself to keep an eye on things.
Auditing is exactly what it sounds like &#8212; it keeps a record of things that have been modified [...]

<h3>Related posts:<ul><li><a href='http://windowsserver.trainsignal.com/windows-server-2008-active-directory' rel='bookmark' title='Permanent Link: Active Directory Improvements in Windows Server 2008'>Active Directory Improvements in Windows Server 2008</a></li>
<li><a href='http://windowsserver.trainsignal.com/windows-server-2008-install-active-directory-domain-services' rel='bookmark' title='Permanent Link: Windows Server 2008: Install Active Directory Domain Services'>Windows Server 2008: Install Active Directory Domain Services</a></li>
<li><a href='http://windowsserver.trainsignal.com/server-2008-active-directory-users-and-groups' rel='bookmark' title='Permanent Link: Lesson 3: Active Directory Users and Groups in Windows Server 2008'>Lesson 3: Active Directory Users and Groups in Windows Server 2008</a></li>
</ul></h3>]]></description>
			<content:encoded><![CDATA[<p>If you have been supporting servers for any amount of time, you have no doubt come across requests from manager for security audits, if you don’t already have them in place yourself to keep an eye on things.</p>
<p>Auditing is exactly what it sounds like &#8212; it keeps a record of things that have been modified in Active Directory.</p>
<p>In previous versions of Windows Server there was not a lot of granular control in what you were auditing.  Let’s explore some of the new auditing features in Server 2008.</p>
<h3>Auditing Changes in Windows Server 2008</h3>
<p>One of the most significant changes over the Server 2000 and Server 2003 versions of auditing is that now you can not only audit who and what attribute was changed but also what the new and old value was.</p>
<p>This is significant because you can now tell why it was changed and if something doesn’t look right you&#8217;re able to easily find what it should be restored to.</p>
<p><span id="more-516"></span></p>
<p>Another significant change is that in the past you were only able to turn auditing policy on or off for the entire Active Directory structure.  In Windows Server 2008 the auditing policy is configurable for four subcategories:</p>
<ul>
<li>Directory Service Access</li>
<li>Directory Service Changes</li>
<li>Directory Service Replication</li>
<li>Detailed Directory Service Replication</li>
</ul>
<p>This article will focus on enabling auditing on Directory Service Changes which will show us the ability to audit changes to Active Directory Domain Services.</p>
<h3>Implementing Auditing on Windows Server 2008</h3>
<p>In Server 2008 when setting up auditing there are three places you can modify to implement controls:</p>
<ul>
<li><strong>Global Audit Policy</strong> – In Server 2008 the Global Audit Policy is not on by default and must be enabled.</li>
<p></p>
<li><strong>System Access Control List (SACL)</strong> – Is the ultimate authority if an access check gets audited or not.<br />
<br />
The SACL is part of the security descriptor for an active directory object and specifies which operations should be audited.  These are set by the security administrators who have been assigned Manage Auditing and Security Log privileges.  It is assigned automatically to the Administrators Group.</li>
<p></p>
<li><strong>Schema</strong> – To protect administrators from generating too many auditing events there is an override that can be set in the schema to exclude any events that have an attribute set.<br />
<br />
We will not be covering the Schema modification in this article, but this is important for you to know.</li>
</ul>
<h3>Enable Global Audit Policy on Windows Server 2008</h3>
<p>The first step is to enable the audit policy.  I will walk you through both doing it through the GUI and then through the command line:</p>
<p><strong>1.</strong> Go to <strong>Start, Administrative Tools</strong>, and then click on <strong>Group Policy Management</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_01.png" alt="Server 2008: Auditing Active Directory - 1" title="Server 2008: Auditing Active Directory - 1" align="middle" width="476" height="113" border="0" /></p>
<p><strong>2.</strong> Navigate down through your <strong>Forest</strong>, to the <strong>Domains</strong>, then <strong>Domain Controllers</strong> and left click on <strong>Default Domain Controllers Policy</strong>.</p>
<p>You will get a warning that changes here will impact all other locations that the GPO is linked to.  Click <strong>Ok</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_02.png" alt="Server 2008: Auditing Active Directory - 2" title="Server 2008: Auditing Active Directory - 2" align="middle" width="389" height="143" border="0" /></p>
<p><strong>3.</strong> Right click on <strong>Default Domain Controllers Policy </strong>and then left click on <strong>Edit…</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_03.png" alt="Server 2008: Auditing Active Directory - 3" title="Server 2008: Auditing Active Directory - 3" align="middle" width="597" height="433" border="0" /></p>
<p><strong>4.</strong> Navigate under <strong>Computer Configurations &rarr; Policies &rarr; Windows Settings &rarr; Security Settings &rarr; Local Policies &rarr; Audit Policy</strong></p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_04.png" alt="Server 2008: Auditing Active Directory - 4" title="Server 2008: Auditing Active Directory - 4" align="middle" width="597" height="436" border="0" /></p>
<p><strong>5.</strong> Right click on <strong>Audit Directory Service Access</strong>, and then click <strong>Properties</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_05.png" alt="Server 2008: Auditing Active Directory - 5" title="Server 2008: Auditing Active Directory - 5" align="middle" width="597" height="435" border="0" /></p>
<p><strong>6.</strong> Select <strong>Define these policy settings </strong>and then select <strong>Success</strong>.  Click on <strong>Apply</strong> and then <strong>Ok</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_06.png" alt="Server 2008: Auditing Active Directory - 6" title="Server 2008: Auditing Active Directory - 6" align="middle" width="417" height="496" border="0" /></p>
<p>That’s it! You now have configured auditing via GUI.</p>
<p>Let’s take a look at the command line method (much faster):</p>
<p><strong>1.</strong> Start <strong>Command Prompt </strong>with elevated rights.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_07.png" alt="Server 2008: Auditing Active Directory - 7" title="Server 2008: Auditing Active Directory - 7" align="middle" width="397" height="497" border="0" /></p>
<p><strong>2.</strong> Type in the following command and hit <strong>Enter</strong>:</p>
<blockquote><p>
<strong>auditpol /set /subcategory:&#8221;directory service changes&#8221; /success:enable</strong>
</p></blockquote>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_08.png" alt="Server 2008: Auditing Active Directory - 8" title="Server 2008: Auditing Active Directory - 8" align="middle" width="597" height="295" border="0" /></p>
<p>I told you it was much faster!  You should see <strong>The command was successfully executed</strong>.  Now let’s move on to the next step.</p>
<h3>Setup Auditing in System Access Control List (SACL)</h3>
<p>As was mentioned earlier, the SACLs do most of the work in determining what gets auditing and what doesn’t.</p>
<p>Please note that there are many different types of SACLs that can be setup; we are only using one as an example.</p>
<p><strong>1.</strong> Open <strong>Active Directory Computers and Users</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_09.png" alt="Server 2008: Auditing Active Directory - 9" title="Server 2008: Auditing Active Directory - 9" align="middle" width="597" height="463" border="0" /></p>
<p><strong>2.</strong> Click on <strong>View</strong> and make sure that <strong>Advanced Features </strong>is enabled.  If not left click on it to place a check next to it.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_10.png" alt="Server 2008: Auditing Active Directory - 10" title="Server 2008: Auditing Active Directory - 10" align="middle" width="597" height="434" border="0" /></p>
<p><strong>3.</strong> Right click on any of the Organizational Units you want to audit; in our example I am going to audit <strong>Users</strong>. Then click on <strong>Properties</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_11.png" alt="Server 2008: Auditing Active Directory - 11" title="Server 2008: Auditing Active Directory - 11" align="middle" width="597" height="432" border="0" /></p>
<p><strong>4.</strong> In the Properties window click on <strong>Security</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_12.png" alt="Server 2008: Auditing Active Directory - 12" title="Server 2008: Auditing Active Directory - 12" align="middle" width="402" height="445" border="0" /></p>
<p><strong>5.</strong> Next click on <strong>Advanced</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_13.png" alt="Server 2008: Auditing Active Directory - 13" title="Server 2008: Auditing Active Directory - 13" align="middle" width="400" height="442" border="0" /></p>
<p><strong>6.</strong> Click the <strong>Auditing</strong> tab, then click <strong>Add</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_14.png" alt="Server 2008: Auditing Active Directory - 14" title="Server 2008: Auditing Active Directory - 14" align="middle" width="597" height="449" border="0" /></p>
<p><strong>7.</strong> Under <strong>Enter the object name to select:</strong>, type in <strong>Authenticated Users </strong>and click <strong>Ok</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_15.png" alt="Server 2008: Auditing Active Directory - 15" title="Server 2008: Auditing Active Directory - 15" align="middle" width="458" height="241" border="0" /></p>
<p><strong>8.</strong> In the next window under <strong>Apply onto:</strong>, select <strong>Descendant User Objects</strong> and under <strong>Access </strong>check the box for <strong>Successful</strong> next to <strong>Write all properties</strong> and click <strong>Ok</strong>.</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_16.png" alt="Server 2008: Auditing Active Directory - 16" title="Server 2008: Auditing Active Directory - 16" align="middle" width="365" height="464" border="0" /></p>
<p><strong>9.</strong> Click <strong>Ok </strong>until you are out of any dialog boxes.</p>
<p>Now that we have enabled auditing in a SACL let&#8217;s go ahead and give it a test.</p>
<h3>Example Security Events with Auditing Enabled</h3>
<p>With auditing enabled, all events will be logged under the Security Event Viewer.  Let&#8217;s see what happens when you change a value on an object.</p>
<p>For brevity sake, I am going to create a user called <strong>audittest</strong>, change his name from <strong>Audit Test </strong>to <strong>Test Audit </strong>and then we will take a look in the security log to see what was shown.</p>
<p>There are two images that show the change that corresponds with <strong>Event 5136</strong>, here is the first one which shows the value being deleted, which in this case is <strong>Audit Test</strong>:</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_17.png" alt="Server 2008: Auditing Active Directory - 17" title="Server 2008: Auditing Active Directory - 17" align="middle" width="597" height="507" border="0" /></p>
<p>The next image shows the changed object&#8217;s new value which in our case is <strong>Test Audit</strong>:</p>
<p><img src="http://www.trainsignaltraining.com/wpnew/wp-content/uploads/2008/07/Dave_Auditing/enable_auditing_18.png" alt="Server 2008: Auditing Active Directory - 18" title="Server 2008: Auditing Active Directory - 18" align="middle" width="597" height="505" border="0" /></p>
<p>So you can see that it is very helpful if you are watching these types of things to know what the old value was compared to the new value, in case you need to quickly and easily reset the attribute without having to go to a backup.</p>
<p>There are a ton of things you can audit depending on the situation and your need.</p>


<h3>Related posts:<ul><li><a href='http://windowsserver.trainsignal.com/windows-server-2008-active-directory' rel='bookmark' title='Permanent Link: Active Directory Improvements in Windows Server 2008'>Active Directory Improvements in Windows Server 2008</a></li>
<li><a href='http://windowsserver.trainsignal.com/windows-server-2008-install-active-directory-domain-services' rel='bookmark' title='Permanent Link: Windows Server 2008: Install Active Directory Domain Services'>Windows Server 2008: Install Active Directory Domain Services</a></li>
<li><a href='http://windowsserver.trainsignal.com/server-2008-active-directory-users-and-groups' rel='bookmark' title='Permanent Link: Lesson 3: Active Directory Users and Groups in Windows Server 2008'>Lesson 3: Active Directory Users and Groups in Windows Server 2008</a></li>
</ul></h3>]]></content:encoded>
			<wfw:commentRss>http://windowsserver.trainsignal.com/windows-server-2008-auditing-active-directory/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
