Posts with «usb» label

Using HID Tricks to Drop Malicious Files

[Nikhil] has been experimenting with human interface devices (HID) in relation to security. We’ve seen in the past how HID can be exploited using inexpensive equipment. [Nikhil] has built his own simple device to drop malicious files onto target computers using HID technology.

The system runs on a Teensy 3.0. The Teensy is like a very small version of Arduino that has built-in functionality for emulating human interface devices, such as keyboards. This means that you can trick a computer into believing the Teensy is a keyboard. The computer will treat it as such, and the Teensy can enter keystrokes into the computer as though it were a human typing them. You can see how this might be a security problem.

[Nikhil’s] device uses a very simple trick to install files on a target machine. It simply opens up Powershell and runs a one-liner command. Generally, this commend will create a file based on input received from a web site controlled by the attacker. The script might download a trojan virus, or it might create a shortcut on the user’s desktop which will run a malicious script. The device can also create hot keys that will run a specific script every time the user presses that key.

Protecting from this type off attack can be difficult. Your primary option would be to strictly control USB devices, but this can be difficult to manage, especially in large organizations. Web filtering would also help in this specific case, since the attack relies on downloading files from the web. Your best bet might be to train users to not plug in any old USB device they find lying around. Regardless of the methodology, it’s important to know that this stuff is out there in the wild.


Filed under: Arduino Hacks, security hacks

A Remote for CHDK Cameras Made Possible with Arduino

[AlxDroidDev] built himself a nice remote control box for CHDK-enabled cameras. If you haven’t heard of CHDK, it’s a pretty cool software modification for some Canon cameras. CHDK adds many new features to inexpensive cameras. In this case, [AlxDroidDev] is using a feature that allows the camera shutter to be activated via USB. CHDK can be run from the SD card, so no permanent modifications need to be made to the camera.

[AlxDroidDev’s] device runs off of an ATMega328p with Arduino. It operates from a 9V battery. The circuit contains an infrared receiver and also a Bluetooth module. This allows [AlxDroidDev] to control his camera using either method. The device interfaces to the camera using a standard USB connector and cable. It contains three LEDs, red, green, and blue. Each one indicates the status of a different function.

The Arduino uses Ken Shirrif’s IR Remote library to handle the infrared remote control functions. SoftwareSerial is used to connect to the Bluetooth module. The Arduino code has built-in functionality for both Canon and Nikon infrared remote controls. To control the camera via Bluetooth, [AlxDroidDev] built a custom Android application. The app can not only control the camera’s shutter, but it can also control the level of zoom.


Filed under: Arduino Hacks

Walkman-esque Human Interface Device

Cheap keyboards never come with extra buttons, and for [Pengu MC] this was simply unacceptable. Rather than go out and buy a nice keyboard, a microcontroller was found in the parts drawer and put to work building this USB multimedia button human interface device that has the added bonus of looking like an old-school Walkman.

The functions that [Pengu MC] wants don’t require their own drivers. All of the buttons on this device are part of the USB standard for keyboards: reverse, forward, play/pause, and volume. This simplifies the software side quite a bit, but [Pengu MC] still wrote his own HID descriptors, tied all of the buttons to the microcontroller, and put it in a custom-printed enclosure.

If you’re looking to build your own similar device, the Arduino Leonardo, Micro, or Due have this functionality built in, since the USB controller is integrated on the chip with everything else. Some of the older Arduinos can be programmed to do the same thing as well! And, with any of these projects, you can emulate any keypress that is available, not just the multimedia buttons.


Filed under: Arduino Hacks

An Arduino-based ADB-to-USB adapter for NeXT keyboards

Have you ever wondered to use your old-fashioned NeXT keyboard with your current, non-ADB computer? The main issue that needs to be solved regards how to interface this ADB keyboard (standing for Apple Desktop Bus, an old protocol used in former NeXT and Apple computers) with a standard USB interface.

In this nice tutorial, Ladyada and Pt describe the approach they have used, based on an Arduino Micro board and… some luck in searching for the right information about the scancode table of the keyboard  ^^.

More information can be found here.

[Via: Adafruit Learning System]

 

Arduino Blog 10 Jan 11:40

Where should I start with wireless robot-to-computer data transmission?

I'm working on a project where my bot collects some information while traversing a grid. I want to send the findings back to my computer wirelessly as the robot is moving. The range is not far (2-5 metres) and I am on a budget (Up to $20 but the lower the better).

The data I need to relay needs only be three sets of three single digit numbers. I could even condense it to be three 3 digit numbers or one 9 digit number I suppose.

read more

Baobot

Primary image

What does it do?

Line follow, Navigate with front and rear bump sensors, Remote control via USB connection

Baobot is my team's entry into the AFRON Design Competition. It is a 2-wheeled design intended for classroom use as a way to teach middle and high school students about electronics, programming, and robotics.

Cost to build

$34,00

Embedded video

Finished project

Complete

Number

Time to build

40 hours

Type

wheels

URL to more information

Weight

read more

Arduino quadruped robot

Primary image

What does it do?

Walk forward and backword

Hi all,

I’ve been working on my first real robot last week-end and wanted to share it. It’s a simple quadruped arduino robot controlled by serial (via USB). Videos can be viewed on my blog : http://blog.joomun.org/2012/09/09/arduino-quadruped-robot/

The robot structure has been created with cheap mecanno clone

IR control has been added, i'll update the blog later.

Cost to build

$66,00

Embedded video

Finished project

Number

Time to build

10 hours

Type

legs

URL to more information

Weight

300 grams

Arduino servo

Hi

I tried to build a photovore using and arduino and tested it via usb cable,so far so good the system worked as intended as soon as i plug my battery via the dc connector the servo worked but extremly slow why?

Super Angry Birds USB controller puts the sling back in your shot (video)

Yeah. We know. There are pretty much as many ways to play Angry Birds, as there are people who play it. That's a lot. However, the Super Angry Birds controller you see above speaks to us. Why? Because it's not just a sling shot, or a fudged use of existing technology. That wooden "sling" hides one of those motorized faders you see in big music studio desks. Using some coding magic (i.e. a force curve stored in a table), the creators were able to give it a realistic resistance feeling, sans elastic. The rest of the hardware is programmed in Max / MSP and Arduino, with a "Music and Motors" microcontroller. It's not just the sling part, either, with angle and special power triggering available from the same device. A pretty neat solution, we think. Now, we wonder if we could scale this thing up?

Continue reading Super Angry Birds USB controller puts the sling back in your shot (video)

Filed under: Gaming, Peripherals

Super Angry Birds USB controller puts the sling back in your shot (video) originally appeared on Engadget on Wed, 08 Aug 2012 16:34:00 EST. Please see our terms for use of feeds.

Permalink | Email this | Comments

3D Printed Binary Clock

Let's Make Robots 03 Aug 21:43
2  3d  3mm  arduino  binary  clock  cube  inches  ldr  powered  print  printed  teensy  usb