mirror of
https://github.com/projectdiscovery/nuclei-templates.git
synced 2026-01-31 15:53:33 +08:00
33 lines
874 B
YAML
33 lines
874 B
YAML
id: anonymous-sid-enumeration-enabled
|
|
|
|
info:
|
|
name: Anonymous SID Enumeration Enabled
|
|
author: princechaddha
|
|
severity: medium
|
|
description: Checks if anonymous users can enumerate Security Identifiers (SIDs).
|
|
impact: |
|
|
Allowing anonymous SID enumeration can expose user account details and increase the risk of unauthorized access.
|
|
remediation: |
|
|
Restrict anonymous access to SID enumeration to enhance security.
|
|
tags: windows,code,windows-audit
|
|
|
|
self-contained: true
|
|
|
|
code:
|
|
- pre-condition: |
|
|
IsWindows();
|
|
engine:
|
|
- powershell
|
|
- powershell.exe
|
|
args:
|
|
- -ExecutionPolicy
|
|
- Bypass
|
|
pattern: "*.ps1"
|
|
source: |
|
|
Get-ItemProperty -Path 'HKLM:\SYSTEM\CurrentControlSet\Control\Lsa' -Name 'EveryoneIncludesAnonymous'
|
|
|
|
matchers:
|
|
- type: word
|
|
words:
|
|
- "everyoneincludesanonymous : 1"
|