Security Instrumentation with WMI

I  started to explain here, why instrumentation (though strictly speaking this is not a security feature) is very important to build secure applications.

Another option is to use WMI (see here and here and here).

Which specific technology you use to let someone know that something is wrong, depends on the environment your application runs in. If the admins of the application uses Performance Monitor – then go for PerfMon – if they use network monitoring systems like Microsoft Operations Manager – WMI might be the right solution.

For my instrumentation talk at DevWeek i created a little sample applications which shows how use WMI to publish information and events as well as a WMI consumer that monitors that information.

The provider app publishes the number of failed logons to WMI, and if a user has three consecutive failed logons an event is generated. The consumer periodically polls the WMI class and subscribes to the event. enjoy.


This entry was posted in Uncategorized. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s