Commit graph

49 commits

Author SHA1 Message Date
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
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
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
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
360a6ba6ce addresses issue #63 2015-04-15 17:16:28 +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
9086525c90 Version bump
Minor code optimizations
2015-03-30 18:04:24 +02:00
byt3bl33d3r
5e56049e44 Fixed a bug where Twisted would resolve correct IP when DNS Tampering 2015-03-19 23:27:28 +01:00
byt3bl33d3r
873112c8e7 - Fixed a bug when ARP spoofing via arp replies
- Amended license
2015-03-15 20:22:31 +01:00
byt3bl33d3r
2200edcf5e - Cleaned up the SSLstrip+ code (somewhat)
- ServerConnection now properly detects and removes HSTS headers
- Fixed debug output
2015-03-13 15:00:29 +01:00
byt3bl33d3r
c85fd2b5f3 Fixed bug in DNS resolving logic 2015-03-12 19:43:29 +01:00
byt3bl33d3r
caaee53079 version bump 2015-03-10 21:03:33 +01:00
byt3bl33d3r
fcdbe49df9 added banners and tree visual of loaded plugins 2015-03-10 19:17:10 +01:00
byt3bl33d3r
ad6c3d8ed3 added version attr to all plugins 2015-03-10 04:01:28 +01:00
byt3bl33d3r
4c465b3806 nfqueue with NetfilterQueue 0.6 now working! \o/ 2015-03-10 03:37:07 +01:00
byt3bl33d3r
23a273e8a0 -Initial Spoof plugin rewrite
-Dep check on plugins
-NetfilterQueue python lib port
-plugin output re-design
2015-03-10 02:26:56 +01:00
byt3bl33d3r
92be661e9d fixed bug where DNS packets were only modified when hsts plugin was enabled 2015-03-07 18:32:24 +01:00
byt3bl33d3r
0c6ac4fb1d - Added Sniffer plugin
- Custom reactor options are now loaded dynamically from each plugin
- Search engine query capture is now enabled with the sniffer plugin
- Removed some useless comments and lib imports
2015-02-26 17:15:22 +01:00
byt3bl33d3r
846f85426c - All config files now consolidated into a single file
- Added 'args' option in config file
- HSTS bypass is now a plugin (SSLstrip+)
- SMBAuth now defaults to specified interface IP if --host is not passed
- Modified plugins for new config support
- Changed appoison and responder plugin for ConfigObj library support
- Minor visual argparse changes
- Slapped santa on the head with a trout
- Gave rudolf a new nose
2014-12-26 13:36:55 +01:00
byt3bl33d3r
4ae50e6e0c - Updated FilePwn plugin with BDFactory v0.2 + license
- Added partial OS and Browser detection through clients user-agents
- Improved jskeylogger plugin (now detects input field names)
- Fixed bug where jskeylogger sent invalid charCodes on Android devices
- Cleaned search engine query parsing code in ServerConnection.py
- Updated setup.sh with new libs
2014-12-19 02:34:33 +01:00
byt3bl33d3r
d01398d8a8 WPAD now integrated 2014-12-13 21:30:55 +01:00
byt3bl33d3r
12f610a0c3 major dir tree overhaul 2014-12-07 22:20:27 +01:00
byt3bl33d3r
787f96d665 almost done! lots of changes 2014-12-05 08:21:35 +01:00
byt3bl33d3r
240af4ad9d major changes for Responder integration 2014-12-05 04:18:29 +01:00
byt3bl33d3r
5b22d057bb Spoof plugin now has PoC cred harvesting capabilities 2014-12-01 10:48:08 +01:00
byt3bl33d3r
e2132a6ca9 fixed error when loading the css of some websites when using the bypass-hsts option, added some better error handling on plugins 2014-11-23 13:38:30 +01:00
byt3bl33d3r
8b9d499033 added better error handeling, fixed nfqeueue error should work with any version > 4.1 2014-11-12 09:56:33 +01:00
byt3bl33d3r
8ff9c246db added airpwn plugin 2014-10-31 00:46:43 +01:00
byt3bl33d3r
ce91453436 fixed beefapi error, beefautorun now injects hook url and updated arguments, misc code style fixes 2014-10-17 21:07:28 +02:00
byt3bl33d3r
82739bba9f added HSTS bypass as demonstrated by Leonardo Nve at blackhat 2014-10-11 13:09:06 +02:00
byt3bl33d3r
5be41cfd37 added better error handling on missing arguments 2014-10-09 23:26:28 +02:00
byt3bl33d3r
2e86c0b663 fixed --cmd argument 2014-10-09 20:00:13 +02:00
byt3bl33d3r
015f593606 fixed misspelled thread target function 2014-10-01 19:24:06 +02:00
byt3bl33d3r
43c7974d4c added DHCP spoofing with shellshock options 2014-09-30 14:13:06 +02:00
byt3bl33d3r
73e7ca2f3d code cleanup on all plugins, disabled annoying "Starting new HTTP Connection" log message, added BeefAutorun plugin and beefapi lib 2014-08-14 11:30:44 +02:00
byt3bl33d3r
4754305b9a minor code style fixes 2014-08-12 20:55:22 +02:00
byt3bl33d3r
3dc7283109 Merged patch from Alexander Georgiev (alexander.georgiev@daloo.de) to disable automatic setup & flushing of iptables rules 2014-08-12 19:46:02 +02:00
byt3bl33d3r
c162833916 fixed errors in javapwn plugin and added config file 2014-07-26 14:27:20 +02:00
byt3bl33d3r
9d860437c4 updated readme 2014-07-25 01:01:58 +02:00
byt3bl33d3r
9bca49cbbb added config file for dns 2014-07-25 00:33:16 +02:00
byt3bl33d3r
44f0d1ae6d corrected some logic 2014-07-22 22:25:17 +02:00
byt3bl33d3r
6df8de0df9 updated dns spoof text 2014-07-22 16:36:52 +02:00
byt3bl33d3r
edad0e4666 updated readme 2014-07-22 16:21:18 +02:00
byt3bl33d3r
d57002ddc4 ArpSpoof and DNSspoof plugins removed
New plugin Spoof now can poison via ICMP, ARP and DNS
2014-07-22 15:59:21 +02:00