Logparser to monitor suspicious mailbox access

exchangelogparser

Is it possible, using Logparser or similar, to report on Exchange 2003/2010 mailbox access from users who are not the mailbox owner?

The access might come from an Outlook client or OWA so I presume this would need a query for the IIS logs and also a query for the machine event logs?

Thanks

Best Answer

According to this article:

  • It appears the IIS logs will contain user information in the cs-username column. You can find failed attempts by looking for reason=2 in the cs-uri-query.

  • In the Security event log Event ID 4625 contains information about failed login attempts.

Given that it appears to be stored in both locations, the easiest solution may be to just use the Event Viewer and filter down to that specific Event ID.

Otherwise "select top 10 * from u_ex*.log where cs-uri-query like '%reason=2%'" would be your starting point for the logparser query against the IIS logs.