Hacking Windows Active Directory using Bloodhound, and Cracking PasswordSafe password manager file

  1. scan open port & running service using nmap. (ftp, smb, ldap (active directory), rpc are running.)

  2. try to login via ftp. (failed).

    image

  3. use enum4linux to enumerate shares, user, etc. dont forget to enumerate using the provided creds.

    image

  4. enumerate read access to shares using netexec. (no read access to machine)

    image

  5. enumerate AD using bloodhound.

    image

  6. start from our default user, check what we own and what we can do. Olivia (our default user) has genericall privilege to michael, we can change michael password.

    image

    change michael password

    image

  7. try login as michael

    image

  8. back to bloodhound, check what michael can do. michael have forcechangepassword privilege to benjamin user

    image

  9. change benjamin password and test login via smb

    image

  10. remember the ftp that we found while scanning using nmap in the first step ? try using that now.

    image

  11. download Backup.psafe3 from ftp.

    image

  12. what is .psafe3 file ? google it, its a passwordsafe database file. passwordsafe is password manager and that file is containing password.

    image

  13. crack the file using hashcat.

    image image

  14. open Backup.psafe3 file using Password Safe software (download here : https://pwsafe.org/). use the password that cracked earlier.

    image image

  15. login as emily and grab user flag

    image image

  16. back to bloodhound, check what emily can do.

    image

  17. targetedkerberoast to get ethan hash.

    image

  18. crack the hash using john

    image

  19. login as ethan

    image

  20. back to bloodhound, see what ethan can do. image

  21. dcsync attack using impacket-secretsdump to get admin hash image

  22. login as admin using admin hash and grab the root flag image