githubEdit

Authentication

Authentication

You can authenticate on the remote target using a domain account or a local user

Indicators

  • When authentication fail => COLOR RED

  • When authentication success => COLOR GREEN

  • When authentication fail but the password provided is valid => COLOR MAGENTA

Checking Credentials (Domain)

Indicators

  • Failed logins result in a [-]

  • Successful logins result in a [+] Domain\Username:Password

Local admin access results in a (Pwn3d!) added after the login confirmation, shown below.

SMB 192.168.1.101 445 HOSTNAME [+] DOMAIN\Username:Password (Pwn3d!)

The following checks will attempt authentication to the entire /24 though a single target may also be used.

User/Password

User/Hash

After obtaining credentials such as Administrator:500:aad3b435b51404eeaad3b435b51404ee:13b29964cc2480b4ef454c59562e675c::: you can use both the full hash or just the nt hash (second half)

Checking Credentials (Local)

User/Password/Hashes

Adding --local-auth to any of the authentication commands with attempt to logon locally.

Results will display the hostname next to the user:password

SMB 192.168.1.101 445 HOSTNAME [+] HOSTNAME\Username:Password (Pwn3d!)

Last updated