Kali Linux 2.0: Metasploit

With previous versions of Kali Linux or even Backtrack, Metasploit Community / Pro Packages have been part of the core build. We didn’t need to install or setup anything, as it just worked by being baked into Kali. However, for Kali Linux 2.0 this is no longer the case. Taken from the Kali Linux website it states:

At the request of Rapid7, we have removed the Metasploit Community / Pro package from Kali Linux and now host the open-source metasploit-framework package only. For all of you who require Community or Pro, you will now need to download it from Rapid7 and then register and submit your personal details in order to get a license. In addition, the Rapid7 team no longer maintains the Metasploit package in Kali, which has brought with it some substantial changes – we’ve moved to a native setup, where rather than bundling all the required software needed to run Metasploit in one big package, we use native dependencies within Kali to support the metasploit-framework package. This results in a faster, smoother work experience and easier integration with Metasploit dependencies.”

With this change comes faster launching and performance. In a completely new build of Kali Linux 2.0, we simply start the database service.

2015-09-20_13-37-13

Next we need to create and initialize the “msf” database.

2015-09-20_13-38-02

Once this has completed we can type “msfconsole” to start Metasploit.

2015-09-20_13-40-08

What you should notice is the speed at which it loads is now significantly quicker than before. On my VMWare Fusion Virtual Machine, I used, it is extremely quick. As a separate note, now it is using the framework versus the Professional or Community Editions, the core Metasploit folders and files within Kali Linux 2.0 are now found in the “/usr/share/metasploit-framework/” directory. The hidden directory for custom modules, history and loot etc. are stored as normal in the “~/.msf4/”.

Outside of running the commands we can either select the Metasploit shortcut from the new menu structure or on the new sidebar.

Menu

2015-09-20_13-55-29

Sidebar

2015-09-20_13-53-47

With this new version of Kali Linux, a few things have moved around as you can tell by the new sidebar and menu. If you have just installed or are thinking of installing Kali Linux 2.0, then read this post on a few post steps you can do.

https://www.offensive-security.com/kali-linux/top-10-post-install-tips/

Watch this space for more Kali Linux 2.0 posts 🙂

Liam Cleary

I work as an Associate Director for Protiviti in Virginia. My main focus is to ensure that SharePoint can either natively or with minimal customization meet the business requirement securely. I am currently a SharePoint MVP focused on Architecture but also cross the boundary into Development and Security. I am often found at user groups, conferences speaking, offering advice, spending time in the community, teaching my kids how to code, raspberry PI programming, hacking the planet and sometimes building Lego robots.

You may also like...