2023-09-05 18:07:47 -03:00
|
|
|
[metadata]
|
|
|
|
|
creation_date = "2023/08/21"
|
2024-10-22 00:17:30 +05:30
|
|
|
integration = ["endpoint", "windows", "system"]
|
2023-09-05 18:07:47 -03:00
|
|
|
maturity = "production"
|
2025-03-26 20:34:14 +05:30
|
|
|
updated_date = "2025/03/20"
|
2023-09-05 18:07:47 -03:00
|
|
|
|
|
|
|
|
[rule]
|
|
|
|
|
author = ["Elastic"]
|
2024-05-23 00:45:10 +05:30
|
|
|
building_block_type = "default"
|
2023-09-05 18:07:47 -03:00
|
|
|
description = """
|
|
|
|
|
Windows Background Intelligent Transfer Service (BITS) is a low-bandwidth, asynchronous file transfer mechanism.
|
|
|
|
|
Adversaries may abuse BITS to persist, download, execute, and even clean up after running malicious code.
|
|
|
|
|
"""
|
|
|
|
|
from = "now-119m"
|
2025-02-19 12:54:31 -03:00
|
|
|
index = [
|
|
|
|
|
"endgame-*",
|
|
|
|
|
"logs-endpoint.events.process-*",
|
|
|
|
|
"logs-system.security*",
|
|
|
|
|
"logs-windows.sysmon_operational-*",
|
|
|
|
|
"winlogbeat-*",
|
|
|
|
|
]
|
2024-05-23 00:45:10 +05:30
|
|
|
interval = "60m"
|
2023-09-05 18:07:47 -03:00
|
|
|
language = "eql"
|
|
|
|
|
license = "Elastic License v2"
|
|
|
|
|
name = "Bitsadmin Activity"
|
|
|
|
|
risk_score = 21
|
|
|
|
|
rule_id = "8eec4df1-4b4b-4502-b6c3-c788714604c9"
|
|
|
|
|
severity = "low"
|
2024-05-23 00:45:10 +05:30
|
|
|
tags = [
|
|
|
|
|
"Domain: Endpoint",
|
|
|
|
|
"OS: Windows",
|
|
|
|
|
"Use Case: Threat Detection",
|
|
|
|
|
"Tactic: Command and Control",
|
|
|
|
|
"Data Source: Elastic Defend",
|
|
|
|
|
"Rule Type: BBR",
|
2024-07-01 10:41:00 -03:00
|
|
|
"Data Source: Sysmon",
|
2024-08-09 11:14:33 -03:00
|
|
|
"Data Source: Elastic Endgame",
|
2025-02-19 12:54:31 -03:00
|
|
|
"Data Source: Windows Security Event Logs",
|
2024-05-23 00:45:10 +05:30
|
|
|
]
|
2023-09-05 18:07:47 -03:00
|
|
|
timestamp_override = "event.ingested"
|
|
|
|
|
type = "eql"
|
|
|
|
|
|
|
|
|
|
query = '''
|
|
|
|
|
process where host.os.type == "windows" and event.type == "start" and
|
|
|
|
|
(
|
|
|
|
|
(process.name : "bitsadmin.exe" and process.args : (
|
|
|
|
|
"*Transfer*", "*Create*", "AddFile", "*SetNotifyFlags*", "*SetNotifyCmdLine*",
|
|
|
|
|
"*SetMinRetryDelay*", "*SetCustomHeaders*", "*Resume*")
|
|
|
|
|
) or
|
|
|
|
|
(process.name : "powershell.exe" and process.args : (
|
|
|
|
|
"*Start-BitsTransfer*", "*Add-BitsFile*",
|
|
|
|
|
"*Resume-BitsTransfer*", "*Set-BitsTransfer*", "*BITS.Manager*")
|
|
|
|
|
)
|
|
|
|
|
)
|
|
|
|
|
'''
|
|
|
|
|
|
2024-05-23 00:45:10 +05:30
|
|
|
|
2023-09-05 18:07:47 -03:00
|
|
|
[[rule.threat]]
|
|
|
|
|
framework = "MITRE ATT&CK"
|
|
|
|
|
[[rule.threat.technique]]
|
|
|
|
|
id = "T1105"
|
|
|
|
|
name = "Ingress Tool Transfer"
|
|
|
|
|
reference = "https://attack.mitre.org/techniques/T1105/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
|
|
|
id = "TA0011"
|
|
|
|
|
name = "Command and Control"
|
|
|
|
|
reference = "https://attack.mitre.org/tactics/TA0011/"
|
|
|
|
|
[[rule.threat]]
|
|
|
|
|
framework = "MITRE ATT&CK"
|
|
|
|
|
[[rule.threat.technique]]
|
|
|
|
|
id = "T1197"
|
|
|
|
|
name = "BITS Jobs"
|
|
|
|
|
reference = "https://attack.mitre.org/techniques/T1197/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
|
|
|
id = "TA0005"
|
|
|
|
|
name = "Defense Evasion"
|
|
|
|
|
reference = "https://attack.mitre.org/tactics/TA0005/"
|
|
|
|
|
[[rule.threat]]
|
|
|
|
|
framework = "MITRE ATT&CK"
|
|
|
|
|
[[rule.threat.technique]]
|
|
|
|
|
id = "T1197"
|
|
|
|
|
name = "BITS Jobs"
|
|
|
|
|
reference = "https://attack.mitre.org/techniques/T1197/"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[rule.threat.tactic]
|
|
|
|
|
id = "TA0003"
|
|
|
|
|
name = "Persistence"
|
|
|
|
|
reference = "https://attack.mitre.org/tactics/TA0003/"
|
2024-05-23 00:45:10 +05:30
|
|
|
|