# Module 6.1: Passwords

Please read this reference:

[Download Take Control of Your Passwords (4.2).pdf (application/pdf, 1.5 MB)](https://bookstack.kamuela.org/attachments/328)

- <span style="font-weight: bold;">Tools</span>:
- Homebrew: enables linux commands on mac terminal
- Parrot OS: runs virtually under UTM, security suite
- Kali Linux: runs virtually under UTM, native on linux boxes
- Debian Linux: runs on raspberry pi as "raspian"
- Latest version of raspian is bookworm...

Apps, images and scripts can be found here: (the German server)

[https://10.14.4.91:3670/files/hpa/cybersecurity/](https://10.14.4.91:3670/files/hpa/cybersecurity/)

First install homebrew: [https://brew.sh](https://brew.sh)

<span style="font-style: italic;">/bin/bash -c "$(curl -fsSL </span>[https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh](https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)<span style="font-style: italic;">)"</span>

<span style="font-weight: bold;">Install these on your mac:</span>

```
<span style="font-style: italic;">brew install pwgen</span><br></br><span style="font-style: italic;">brew install hashcat</span><br></br><span style="font-style: italic;">brew install john</span><br></br><span style="font-style: italic;">brew install openssl</span><br></br><span style="font-style: italic;">brew install cracklib</span><br></br><span style="font-style: italic;">brew tap jzaleski/homebrew-jzaleski</span><br></br><span style="font-style: italic;">brew install apg</span>
```

single command:

```
brew install pwgen hashcat john openssl cracklib
```

<span style="font-weight: bold;">Note</span>:

- All of the files you create will be in the root directory of you, the admin user on your computer
- I'll use <span style="font-style: italic;">italic</span> for all commands, and use ------ to separate commands from notes, don't include them in your scripts

<span style="font-weight: bold;">How many passwords are out in the wild?</span>

look at this password list:

[https://weakpass.com/wordlists/rockyou.txt](https://weakpass.com/wordlists/rockyou.txt)

<span style="background-color: rgb(236, 238, 168); color: rgb(102, 102, 102);">What do you notice?</span>

  
<div id="bkmrk--8"><div>  
</div><div>  
<div>  
</div></div></div>---

<small>Migrated from Apple Server Wiki. Original page ID: F634j547</small>