fortra/impacket

Samba secretsdump.py not working

Open

#991 创建于 2020年11月11日

在 GitHub 查看
 (15 评论) (0 反应) (0 负责人)Python (12,244 star) (3,421 fork)batch import
enhancementhelp wanted

描述

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 👍

贡献者指南