-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rpc_s_access_denied, very common issue with impacket scripts ! #664
Comments
Did you set |
@Spl0itx it sounds like you are testing on a non-domain joined machine. This article describes the probable situation and how to enable the key. https://support.pdq.com/knowledge-base/1055 A quick check to verify this is indeed the issue is by trying to mount the admin$ share from a different computer. |
Thanks for the extra clarification @awsmhacks. Closing this one since there was no answer. |
Your user is not have permission , so make this request with admin user. or make reg entry |
remote UAC problem. you can try administrator user. |
I know there are many topics related to the same issue, I read every single post but there are no solutions fit with my problem.
I have the same problem with wmiexec, smbexec, atexec, dcomexec,
I am testing this on my local Windows 10 pro x64
$ python /usr/share/doc/python-impacket/examples/wmiexec.py [email protected] "whoami"
Impacket v0.9.19 - Copyright 2019 SecureAuth Corporation
Password:
[*] SMBv3.0 dialect used
[-] rpc_s_access_denied
user2 is in administrators group
PORT STATE SERVICE
135/tcp open msrpc
139/tcp open netbios-ssn
445/tcp open microsoft-ds
1539/tcp open intellistor-lm
even with some other scripts in Impacket like services.py
user@ubuntu:~/Desktop$ python /usr/share/doc/python-impacket/examples/services.py [email protected] list
Impacket v0.9.19 - Copyright 2019 SecureAuth Corporation
Password:
[-] DCERPC Runtime Error: code: 0x5 - rpc_s_access_denied
Thank you all in advanced
The text was updated successfully, but these errors were encountered: