-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Intermittent unpacking errors during RPC communication #1660
Comments
After some more digging, I found that adding sleep delay during binding before receiving the answer from the server "fixes" the problem - RPC related code starts working.
This leads me to suspicion that it could be caused by one of two, or both, below:
|
quick question: this doesn't look like an issue for an specific impacket version right? |
In general - yes, but I would expect different versions having slightly different communication and hence slightly different behavior here depending on version and networking setup. |
Configuration
impacket version: v0.12.0.dev1+20231114.165227.4b56c18a
Python version: Python 3.11.6
Target OS: Windows 10 Pro
Debug Output With Command String
Additional context
It happens without any rhyme or reason. Quite often it is enough to just restart it a few times to get it working. It happens only during RPC communication. SMB communication never throws anything like that. Also,
TransferSyntax
unpacking error is the most common, but sometimes it breaks earlier with other fields failing to decode.I am not quite sure it is problem with Impacket, but so far I failed to find out the cause.
It happens with different VMs, different OSes.
Perhaps someone experienced similar errors, or maybe can give an idea how to debug it.
The text was updated successfully, but these errors were encountered: