mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-02-09 04:03:16 +08:00
33 lines
965 B
YAML
33 lines
965 B
YAML
id: windows-defender-realtime-protection-disabled
|
|
|
|
info:
|
|
name: Windows Defender Real-Time Protection Disabled
|
|
author: princechaddha
|
|
severity: high
|
|
description: Checks if Windows Defender real-time protection is disabled.
|
|
impact: |
|
|
Disabling real-time protection increases the risk of malware infections.
|
|
remediation: |
|
|
Enable Windows Defender real-time protection to secure the system.
|
|
tags: windows,defender,windows-audit
|
|
|
|
self-contained: true
|
|
|
|
code:
|
|
- pre-condition: |
|
|
IsWindows();
|
|
engine:
|
|
- powershell
|
|
- powershell.exe
|
|
args:
|
|
- -ExecutionPolicy
|
|
- Bypass
|
|
pattern: "*.ps1"
|
|
source: |
|
|
(Get-MpPreference).DisableRealtimeMonitoring
|
|
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "True"
|
|
# digest: 4a0a00473045022100ae62a0f2a22fd5ab361487fd5e83077ac7d183cd5390fae3fa0598ec1a60d30602205959934326eed271719a41c1d444204b97e87088fcee0e39f8629f28dcef7cdc:922c64590222798bb761d5b6d8e72950 |