<?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>Computer Support &#187; audit</title>
	<atom:link href="http://www.xiitec.com/blog/tag/audit/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.xiitec.com/blog</link>
	<description></description>
	<lastBuildDate>Wed, 30 Dec 2009 08:40:28 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Enabling Auditing</title>
		<link>http://www.xiitec.com/blog/2008/11/13/enabling-auditing/</link>
		<comments>http://www.xiitec.com/blog/2008/11/13/enabling-auditing/#comments</comments>
		<pubDate>Fri, 14 Nov 2008 01:32:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[audit]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=230</guid>
		<description><![CDATA[Windows supports auditing of various account- and system-related events, which can be invaluable when troubleshooting a security incident. You can enable auditing of nine different types of access on a local server. You can also configure these settings via an Active Directory group policy, which overrides any local settings that you&#8217;ve defined. After auditing has [...]]]></description>
			<content:encoded><![CDATA[<p>Windows supports auditing of various account- and system-related events, which can be invaluable when troubleshooting a security incident. You can enable auditing of nine different types of access on a local server. You can also configure these settings via an Active Directory group policy, which overrides any local settings that you&#8217;ve defined. After auditing has been configured, audit messages are created in the Security event log.</p>
<p><span id="more-230"></span><br />
The big question is: which audit settings should you enable? If you turned on everything, your server would start flooding your Security event log and ultimately it wouldn&#8217;t be very useful. In fact, there are no hard and fast rules for which settings you should enable.</p>
<p>All audit settings have three possible configurations: not configured, Success, and Failure. Not configured means auditing isn&#8217;t enabled for the setting, Success means log any applicable event that was successful, and Failure means log any applicable event that failed. Often, it is more useful to log Failure events since you want to discover someone who is attempting to perform an activity surreptitiously, which may mean doing it several times until successful.</p>
<p>With some settings, simply enabling Success or Failure won&#8217;t actually cause any events to be logged. You also have to enable auditing on specific objects, such as a particular file, before events will be audited. This is useful because in some cases, such as files and folders, you may only want to audit certain ones. If auditing were enabled for all files, the amount of events would render auditing unfeasible.</p>
<h3>Using a graphical user interface</h3>
<ol class="docList" type="1">
<li>
<p class="docList">Open the Local  Security Policy snap-in.</p>
</li>
<li>
<p class="docList"> In the left pane, expand <span class="docEmphBold">Local  Policies</span> -&gt; <span class="docEmphBold">Audit Policy</span>.</p>
</li>
<li>
<p class="docList"> In the right pane, double-click the setting you want to enable,  and check the box beside <span class="docEmphBold">Success</span> and/or <span class="docEmphBold">Failure</span> depending on the types of events you want to  audit.</p>
</li>
</ol>
<p>You can force new auditing settings to be applied by running  the <em>secedit</em> command on Windows 2000 or the <em>gpupdate</em> command on  Windows Server 2003.</p>
<p>Run the following command on Windows 2000:</p>
<pre>&gt; secedit /refreshpolicy machine_policy</pre>
<p>And run this command on Windows Server 2003:</p>
<pre>&gt; gpupdate /target:computer</pre>
<h4 class="docSection2Title"></h4>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/11/13/enabling-auditing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Enabling DHCP Audit Logging</title>
		<link>http://www.xiitec.com/blog/2008/02/22/enabling-dhcp-audit-logging/</link>
		<comments>http://www.xiitec.com/blog/2008/02/22/enabling-dhcp-audit-logging/#comments</comments>
		<pubDate>Fri, 22 Feb 2008 19:59:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[DHCP]]></category>
		<category><![CDATA[audit]]></category>
		<category><![CDATA[logging]]></category>

		<guid isPermaLink="false">http://www.xiitec.com/blog/?p=168</guid>
		<description><![CDATA[After you enable auditing on a DHCP Server, all DHCP requests, database maintenance events, and various errors will be logged to a file. By default, a separate file is generated for each day of the week and stored in %SystemRoot%\system32\dhcp. The files are named DhcpSrvLog-xxx.log where xxx is the day of the week (e.g., DhcpSrvLog-Mon.log). [...]]]></description>
			<content:encoded><![CDATA[<p>After you enable auditing on a DHCP Server, all DHCP requests, database maintenance events, and various errors will be logged to a file. By default, a separate file is generated for each day of the week and stored in %SystemRoot%\system32\dhcp. The files are named DhcpSrvLog-xxx.log where xxx is the day of the week (e.g., DhcpSrvLog-Mon.log). After the first week, the previous week&#8217;s file is overwritten.</p>
<p><span id="more-168"></span></p>
<p>The events logged to the audit log (a plain text file) have the following format:</p>
<pre>ID,Date,Time,Description,IP Address,Host Name,MAC Address</pre>
<p>The DHCP Server monitors how the log files grow and the available disk space to determine if it should stop logging prematurely to prevent it from consuming too much space. There are two conditions that cause auditing to stop:</p>
<ul>
<li>When disk space runs below 20 MB on the filesystem the log files are on.</li>
<li>When a single log file reaches the preset maximum size (the default is 1 MB).</li>
</ul>
<p>Fortunately, you can modify these default values by editing the registry. There are three registry values that control DHCP Server disk monitoring located under HKLM\SYSTEM\CurrentControlSet\Services\DHCPServer\Parameters:</p>
<p>DhcpLogDiskSpaceCheckInterval</p>
<p>This specifies the number of audit entries recorded between disk verification checks. The default is 50, which means 50 events have to be recorded before the disk verification check occurs.</p>
<p>DhcpLogFilesMaxSize</p>
<p>The maximum size in megabytes for all seven log files. By default, this is 7, which means each log file can only grow to be 1 MB before the DHCP Server stops logging for that day.</p>
<p>DhcpLogMinSpaceOnDisk</p>
<p>The minimum size in megabytes that must exist on the filesystem for logging to continue. The default is 20, which means the DHCP Server will stop logging altogether if disk space goes below 20 MB on the filesystem.</p>
<p>You may need to create these values (as REG_DWORD) if they don&#8217;t already exist.</p>
<p><strong>Using a graphical user interface</strong></p>
<ol>
<li> Open the DHCP snap-in.</li>
<li>In the left pane, right-click on DHCP and select Add Server.</li>
<li>Type in the name of the DHCP Server you want to target and click OK.</li>
<li>Right-click the server node and select Properties.</li>
<li>On the General tab, check the box beside Enable DHCP audit logging.</li>
<li>Click OK.</li>
</ol>
<p><strong>Using a command-line interface</strong></p>
<p>Surprisingly, netsh doesn&#8217;t allow you to enable DHCP audit logging. You can only modify the audit log file path. However, this setting is controlled via the registry. The following command enables auditing by setting the ActivityLogFlag value:</p>
<pre>&gt; reg add HKLM\System\CurrentControlSet\Services\DhcpServer\Parameters /v
 ActivityLogFlag /t REG_DWORD /d 1</pre>
<p>To disable auditing, use the same command except use /d 0 in place of /d 1.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.xiitec.com/blog/2008/02/22/enabling-dhcp-audit-logging/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

