ossec.conf file, you need to change the HIDS agent configuration on each Windows machine that you want to monitor USB devices.
To change the configuration on the client machine: Go to C:\Program Files (x86)\ossec-agent.
ossec.conf with a text editor.
Locate the line "<ossec_config>" and add the following configuration right below that line:
<localfile> <log_format>full_command</log_format> <command>wmic logicaldisk where drivetype=2 get deviceid, description, FileSystem, Size, VolumeSerialNumber</command> <frequency>60</frequency> </localfile>Your configuration file should look similar to this:
Some customers have reported that the wmic command above does not work in their environment. Sheriff has not been able to reproduce the problem but suspect that it may be related to newer HIDS versions or older Windows versions. If you run into the same issue, try using the following command instead:
<command>wmic logicaldisk where "drivetype=2 AND NOT deviceid like "a\"" get deviceid, description, !FileSystem, Size, VolumeSerialNumber</command>
Launch the win32ui application located in the same directory.
Sheriff Vigilante Limitations: Both Sheriff Vigilante and the Sheriff CSM HIDS decoders are fully featured, with all of their information coming from the Plugin Feed Updates that Sheriff CSM and Sheriff Vigilante provide. However, Sheriff Vigilante lacks the depth of NIDS information that is provided to Sheriff CSM through the Threat Intelligence Updates.