Kali Linux - the Security Distro


The most advanced penetration testing distribution, ever. Or so it says.

Kali Linux is an alternate distribution for the Odroid and Raspberry Pi, which has the pentest tools already in the distro, making them easy to install. Many of the tools are not in the Raspbian distro, and would have to be downloaded and compiled separately.

First Impressions

Installing Kali Linux

  1. Download the image for your board (Pi or Odroid)
  2. Use dd to copy it to a micro SD Card
  3. Put micro SD Card into your board (Pi or Odroid) and boot. Default login is root, password toor
  4. Login and change the root password NOW, I'll wait. Also, you should consider creating a non-privileged user account, which you normally login as.
  5. If you are interested in penetration testing, download katoolin and run it to download all the PenTest tools

After you create the SD image, and boot it, you will want to grow the root partition as it will be 7GB regardless of how much larger your SD card it. Install gparted and use it to increase the size of your root parition. It is always a good idea to reboot after this operation.

Digging into Kali Linux

Kali Linux with PenTest tools is just a collection of tools from various open source projects. I didn't see a tool that was actually written by Kali. These tools include well known excellent tool such as those by THC (The Hacker's Choice).

The tools are organized in the following categories, and the tools I found useful:

But one needs to know a little bit about security testing before using the tool. Some are obvious, such as a password cracker like john, which will test your system for weak passwords.


root@kali-arm64:~# urlcrazy meetup.com    
URLCrazy Domain Report
Domain    : meetup.com
Keyboard  : qwerty
At        : 2017-09-02 20:04:26 +0000

# Please wait. 91 hostnames to process

Typo Type                     Typo           DNS-A            CC-A               DNS-MX                           Extn  
Character Omission            meetp.com    US,UNITED STATES   mail.b-io.co                     com   
Character Omission            meetu.com     DE,GERMANY                                          com   
Character Replacement         meerup.com                        mail.h-email.net                 com   
Character Insertion           meetrup.com   US,UNITED STATES   mailstore1.secureserver.net      com   
Missing Dot                   wwwmeetup.com     CH,SWITZERLAND                                      com   
Vowel Swap                    meetep.com  AU,AUSTRALIA       meetep.com                       com   
Homophones                    meatup.com     US,UNITED STATES   mx.meatup.com                    com   
Bit Flipping                  meedup.com      UA,UKRAINE         localhost                        com   
Wrong TLD                     meetup.ca   AU,AUSTRALIA                                        ca    


root@kali-arm64:~# wpscan vicpimakers.ca
[+] URL: http://vicpimakers.ca/
[+] Started: Sat Sep  2 20:09:31 2017

[+] robots.txt available under: 'http://vicpimakers.ca/robots.txt'
[+] Interesting entry from robots.txt: http://vicpimakers.ca/wp-admin/admin-ajax.php
[!] The WordPress 'http://vicpimakers.ca/readme.html' file exists exposing a version number
[+] Interesting header: LINK: <http://vicpimakers.ca/wp-json/>; rel="https://api.w.org/", <http://wp.me/7qApj>; rel=shortlink
[+] Interesting header: SERVER: Apache
[+] Interesting header: X-POWERED-BY: PHP/5.4.45

[+] WordPress version 4.8.1 (Released on 2017-08-02) identified from meta generator, links opml

[+] WordPress theme in use: twentyseventeen - v1.3

[+] Enumerating plugins from passive detection ...
 | 3 plugins found:

[+] Name: jetpack - v5.2.1
 |  Latest version: 5.2.1 (up to date)
 |  Last updated: 2017-08-02T20:09:00.000Z
 |  Location: http://vicpimakers.ca/wp-content/plugins/jetpack/
 |  Readme: http://vicpimakers.ca/wp-content/plugins/jetpack/readme.txt
 |  Changelog: http://vicpimakers.ca/wp-content/plugins/jetpack/changelog.txt


root@kali-arm64:~# john --incremental=alnum  /etc/shadow
Using default input encoding: UTF-8
Loaded 3 password hashes with 3 different salts (sha512crypt, crypt(3) $6$ [SHA512 64/64 OpenSSL])
Press 'q' or Ctrl-C to abort, almost any other key for status
123456           (weakuser)


root@kali-arm64:~# sslscan --ipv6 --show-certificate google.com
Version: 1.11.10-static
OpenSSL 1.0.2-chacha (1.0.2g-dev)

Trying IPv6 lookup

Testing SSL server google.com on port 443 using SNI name google.com

  TLS Fallback SCSV:
Server supports TLS Fallback SCSV

  TLS renegotiation:
Secure session renegotiation supported

  TLS Compression:
Compression disabled

TLS 1.2 not vulnerable to heartbleed
TLS 1.1 not vulnerable to heartbleed
TLS 1.0 not vulnerable to heartbleed


Wireshark can filter the capture based on protocol, or follow TCP streams to track individual session. It is a very powerful packet sniffer, and best of all it is free!

wireshark screen

Demo of Tools


Kali Linux can be used without Penetration Testing tools. It is a perfectly good linux distro for your Pi or Odroid. But it doesn't make your Pi/Odroid secure by installing it. You will want to take active steps to secure your device.

Some basic rules of thumb when using PenTest tools

  1. Learn about the what the tool does before using on your own device(s)
  2. Use the tools on your own devices! Don't use on sites without permission
  3. Monitor with wireshark to find out what the tool is really doing
  4. Be kind, use the force for good, not evil (or, don't be an butthead)

18 Sept 2017
16 Jan 2022 updated graphics and cheat sheet link