Fix detection

This commit is contained in:
frack113
2022-01-09 19:24:38 +01:00
parent e45849b029
commit f96a5ce9ff
@@ -6,17 +6,28 @@ author: Fatih Sirin
references:
- https://www.winhelponline.com/blog/enable-and-disable-windows-firewall-quickly-using-command-line/
- https://app.any.run/tasks/210244b9-0b6b-4a2c-83a3-04bd3175d017/
- https://github.com/redcanaryco/atomic-red-team/blob/master/atomics/T1562.004/T1562.004.md#atomic-test-1---disable-microsoft-defender-firewall
date: 2019/11/01
modified: 2021/11/27
modified: 2022/01/09
logsource:
category: process_creation
product: windows
detection:
selection:
CommandLine:
- netsh firewall set opmode mode=disable
- netsh advfirewall set * state off
condition: selection
selection_1:
CommandLine|contains|all:
- netsh
- firewall
- set
- opmode
- 'mode=disable'
selection_2:
CommandLine|contains|all:
- netsh
- advfirewall
- set
- state
- off
condition: 1 of selection_*
falsepositives:
- Legitimate administration
level: medium