fortra/impacket

Samba secretsdump.py not working

Open

#991 ouverte le 11 nov. 2020

Voir sur GitHub
 (15 commentaires) (0 réactions) (0 assignés)Python (3 421 forks)batch import
enhancementhelp wanted

Métriques du dépôt

Stars
 (12 244 stars)
Métriques de merge PR
 (Merge moyen 30j 8h) (10 PRs mergées en 30 j)

Description

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 👍

Guide contributeur