NetExec
NetExec copied to clipboard
Enum_av pipe enumeration not working with smbv1
Describe the bug
When calling impackets listPath() in enum_av it throws an STATUS_ACCESS_DENIED error even when using the domain admin.
This only applies to SMBv1, as SMBv3 is working as intended.
To Reproduce
Steps to reproduce the behavior i.e.:
Command: netexec smb -u username -p password -M enum_av with host using SMBv1
Resulted in:
netexec smb 10.10.10.10 -u username -p password -x "whoami"
SMB 10.10.10.10 445 DC01 [*] Windows 10.0 Build 17763 x64 (name:DC01) (domain:domain) (signing:True) (SMBv1:False)
SMB 10.10.10.10 445 DC01 [+] domain\username:password
ENUM_AV 10.10.10.10 445 DC01 Found NOTHING!
Expected behavior Enumerate pipes properly.
NetExec info
- OS: [e.g. Kali]
- Version of nxc: upstream
- Installed from: upstream