Windows Enumeration
To search for desktop shortcut link's with "runas/savecred"
> Get-ChildItem "C:\" *.lnk -Recurse -Force | ft fullname | Out-File shortcuts.txt
> ForEach ( $file in gc .\shortcuts.txt) { Write-Output $file ; gc $file | Select-String runas }389/tcp open ldap Microsoft Windows Active Directory LDAP
nmap -p 389 --script ldap-rootdse -Pn 10.10.10.182
nmap -p 389 --script ldap-search -Pn 10.10.10.182ldapsearch -x -h 10.10.10.182
ldapsearch -x -h 10.10.10.182 -x -s base nameingcontexts
ldapsearch -x -h 10.10.10.182 -x -b 'dc=cascade,dc=local'
ldapsearch -x -h 10.10.10.182 -s sub -b 'dc=cascade,dc=local'
---[grep out put for LegacyPwd, pwd, ]smbclient -L \\\\10.10.10.x
smbclient \\\\10.10.10.182\\Data -U <user> <password>
smb: \> recurse
smb: \> ls
smb: \> recurse on
smb: \> prompt off
smb: \> mget
anonymousget hashes of useres
Last updated
Was this helpful?