Audit logon and logoff

Audit logon and logoff

Secure Home | Search | About
 Microsoft Applications Security    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content add this group's latest topics to your Google content
Subject Author Date
Audit logon and logoff Ziguana 09-11-2006
Posted by =?Utf-8?B?WmlndWFuYQ==?= on September 11, 2006, 12:04 am
If you were  Registered and logged in, you could reply and use other advanced thread options
I need to collect and keep login and logoff times for all staff on my
domain/network, I've searched around and found software that can do it bout
wondered if anyone had a free way to do this via scripts etc, microsoft must
have a central way to collect these events now?

Hopefully, let me know what you know :)

Thanks in advance

Posted by =?Utf-8?B?UXVpZG51bmNTaW1jaGE= on September 11, 2006, 2:24 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hello,

I AM NOT an expert. I am not a CS major or minor.

Anyhow, I know this can be monitored via Group policy. I believe event 528
will be triiggered.

A shoot from the HIP.....command line scripts may take a bit longer to
execute. For this reason, maybe a simple ping command script upon log-on and
log-off could be used. When the user logs onto the machine or logs off the
machine, a simple ping script could ping your machine and "trigger" an event
that is recorded with the "NOW" and IP Address.

I suppose VB scripts would be "more stealth". The problem, ofcourse, would
be related to security.

Just a thought.

"Ziguana" wrote:

> I need to collect and keep login and logoff times for all staff on my
> domain/network, I've searched around and found software that can do it bout
> wondered if anyone had a free way to do this via scripts etc, microsoft must
> have a central way to collect these events now?
>
> Hopefully, let me know what you know :)
>
> Thanks in advance

Posted by =?Utf-8?B?UXVpZG51bmNTaW1jaGE= on September 11, 2006, 2:26 am
If you were  Registered and logged in, you could reply and use other advanced thread options
Hello,

You could also use the automatic certificate request. From my very own help
and support file:

To create an automatic certificate request for computers in a Group Policy
object
Log on to a domain with administrative privileges to manage the Group Policy
object that you want to change.
Open the Group Policy object that you want to edit.
In the console tree, click Automatic Certificate Request Settings.
Where?

Policy Object Name
Computer Configuration
Windows Settings
Security Settings
Public Key Policies
Automatic Certificate Request Settings
On the Action menu, point to New, and then click Automatic Certificate
Request. This starts the Automatic Certificate Request Setup Wizard. Follow
the steps in the wizard to create an automatic certificate request for
computers that have this Group Policy object applied to them.
Notes

To open a Group Policy object, see Related Topics.
To use this procedure, you must have administrative privileges for the Group
Policy object.
This procedure does not apply to Local Policy objects.
To use the Automatic Certificate Request Setup Wizard, you need the
following information:
The certificate template that you want to use. A certificate that is based
on the selected template will be requested automatically at the first
occurrence of any of the following: a user logs on, Group Policy is
refreshed, or a computer joins the domain and is subject to a Group Policy
setting.
The name of the certification authority (CA) in your domain that will issue
the requested certificates. The CA must be an enterprise CA that is
configured by its administrator to issue the certificate type that is being
requested.
There can only be one certificate request for each certificate type per
Group Policy object.


"Ziguana" wrote:

> I need to collect and keep login and logoff times for all staff on my
> domain/network, I've searched around and found software that can do it bout
> wondered if anyone had a free way to do this via scripts etc, microsoft must
> have a central way to collect these events now?
>
> Hopefully, let me know what you know :)
>
> Thanks in advance

Posted by karl levinson, mvp on September 12, 2006, 8:58 am
If you were  Registered and logged in, you could reply and use other advanced thread options

>I need to collect and keep login and logoff times for all staff on my
> domain/network, I've searched around and found software that can do it
> bout
> wondered if anyone had a free way to do this via scripts etc, microsoft
> must
> have a central way to collect these events now?

Use Windows Auditing to monitor and detect logons and logoffs.

http://securityadmin.info/faq.asp?auditing

You can use batch files with tools such as dumpel from www.sysinternals.com
or from the Windows Resource Kit [some of which is available for free
download from www.microsoft.com] to automate monitoring of the event logs.
You could also use tools such as www.ipsentry.com which for
around $100 US will monitor and alert on changes in event logs.

The above method tries to monitor logs on all systems remotely, across the
network, without actually collecting the logs to a central location. This
can become intensive, especially on a large network. Alternatively, one
good way to centrally collect event logs is to use a free product called
SNARE. Basically, all clients get an agent that sends event log data to a
central syslog server. Snare is pretty well thought out, but if you prefer
to build your own solution, there are a number of free Windows event log to
syslog agents, such as NTSYSLOG. www.kiwisyslog.com is one free syslog
server to collect such events. Once the events are in the central syslog
server, it's up to you to set up any sort of filtering, reporting, alerting
etc. via the native syslog server functionality or your own scripts.

No doubt there are other solutions that let you centrally collect and
monitor Windows event logs.

--
kind regards,
Karl Levinson, CISSP, CCSA, MCSE [MS MVP]
--------------------------------
Microsoft Security FAQ:
http://securityadmin.info





Similar ThreadsPosted
Server 2003 failed logon/logoff audit records December 2, 2005, 4:29 pm
Logon/Logoff Times November 11, 2007, 11:37 pm
000,000s of logon/logoff events August 9, 2005, 7:06 am
Need logon and Logoff data for 30 days September 14, 2005, 2:10 pm
J10 Logoff Based on Server Session Inactivity January 17, 2006, 11:56 am
0x80070569: Logon failure: the user has not been granted the requested logon type at this computer. December 22, 2005, 9:06 am
Logon failure: the user has not been granted the requested logon t October 3, 2006, 1:54 am
"logon as a service" and "logon as a batch job" September 2, 2006, 6:14 am
who does a PKI audit? January 31, 2008, 3:40 pm
User audit September 6, 2005, 5:02 am

The site map in XML format XML site map

Contact Us | Privacy Policy