a
A Logo

Feel free to include my content in your page via my
RSS feed

Help Irongeek.com pay for
bandwidth and research equipment:

Search Irongeek.com:

Affiliates:
Irongeek Button
Social-engineer-training Button

Help Irongeek.com pay for bandwidth and research equipment:

paypalpixle


The Art of Bit-Banging: Gaining Full Control of (Nearly) Any Bus Protocol - Aaron Waibel Bsides Cleveland 2016 (Hacking Illustrated Series InfoSec Tutorial Videos)

The Art of Bit-Banging: Gaining Full Control of (Nearly) Any Bus Protocol
Aaron Waibel

Most buses have dedicated hardware that a system uses to communicate with attached devices. This hardware generates the appropriate waveforms to implement the bus' protocol. Bit-Banging is the set of techniques that allows one to generate these waveforms directly from software using little to no extra hardware. Controlling these waveforms from software has many advantages: -Protocol Violations - transmitting sequences on the bus that the hardware would not normally permit opens up a whole new vector for attacking a system. -Monitoring - passively observe traffic going across a bus, good for reverse engineering, and debugging. -Packet Injection/Suppression - waiting until a device sends a packet, stopping the packet in its tracks, writing your own in its place. -Access Non-Standard Protocols - some devices use proprietary protocols for which there is no standard hardware to interface to it. This paper presents the primitive operations used for bit-banging, introduces some of the common strategies involved, looks at some of the common pitfalls encountered, and gives an overview of some advanced techniques that can be used when software is not fast enough to meet the required protocol.

For the last six years, Aaron has worked as a Development Engineer for Quintech Electronics. A great deal of his job is writing firmware and the applications that communicate with that firmware. Outside of work, he likes to write virtual machines, assemblers, and compilers, as well as experiment with machine learning algorithms. Aaron has a few IEEE papers published on the applications of neural networks for predicting heart attacks and earth quakes. Aaron holds bachelor's degrees in mathematics and computer science, he is currently looking for a school to get his PhD.


Back to Bsides Cleveland 2016 video list

Printable version of this article

15 most recent posts on Irongeek.com:


If you would like to republish one of the articles from this site on your webpage or print journal please contact IronGeek.

Copyright 2016, IronGeek
Louisville / Kentuckiana Information Security Enthusiast