Sick Gaming
BackBox Linux for Penetration Testing - Printable Version

+- Sick Gaming (https://www.sickgaming.net)
+-- Forum: Computers (https://www.sickgaming.net/forum-86.html)
+--- Forum: Linux, FreeBSD, and Unix types (https://www.sickgaming.net/forum-88.html)
+--- Thread: BackBox Linux for Penetration Testing (/thread-89228.html)



BackBox Linux for Penetration Testing - xSicKxBot - 03-13-2019

BackBox Linux for Penetration Testing

<div style="margin: 5px 5% 10px 5%;"><img src="http://www.sickgaming.net/blog/wp-content/uploads/2019/03/backbox-linux-for-penetration-testing.jpg" width="1855" height="877" title="" alt="" /></div><div><div><img src="http://www.sickgaming.net/blog/wp-content/uploads/2019/03/backbox-linux-for-penetration-testing.jpg" class="ff-og-image-inserted"></div>
<p><span><span>Any given task can succeed or fail depending upon the tools at hand. For security engineers in particular, building just the right toolkit can make life exponentially easier. Luckily, with open source, you have a wide range of applications and environments at your disposal, ranging from simple commands to complicated and integrated tools.</span></span></p>
<p><span><span>The problem with the piecemeal approach, however, is that you might wind up missing out on something that can make or break a job… or you waste a lot of time hunting down the right tools for the job. To that end, it’s always good to consider an operating system geared specifically for penetration testing (aka pentesting). </span></span></p>
<p><span><span>Within the world of open source, the most popular pentesting distribution is </span><a href="https://www.kali.org/"><span>Kali Linux</span></a><span>. It is, however, not the only tool in the shop. In fact, there’s another flavor of Linux, aimed specifically at pentesting, called </span><a href="https://linux.backbox.org/"><span>BackBox</span></a><span>. BackBox is based on Ubuntu Linux, which also means you have easy access to a host of other outstanding applications besides those that are included, out of the box. </span></span></p>
<h3><span><span>What Makes BackBox Special?</span></span></h3>
<p><span><span>BackBox includes a suite of ethical hacking tools, geared specifically toward pentesting. These testing tools include the likes of:</span></span></p>
<p><span><span>Out of the box, one of the most significant differences between Kali Linux and BackBox is the number of installed tools. Whereas Kali Linux ships with hundreds of tools pre-installed, BackBox significantly limits that number to around 70. &nbsp;Nonetheless, BackBox includes many of the tools necessary to get the job done, such as:</span></span></p>
<p><span><span>BackBox is in active development, the latest version (5.3) was released February 18, 2019. But how is BackBox as a usable tool? Let’s install and find out.</span></span></p>
<h3><span><span>Installation</span></span></h3>
<p><span><span>If you’ve installed one Linux distribution, you’ve installed them all … with only slight variation. BackBox is pretty much the same as any other installation. </span><a href="https://www.backbox.org/download/"><span>Download the ISO</span></a><span>, burn the ISO onto a USB drive, boot from the USB drive, and click the Install icon.</span></span></p>
<p><span><span>The installer (</span><span>Figure 1</span><span>) will be instantly familiar to anyone who has installed a Ubuntu or Debian derivative. Just because BackBox is a distribution geared specifically toward security administrators, doesn’t mean the operating system is a challenge to get up and running. In fact, BackBox is a point-and-click affair that anyone, regardless of skills, can install.</span></span></p>
<p><span><span>The trickiest section of the installation is the Installation Type. As you can see (</span><span>Figure 2</span><span>), even this step is quite simple.</span></span></p>
<p><span><span>Once you’ve installed BackBox, reboot the system, remove the USB drive, and wait for it to land on the login screen. Log into the desktop and you’re ready to go (</span><span>Figure 3</span><span>).</span></span></p>
<h3><span><span>Using BackBox</span></span></h3>
<p><span><span>Thanks to the </span><a href="https://www.xfce.org/"><span>Xfce desktop environment</span></a><span>, BackBox is easy enough for a Linux newbie to navigate. Click on the menu button in the top left corner to reveal the menu (</span><span>Figure 4</span><span>).</span></span></p>
<p><span><span>From the desktop menu, click on any one of the favorites (in the left pane) or click on a category to reveal the related tools (</span><span>Figure 5</span><span>).</span></span></p>
<p><span><span>The menu entries you’ll most likely be interested in are:</span></span></p>
<ul>
<li>
<p><span><span>Anonymous – allows you to start an anonymous networking session.</span></span></p>
</li>
<li>
<p><span><span>Auditing – the majority of the pentesting tools are found in here.</span></span></p>
</li>
<li>
<p><span><span>Services – allows you to start/stop services such as Apache, Bluetooth, Logkeys, Networking, Polipo, SSH, and Tor.</span></span></p>
</li>
</ul>
<p><span><span>Before you run any of the testing tools, I would recommend you first making sure to update and upgrade BackBox. This can be done via a GUI or the command line. If you opt to go the GUI route, click on the desktop menu, click System, and click Software Updater. When the updater completes its check for updates, it will prompt you if any are available, or if (after an upgrade) a reboot is necessary (</span><span>Figure 6</span><span>).</span></span></p>
<p><span><span>Should you opt to go the manual route, open a terminal window and issue the following two commands:</span></span></p>
<pre>
<span>sudo apt-get update</span> <span><span>sudo apt-get upgrade -y</span></span></pre>
<p>Many of the BackBox pentesting tools do require a solid understanding of how each tool works, so before you attempt to use any given tool, make sure you know how to use said tool. Some tools (such as Metasploit) are made a bit easier to work with, thanks to BackBox. To run Metasploit, click on the desktop menu button and click msfconsole from the favorites (left pane). When the tool opens for the first time, you’ll be asked to configure a few options. Simply select each default given by clicking your keyboard Enter key when prompted. Once you see the Metasploit prompt, you can run commands like:</p>
<pre>
<span><span>db_nmap 192.168.0/24</span></span></pre>
<p><span><span>The above command will list out all discovered ports on a 192.168.1.x network scheme (</span><span>Figure 7</span><span>).</span></span></p>
<p><span><span>Even often-challenging tools like Metasploit are made far easier than they are with other distributions (partially because you don’t have to bother with installing the tools). That alone is worth the price of entry for BackBox (which is, of course, free).</span></span></p>
<h3><span><span>The Conclusion</span></span></h3>
<p><span><span>Although BackBox usage may not be as widespread as Kali Linux, it still deserves your attention. For anyone looking to do pentesting on their various environments, BackBox makes the task far easier than so many other operating systems. Give this Linux distribution a go and see if it doesn’t aid you in your journey to security nirvana.</span></span></p>
</div>