Distributed Censorship Or Extortion? The IoT Vs Brian Krebs

Now it’s official. The particular website that was hit by a record-breaking distributed denial of service (DDOS) attack that we covered a few days ago was that of white-hat security journalist [Brian Krebs]: Krebs on Security.

During the DDOS attack, his site got 600 Gigabits per second of traffic. It didn’t involve amplification or reflection attacks, but rather a distributed network of zombie domestic appliances: routers, IP webcams, and digital video recorders (DVRs). All they did was create HTTP requests for his site, but there were well in excess of 100,000 of these bots.

In the end, [Krebs’] ISP, Akamai, had to drop him. He was getting pro bono service from them to start with, and while they’ve defended him against DDOS attacks in the past, it was costing them too much to continue in this case. An Akamai exec estimates it would have cost them millions to continue defending, and [Brian] doesn’t blame them. But when Akamai dropped the shields, his hosting provider would get slammed. [Krebs] told Akamai to redirect his domain to localhost and then he went dark.

Continue reading “Distributed Censorship Or Extortion? The IoT Vs Brian Krebs”

Chemical Formulas 101

It seems like every other day we hear about some hacker, tinkerer, maker, coder or one of the many other Do-It-Yourself engineer types getting their hands into a complex field once reserved to only a select few. Costs have come down, enabling common everyday folks to equip themselves with 3D printers, laser cutters, CNC mills and a host of other once very expensive pieces of equipment. Getting PCB boards made is literally dirt cheap, and there are more inexpensive Linux single board computers than we can keep track of these days. Combining the lowering hardware costs with the ever increasing wealth of knowledge available on the internet creates a perfect environment for DIYers to push into ever more specific scientific fields.

One of these fields is biomedical research. In labs across the world, you’ll find a host of different machines used to study and create biological and chemical compounds. These machines include DNA and protein synthesizers, mass spectrometers, UV spectrometers, lyophilizers, liquid chromatography machines, fraction collectors… I could go on and on.

These machines are prohibitively expensive to the DIYer. But they don’t have to be. We have the ability to make these machines in our garages if we wanted to. So why aren’t we? One of the reasons we see very few biomedical hacks is because the chemistry knowledge needed to make and operate these machines is generally not in the typical DIYers toolbox. This is something that we believe needs to change, and we start today.

In this article, we’re going to go over how to convert basic chemical formulas, such as C9H804 (aspirin), into its molecular structure, and visa versa. Such knowledge might be elementary, but it is a requirement for anyone who wishes to get started in biomedical hacking, and a great starting point for the curious among us.

Continue reading “Chemical Formulas 101”

Automatic Resistance: Resistors Controlled By The Environment

Resistors are one of the fundamental components used in electronic circuits. They do one thing: resist the flow of electrical current. There is more than one way to skin a cat, and there is more than one way for a resistor to work. In previous articles I talked about fixed value resistors as well as variable resistors.

There is one other major group of variable resistors which I didn’t get into: resistors which change value without human intervention. These change by environmental means: temperature, voltage, light, magnetic fields and physical strain. They’re commonly used for automation and without them our lives would be very different.

Continue reading “Automatic Resistance: Resistors Controlled By The Environment”

The Healthy Maker: Tackling Vapors, Fumes And Heavy Metals

Fearless makers are conquering ever more fields of engineering and science, finding out that curiosity and common sense is all it takes to tackle any DIY project. Great things can be accomplished, and nothing is rocket science. Except for rocket science of course, and we’re not afraid of that either. Soldering, welding, 3D printing, and the fine art of laminating composites are skills that cannot be unlearned once mastered. Unfortunately, neither can the long-term damage caused by fumes, toxic gasses and heavy metals. Take a moment, read the material safety datasheets, and incorporate the following, simple practices and gears into your projects.

Continue reading “The Healthy Maker: Tackling Vapors, Fumes And Heavy Metals”

A Brief History Of ‘Drone’

In the early 1930s, Reginald Denny, an English actor living in Los Angeles, stumbled upon a young boy flying a rubber band-powered airplane. After attempting to help the boy by adjusting the rubber and control surfaces, the plane spun into the ground. Denny promised he would build another plane for the boy, and wrote to a New York model manufacturer for a kit. This first model airplane kit grew into his own hobby shop on Hollywood Boulevard, frequented by Jimmy Stewart and Henry Fonda.

The business blossomed into Radioplane Co. Inc., where Denny designed and built the first remote controlled military aircraft used by the United States. In 1944, Captain Ronald Reagan of the Army Air Forces’ Motion Picture unit wanted some film of these new flying targets and sent photographer David Conover to the Radioplane factory at the Van Nuys airport. There, Conover met Norma Jeane Dougherty and convinced her to go into modeling. She would later be known as Marilyn Monroe. The nexus of all American culture from 1930 to 1960 was a hobby shop that smelled of balsa sawdust and airplane glue. That hobby shop is now a 7-Eleven just off the 101 freeway.

Science historian James Burke had a TV wonderful show in the early 90s – Connections – where the previous paragraphs would be par for the course. Unfortunately, the timbre of public discourse has changed in the last twenty years and the worldwide revolution in communications allowing people to instantaneously exchange ideas has only led to people instantaneously exchanging opinions. The story of how the Dutch East India Company led to the rubber band led to Jimmy Stewart led to remote control led to Ronald Reagan led to Death of a Salesman has a modern fault: I’d have to use the word ‘drone’.

The word ‘propaganda’ only gained its negative connotation the late 1930s – it’s now ‘public relations’. The phrase ‘global warming’ doesn’t work with idiots in winter, so now it’s called ‘climate change’. Likewise, quadcopter pilots don’t want anyone to think their flying machine can rain hellfire missiles down on a neighborhood, so ‘drone’ is verboten. The preferred term is quadcopters, tricopters, multicopters, flying wings, fixed-wing remote-controlled vehicles, unmanned aerial systems, or toys.

I’m slightly annoyed by this and by the reminder I kindly get in my inbox every time I use the dreaded d-word. The etymology of the word ‘drone’ has nothing to do with spying, firing missiles into hospitals, or illegally killing American civilians. People like to argue, though, and I need something to point to when someone complains about my misuse of the word ‘drone’. Instead of an article on Hollywood starlets, the first remote control systems, and model aviation, you get an article on the etymology of a word. You have no one else to blame but yourself, Internet.

Continue reading “A Brief History Of ‘Drone’”

How To Run A Pagekite Server To Expose Your Raspberry Pi

Last time I showed you how to expose a web service on a Raspberry Pi (or, actually, any kind of device) by using a reverse proxy from Pagekite. On your Pi, you just need a simple Python script. However, it also depends on the Pagekite server, which isn’t always convenient. There are limits to the free service, and you don’t control the entire thing. The good news is twofold: the same Python script you use to set up the client-side can also set up a server. The other good news is the entire thing is open source.

In practical terms, then, if you have a computer that is always on and has an IP address that can be found on the public internet, you can run your own Pagekite server (they call it a front end) and service your own backends.

Continue reading “How To Run A Pagekite Server To Expose Your Raspberry Pi”

Expose Your Raspberry Pi On Any Network

Everyone’s talking about the Internet of Things (IoT) these days. If you are a long-time Hackaday reader, I’d imagine you are like me and thinking: “so what?” We’ve been building network-connected embedded systems for years. Back in 2003, I wrote a book called Embedded Internet Design — save your money, it is way out of date now and the hardware it describes is all obsolete. But my point is, the Internet of Things isn’t a child of this decade. Only the name is.

The big news — if you can call it that — is that the network is virtually everywhere. That means you can connect things you never would have before. It also means you get a lot of data you have to find a reason to use. Back in 2003, it wasn’t always easy to get a board on the Internet. The TINI boards I used (later named MxTNI) had an Ethernet port. But your toaster or washing machine probably didn’t have a cable next to it in those days.

Today boards like the Raspberry Pi, the Beagle Bone, and their many imitators make it easy to get a small functioning computer on the network — wired or wireless. And wireless is everywhere. If it isn’t, you can do 3G or 4G. If you are out in the sticks, you can consider satellite. All of these options are cheaper than ever before.

The Problem

There’s still one problem. Sure, the network is everywhere. But that network is decidedly slanted at letting you get to the outside world. Want to read CNN or watch Netflix? Sure. But turning your computer into a server is a little different. Most low-cost network options are asymmetrical. They download faster than they upload. You can’t do much about that except throw more money at your network provider. But also, most inexpensive options expose one IP address to the world and then do Network Address Translation (NAT) to distribute service to local devices like PCs, phones, and tablets. What’s worse is, you share that public address with others, so your IP address is subject to change on a whim.

What do you do if you want to put a Raspberry Pi, for example, on a network and expose it? If you control the whole network, it isn’t that hard. You usually use some kind of dynamic DNS service that lets the Pi (or any computer) tell a well-known server its current IP address (see figure below).

Continue reading “Expose Your Raspberry Pi On Any Network”