Techniques
Sample rules
Virtual Machine Fingerprinting via Grep
- source: elastic
- technicques:
- T1082
Description
An adversary may attempt to get detailed information about the operating system and hardware. This rule identifies common locations used to discover virtual machine hardware by a non-root user. This technique has been used by the Pupy RAT and other malware.
Detection logic
process where event.type == "start" and
process.name in ("grep", "egrep") and user.id != "0" and
process.args : ("parallels*", "vmware*", "virtualbox*") and process.args : "Manufacturer*" and
not process.parent.executable in ("/Applications/Docker.app/Contents/MacOS/Docker", "/usr/libexec/kcare/virt-what")
Virtual Machine Fingerprinting
- source: elastic
- technicques:
- T1082
Description
An adversary may attempt to get detailed information about the operating system and hardware. This rule identifies common locations used to discover virtual machine hardware by a non-root user. This technique has been used by the Pupy RAT and other malware.
Detection logic
event.category:process and host.os.type:linux and event.type:(start or process_started) and
process.args:("/sys/class/dmi/id/bios_version" or
"/sys/class/dmi/id/product_name" or
"/sys/class/dmi/id/chassis_vendor" or
"/proc/scsi/scsi" or
"/proc/ide/hd0/model") and
not user.name:root