Geek DIY: Build your own wireless mobile penetration test Box

Source: Internet
Author: User

The tools and techniques described in this article are offensive and should be used in a reasonable and lawful nature.

Do you want to own a mobile wireless penetration test box, if you are interested, the following equipment will be helpful to you. This box is called a "mitm (man-in-the-middle attack) WiFi box", which can be used to complete some wireless audits while also forging access points and completing man-in-the-middle attacks.

Tool requirements

If you really want to do this box then you need the following tools:

5 or 6mm drill Wood/ metal drill opening wrench (size 8) pliers Scalpel / paper knife nylon cable tie (commonly known as: Strangled dog)

Selection of boxes

Here are some suggestions, you have to select the box preferably used more than once, also note that must not choose to throw away the equipment after the empty box left.

Box requirements

Preferably a black one.

Size is about x 100mm

Must be waterproof (can withstand the wind)

Price Choice

The box is preferably lined with foam inside and has a lock on the outside.

Recommendation: If you are doing this project for the first time, you can try some duct tape tape (a silver wide tape used to seal the heating or air-conditioning piping) or a hot melt adhesive, and practice it in the plastic box first. the box wall of the plastic box is very thin, so you may be able to use different ways as well as the length of the material fixing part and the connector, for example (image from other items) The following example:

Anyway, I found a box, b&w type 1000 outdoor box, which satisfies all the needs of this project. It currently takes about 40 euros, and the size of the box is X 95mm.

I have now tested this box in many environments, such as placing the case on the roof, in dusty or damp places (where it is raining or snowing), and temporarily not finding the case or the equipment in the case, so the author

Recommend this box, of course, you can choose your own box, and do not recommend that you directly put the box under the sun directly, not because of the box itself, if the battery inside the box is prone to problems.

Problems with Antennas

In the beginning I put the antenna in the box, of course, this is not very good. But for the sake of concealment, of course I put the antenna in the inside of the box more appropriate, but after doing so found that the strength of the antenna signal and the quality of the received signal will be weakened. My most

Finally, the antenna is placed outside the box, and so there is a problem, in order to achieve this I need to make my own cable connection connector, because the box of plastic shell about 4,5 mm thick (depending on the case you choose a slightly different).

Three holes are drilled with five mm (6 mm) wood drill bits, which are reserved for antennas. If a hole drilled with a 5mm bit makes it difficult for the cable to connect to the SMA connector, it will be better to get stuck in the case and the connector will not swing around in the box. For the last hole reserved for the antenna, two should be drilled on the top of the box, and one at the side. The idea was inspired primarily by "Hak5 Pineapple Mark V" and added other devices to suit your needs. This is more than the original advantage, when I began to use the box, the need for additional connectors to connect the antenna, the use of these devices can be directly connected to WiFi, SDR, GSM signal, and this method is also a good way.

Installation:

The SMA connector is a versatile coaxial connector with a wide range of small threaded connections with a 50ω characteristic impedance. The frequency range is dc~18 GHz, but it is the most common wireless antenna system as well as a software radio system transceiver.

Here is a suggestion, it is recommended that the installer carefully check each antenna connected to the connector and additional equipment. If you use too many cables and devices in the box, you will destroy the quality of the signal sent and received, so you should try to shorten the cable length and use as little equipment as possible.

Since the wall thickness of the box is approximately 4.5mm, it is forced to use an expansion connector when the device is secured to the case, so that the antenna can be connected with the cable and the quality of the signal is ensured. And these cables you can find on the Internet, of course, you can also be customized for their own cable with SMA connector head, and in the production of this case is the SI-195 195 model (50ω) of the low-loss braided network coaxial cable.

Wiring

Cabling needs to be based on your own actual situation, and here you need USB cable, power cord and network cable. It is best to connect the cable to the USB adapter in "L", and when you add more USB cables or USB adapters to the box, you can

Save a lot of space, this is not mandatory rules, but it can save a lot of space, when I made V1.0 version of the time, the use of a lot of long USB cable, but in order to save space later I made a lot of short USB cable.

Battery

After the installation is complete, more space is available to place the device and battery. When I was using the V1.0 version, I chose the tenergy 51097 battery, the capacity is 16000 Mah/59.2wh, the DC output 12v/16v/19v (60W max) and the USB port output 5V (2.1A max), This battery is a polymer Li-ion battery, if you want to use the device in high temperature areas, or use other models of batteries, please pay attention to control the temperature inside the box.

If the battery in the box is over-charged, too overloaded, too hot, the battery is punctured and shorted, it can lead to catastrophic failure, such as battery breakage, electrolyte leaks, or fire. I think this type of battery should have some protective measures, because when testing the box is not in the extreme environment, so I did not look at the battery specifications. It's also easy to implement the RPI temperature monitoring system, and I'm sure you don't want to let the customer's company fire when you're testing the project. The size of this battery is also very suitable for me, the size is 185mm (long) x 124mm (w) x 14mm (High). The idea came from pineapple, and the 5-12v/2a power supply, Beaglebone and RPi also used a 5v USB-powered interface. Depending on the number of devices you actually use, you can choose the battery power supply capacity, or according to the actual case in 16-48 hours of work, to select the battery. This choice is not necessarily the best, but it is good for me.

Equipment selection

The choice of the device depends on your actual detection of the scene, your own thoughts and the direction of your penetration. If you do not have a Hak5 Pineapple, you can make a device that is as functional as it is, and can be combined with other devices to achieve this goal. The following devices have been used by me for the v1.0 version.

RPi TFT Display and Fona GSM module Nooelec DVB-T SDR (r820t2) Beaglebone Black or Rpi2ubertooth one (open source wireless Bluetooth development platform) HAK5 Pineapple Mark V (currently discontinued) ALFA Awus036nha (AR9271) network card or other TP-link M5350

Selection of Antennas

It depends on your own situation, but for the sake of concealment, I do not recommend more than 300mm antenna, for the use of fixed antennas, this is not very important, and this is mainly based on your own ideas.

Installation and configuration of the device

How to configure and use this device has gone beyond the scope of this blog, described above just provide a feasible solution, there are many good web guidance website, can help you to complete the configuration and use.

Conclusion

It's fun to build a box like this, and I hope this blog post will help you build your own box.

Geek DIY: Build your own wireless mobile penetration test Box

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.