fortra / impacket

Impacket is a collection of Python classes for working with network protocols.
https://www.coresecurity.com
Other
13.52k stars 3.58k forks source link

Dcomexec with kerberos ticket not work #1611

Open enj5oy opened 1 year ago

enj5oy commented 1 year ago

Smbclient with kerberos work fine dcomexec with kerberos not work

Configuration

impacket version:
Python version: 3.11.4 Target OS: Windows 10 22H2 impacket_smbclient_kerberos impacket_dcomexec_kerberos

anadrianmanrique commented 1 year ago

I was able to reproduce the issue. @enj5oy were you ever able to run successfully the example in any other configuration using kerb auth?

anadrianmanrique commented 1 year ago

maybe related to #644

enj5oy commented 1 year ago

@anadrianmanrique dcomexec with kerberos auth not work for me with any parameters.

kyleavery commented 1 year ago

The issue appears to be with the IDispatch function. wmiexec.py does not call this one, so it makes sense that it works as expected. I am still investigating the issue to determine a specific cause, but this could affect more than dcomexec.py.

XiaoliChan commented 8 months ago

Same issues, dcomexec with kerberos not working