We have windows 2k domain with 50 clients. We want details of users who
logged in and logged out at what time and which system and ip address of
the
system.
Is there any inbuilt or other tools by which i get all the details.
Windows auditing can put login / logout info into the Windows Security Event
Logs on your domain controllers [for domain logins] and on the local system
[for logins using local Windows accounts]:
http://securityadmin.info/faq.asp?auditing
Enable this change on domain controllers for domain logins, and/or on all
your systems to monitor logins of local accounts.
Windows 2000 does not have a suitable native feature for logging IP
addresses like this. You can switch to Windows 2003, which does have this
feature. Or you can use a firewall device or software [or a sniffer such as
the free Wireshark / Ethereal at
www.ethereal.com, or an IDS such as Snort
at
www.snort.org] to log all IP addresses and data for all authentication
going to the domain controllers. You would then need to look at or
consolidate the two logs in order to determine which IP was associated with
which login. If you want, you can consolidate firewall logs with Windows
event logs by using free Syslog client and server software, such as Snare or
NTSyslog.
Windows authentication should happen on TCP 139, TCP 445, and/or TCP/UDP 88.
Tools like Snort may have a signature that allows you to ignore other
traffic occuring on those ports.