Setting Up Security Auditing
Learn how to set up security auditing.
July 31, 1999
Log on with administrative authority.
Start User Manager. Select Policies, Audit, and the Audit These Events check box.
Choose the items to audit for Success or Failure--at a minimum, enable auditing logon and logoff attempts. Close the dialog box to enable basic system auditing.
Open the Services applet in Control Panel, set the NT Scheduler service to run under the SYSTEM account, and start (or restart) the service.
Open a DOS command window, and check the current system time.
Add 1 or 2 minutes to the time (e.g., if it's 11:30, use 11:32), and issue the following command at the DOS prompt:
at 11:32 /interactive "regedt32.exe"
This command establishes a scheduled event that launches regedt32 on the desktop at 11:32 running under the security context of the SYSTEM account.
Wait until 11:32, at which time NT Scheduler launches the Registry editor. At this point, you have access to the entire Registry, including the SAM database. Be careful when you edit the Registry; mistakes can render a system unbootable.
Select HKEY_LOCAL_MACHINE, locate the SAM tree, and select it in the left pane.
Choose Security, Auditing.
In the Auditing dialog box, click Add, Show Users.
Add the SYSTEM account, the Domain Admins group, all of your trusted administrator accounts, and any other account that has the following User Rights:
Take ownership of files or other objects
Back up files and directories
Manage auditing and security log
Restore files and directories
Add workstations to domain
Replace a process-level token
Select the Audit Permission on Existing Subkeys check box.
Select the Success and Failure check boxes for the following entries:
Query Value
Set Value
Write DAC
Read Control
Click OK, Yes.
Repeat steps 10 through 14 for the SECURITY key, if necessary. This step isn't required if you want to audit only the keys containing passwords.
Exit the Registry editor.
Stop NT Scheduler, and reconfigure the service account to run under the same account it was running under before step 4. If you don't use NT Scheduler, simply leave it stopped, or better yet, disabled.
About the Author
You May Also Like