Skip to content

Unauthorized Login for servers... would like a SQL one

Featured Replies

I made a monitor that send an email to me if someone other than me logs into a server.

 

Security logs

Event ID 4624

parameter 9 equals 10

parameter 6 not equal "my username"

 

For the alerting I used

$Data/Context/Params/Param[6]$ logged into
$Data/Context/Params/Param[12]$ from
$Data/Context/Params/Param[19]$

 

So it'll tell me who and when they logged into the server.

 

I can even kill term services with running a cmd line net stop termservice /y

 

What i would like is one that shows when someone logs into SQL with a service account.

Any suggestions?

 

 

  • 1 month later...

Elemanzer, are you trying to monitor when an actual users logs into a SQL server (i.e. the actual Windows server) using a Service Account, or when a Service Account connects with/to a SQL Server instance?

 

Also, why did you create a custom monitor to monitor when someone other than you logs into a server, instead of implementing ACS which is much more robust in its data collection/reporting?

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.