-
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
Ntlmrelayx doesn't relay or log connections when -tf is used #1676
Comments
Same problem here, |
The problem above occurred when installing via pipx. When using the ntlmrelayx.py file in the examples dir, a different issue happens where every connection says "connection will be relayed after re-authentication". Works fine with -t "host", as soon as I switch to -tf list.txt it breaks. |
My team had multiple unique hosts within a file and we had successful execution of ntlmrelay. Python 3.9 on Kali Linux. We installed Impacket via apt-get. Impacket v0.10.0 |
Also having these issues, I Installed impacket by cloning the project and then configuring a venv with virtualenv. From within the venv I ran the setup.py script. Running ntlmrelayx with the [*] Received connection from ACME/User123 at Computerabc, connection will be relayed after re-authentication Pivoting to using the |
Hey hello, Going through the ticket to understand this scenario and relate with latest changes in ntlmrelayx. It seems to be related with the multi-relay feature (#767). Multi-relay is enabled when using Multirelay leverages client's ability to reauthenticate after triggering a first authentication request. So, if client does not honour this condition, no connection will end up being relayed (We Love Relaying Credentials: A Technical Guide to Relaying Credentials Everywhere (secureauth.com)) A couple months ago we merged a PR (#1602) that added a log message when first connection attempt was received in the relay server; letting users know that an authentication was performed - even if, by how the client behaves, it is not relayed afterwards - Multi-relay capabilities can be disabled with the flag |
I seem to also be experiencing this issue, but only when running with both Impacket version: |
Hi @kopfjager007, In the meantime, have you tried with the newly added Let us know how that goes. |
Thanks for the reply @gabrielg5! I saw the new flag |
The |
Closed after #1789 thank you all |
Configuration
impacket version: v0.11.0
Python version: 3.8.10
Target OS: Ubuntu 20.04.6
Command: ntlmrelayx.py -tf hosts.txt -smb2support -debug -of hashes.txt
Result: no connections are logged, no debug activity, and hashes are logged in hashes.txt. When replacing -tf with -t connections are received/logged as normal. Tried using a targets file generated by netexec (new crackmapexec), as well as manually.
The text was updated successfully, but these errors were encountered: