Hacking A Mac With Metasploit

Metasploit is one of the best pentesting tool for exploitation and injecting shell codes and it’s part of almost every hacking toolkit. So today we’re going to make our Mac setup for hacking. Now the Metasploit Framework has an install package for macOS (previously called Mac OS X).

Of course, you can get Metasploit and other hacking tools pre-installed on Kali Linux, but I generally prefer installing tools on your MacOS it generally run faster then using on VM, I only use Kali Linux on VM when there’s no tools available for MacOS.

So, let’s get started!

First you need to download a package here, Once it is downloaded, open the package and follow steps to properly install metasploit.

One of the more interesting things about the Mac platform is how cameras are built into all of their laptops. This fact has not gone unnoticed by Metasploit developers, as there is a very interesting module that will take a picture with the built in camera. Lets see it in action. First we generate a stand alone executable to transfer to a OS X. Hacking macOS: How to Bypass the LuLu Firewall with Google Chrome Dependencies. By tokyoneon; Null Byte; Hacking macOS; Firewall solutions for macOS aren't impervious to attacks. By taking advantage of web browser dependencies already whitelisted by the firewall, an attacker can exfiltrate data or remotely control a MacBook, iMac, Mac mini, or another computer running macOS (previously known.

Click Continue and install metasploit.

Now, that you’re down with installation it’s time to configure your metasploit installation, to do that follow me. First open up your terminal and change the directories to that folder where you install metasploit.

Hacking A Mac With Metasploit

cd /opt/metasploit-framework/bin/

How To Use Metasploit

Hacking A Mac With Metasploit

Next, run msfconsole with the command:

./msfconsole

Metasploit Commands

You will be asked if you want to set up a new database. Installing the database will allow us to list credentials, list hosts, and more—which is what we want.

Once the database is set up, msfconsole will drop you into the msfconsole! The install is complete.

Now let’s check to see if the database is working:

db_status

As you can see database is working and connected, and your done installing metasploit.

First thing to make sure after installing is update, keep your metasploit updated by running this command.

msfupdate

Hacking A Mac With Metasploit

Installing Metasploit on MacOS never been so easier, Before we used to run bunch of commands and setting things manually now it’s installing a setup and done!

If you still got any questions don’t forget to contact us on our community.