Posts Tagged ‘Simplicity’
How To Detect USB Using WMI Script
Last Updated on Sunday, 19 December 2010 04:46 Written by databank Sunday, 19 December 2010 07:54
USB flash drives are very common and can be found in almost every computerized environment for storing and transferring data between computers. These USB devices make it really easy for potential attacker to exploit unprotected computers with malicious virus and Trojan software and provide a gateway to the network for manipulating sensitive data.
Detecting USB storage devices
There are some nice tools that can be found on the net that will notify about USB devices on local and remote windows platforms. But most of them are not free and will require an installation of an agent on the remote windows platforms.
WMI notification event script
The following USB notification event script will send an event message in response to any operation of USB device on local or remote windows platform. For simplicity, the script is using a temporary event subscription, which exists only as long as the script is running. Some modifications will be needed for a permanent event subscription that will not require a perpetually running script:
VBScript (should be copied and saved as .vbs file):
strComputer = “.” ‘(Any computer name or address)
Set wmi = GetObject(“winmgmts:” & strComputer & “rootcimv2″)
Set wmiEvent = wmi.ExecNotificationQuery(“select * from __InstanceOperationEvent within 1 where TargetInstance ISA ‘Win32_PnPEntity’ and TargetInstance.Description=’USB Mass Storage Device’”)
While True
Set usb = wmiEvent.NextEvent()
Select Case usb.Path_.Class
Case “__InstanceCreationEvent” WScript.Echo(“USB device found”)
Case “__InstanceDeletionEvent” WScript.Echo(“USB device removed”)
Case “__InstanceModificationEvent” WScript.Echo(“USB device modified”)
End Select
Wend
JScript (should be copied and saved as .js file):
strComputer = “.”; //(Any computer name or address)
var wmi = GetObject(“winmgmts:” + strComputer + “rootcimv2″);
var wmiEvent = wmi.ExecNotificationQuery(“select * from __InstanceOperationEvent within 1 where TargetInstance ISA ‘Win32_PnPEntity’ and TargetInstance.Description=’USB Mass Storage Device’”);
while(true) {
var usb = wmiEvent.NextEvent();
switch (usb.Path_.Class) {
case “__InstanceCreationEvent”: {WScript.Echo(“USB device found”); break;}
case “__InstanceDeletionEvent”: {WScript.Echo(“USB device removed”); break;}
case “__InstanceModificationEvent”: {WScript.Echo(“USB device modified”); break;}}}
Conclusion
Using the preinstalled Windows Management Instrumentation (WMI) on windows platforms is free and will not require any remote agent. It will only require a simple script that can be run manually from a privileged user account or from another network monitoring software like IDS IPS Network Protection and Network Access Control Monitoring network security scanners.
Tags: Amp, Attacker, Case Usb, Class Case, Computer Name, Data Storage, detect usb ruby, detect when usb, detecting usb with wmi script, Flash Drives, Isa, Jscript, Malicious Virus, Mass Storage Device, Ron Winner, Sensitive Data, Simplicity, Trojan, Unprotected Computers, Usb Devices, Usb Flash Drives, Usb Storage Devices, Windows Platform, Windows Platforms, Winmgmts, wmi.execnotificationquery("select * from __instanceoperationevent within 1 where targetinstance isa 'win32_pnpentity' and targetinstance.description='usb mass storage device' | Posted under USB Storage | No Comments
Kingston DataTraveler 100 – 8 GB USB 2.0 Flash Drive DT100/8GB
Last Updated on Friday, 5 November 2010 12:44 Written by databank Friday, 5 November 2010 12:44
Kingston DataTraveler 100 – 8 GB USB 2.0 Flash Drive DT100/8GB
- Operating System – Windows Vista, Windows XP (SP1, SP2), Windows 2000 (SP4), Mac OS 10.3.x, Linux 2.6 and above
- Dimensions – 2.35 x 0.88 x 0.37 (59.7mm x 22.3mm x 9.5mm)
- Weight – 0.48 ounces (12 grams)
DataTraveler 100 was built with simplicity in mind, allowing you to focus on your data. With the USB connector safely housed inside the sleek case and capacities up to 8GB, DataTraveler 100 gives you plenty of room to hold any important digital files.Built with simplicity in mind, the DataTraveler 100 contains up to 8 GB of storage and was designed to high-speed USB 2.0 specifications. Simply plug into a USB port and you’re ready to go. Sleek and capless, the DataTraveler 100 holds all your do
Rating:
(out of 488 reviews)
List Price: $ 99.99
Price: {price-updating}
Tags: 2000 Sp4, 3mm, 5mm, copying files slow on kingston datatraveler, DataTraveler, Drive, dt 100 g2 win 98, DT100/8GB, Flash, Flash Drive, High Speed, Kingston, Kingston Datatraveler, kingston datatraveler 100 g2 write speed slow, kingston datatraveler 2.0 (8gb) working at low speed why, kingston dt100 8gb win 98, kingston dt100 slow write speeds, Linux, Mac Os 10, Operating System, Simplicity, slow usb stick datatraveler 8 gb, Sp2 Windows 2000, Speed Usb, Storage, System Windows, Usb 2 0, Usb Connector, Usb Flash, Usb Port, Windows 2000, Windows Xp | Posted under USB Storage | 5 Comments
Technology Buffalo JustStore 250 2 GB Portable USB. 0 Ultra-Slim Portable External Hard Drive HD-PV250U2/BK
Last Updated on Monday, 10 May 2010 03:36 Written by databank Monday, 10 May 2010 03:36
- Easily store and transport your photos, music, videos, documents and other data files
- Includes Buffalo’s TurboUSB utility that increases Windows transfer speeds by up to 20% over competing USB 2.0 portable hard drives
- Ultra-Slim design is lightweight and easily fits in your pocket
- Plug-and-play storage expansion for both Windows and Mac computers
- USB powered No AC power adapter needed
Buffalo JustStore Product DescriptionThe USB Portable Hard Drive HD-PVU2 is a lightweight storage solution designed for simplicity. Portable JustStore occupies minimal space and offers powered USB portable storage of your data and on-the-life style. Purpose built, portable extension JustStore offers plug-and-play storage for Windows ® and Mac ®. Included with the portable JustStore Buffalo TurboUSB utility that optimizes the transfer of USB in the window. . . More>>
Tags: Ac Power Adapter, Bk, Buffalo, buffalo 2gb hdd, buffalo juststore 2gb, Drive, External, External Hard Drive, Hard, Hd, HDPV250U2/BK, JustStore, Life Style, Mac Computers, Minimal Space, music data bank buffalo, Music Videos, Photos Music, Plug And Play, portable, Portable External Hard Drive, Portable Hard Drive, Portable Hard Drives, Portable Storage, Simplicity, Slim Design, Storage Expansion, Storage Solution, Technology, Transfer Speeds, UltraSlim, USB, Usb 2 0 | Posted under USB Storage | No Comments



