Site icon KiwiQA

Various Phases of Penetration Test Kill Chain Model: Understanding Penetration Testing Basics: Part 2

penetration testing phase II

penetration testing phase II

In the earlier post, we saw various penetration testing kill chain models and how to map tools to the penetration tests. In this article, we will look into some of these tools and techniques to position the Raspberry Pi in order to conduct a successful penetration test.

Addition of non-standard tools to arsenal

Even though Kali Linux comes with a ton of security tools that can be installed via the meta packages,

there are some other useful tools outside of those packages you may need to install to perform the various kill chain phases. Some of these tools may not be required for every task, and some of them may be similar to other security tools that you may already be using, but all these tools can be used as a good starting point. All these tools were installed using apt-get or wget on the command line via a terminal.

These include-

Positioning the Pi

Where to position the Raspberry Pi for penetration testing also depends on what type of test you are trying to conduct. If you are an internal assessor or auditor testing your own corporate network in a white box penetration test, then you may not have to worry about someone finding your Raspberry Pi and blowing the whole operation. Black box testing is another story where you will want to carefully consider the risks versus the benefits of placing the Raspberry Pi inside the target.

Remember, our main goal here is to test portions of the target’s network to see how effectively the current security controls are working. Generally, the positions where Raspberry Pi can be fixed are as follows:

  1. Outside the network: If you are starting outside, testing is being done as if an external threat is trying to gain access from the outside of the target network in. Here, you may try and get through the edge security defenses (through a known exploit, weak Firewall ruleset, and so on) to gain access to the network. Alternatively, you may be trying to exploit a publicly available service or website to gain access to that treasured data. Sometimes this is a black hat exercise, but most of the major compliance entities, such as PCI, require external penetration tests to be done on the target environment to make sure these vulnerable services are not publicly facing, and these variants may be white hat in nature.
  2. Inside the network: The placement here may be required in part of a white hat test, but black hat testing may depend on sustained presence here, and the challenge of getting your Raspberry Pi into a good vantage point without being detected can be substantial. Sometimes there is no substitute for being there, and when it comes to some of the later phases in the Penetration test Kill Chain, it will be essential to have insiders (Raspberry Pi or converted target zombies) to launch those attacks. You will also have to consider the communications with the insider boxes.

If physical detection is a great concern, you can always try and hide the Raspberry Pi within an object, such as a clock or junction box. This sort of placement could allow the Raspberry Pi to listen on the wireless or transparently sniff and harvest all types of information.

You should ensure you are documenting all steps throughout the test, including how you decided upon the placement of the devices and subsequent insertion. This will assist in developing the report, as well as ensuring the customer is aware of where you were and weren’t active in the target environment.

Exit mobile version