2020-12-15 21:33:00 +01:00
[ metadata ]
creation_date = "2020/12/15"
2023-01-04 09:30:07 -05:00
integration = [ "endpoint" , "windows" ]
2020-12-15 21:33:00 +01: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-06 12:47:11 -03:00
updated_date = "2023/03/06"
2020-12-15 21:33:00 +01:00
[ rule ]
author = [ "Elastic" ]
description = "" "
2021-02-16 10:52:48 -09:00
Identifies the use of the Exchange PowerShell cmdlet, Set-CASMailbox, to add a new ActiveSync allowed device.
Adversaries may target user email to collect sensitive information.
2020-12-15 21:33:00 +01:00
" ""
false_positives = [ "Legitimate exchange system administration activity." ]
2021-02-17 19:49:58 -09:00
from = "now-9m"
2023-03-06 12:47:11 -03:00
index = [ "logs-endpoint.events.*" , "winlogbeat-*" , "logs-windows.*" , "endgame-*" ]
2020-12-15 21:33:00 +01:00
language = "eql"
2021-03-03 22:12:11 -09:00
license = "Elastic License v2"
2020-12-15 21:33:00 +01:00
name = "New ActiveSyncAllowedDeviceID Added via PowerShell"
2022-07-18 15:41:32 -04:00
note = "" "## Setup
2022-04-01 15:27:08 -08:00
If enabling an EQL rule on a non-elastic-agent index (such as beats) for versions <8.2, events will not define `event.ingested` and default fallback for EQL rules was not added until 8.2, so you will need to add a custom pipeline to populate `event.ingested` to @timestamp for this rule to work.
" ""
2020-12-15 21:33:00 +01:00
references = [
"https://www.volexity.com/blog/2020/12/14/dark-halo-leverages-solarwinds-compromise-to-breach-organizations/" ,
"https://docs.microsoft.com/en-us/powershell/module/exchange/set-casmailbox?view=exchange-ps" ,
]
risk_score = 47
rule_id = "ce64d965-6cb0-466d-b74f-8d2c76f47f05"
severity = "medium"
2023-03-06 12:47:11 -03:00
tags = [ "Elastic" , "Host" , "Windows" , "Threat Detection" , "Persistence" , "Elastic Endgame" ]
2021-02-16 10:52:48 -09:00
timestamp_override = "event.ingested"
2020-12-15 21:33:00 +01:00
type = "eql"
query = '' '
2023-03-05 09:41:19 -09:00
process where host.os.type == "windows" and event.type == "start" and
2021-10-26 10:16:31 -05:00
process.name: ("powershell.exe", "pwsh.exe", "powershell_ise.exe") and process.args : "Set-CASMailbox*ActiveSyncAllowedDeviceIDs*"
2020-12-15 21:33:00 +01:00
' ''
[ [ rule . threat ] ]
framework = "MITRE ATT&CK"
[ [ rule . threat . technique ] ]
2021-09-23 14:08:38 -03:00
id = "T1098"
name = "Account Manipulation"
reference = "https://attack.mitre.org/techniques/T1098/"
2022-04-01 15:27:08 -08:00
[ [ rule . threat . technique . subtechnique ] ]
id = "T1098.002"
2022-07-22 14:30:34 -04:00
name = "Additional Email Delegate Permissions"
2022-04-01 15:27:08 -08:00
reference = "https://attack.mitre.org/techniques/T1098/002/"
2020-12-15 21:33:00 +01:00
2021-08-20 00:19:11 -08:00
2020-12-15 21:33:00 +01:00
[ rule . threat . tactic ]
2021-09-23 14:08:38 -03:00
id = "TA0003"
name = "Persistence"
reference = "https://attack.mitre.org/tactics/TA0003/"
2021-02-16 10:52:48 -09:00