Suspicious Mining Process Creation Event
Identifies service creation events of common mining services, possibly indicating the infection of a system with a cryptominer.
Elastic rule (View on GitHub)
1[metadata]
2creation_date = "2023/02/08"
3integration = ["endpoint"]
4maturity = "production"
5min_stack_comments = "New fields added: required_fields, related_integrations, setup"
6min_stack_version = "8.3.0"
7updated_date = "2023/06/22"
8
9[rule]
10author = ["Elastic"]
11description = """
12Identifies service creation events of common mining services, possibly indicating the infection
13of a system with a cryptominer.
14"""
15from = "now-9m"
16index = ["logs-endpoint.events.*", "endgame-*"]
17language = "eql"
18license = "Elastic License v2"
19name = "Suspicious Mining Process Creation Event"
20risk_score = 47
21rule_id = "e2258f48-ba75-4248-951b-7c885edf18c2"
22severity = "medium"
23tags = ["Domain: Endpoint", "OS: Linux", "Use Case: Threat Detection", "Tactic: Execution", "Data Source: Elastic Endgame", "Data Source: Elastic Defend"]
24timestamp_override = "event.ingested"
25type = "eql"
26query = '''
27file where host.os.type == "linux" and event.type == "creation" and
28event.action : ("creation", "file_create_event") and
29file.name : ("aliyun.service", "moneroocean_miner.service", "c3pool_miner.service", "pnsd.service", "apache4.service", "pastebin.service", "xvf.service")
30'''
31
32
33[[rule.threat]]
34framework = "MITRE ATT&CK"
35
36[rule.threat.tactic]
37name = "Execution"
38id = "TA0002"
39reference = "https://attack.mitre.org/tactics/TA0002/"
40
41[[rule.threat.technique]]
42name = "Command and Scripting Interpreter"
43id = "T1059"
44reference = "https://attack.mitre.org/techniques/T1059/"
45
46[[rule.threat.technique.subtechnique]]
47name = "Unix Shell"
48id = "T1059.004"
49reference = "https://attack.mitre.org/techniques/T1059/004/"
Related rules
- BPF filter applied using TC
- Binary Executed from Shared Memory Directory
- Cron Job Created or Changed by Previously Unknown Process
- Interactive Terminal Spawned via Perl
- Interactive Terminal Spawned via Python