Commit graph

276 commits

Author SHA1 Message Date
byt3bl33d3r
563a8d37c1 Fixed a bug in SSLstrip+ code, when redirecting to certain sites
Created a wrapper class around Msfrpc to limit code re-use when interacting with msf
2015-05-19 00:00:40 +02:00
byt3bl33d3r
b9371f7cdc Screenshotter plugin now live!
Added an interval option to specify the interval at which to take the sceenshots

Ferret-NG plugin is pretty much set also, was a bit of a dummy and didn't take into account that we would have sessions from multiple clients (duh!) , so I added a section in the config file to specify the client to hijack the sessions from , also added an option to load the cookies from a log file!
2015-05-16 21:22:11 +02:00
byt3bl33d3r
ff39a302f9 This commit is just to push the changes so far to github , still have to tidy things up here and there and fix some bugs (also I really hate javascript)
JavaPwn plugin has been renamed to BrowserSniper (cause it now supports java, flash and browser exploits), it's been completly re-written along with it's config file section
Addition of the screenshotter plugin, currently there is a bug when decoding the base64 encoded png files (a very wierd one) , but other than that it works (did i mention i hate js?)
Jskeylogger's javscript now works on every browser except FF mobile (have no clue what's with that) p.s. did i mention i hate JS?
Plugins that deal with javascript now read it from a file as supposed to having it built in (encoding issues) fu javascript
User agent parsing is now built in and handled by core/httpagentparser.py, this because the user-agent library is a pain to install on some distros , also removes 3-4 deps which is a plus

also fuck javascript
2015-05-16 00:43:56 +02:00
byt3bl33d3r
86870b8b72 markdown 2015-05-11 04:26:37 +02:00
byt3bl33d3r
acf8a78545 Readme tidying 2015-05-11 04:16:52 +02:00
byt3bl33d3r
de1cf6f9d6 typos 2015-05-11 04:03:12 +02:00
byt3bl33d3r
aefd0cea3b Updated Readme 2015-05-11 03:58:52 +02:00
byt3bl33d3r
79025dc77e Initial working PoC for the Ferret-NG plugin that will replace the SessionHijacker plugin: it will capture cookies and trasparently feed them to the proxy it starts up on port 10010 (by default), this way we just have to connect to the proxy, browse to the same website as the victim and we will automatically hijack their session! \o/
The way MITMf hooks SSLstrip's functions has been modified to improve plugin code readability, additionally corrected some useless function hooks that were placed in early framework realeases and never removed.

Replace plugin has been given it's own section in the config file

currently the BeedAutorun and Javapwn plugins have to be cleaned up...

BrowserProfile plugin's Pinlady code has been updated to the latest version (v0.9.0) and will now detect Flash player's version

Javapwn plugin will be renamed to BrowserPwn and will support Flash exploits too , as supposed to only Java exploits

Since we now have a built in SMB server, removed options to specify a host in the SMBauth plugin

Tweaked the output of some plugins
2015-05-11 03:13:45 +02:00
byt3bl33d3r
d3e509d4cd Added error handling to DNS and SMB servers when port is in use
Added check to see if a plugins options were called without loading the actual plugin
2015-05-06 23:07:59 +02:00
byt3bl33d3r
70ec5a2bbc All plugins are now modified to support dynamic config file changes
Responder functionality fully restored
2015-05-05 19:04:01 +02:00
byt3bl33d3r
dfa9c9d65e Added debug logging to ProxyPlugins, it will now print a traceback if errors occur in hooked functions 2015-05-05 00:39:59 +02:00
byt3bl33d3r
5d07551a50 WPAD Poisoner back online, removed options in config file and rellative code for choosing which DNS server to use. (there really was not point in keeping it)
the --basic and --force options and the EXE serving in the Responder plugin have been removed, until I can find a better way of implementing them.
Modified and re-added the JS-keylogger and SMBauth plugins
2015-05-04 23:13:21 +02:00
byt3bl33d3r
aa4e022ab0 Kerberos sever back online, squashed some bugs 2015-04-30 00:10:55 +02:00
byt3bl33d3r
6b421d1cac typo 2015-04-28 13:10:36 +02:00
byt3bl33d3r
2c6e9a31b7 modded readme 2015-04-28 13:08:56 +02:00
byt3bl33d3r
08b9029a96 Responder's MDNS/LLMNR/NBTNS poisoners are back in action (better than ever), only WPAD remains.
Tested against Windows 7 and 8, got hashes 100% of the time! \o/

The rest of the servers will be added in after WPAD is fixed.

Next step is to fix the logging... frankly i rather just log everything into the main mitmf.log folder since it's very grep'able.
Also the exact output is going to need tweaking, the lines are wayy to long
2015-04-28 02:03:12 +02:00
byt3bl33d3r
7aad9879d1 version bump in readme 2015-04-27 19:19:34 +02:00
byt3bl33d3r
9712eed4a3 This is 1/2 of the work done... lot's of cool stuff!
I've re-written a decent amount of the framework to support dynamic config file updates, revamped the ARP Spoofing 'engine' and changed the way MITMf integrates Responder and Netcreds.

- Net-creds is now started by default and no longer a plugin.. It's all about getting those creds after all.
- Integrated the Subterfuge Framework's ARPWatch script, it will enable itself when spoofing the whole subnet (also squashed bugs in the original ARP spoofing code)
- The spoof plugin now supports specifying a range of targets (e.g. --target 10.10.10.1-15) and multiple targets (e.g. --target 10.10.10.1,10.10.10.2)
- An SMB Server is now started by default, MITMf now uses Impacket's SMBserver as supposed to the one built into Responder, mainly for 2 reasons:
  1) Impacket is moving towards SMB2 support and is actively developed
  2) Impacket's SMB server is fully functional as supposed to Responder's (will be adding a section for it in the config file)
  3) Responder's SMB server was unrealiable when used through MITMf (After spending a day trying to figure out why, I just gave up and yanked it out)

- Responder's code has been broken down into single importable classes (way easier to manage and read, ugh!)
- Started adding dynamic config support to Responder's code and changed the logging messages to be a bit more readable.
- POST data captured through the proxy will now only be logged and printed to STDOUT when it's decodable to UTF-8 (this prevents logging encrypted data which is no use)
- Responder and the Beefapi script are no longer submodules (they seem to be a pain to package, so i removed them to help a brother out)
- Some plugins are missing because I'm currently re-writing them, will be added later
- Main plugin class now inharates from the ConfigWatcher class, this way plugins will support dynamic configs natively! \o/
2015-04-27 18:33:55 +02:00
byt3bl33d3r
663f38e732 initial dynamic config support
added configwatcher.py
2015-04-19 23:33:44 +02:00
byt3bl33d3r
96eb4e2fa6 added capstone in requirements.txt
modified setup and update scripts
2015-04-18 15:08:11 +02:00
byt3bl33d3r
a766c685b1 also added pyopenssl and service_identity to requirements.txt 2015-04-18 14:31:38 +02:00
byt3bl33d3r
eebd7e1978 added ipy to requirements.txt as noticed in #65 2015-04-18 14:13:58 +02:00
byt3bl33d3r
33c9eda05b fixed the responder plugin (im a dummy) 2015-04-17 02:11:00 +02:00
byt3bl33d3r
88a4e15900 fixed some output 2015-04-16 01:38:28 +02:00
byt3bl33d3r
6121c67eaa Merge branch 'dev' 2015-04-15 18:25:59 +02:00
byt3bl33d3r
b91bb4271b - Fixed bug where sometimes DNS wouldn't resolve local IP's
- Added Metasploit integration to Filepwn plugin
2015-04-15 18:19:19 +02:00
byt3bl33d3r
360a6ba6ce addresses issue #63 2015-04-15 17:16:28 +02:00
byt3bl33d3r
3421c5af55 Update requirements.txt with missing dependencie 2015-04-15 16:39:05 +02:00
byt3bl33d3r
be19a685b3 Update README.md 2015-04-15 16:12:08 +02:00
byt3bl33d3r
8eb09309d2 Merged Filepwn plugin and config file changes 2015-04-15 00:40:01 +02:00
byt3bl33d3r
5e9158ce0a Updated FilePwn plugin with latest BDFProxy version
Removed exception handling in mitmf.py since I actually want a traceback
2015-04-14 16:16:29 +02:00
byt3bl33d3r
460399541f Modded Responder plugin to accomodate re-write
Started converting all string formatting to format() API
2015-04-13 20:25:14 +02:00
byt3bl33d3r
4dd497d8b9 updated to latest responder commit 2015-04-12 22:03:37 +02:00
byt3bl33d3r
5b0a15ea56 fixed logging in responder and some plugins 2015-04-12 19:00:50 +02:00
byt3bl33d3r
5ce49d2ff2 updated README.md 2015-04-12 02:21:23 +02:00
byt3bl33d3r
d137296560 updated README.md 2015-04-12 02:20:15 +02:00
byt3bl33d3r
1f5916eed8 removed duplicate entry in requirements.txt 2015-04-12 02:18:25 +02:00
byt3bl33d3r
1577e40aa3 updated README.md 2015-04-12 02:16:21 +02:00
byt3bl33d3r
580c0f1213 was calling the wrong logger 2015-04-12 02:08:46 +02:00
byt3bl33d3r
e582bc5fb7 commented out un-used code 2015-04-12 02:05:45 +02:00
byt3bl33d3r
9bd6458a72 updated README.md 2015-04-12 02:02:09 +02:00
byt3bl33d3r
9a1c3b0ec4 - Whole framework now requires root privs
- Added an internal DNS server
- Proxy can now use our custom DNS server (DNSChef) or Twisted's
- Removed priv check from plugins
- DNS spoofing fully re-written
- Iptables rules are now checked and set between plugins
2015-04-12 01:49:43 +02:00
byt3bl33d3r
c8732d60eb changed tree output loading method 2015-04-11 15:54:51 +02:00
byt3bl33d3r
d4c6b7d5b6 - Logging is now seperate for each module
- added DNSChef submodule
- Code style improvements
- modified config file name , and options
- Changed requirements and README
2015-04-11 00:38:48 +02:00
byt3bl33d3r
eb7e797ded Merge branch 'master' of github.com:byt3bl33d3r/MITMf into v0.9.6 2015-04-10 15:57:17 +02:00
byt3bl33d3r
1a8d5191c4 Filepwn plugin is now multithreaded (backported) 2015-04-09 17:29:22 +02:00
byt3bl33d3r
75173c6b9d added names to threads 2015-04-01 01:25:05 +02:00
byt3bl33d3r
df9fd2d12a Filepwn plugin now uses multiprocessing to patch binaries 2015-04-01 01:11:40 +02:00
byt3bl33d3r
3e835c3a28 updated bdfactory to latest commit 2015-03-31 16:58:37 +02:00
byt3bl33d3r
84c9bab33c fixed beefapi import 2015-03-31 13:50:55 +02:00