Kali Linux is the standard hacking toolbox – and pretty confusing at first glance, too. c’t 3003 is therefore taking a short tour of Kali.
Transcript of the video:
In this video I am learning to hack. With Kali Linux. Together with my colleague Ronald, we first crack a WLAN, then a password-protected ZIP file and finally we do a WordPress installation.
Hacking, sounds great – but how does it actually work? And where do you start? I’ll be honest with you: I’m absolutely not an expert in this area. What I do know, however, is that Kali Linux is the hacker’s standard toolkit. This is a Linux distribution that has a lot of hacking tools preinstalled. I’ve looked at this a bit, and honestly, it’s pretty confusing. But I have help from Ronald; and in this video you will learn the very first steps and a few practical hacks with me.
I have prepared a little something for this, in consultation with Ronald: I have set up a guest WLAN with a long WPA2 password. Short disclaimer: Since my Fritzbox is not susceptible to most WPA gaps, we only have a hack via a dictionary attack – that’s why I took a reasonably normal German word as a password. I also prepared a password-protected ZIP file and installed a Linux called RasPwn specially developed for practicing hacking on a Raspberry Pi; there is, for example, an outdated WordPress installation on it. Yeah, and we’ll try to crack all three things in a moment.
So now first put on the black hoodie, because without it is difficult as a hacker.
Install Kali first. It’s easy to boot from a USB stick, but it also works great in a virtual machine on macOS, Linux or Windows, I’ll do this here on Windows.
If you want to do WiFi hacking, you still need a WiFi adapter that masters the so-called monitor mode, an operating mode that completely captures all packets flying through the air, and not just those of the network to which you are currently connected is. On top of that, the thing must of course be supported by Kali, i.e. have Linux drivers. The one i used, costs just under 17 euros.
Installing Kali in a virtual machine is really super easy: Download and install the open source tool VirtualBox, then, very importantly, download the Oracle VM VirtualBox Extension Pack, which is required to operate the WLAN adapter with USB 3.0 . And then of course you need Kali Linux, which is conveniently available directly as a virtual machine for VirtualBox.
Simply click on “Import” in VirtualBox, search for the downloaded virtual machine OVA file, continue, wait a moment. And now you only have to enable the USB WLAN adapter in VirtualBox, you can do this via “Change”, USB, USB 3.0 controller and then press the plus icon on the right. Then select the WLAN adapter there.
You can start using Start, you can log in with
kali kali, all in lower case.
So, and now first set the German keyboard layout: Click on the start button at the top left, then Settings, then Keyboard, then Layout, switch under “Use system defaults”, then you can select “German” under “Add”, “English US.” “via” Remove “. If you want, you can now set the whole system to German, you can do this via the terminal, ahh, finally the command line:
sudo localectl set-locale LANG=de_DE.UTF-8 – The password is “kali” again. Now log out and log in again, voilà, everything is German. Now you can update the whole system if you want. Simply in the terminal
sudo apt update and then
sudo apt full-upgrade -y input.
So – and before I look confused at the menu for a long time, I’ll get help from the c’t editorial team. Hello ronald!
[Ab hier unverständlich ohne Screen-Capture, deshalb keine Transkription.]
c’t 3003 is the c’t YouTube channel. The videos on c’t 3003 are independent content and independent of the articles in c’t magazin. Editor Jan-Keno Janssen and video producers Johannes Börnsen and Şahin Erengil publish a video every week.