84 lines
2.5 KiB
Text
84 lines
2.5 KiB
Text
|
rule vmdetect_misc : vmdetect
|
||
|
{
|
||
|
meta:
|
||
|
author = "AlienVault Labs"
|
||
|
type = "info"
|
||
|
severity = 1
|
||
|
description = "Virtual Machine detection tricks"
|
||
|
|
||
|
strings:
|
||
|
$vbox1 = "VBoxService" nocase ascii wide
|
||
|
$vbox2 = "VBoxTray" nocase ascii wide
|
||
|
$vbox3 = "SOFTWARE\\Oracle\\VirtualBox Guest Additions" nocase ascii wide
|
||
|
$vbox4 = "SOFTWARE\\\\Oracle\\\\VirtualBox Guest Additions" nocase ascii wide
|
||
|
|
||
|
$wine1 = "wine_get_unix_file_name" ascii wide
|
||
|
|
||
|
$vmware1 = "vmmouse.sys" ascii wide
|
||
|
$vmware2 = "VMware Virtual IDE Hard Drive" ascii wide
|
||
|
|
||
|
$miscvm1 = "SYSTEM\\ControlSet001\\Services\\Disk\\Enum" nocase ascii wide
|
||
|
$miscvm2 = "SYSTEM\\\\ControlSet001\\\\Services\\\\Disk\\\\Enum" nocase ascii wide
|
||
|
|
||
|
// Drivers
|
||
|
$vmdrv1 = "hgfs.sys" ascii wide
|
||
|
$vmdrv2 = "vmhgfs.sys" ascii wide
|
||
|
$vmdrv3 = "prleth.sys" ascii wide
|
||
|
$vmdrv4 = "prlfs.sys" ascii wide
|
||
|
$vmdrv5 = "prlmouse.sys" ascii wide
|
||
|
$vmdrv6 = "prlvideo.sys" ascii wide
|
||
|
$vmdrv7 = "prl_pv32.sys" ascii wide
|
||
|
$vmdrv8 = "vpc-s3.sys" ascii wide
|
||
|
$vmdrv9 = "vmsrvc.sys" ascii wide
|
||
|
$vmdrv10 = "vmx86.sys" ascii wide
|
||
|
$vmdrv11 = "vmnet.sys" ascii wide
|
||
|
|
||
|
// SYSTEM\ControlSet001\Services
|
||
|
$vmsrvc1 = "vmicheartbeat" ascii wide
|
||
|
$vmsrvc2 = "vmicvss" ascii wide
|
||
|
$vmsrvc3 = "vmicshutdown" ascii wide
|
||
|
$vmsrvc4 = "vmicexchange" ascii wide
|
||
|
$vmsrvc5 = "vmci" ascii wide
|
||
|
$vmsrvc6 = "vmdebug" ascii wide
|
||
|
$vmsrvc7 = "vmmouse" ascii wide
|
||
|
$vmsrvc8 = "VMTools" ascii wide
|
||
|
$vmsrvc9 = "VMMEMCTL" ascii wide
|
||
|
$vmsrvc10 = "vmware" ascii wide
|
||
|
$vmsrvc11 = "vmx86" ascii wide
|
||
|
$vmsrvc12 = "vpcbus" ascii wide
|
||
|
$vmsrvc13 = "vpc-s3" ascii wide
|
||
|
$vmsrvc14 = "vpcuhub" ascii wide
|
||
|
$vmsrvc15 = "msvmmouf" ascii wide
|
||
|
$vmsrvc16 = "VBoxMouse" ascii wide
|
||
|
$vmsrvc17 = "VBoxGuest" ascii wide
|
||
|
$vmsrvc18 = "VBoxSF" ascii wide
|
||
|
$vmsrvc19 = "xenevtchn" ascii wide
|
||
|
$vmsrvc20 = "xennet" ascii wide
|
||
|
$vmsrvc21 = "xennet6" ascii wide
|
||
|
$vmsrvc22 = "xensvc" ascii wide
|
||
|
$vmsrvc23 = "xenvdb" ascii wide
|
||
|
|
||
|
// Processes
|
||
|
$miscproc1 = "vmware2" ascii wide
|
||
|
$miscproc2 = "vmount2" ascii wide
|
||
|
$miscproc3 = "vmusrvc" ascii wide
|
||
|
$miscproc4 = "vmsrvc" ascii wide
|
||
|
$miscproc5 = "vboxservice" ascii wide
|
||
|
$miscproc6 = "vboxtray" ascii wide
|
||
|
$miscproc7 = "xenservice" ascii wide
|
||
|
|
||
|
$vmware_mac_1a = "00-05-69"
|
||
|
$vmware_mac_1b = "00:05:69"
|
||
|
$vmware_mac_2a = "00-50-56"
|
||
|
$vmware_mac_2b = "00:50:56"
|
||
|
$vmware_mac_3a = "00-0C-29"
|
||
|
$vmware_mac_3b = "00:0C:29"
|
||
|
$vmware_mac_4a = "00-1C-14"
|
||
|
$vmware_mac_4b = "00:1C:14"
|
||
|
$virtualbox_mac_1a = "08-00-27"
|
||
|
$virtualbox_mac_1b = "08:00:27"
|
||
|
|
||
|
condition:
|
||
|
2 of them
|
||
|
}
|