1 Trillion USD Refund! (PDF Enclosed)

Security researchers have found that it is possible to alter a digitally signed PDF without invalidating its signatures. To demonstrate it, they produced a fake document “refund order” of $1,000,000,000,000 dollars, with a valid signature from Amazon. This sparked my attention, since I was quite sure that they didn’t use some sort of quantum device to break the cryptography involved in the signing process. So what exactly is going on?

The researchers claim to found at least three different ways to, in their words:

… use an existing signed document (e.g., amazon.de invoice) and change the content of the document arbitrarily without invalidating the signatures. Thus, we can forge a document signed by invoicing@amazon.de to refund us one trillion dollars.

That’s not good news if you take into account that the main purpose of digitally signing a document is, well, prevent unauthorized changes in that document. The good news is that you can update your software to fix this flaws because of this research; the main PDF readers companies were given time to fix the issues. The bad news is that if you rely on the signature verification for any sensitive process, you likely want to go back and see if you were using vulnerable software previously and check that documents were correctly validated. I’m thinking about government institutions, banks, insurance companies and so on.

The implications are yet to be seen and probably won’t even be fully known.

There are three classes of attacks that work on different software. I’ll try to go into each one from what I could tell from reading the research.

Continue reading “1 Trillion USD Refund! (PDF Enclosed)”

Hacking The IPod Nano Display: Beautiful!

The 6th Generation iPod Nano was something of a revelation on launch. Packing a color screen, audio hardware, and a rechargable battery into a package no bigger than a large postage stamp remains impressive to this day. They’re now being used in various maker projects for their displays, but if you’re doing so, you might want to think about how you’re going to build a graphical interface. Not to worry – just grab an ESP32 and the right GUI library, and you’re on your way.

The Nano screen uses a MIPI DSI interface, which isn’t the easiest thing to use directly with the ESP32. Instead, a SSD2805 interface chip converts parallel input data to MIPI DSI signals to drive the display. Driving the display is only part of the game, however – you need something to display on it. Combining the LittlevGL GUI library with the screen’s touchpad makes creating a full graphical interface easy.

Hacked screens are something we don’t see as much these days, with the proliferation of display products aimed directly at the maker market. However, it’s always awesome to see a successful hack pulled off well. We’ve seen the display reverse engineered, too – and it certainly wasn’t easy.

 

The Strangest Gameboy Emulator We’ve Seen Yet

In the secret Hackaday bunker, we have some emacs users, some vi users, and some people who don’t really care. However, even the staunchest of our emacs supporters had to do a double take at [Vreeze’s] project that creates a GameBoy emulator using the venerable text editor. You can see [Alexei Nunez’s] reaction to the emulator in the video below.

The Eboy uses unicode characters to output the graphics. You can use emacs commands to load ROM images and use your keyboard to control the game.

Continue reading “The Strangest Gameboy Emulator We’ve Seen Yet”

3D Printing Photos Is Slow But Awesome

Historically speaking, lithophanes are images made in porcelain with an etching or moulding process, in which an image is visible when backlit due to the varying thickness of the material. Porcelain isn’t the easiest thing to work with, but thankfully for those of us in the present, 3D printers are here to make everything better. [RCLifeOn] has been experimenting with printing lithophanes with great results.

The trick to printing a good lithophane is all in the preparation. It’s important to pick an image that looks good in greyscale, as this is not a process that reproduces color in any way. [RCLifeOn] then discusses the finer points of printer setup to get a nice looking print. Layer heights should be as small as possible to avoid visible vertical bands, and the lithophane should be printed in a vertical orientation, to avoid the print sagging due to a lack of support.  Infill is best set to 100%. Most importantly, the printer should avoid crossing the outline of the print to avoid any stringy plastic artifacts spoiling the final product.

It’s a great guide that should help even a 3D printing novice create a great print with the minimum of fuss. A lithophane can make a wonderful gift and is also a good test of a printer’s capabilities, due to the fine detail required. We’ve seen them produced before too, in a wonderful lightbox configuration. Video after the break.

Continue reading “3D Printing Photos Is Slow But Awesome”

Tech Imitates Life: Fireflies Make Better Light Bulbs

While we often think we are clever designers, living things often meet or beat the best human designs. It is easy to forget that nature even has living lightbulbs, among them the firefly. Researchers from Penn State decided to compare how fireflies create light and found that they deal with a problem similar to LEDs. The insight may lead to an increase in efficiency for LEDs, which is currently about 50%.

The problem is that some light generated never gets out of the LED (or the firefly’s body). Some light inevitably reflects back into the device. One known mitigation for this is creating a tiny texture pattern on the LED surface which allows more light to escape. These are typically a V-shaped structure etched into the surface. This isn’t news to the firefly, however, which has similar structures on their lanterns as do some other light-generating animals (apparently glowing cockroaches are a thing). However, the organic structures differ from LED textures in an important way.

Continue reading “Tech Imitates Life: Fireflies Make Better Light Bulbs”

Google Launches AI Platform That Looks Remarkably Like A Raspberry Pi

Google has promised us new hardware products for machine learning at the edge, and now it’s finally out. The thing you’re going to take away from this is that Google built a Raspberry Pi with machine learning. This is Google’s Coral, with an Edge TPU platform, a custom-made ASIC that is designed to run machine learning algorithms ‘at the edge’. Here is the link to the board that looks like a Raspberry Pi.

This new hardware was launched ahead of the TensorFlow Dev Summit, revolving around machine learning and ‘AI’ in embedded applications, specifically power- and computationally-limited environments. This is ‘the edge’ in marketing speak, and already we’ve seen a few products designed from the ground up to run ML algorithms and inference in embedded applications. There are RISC-V microcontrollers with machine learning accelerators available now, and Nvidia has been working on this for years. Now Google is throwing their hat into the ring with a custom-designed ASIC that accelerates TensorFlow. It just so happens that the board looks like a Raspberry Pi.

Continue reading “Google Launches AI Platform That Looks Remarkably Like A Raspberry Pi”

Cylindrical LED Display Comes Full Circle

According to [makeTVee], his latest project started out as an experiment to see how well the LED matrix techniques he’s worked with in the past would translate to a cylindrical form factor. We’re going to go ahead and say that not only was the test a success, but that the concept definitely holds promise for displays that are both functional and aesthetically pleasing. This build stops a bit short of being a complete implementation, but what he has so far is very promising and we hope he continues fleshing it out.

A laser cutter was used to create the interlocking segments that make up the display’s frame, but we imagine you could pull off a similar design using 3D printed parts if you don’t have access to a laser. Strips of WS2812 LEDs are mounted along the inside of the cylinder so that each individual LED lines up with the center of a cell. To finish off the outside of the cylinder [makeTVee] used a thin wood veneer called MicroWOOD, which gives the LEDs a nice diffused glow. The wood grain in the veneer also provides an organic touch that keeps the whole thing from looking too sterile.

Of course, a display like this only works if you’ve got software to drive it. To that end, [makeTVee] has used pygame to create a simulator on his computer that shows what the display would look like if it were unrolled and flattened it out. This makes it a lot easier to create content, as you can see the whole display at once. He says the source for the new tool will be coming to GitHub soon, and we’re very interested in taking a look.

If this display looks familiar, it’s probably because a distinctly flatter version of it took the top spot in our “Visualize it with Pi” contest last year.

Continue reading “Cylindrical LED Display Comes Full Circle”