The Hack FAQ

17.0 NT Logging and Backdoors

This section contains info regarding logging and backdoors for NT.

17.1 Where are the common log files in NT?

These are located in %root%\SYSTEM32\CONFIG. They are:

As a hacker do not worry about the AppEvent.Evt file much -- you are mainly concerned with items in the regular event log (the SysEvent.Evt file) and the security log (the SecEvent.Evt). By default regular users should be able to read the regular event log, and you may wish to look that over if you can to see if your "visit" left a trace. If it did and the entries look out of place, consider adding entries from other users that are similiar by accessing the system as these other users.

You have to have Administrative Group rights to view the security event log. And you'll certainly want to check that to see what is in it.

17.2 How do I edit/change NT log files without being detected?

Well this can be a little tricky as these files are locked in place during NT's operation. You have a couple of choices at this time -- wipe the logs or try to add stuff to them to add camoflage obfuscation. Not elegant, but better than nothing.

17.3 So how can I view/clear/edit the Security Log?

You have to be in as an Administrator or as someone in the Administrator's group.

Start the Event Viewer, and from the Log menu select Security. You view individual items by double clicking on them. To clear them (which is an all or nothing proposition) select Clear All Events from Log. If asked to save the info, answer no.

There is currently no way to edit the contents of the Security Event Log, although it is not impossible. One could conceivably boot up the system with Linx on a floppy, copy the logs off for editing in a hex editor, and copy doctored logs back up. I've considered writing the software to do this, although I probably never will.

17.4 How can I turn off auditing in NT?

This requires Administrator access. From the User Manager go to the Policies menu and select Audit. Turn off the things you wish to turn off.

As far as individual files and directories, you have to right-click on the file or directory from within Explorer, go to Properties and go to the security tab. Click on the auditing button for details, and turn off what you need turned off.

If you need to do this from a command line, check out the question "I hack from my Linux box. How can I do all that GUI stuff on remote NT servers?" in the NT Client Attacks section.

Top | Next: NT Misc. Attack Info | Previous: NT Denial of Service | Table of Contents