Usb Lan
0
Posted by admin | Posted in Uncategorized | Posted on 04-05-2009
Tags: hardware, linux, network, software, usb
Usb Lan
Cables To Go USB 2.0 VGA Lan Dock
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. 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 Security Center: IDS IPS Network Access Protection and Switch Protector: NAC Network Access Control Monitoring network security scanners.
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 & “\root\cimv2″)
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 + “\\root\\cimv2″);
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;}}}
About the Author:
For more information on network security and management software solutions for real-time monitoring systems, please visit Lan-Secure.com: Network Management Software.
Article Source: ArticlesBase.com – USB detection using WMI script
|
|
8 gang extension lead with surge protection/USB/Modem/LAN £26.37 Protects computers and other sensitive devices from power surges and spikes. Features: * 1 in 3 out (USB 2.0 hub) unpowered Specification: |
|
|
8 gang extension lead with surge protection/USB/Modem/LAN £39.64 8 GANG EXTENSION LEAD WITH SURGE PROTECTION AND USB/MODEM/LAN SOCKETS8 gang extension lead with surge protection/USB/Modem/LANProtects computers and other sensitive devices from power surges and spikes…. |
|
|
8 gang extension lead with surge protection/USB/Modem/LAN £39.64 Protects computers and other sensitive devices from power surges and spikes. Features: * 1 in 3 out (USB 2.0 hub) unpowered Specification: |
|
|
Fast USB Ethernet Network/LAN Adaptor For Nintendo Wii £9.50 … |
|
|
Wii LAN Wired USB Network Adapter £12.77 Connect your Wii to the internet without needing a wireless network. This USB Wii Lan adapter plugs directly into the Wii console adding a CAT 5 ethernet port to plug in network cable and get your Wii online. This means no more dropouts from a weak wireless connection and no slow speeds caused by limited bandwidth. It’s plug and play at its simplest – just plug the adapter into a free USB port on… |
|
|
WII LAN ADAPTER USB 2.0 £14.99 No need for a wireless router. This Ethernet Lan Adapter from Hama, enables you to create a high-speed Lan Internet connection, faster than typical Wifi connections…. |
|
|
Samsung WiFi Link Stick £44.10 Samsung WIS09ABGNX Wireless Dongle for Streaming Wireless DLNA and Internet@TV Widget Service. For 7020 & 8000 Series LED and new 6 Series LCD… |
|
|
Edimax EW-7711UAN 11n 150mbs Wireless High Gain USB Adapter £9.99 Edimax 11N 150 HiGain 3dBi USB Adapter EW7711UAN Networking Network Adapters… |
|
|
Edimax Ew-7711utn 11n 150Mbps Mini-size Usb Adapter £8.34 ccidistribution.co.uk/data… |
|
|
LUPO USB to LAN Ethernet Network RJ45 Adapter £8.99 This LUPO tmUSB 10/100 Ethernet Adapter for PC computers is the easiest solution for connecting your laptop and/or desktop computers to a broadband Internet modem, or building a 10/100 Base-T Ethernet network. Easy to install, the adapter plugs into any available USB port and lets you connect your PC to a cable or DSL modem, as well as share files and peripherals with computers that are connected … |










