diff --git a/detections/endpoint/powershell_4104_hunting.yml b/detections/endpoint/powershell_4104_hunting.yml index 84ffa54513..b5de4d2f22 100644 --- a/detections/endpoint/powershell_4104_hunting.yml +++ b/detections/endpoint/powershell_4104_hunting.yml @@ -56,7 +56,8 @@ tags: context: - Source:Endpoint - Stage:Defense Evasion - dataset: [] + dataset: + - https://media.githubusercontent.com/media/splunk/attack_data/master/datasets/attack_techniques/T1059.001/powershell_script_block_logging/sbl_xml.log impact: 80 kill_chain_phases: - Exploitation @@ -89,6 +90,10 @@ tags: required_fields: - _time - ScriptBlockText + - Opcode + - Computer + - UserID + - EventCode risk_score: 80 security_domain: endpoint asset_type: Endpoint diff --git a/tests/endpoint/powershell_4104_hunting.test.yml b/tests/endpoint/powershell_4104_hunting.test.yml index 5ee81bda27..f23564d1c3 100644 --- a/tests/endpoint/powershell_4104_hunting.test.yml +++ b/tests/endpoint/powershell_4104_hunting.test.yml @@ -6,7 +6,8 @@ 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/T1059.001/powershell_testing/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 +