fortra/impacket

Samba secretsdump.py not working

Open

#991 aperta il 11 nov 2020

Vedi su GitHub
 (15 commenti) (0 reazioni) (0 assegnatari)Python (3421 fork)batch import
enhancementhelp wanted

Metriche repository

Star
 (12.244 star)
Metriche merge PR
 (Merge medio 30g 8h) (10 PR mergiate in 30 g)

Descrizione

Configuration

impacket version: latest (from git) Target OS: Ubuntu 16.04 Samba Version : 4.3.8

Debug Output With Command String

Password:
[*] Dumping Domain Credentials (domain\uid:rid:lmhash:nthash)
[*] Using the DRSUAPI method to get NTDS.DIT secrets
[-] DRSR SessionError: code: 0x20e4 - ERROR_DS_CANT_FIND_EXPECTED_NC - The naming context could not be found.
[*] Something wen't wrong with the DRSUAPI approach. Try again with -use-vss parameter
[*] Cleaning up... ```

Additional context

Hi,

When trying to secretsdump.py -no-pass -just-dc Domain/'DC_NETBIOS_NAME$'@DC_IP_ADDR into my SAMBA AD DC I face an error message. I Wanted to know if it was related to the implementation of secretdump or If I could have missed something during my samba configuration.

Thanks and have a great week 👍

Guida contributor