diff --git a/detections/endpoint/getwmiobject_user_account_with_powershell_script_block.yml b/detections/endpoint/getwmiobject_user_account_with_powershell_script_block.yml index 1059f7564a..bb3a548d47 100644 --- a/detections/endpoint/getwmiobject_user_account_with_powershell_script_block.yml +++ b/detections/endpoint/getwmiobject_user_account_with_powershell_script_block.yml @@ -1,7 +1,7 @@ name: GetWmiObject User Account with PowerShell Script Block id: 640b0eda-0429-11ec-accd-acde48001122 -version: 1 -date: '2021-08-23' +version: 2 +date: '2022-05-02' author: Mauricio Velazco, Splunk type: Hunting datamodel: [] @@ -34,7 +34,7 @@ tags: impact: 30 kill_chain_phases: - Reconnaissance - message: Local user discovery enumeration using PowerShell on $Computer$ by $user$ + message: Local user discovery enumeration using PowerShell on $Computer$ by $UserID$ mitre_attack_id: - T1087 - T1087.001 diff --git a/tests/endpoint/getwmiobject_user_account_with_powershell_script_block.test.yml b/tests/endpoint/getwmiobject_user_account_with_powershell_script_block.test.yml index 7b099a2b03..1b63470ddf 100644 --- a/tests/endpoint/getwmiobject_user_account_with_powershell_script_block.test.yml +++ b/tests/endpoint/getwmiobject_user_account_with_powershell_script_block.test.yml @@ -6,7 +6,7 @@ tests: earliest_time: -24h latest_time: now attack_data: - - file_name: windows-powershell.log - data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1087.001/AD_discovery/windows-powershell.log - source: WinEventLog:Microsoft-Windows-PowerShell/Operational - sourcetype: wineventlog + - file_name: sbl_xml.log + data: https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1059.001/powershell_script_block_logging/sbl_xml.log + source: XmlWinEventLog:Microsoft-Windows-PowerShell/Operational + sourcetype: Xmlwineventlog