Merge pull request #865 from j91321/defender-rules

Windows Defender logsource and rules
This commit is contained in:
Florian Roth 2020-06-30 10:01:17 +02:00 committed by GitHub
commit 2e3669a5a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 73 additions and 0 deletions

View File

@ -0,0 +1,26 @@
title: Windows Defender Threat Detection Disabled
id: fe34868f-6e0e-4882-81f6-c43aa8f15b62
description: Detects disabling Windows Defender threat protection
date: 2020/07/28
author: Ján Trenčanský
references:
- https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-antivirus/troubleshoot-windows-defender-antivirus
status: stable
tags:
- attack.defense_evasion
- attack.t1089
- attack.t1562.001
logsource:
product: windows
service: windefend
detection:
selection:
EventID:
- 5001
- 5010
- 5012
- 5101
condition: selection
falsepositives:
- Administrator actions
level: high

View File

@ -0,0 +1,22 @@
title: Windows Defender Threat Detected
id: 57b649ef-ff42-4fb0-8bf6-62da243a1708
description: Detects all actions taken by Windows Defender malware detection engines
date: 2020/07/28
author: Ján Trenčanský
references:
- https://docs.microsoft.com/en-us/windows/security/threat-protection/windows-defender-antivirus/troubleshoot-windows-defender-antivirus
status: stable
logsource:
product: windows
service: windefend
detection:
selection:
EventID:
- 1006
- 1116
- 1015
- 1117
condition: selection
falsepositives:
- unlikely
level: high

View File

@ -43,4 +43,9 @@ logsources:
service: dhcp
conditions:
Channel: 'Microsoft-Windows-DHCP-Server/Operational'
windows-defender:
product: windows
service: windefend
conditions:
Channel: 'Microsoft-Windows-Windows Defender/Operational'
defaultindex: logstash-*

View File

@ -69,3 +69,8 @@ logsources:
service: dhcp
conditions:
LogName: 'Microsoft-Windows-DHCP-Server/Operational'
windows-defender:
product: windows
service: windefend
conditions:
LogName: 'Microsoft-Windows-Windows Defender/Operational'

View File

@ -44,6 +44,11 @@ logsources:
service: dhcp
conditions:
winlog.provider_name: 'Microsoft-Windows-DHCP-Server/Operational'
windows-defender:
product: windows
service: windefend
conditions:
winlog.channel: 'Microsoft-Windows-Windows Defender/Operational'
defaultindex: winlogbeat-*
# Extract all field names qith yq:
# yq -r '.detection | del(.condition) | map(keys) | .[][]' $(find sigma/rules/windows -name '*.yml') | sort -u | grep -v ^EventID$ | sed 's/^\(.*\)/ \1: winlog.event_data.\1/g'

View File

@ -43,6 +43,11 @@ logsources:
service: dhcp
conditions:
source: 'Microsoft-Windows-DHCP-Server/Operational'
windows-defender:
product: windows
service: windefend
conditions:
source: 'Microsoft-Windows-Windows Defender/Operational'
defaultindex: winlogbeat-*
# Extract all field names qith yq:
# yq -r '.detection | del(.condition) | map(keys) | .[][]' $(find sigma/rules/windows -name '*.yml') | sort -u | grep -v ^EventID$ | sed 's/^\(.*\)/ \1: event_data.\1/g'

View File

@ -43,6 +43,11 @@ logsources:
service: dhcp
conditions:
winlog.provider_name: 'Microsoft-Windows-DHCP-Server/Operational'
windows-defender:
product: windows
service: windefend
conditions:
winlog.channel: 'Microsoft-Windows-Windows Defender/Operational'
defaultindex: winlogbeat-*
# Extract all field names qith yq:
# yq -r '.detection | del(.condition) | map(keys) | .[][]' $(find sigma/rules/windows -name '*.yml') | sort -u | grep -v ^EventID$ | sed 's/^\(.*\)/ \1: winlog.event_data.\1/g'