-
Notifications
You must be signed in to change notification settings - Fork 10
OS Enumeration
Daethyra edited this page Sep 26, 2025
·
1 revision
- sudo permissions:
sudo -l - check directory permissions (read/write/executable):
ls -l | grep [d,-]rwx- change
rwxto any assortment(e.g.,r--,rw-)
- change
- Search for world-writable directories
# Find world-writable directories in $PATH
echo $PATH | tr ':' '\n' | xargs -I{} sh -c 'find {} -type d -perm -0002 2>/dev/null'See Abusing Exclusions To Evade Detection _ Dazzy Ddos.pdf
sc query windefend
Query the Service Control Manager for Windows Defender
I couldn't find a list of Anti-Virus service names online :(
nxc smb <ip> -u user -p pass -M enum_av
nxc ldap DC1.scrm.local -u sqlsvc -p Pegasus60 -k --get-sidwhoami /user- PowerShell(Requires Active Directory Module)
- Direct retrieval:
(Get-ADDomain).DomainSID.Value - From user object:
(Get-ADUser "Username").SID.AccountDomainSID
- Direct retrieval:
#windows #domain-sid #netexec #antivirus #enumeration