VOOZH about

URL: https://thenewstack.io/how-kali-linux-can-help-security-test-your-network/

⇱ How Kali Linux Can Help Security Test Your Network - The New Stack


TNS
SUBSCRIBE
Join our community of software engineering leaders and aspirational developers. Always stay in-the-know by getting the most important news and exclusive content delivered fresh to your inbox to learn more about at-scale software development.
REQUIRED
It seems that you've previously unsubscribed from our newsletter in the past. Click the button below to open the re-subscribe form in a new tab. When you're done, simply close that tab and continue with this form to complete your subscription.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.
Welcome and thank you for joining The New Stack community!
Please answer a few simple questions to help us deliver the news and resources you are interested in.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Great to meet you!
Tell us a bit about your job so we can cover the topics you find most relevant.
REQUIRED
REQUIRED
REQUIRED
REQUIRED
REQUIRED
Welcome!

We’re so glad you’re here. You can expect all the best TNS content to arrive Monday through Friday to keep you on top of the news and at the top of your game.

What’s next?

Check your inbox for a confirmation email where you can adjust your preferences and even join additional groups.

Follow TNS on your favorite social media networks.

Become a TNS follower on LinkedIn.

Check out the latest featured and trending stories while you wait for your first TNS newsletter.

PREV
1 of 2
NEXT
VOXPOP
As a JavaScript developer, what non-React tools do you use most often?
Angular
0%
Astro
0%
Svelte
0%
Vue.js
0%
Other
0%
I only use React
0%
I don't use JavaScript
0%
Thanks for your opinion! Subscribe below to get the final results, published exclusively in our TNS Update newsletter:
NEW! Try Stackie AI
From clobbered drafts to real-time sync
Apr 14th 2026 10:00am, by David Moore
TypeScript 6.0 RC arrives as a bridge to a faster future
Mar 14th 2026 9:00am, by Darryl K. Taft
Mastra empowers web devs to build AI agents in TypeScript
Jan 28th 2026 11:00am, by Loraine Lawson
2023-11-18 06:00:29
How Kali Linux Can Help Security Test Your Network
Security

How Kali Linux Can Help Security Test Your Network

If you're serious about finding out just how secure your network, website, system, or application is, you'll want to know Kali Linux.
Nov 18th, 2023 6:00am by Jack Wallen
👁 Featued image for: How Kali Linux Can Help Security Test Your Network

Penetration testing (aka “pentesting”) is a great way to uncover vulnerabilities on your network and the attached systems. Pentesting is also known as ethical hacking, which helps explain exactly what it is… using similar tools as those with malicious intent, to try and discover any and all issues that could otherwise allow a hacker to gain access to your network.

Pentesting is essential for businesses that want to ensure their networks are as secure as possible. The big question is where you should start. There are quite a large number of pentesting tools available, many of which are open source and free to use. In fact, you can install any number of these tools on your operating system of choice.

However, there’s a much better way, thanks to Kali Linux.

If you’re not familiar with Kali Linux, it’s a distribution geared specifically for pentesting and it includes several tools for that purpose. You’d be hard-pressed to find an operating system with as many pre-installed tools for ethical hacking.

Although some of these tools do include a fairly steep learning curve to use, the good news is that, thanks to Kali Linux, you don’t have to worry about getting them properly installed and configured. These tools are already there and ready to go.

The pentesting tools in Kali Linux are a mixture of GUI and CLI tools and it might come as a surprise but some of the CLI tools are actually easier than the GUIs. That’s not always the case, but if you’ve ever used the command line, you know that it can often be far more efficient and effective than a GUI.

Learning curve aside, Kali Linux is, hands down, the best pentesting platform on the market. If you’re serious about finding out just how secure your network, website, system, or application is, you’ll want to know Kali Linux.

How to Get Kali Linux

The first thing I want to mention is how to get and install Kali Linux. Since this is a Linux distribution, you can always download an ISO installer image and install the distribution on any spare system you have. Kali Linux is a fairly lightweight distribution, so you should be okay installing it on even older hardware.

Another method (which is the route I tend to prefer) is to download a virtual machine and use it with VMware, VirtualBox, Hyper-V, or QEMU. Just make sure to download the virtual machine that goes with your VM platform of choice.

The reason why I prefer the virtual machine method is that I can run it from any operating system (that supports VMs) and can start, pause, and stop Kali Linux at will.

To run a Kali Linux virtual machine on VirtualBox, follow these steps:

  1. Make sure to download the VirtualBox virtual machine image.
  2. Extract the .7z file either from the command line or your GUI file manager.
  3. Open VirtualBox.
  4. Click Add.
  5. Navigate to the newly created kali-linux-XXX-virtualbox-amd64 folder (where XXX is the release number) and double-click the file that ends in .vbox.
  6. When the VM has been imported, click Finish.

Before you start the VM, select it from the left pane and click Settings. We want to make sure Kali Linux is attached to your LAN, so click Network and, from the Attached to drop-down (Figure 1), select Bridged Adapter.

👁 Image

Figure 1: Changing the network from the default NAT to Bridged.

Once you’ve taken care of that, close the Settings and then start the virtual machine. When you finally see the Kali Linux login screen, use the credentials kali/kali.

Your First Pentesting Experience

For this article, we’ll start with something simple. One of the many tools found in Kali Linux is called wpscan, which scans your WordPress deployments for issues.

You’ll find wpscan in the Web Application Analysis menu, labeled wpscan. When you click that entry, a terminal window will open, ready for you to run your first scan (Figure 2).

👁 Image

Figure 2: The Kali Linux terminal window.

You don’t have to go through the desktop menu. Instead, you can simply click the terminal icon in the top bar, which will open the Kali Linux terminal window. Because of the way Linux installs applications, you can run the wpscan command from any terminal and from any directory.

Let’s say you’re currently testing a WordPress deployment and it has yet to reach production. We’ll use the IP address 192.168.1.229 for our test. The command for this test is:

wpscan --url=http://192.168.1.229

The output will fly by and, at the end, you’ll see the message No WPScan API Token given, as a result, vulnerability data has not been output. Below that you’ll see a link you can click and register for an API Token.

With your token copied, you can add it to the command like so:

wpscan --api-token TOKEN --url=http://192.168.1.229

If you’d like to save the output of the scan to a file, you can do so like this:

wpscan --api-token TOKEN FILENAME --url=http://192.168.1.229 > FILENAME

Where TOKEN is your API token and FILENAME is the name of the file in which you want the output to be saved.

When the scan completes, you can view the contents of the file with one of the following commands:

cat FILENAME
less FILENAME

I prefer using less because it allows me to scroll up and down to more easily read the file.

And that’s how you get started running your first pentest with Kali Linux. We’ll revisit this topic and walk through more challenging tests in future articles. Until then, enjoy this ethical hacking platform.

TRENDING STORIES
Jack Wallen is what happens when a Gen Xer mind-melds with present-day snark. Jack is a seeker of truth and a writer of words with a quantum mechanical pencil and a disjointed beat of sound and soul. Although he resides...
Read more from Jack Wallen
SHARE THIS STORY
TRENDING STORIES
SHARE THIS STORY
TRENDING STORIES
TNS DAILY NEWSLETTER Receive a free roundup of the most recent TNS articles in your inbox each day.
The New Stack does not sell your information or share it with unaffiliated third parties. By continuing, you agree to our Terms of Use and Privacy Policy.