Skip to content
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

Feature Request - Support NTLMSSP/HTTP #4

Open
mubix opened this issue Jun 29, 2014 · 7 comments
Open

Feature Request - Support NTLMSSP/HTTP #4

mubix opened this issue Jun 29, 2014 · 7 comments

Comments

@mubix
Copy link

mubix commented Jun 29, 2014

Would be nice be able to relay to HTTP sites

@purpleteam
Copy link
Owner

We've talked about (and I have a basic shell of PoC code) for snarfing HTTP connections where the first of a series of keep-alive requests are authenticated with NTLM or SPNEGO. This would allow you to tack on additional HTTP requests under that same authenticated context at least as long as the keep-alive lasts (not long on some web servers, alas). Is that what you mean?

Or do you mean turning inbound HTTP connections to outbound SMB?

Or do you mean turning inbound SMB connections to outbound HTTP?

@mubix
Copy link
Author

mubix commented Jul 1, 2014

So more and more using Responder I find I receive HTTP based NLTM auth more than SMB and it would be nice to be able to use that against an SMB server or another NTLM based web server.

@jephthai
Copy link
Collaborator

I have an update on this. We do still intend to build this in, but for now there is a way to accomplish this. Here's what I found worked on a recent pen-test:

  • Run Snarf with a default IP (“-d” option) or a round robin list (“-f” option)
    • sudo node snarf.js –d
    • NOTE: you don’t have to change IP tables at all since this isn’t MitM
  • Configure the metasploit http_ntlmrelay module to relay to the Snarf server with the “SMB_LS” RTYPE
    • set URIPATH /wpad.dat
    • set SRVHOST
    • set SRVPORT 80
    • set RHOST
    • set RPORT 445
    • set RTYPE SMB_LS
  • Configure Responder to run with the HTTP server disabled
    • HTTP = Off
    • HTTPS = Off
  • Sit back and watch sessions come in every time there’s a “wpad” request

@Lexus89
Copy link

Lexus89 commented Mar 17, 2016

This would be awesome, it is still under development?

@jephthai
Copy link
Collaborator

Actually, yes -- and I believe we have some HTTP->SMB cross-protocol code that isn't checked in. I'll check with Victor (offenseindepth) and see.

@Lexus89
Copy link

Lexus89 commented Mar 23, 2016

@jephthai Any update yet on the HTTP to SMB code?

@PowerPress
Copy link

Any news this would be awesome

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants