Skip to content

Tools developed to test the Redirect to SMB issue

License

Notifications You must be signed in to change notification settings

cylance/SMBTrap

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SMBTrap

Tools developed to test the Redirect to SMB issue. These tools are all developed for Python 2.7. More details about Redirect to SMB can be found in our white paper and in our blog.

Tools

The tools included in this repository are as follows:

  • smbtrap2.py - A low dependency SMB server which only supports authentication. It logs authentication attempts, as well as attempts to crack them with a very small dictionary in quickcrack.py
  • redirect_server.py - A very simple Redirect to SMB server which simply provides 302 responses to every HTTP request, which redirect to the SMB server supplied on the command line.
  • smbtrap-mitmproxy-inline.py - A small mitmproxy inline script which replaces functionality for redirect_server.py, allowing for greater flexibility.

Dependencies

  • impacket
  • bitarray
  • tornado
  • ntpath

About

Tools developed to test the Redirect to SMB issue

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages