2020-06-29 22:57:00 -06:00
|
|
|
[metadata]
|
|
|
|
|
creation_date = "2020/04/27"
|
2023-01-04 09:30:07 -05:00
|
|
|
integration = ["endpoint"]
|
2020-06-29 22:57:00 -06:00
|
|
|
maturity = "production"
|
2022-08-24 10:38:49 -06:00
|
|
|
min_stack_comments = "New fields added: required_fields, related_integrations, setup"
|
|
|
|
|
min_stack_version = "8.3.0"
|
2023-03-05 09:41:19 -09:00
|
|
|
updated_date = "2023/02/22"
|
2020-06-29 22:57:00 -06:00
|
|
|
|
|
|
|
|
[rule]
|
|
|
|
|
author = ["Elastic"]
|
|
|
|
|
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.
|
|
|
|
|
"""
|
|
|
|
|
false_positives = [
|
|
|
|
|
"""
|
|
|
|
|
Certain tools or automated software may enumerate hardware information. These tools can be exempted via user name or
|
|
|
|
|
process arguments to eliminate potential noise.
|
|
|
|
|
""",
|
|
|
|
|
]
|
2020-08-21 12:23:43 -05:00
|
|
|
from = "now-9m"
|
2023-01-23 20:53:15 -03:00
|
|
|
index = ["auditbeat-*", "logs-endpoint.events.*", "endgame-*"]
|
2020-06-29 22:57:00 -06:00
|
|
|
language = "kuery"
|
2021-03-03 22:12:11 -09:00
|
|
|
license = "Elastic License v2"
|
2020-06-29 22:57:00 -06:00
|
|
|
name = "Virtual Machine Fingerprinting"
|
|
|
|
|
risk_score = 73
|
|
|
|
|
rule_id = "5b03c9fb-9945-4d2f-9568-fd690fee3fba"
|
|
|
|
|
severity = "high"
|
2023-01-23 20:53:15 -03:00
|
|
|
tags = ["Elastic", "Host", "Linux", "Threat Detection", "Discovery", "Elastic Endgame"]
|
2021-02-16 10:52:48 -09:00
|
|
|
timestamp_override = "event.ingested"
|
2020-06-29 22:57:00 -06:00
|
|
|
type = "query"
|
|
|
|
|
|
|
|
|
|
query = '''
|
2023-03-05 09:41:19 -09:00
|
|
|
event.category:process and host.os.type:linux and event.type:(start or process_started) and
|
2020-07-07 13:43:33 -05:00
|
|
|
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
|
2020-06-29 22:57:00 -06:00
|
|
|
'''
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[[rule.threat]]
|
|
|
|
|
framework = "MITRE ATT&CK"
|
|
|
|
|
[[rule.threat.technique]]
|
|
|
|
|
id = "T1082"
|
|
|
|
|
name = "System Information Discovery"
|
|
|
|
|
reference = "https://attack.mitre.org/techniques/T1082/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
|
|
|
id = "TA0007"
|
|
|
|
|
name = "Discovery"
|
|
|
|
|
reference = "https://attack.mitre.org/tactics/TA0007/"
|
2020-08-27 08:54:49 -08:00
|
|
|
|