# Necessary Installations

## Opening up Terminal

Terminal is a Command Line System that allows you to tell your operating system to execute certain commands. Basically, it is a way for you to talk to your Mac. We are going to use Terminal during this entire attack. If that scares you, don’t be worried. We will walk you through every step! Your grandmother would be able to follow this guide, so stick with us! To open up Terminal:

1. Open the "Finder" application in the bottom left-hand corner of your Mac’s home screen.![](https://lh4.googleusercontent.com/YLWhTxUn478G_A4XgM8sqj2CBaQma07iCkepK1UeWXqaE1fbD7j2aGDp-nKRQzv0Cp1N1_ei-qK4A0kJDGAPzgqfTBtA8vJvMDsR8FjkRw8wqmFyIF4NqMNDErGCfRw6dw7BSykN)
2. Open the "Applications" folder.
3. Open the "Utilities" folder by clicking on the dropdown arrow.
4. Double click on the "Terminal" application.                            &#x20;

![](https://lh5.googleusercontent.com/DLJqkYh290Uc_8-6ENwogc5AC-lSHQJFDLt5XRuU7TGEVQm4JpADlIwzGbpcsCbkv_xmY2XAOeWrTt0ccnr5y7ebiMuj6DqDCnkJuPPK2hATHZMy3ZjTNShrM2ywSVHY9jH521rP)

## Installing Tools

There are four tools we need to install that will be used in our WiFi attack. The first tool, Xcode, will be installed through the App Store, but the rest of the tools will be installed using Terminal.

**IMPORTANT:** Any time one of these steps prompts for a password, enter the password used to unlock your computer, and then hit enter. (Your password will not appear in text as you type so do not worry about that.)

### Xcode Install

The first tool we need to install is Xcode. Xcode has software development tools that we will need to install our next tool.

If you already have Xcode installed, skip below to the **HomeBrew Install** section.

To install Xcode:

1. Navigate to the “Applications” folder as described in the **Opening up Terminal** section.
2. Double click on the “App Store” icon to open the Apple App Store.
3. In the search bar, search for “Xcode”.                                 ![](https://lh5.googleusercontent.com/dbh6ZGEQ-I1-7lUFO0E668nzCJTFnmkGtQSmXgSm9lj1bQwZQa_u-XwIEMHcr0yPua5PHK2nmrRScnxL8Oy-9GM_KiVt74-DVTnSmmUm_tQn_i-O3-0IJftl1kSkOdKb1ZmtjoZv)
4. If you have not already installed Xcode, there will be a “Get” button next to the app icon. Click on this button and follow the prompts to install.

**Installation Time:** Depending on previous installations, Xcode could take over an hour to install. Thankfully, many people will already have Xcode installed on their Mac.

### HomeBrew Install

The second tool we need to install is HomeBrew. HomeBrew is a package manager (basically a tool to install other tools) for Mac that will allow you to install the last tool that we need.

If you already have HomeBrew installed, skip below to the **HashCat Install** section.

To install HomeBrew:

1. Open Terminal as described in the **Opening up Terminal** section.
2. Copy and paste this command into Terminal: `ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"`
3. Press enter to execute the command.

**Installation Time:** Five to twenty minutes.

### HashCat Install

The last tool we need to install is HashCat. HashCat is a password cracking tool that we will use to crack the “password hash” that we will recover (more on that later).

If you already have HashCat installed, you can click on the next page to begin **Executing the Attack!**

We will install HashCat using HomeBrew from Terminal.

1. Open Terminal as described in the “Opening up Terminal” section.
2. Copy and paste this command into Terminal: `brew install hashcat`
3. Press enter to execute the command.

**Installation Time:** Two to ten minutes.
