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.
Next we need to create and initialize the “msf” database.
Once this has completed we can type “msfconsole” to start Metasploit.
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.
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.
Watch this space for more Kali Linux 2.0 posts 🙂