The "ELM 411" - Monitoring for Portable Media Devices
| With the prices of portable media or USB storage devices down to about a penny per megabyte (or even less!), its no wonder these little gems of storage are being used all over the place at work, school and home. Transferring and transporting data is easier than ever so knowing when this takes place in your environment may become a critical piece of your security policy. |
|
Although there are many specialized end-point security tools out there, both ELM Enterprise Manager and ELM Performance manager can monitor for portable media devices using the WMI Monitor. Here's how.
Using a WMI Monitor item in ELM Enterprise Manager or ELM Performance Manager allows the administrator to query various objects in the WMI Namespace. The WMI monitor can be configured to look for the addition of portable media devices such as a USB flash drive or an MP3 player. As the WMI query results change (drive added/removed), the monitor item will trigger its action (i.e., Alert, Event Log Message, etc.). The following query utilizes the 'Win32_DiskDrive' Class in the WMI root\CIMV2 namespace:
SELECT Caption, MediaType FROM Win32_DiskDrive
Note: There are many other fields that can be added to the select query above depending on the information you need. On an Agent system named ELM-Agent with two SCSI hard drives configured, the following results would be returned when another Device is added.
Warning WMI Monitor - Win32_DiskDrive ELM-Agent
<+> Caption = SanDisk Cruzer Mini USB Device
<+> MediaType = Removable media other than floppy
root\cimv2
SELECT Caption, MediaType from Win32_DiskDrive
Caption = SEAGATE ST336753LW SCSI Disk Device
MediaType = Fixed hard disk media
Caption = SEAGATE ST336753LW SCSI Disk Device
MediaType = Fixed hard disk media
Caption = SanDisk Cruzer Mini USB Device
MediaType = Removable media other than floppy
As you can see the <+> indicator is to inform the administrator that this was an additional entry to the query results(Drive Added).
When the removable media is removed from the system the action will be triggered because the query result set will have changed again. This time the visual cue is the <-> like the following:
Warning WMI Monitor - Win32_DiskDrive ELM-Agent
<-> Caption = SanDisk Cruzer Mini USB Device
<-> MediaType = Removable media other than floppy
root\cimv2
SELECT Caption, MediaType from Win32_DiskDrive
Caption = SEAGATE ST336753LW SCSI Disk Device
MediaType = Fixed hard disk media
Caption = SEAGATE ST336753LW SCSI Disk Device
MediaType = Fixed hard disk media
The action (event or alert) that this change triggers can be used with any notification method you deem appropriate (email, SMS, etc.).
We hope that you found this article informative and wish you continued success with your ELM deployment!
NOTE: All ELM 411 articles are written based on ELM Version 5.5 and instructions may not be accurate for previous ELM Versions. If you would like assistance upgrading to ELM 5.5 so you can use these tips - please contact support@tntsoftware.com.
Share your own ELM tips!
Have a tip or trick with our ELM products you'd like to share with our newsletter subscribers? Send your ideas and any applicable screen shots to info@tntsoftware.com with "ELM 411" in the subject line. We'll take a look and if usable you'll see it published here in the ELM 411 section of upcoming newsletters!