For administrators
Logging and Monitoring Basics for Windows Admins
You cannot investigate what you did not record. A small set of logs, kept for long enough and reviewed regularly, covers most of what an administrator needs during an incident.
Choose the first events
Start with these categories, enabled through audit policy:
- Logon events: successful and failed sign-ins, including the account and source computer.
- Account management: creation, deletion and changes to users and groups.
- Group membership changes: especially to Domain Admins and other privileged groups.
- Policy changes: changes to Group Policy and audit settings themselves.
Set the audit policy through Group Policy so it applies consistently to every server and workstation.
Keep the logs
Event logs roll over quickly. Increase the size of the Security log on domain controllers and forward events to a central store. Keep them long enough for your policy, commonly 90 days online and longer in archive.
Watch for the signs
Review these weekly at minimum:
- A burst of failed sign-ins for one account, which can signal password guessing.
- An account that signs in from an unusual computer or at an odd hour.
- A new member in a privileged group that no ticket explains.
- A service that starts or stops outside a change window.
Respond with the logs
When something looks wrong, record the time, the account and the computer first. Then preserve the relevant logs before any cleanup, so that the evidence stays intact. The step-by-step response is in the incident first steps article.