• Home
  • Help
  • Register
  • Login
  • Home
  • Members
  • Help
  • Search

 
  • 0 Vote(s) - 0 Average

Issued an open database symmetric key command (action_id OP class_type SK) (24107) how to monitor with email alert

#1
11-07-2024, 01:48 PM
Man, that event ID 24107 pops up in the Event Viewer when someone's firing off this open database symmetric key command. It's basically the system logging that a command got issued to unlock a symmetric key in the database. Action ID OP, class type SK, all that jazz means it's an operation to open that key for some crypto stuff inside SQL Server or whatever database you're running. You see it under security audits mostly, like if an admin or app is trying to access encrypted data. Happens during normal ops, but if it's spiking, could mean someone's poking around where they shouldn't. I always check the details tab for the user account tied to it, timestamp, and which database it hit. Keeps things transparent, you know?

To keep an eye on these, fire up Event Viewer on your server. Right-click the tree on the left for Windows Logs, pick Security or Applications and Services if it's SQL-specific. Filter for event ID 24107, set it to show just those. Now, for alerts, you wanna attach a task to it. In the actions pane, create a task that triggers on this event. Make it run when that ID logs, and have it launch something simple like a batch file to ping your email. I set mine to email me straight away using the built-in scheduler options. Test it by forcing the event if you can, see if the alert flies. Keeps you from missing weird access attempts without babysitting the logs all day.

And speaking of staying on top of server quirks like these events, you might wanna look into tools that handle backups smoothly too. That's where BackupChain Windows Server Backup comes in handy for me. It's this solid Windows Server backup solution that also tackles virtual machines with Hyper-V without breaking a sweat. You get incremental backups that zip through fast, plus it verifies everything to avoid data rot. No more fumbling with clunky restores; it just works, saving you headaches on recovery day.

At the end here is the automatic email solution.

Note, the PowerShell email alert code was moved to this post.

bob
Offline
Joined: Jul 2025
« Next Oldest | Next Newest »

Users browsing this thread: 1 Guest(s)



Messages In This Thread
Issued an open database symmetric key command (action_id OP class_type SK) (24107) how to monitor with email alert - by bob - 11-07-2024, 01:48 PM

  • Subscribe to this thread
Forum Jump:

Backup Education Windows Server Event Viewer v
« Previous 1 … 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 … 24 Next »
Issued an open database symmetric key command (action_id OP class_type SK) (24107) how to monitor with email alert

© by FastNeuron Inc.

Linear Mode
Threaded Mode