DIY Pi Zero Pentesting Tool Keeps It Cheap

It’s a story as old as time: hacker sees cool tool, hacker recoils in horror at the price of said tool, hacker builds their own version for a fraction of the price. It’s the kind of story that we love here at Hackaday, and has been the impetus for countless projects we’ve covered. One could probably argue that, if hackers had more disposable income, we’d have a much harder time finding content to deliver to our beloved readers.

[ Alex Jensen] writes in to tell us of his own tale of sticker shock induced hacking, where he builds his own version of the Hak5 Bash Bunny. His version might be lacking a bit in the visual flair department, but despite coming in at a fraction of the cost, it does manage to pack in an impressive array of features.

This pentesting multitool can act as a USB keyboard, a mass storage device, and even an RNDIS Ethernet adapter. All in an effort to fool the computer you plug it into to let you do something you shouldn’t. Like its commercial inspiration, it features an easy to use scripting system to allow new attacks to be crafted on the fly with nothing more than a text editor. A rudimentary user interface is provided by four DIP switches and light up tactile buttons. These allow you to select which attacks run without needing to hook the device up to a computer first, and the LED lights can give you status information on what the device is doing.

[Alex] utilized some code from existing projects, namely PiBunny and rspiducky, but much of the functionality is of his own design. Detailed instructions are provided on how you can build your own version of this handy hacker gadget without breaking the bank.

Given how small and cheap it is, the Raspberry Pi is gaining traction in the world of covert DIY penetration testing tools. While it might not be terribly powerful, there’s something to be said for a device that’s cheap enough that you don’t mind leaving it at the scene if you’ve got to pull on your balaclava and make a break for it.

DIY Variacs Get ESP8266 Upgrades

If you’be been hacking and making long enough, you’ve probably run into a situation where you realize that a previous project could be improved with the addition of technology that simply wasn’t available when you built it. Sometimes it means starting over from scratch, but occasionally you luck out and can shoehorn in some new gear without having to go back to the drawing board.

The two isolated variacs that [nop head] built were already impressive, but with the addition of the ESP8266 he was able to add some very slick additional features which really took them to the next level. He’s done an exceptional job detailing the new modifications, including providing all the source for anyone who might be walking down a similar path.

His variacs have digital energy meters right in the front panel which give voltage, amps, and a real-time calculation of watts. After reading an article by [Thomas Scherrer] about sniffing the SPI data out of one of these meters with an Arduino, [nop head] reasoned he could do the same thing with an ESP8266. The advantage being that he could then pull that data out over the network to graph or analyze however he wishes.

For his older variac, he decided to automate the device by adding a stepper and belt to turn the knob. The stepper is controlled by a Pololu stepper driver, which in turn get’s its marching orders from another ESP8266. He even came up with a simple web interface which allows you to monitor and control the variac from your smart device.

We don’t often see many variacs around these parts, and even fewer attempts at building custom ones. It’s one of those pieces of equipment you either can’t live without, or have never even heard of.

A Two-Range OLED Capacitance Meter

If you are just starting out in electronics, you need tools. But it is hard to build all your tools. Even though we see a lot of soldering station builds, you really ought to have a soldering iron to build the station. It is hard to troubleshoot a multimeter you just built if you don’t have a multimeter. However, a capacitance meter is a handy piece of gear, relatively simple to build, and you should be able to get it working without an existing capacitance meter. [gavinlyonsrepo] presents a simple design using an Arduino, an OLED display, and a few components.

The principle of operation is classic. On one range, the Arduino charges the capacitor through one resistor and discharges it through another while timing the operation. The amount of time taken corresponds to the capacitance.

Continue reading “A Two-Range OLED Capacitance Meter”

Antique Lighthouse Lens Via CNC

Before the invention of the high-powered LED, and even really before the widespread adoption of electric lights in general, lighthouses still had the obligation of warning ships of dangers while guiding them into various safe harbors. They did this with gas lights and impressive glass lenses known as Fresnel lenses which helped point all available light in the correct direction while reducing weight and material that would otherwise be used in a conventional lens.

Now, a company in Florida is using acrylic in reproductions of antique Fresnel lenses. At first glance, it seems like acrylic might not be the best substitute for glass, but the company is able to achieve extreme precision using a CNC machine and then polishing and baking the acrylic which makes it transparent and excellent for use in lighthouse lenses like this. The reproduction lenses are built out of brass, and the lens elements are glued in place with a special adhesive. It’s a convincing replication worthy of use in any lighthouse.

Be sure to check out the video below to see how these lenses are built, and although we’re not entirely sure what exactly is being sprayed on the lenses when they are being polished, perhaps someone in the comments section can illuminate that for us. Of course, there are other uses for Fresnel lenses than in lighthouses, and we’ve seen some great examples of them put to use for many different applications.

Continue reading “Antique Lighthouse Lens Via CNC”

Soundproofing A CNC Mill Conversion

The Proxxon MF70 is a nice desktop sized milling machine with a lot of useful add-on accessories available for it, making it very desirable for a hacker to have one in his or her home workshop. But its 20000 rpm spindle can cause quite the racket and invite red-faced neighbors. Also, how do you use a milling machine in your home-workshop without covering the whole area in metal chips and sawdust? To solve these issues, [Tim Lebacq] is working on Soundproofing his CNC mill conversion.

To meet his soundproof goal, he obviously had to first convert the manual MF70 to a CNC version. This is fairly straightforward and has been done on this, and similar machines, in many different ways over the years. [Tim] stuck with using the tried-and-tested controller solution consisting of a Raspberry Pi, an Arduino Uno and a grbl shield sandwich, with stepper motor drivers for the three NEMA17 motors. The electronics are housed inside the reclaimed metal box of an old power supply. Since the Proxxon MF70 is already designed to accept a CNC conversion package, mounting the motors and limit switches is pretty straightforward making it easy for [Tim] to make the upgrade.

Soundproofing the box is where he faced unknown territory. The box itself is made from wooden frames lined with particle board. A pair of drawer slides with bolt-action locks is used for the front door which opens vertically up. He’s also thrown in some RGB strips controlled via the Raspberry-Pi for ambient lighting and status indications. But making it soundproof had him experimenting with various materials and techniques. Eventually, he settled on a lining of foam sheets topped up with a layer of — “bubble wrap” ! It seems the uneven surface of the bubble wrap is quite effective in reducing sound – at least to his ears. Time, and neighbours, will tell.

Maybe high density “acoustic foam” sheets would be more effective (the ones similar to “egg crate” style foam sheets, only more dense)? Cleaning the inside of the box could be a big challenge when using such acoustic foam, though. What would be your choice of material for building such a sound proof box? Let us know in the comments below. Going back many years, we’ve posted about this “Portable CNC Mill” and a “Mill to CNC Conversion” for the Proxxon MF70. Seems like a popular machine among hackers.

GPS synchronized Nixie tube clock from kit

3D Printed Tool Tips To Straighten DIP Chips And Unstraighten Resistors

Watching someone assemble a kit is a great way to see some tools you may have not encountered before and maybe learn some new tricks. During [Marco Reps’] recent build of a GPS synchronized Nixie clock kit we spied a couple of handy tools that you can 3D print for your own bench.

Fresh from the factory Dual Inline Package (DIP) chips come with their legs splayed every so slightly apart — enough to not fit into the carefully designed footprints on a circuit board. You may be used to imprecisely bending them by hand on the surface of the bench. [Marco] is more refined and shows off a neat little spring loaded tool that just takes a couple of squeezes to neatly bend both sides of the DIP, leaving every leg the perfect angle. Shown here is a 3D printed version called the IC Pin Straightener that you can throw together with springs and common fasteners.

Another tool which caught our eye is the one he uses for bending the metal film resistor leads: the “Biegelehre” or lead bending tool. You can see that [Marco’s] tool has an angled trench to account for different resistor body widths, with stepped edges for standard PCB footprint spacing. We bet you frequently use the same resistor bodies so 3D printing is made easier by using a single tool for each width. If you really must copy what [Marco] is using, we did find this other model that more closely resembles his.

As for new tricks, there are a lot of small details worth appreciating in the kit assembly. [Marco] cleans up the boards using snips to cut away the support material and runs them over sandpaper on a flat surface. Not all Nixie tubes are perfectly uniform so there’s some manual adjustment there. And in general his soldering practices are among the best we’ve seen. As usual, there’s plenty of [Marco’s] unique brand of humor to enjoy along the way.

We have a warm spot in our heart for simple tools you can whip up on the ‘ole 3D printer. Check out the PCB vise, a set of ball and socket helping hands, and a collection of toolbag essentials.

Continue reading “3D Printed Tool Tips To Straighten DIP Chips And Unstraighten Resistors”

Diagram generated by QElectroTech

QElectroTech: An Open Source Wiring Diagram Tool

There’s a few open source options out there for creating electrical schematics. KiCad and Fritzing are two that will take you from schematic capture to PCB layout. However, there’s been limited options for creating wiring diagrams. Often these are created in Microsoft’s Visio, which is neither open source nor well suited for the task.

QElectroTech is an open source tool for drawing these types of diagrams. It consists of two tools: an element editor for creating schematic symbols and a diagram editor for creating your drawings. Libraries of common symbols are also included, along with the IEC 60617 standardized symbols.

Being a schematic editor, QElectroTech does a good job of drawing clean connections between components. Connections are automatically routed at 90 degree angles and are easy to drag around. Systems made up of more than just electrical connections are also a good fit for the software. Here you can see piping and manual valves as well as electronic sensors and actuators all in the same diagram.

Next time you need to document the wiring of something, QElectroTech is a good option to try. It’s been around since 2008 it is under active development, and there are Windows, OSX and Linux version (including a PPA for nightly builds) available.