Facedancer

From YobiWiki
Jump to: navigation, search

Contents

Links

Making

I met Travis at Troopers2013 and he was very kind of giving me one Facedancer11 PCB.
I soldered the elements by reflow with solder paste in a kitchen pan, on a cooking paper and with good ventilation.

Installation

sudo apt-get install python-sqlite python-serial gcc-msp430
svn co https://goodfet.svn.sourceforge.net/svnroot/goodfet
cd goodfet/trunk/client/
sudo make link
cd goodfet/trunk/firmware/
goodfet.bsl --dumpinfo |tee info.txt

Mine:

MSP430 Bootstrap Loader Version: 1.39-goodfet-8
Transmit default password ...
@1000
aa 55 ff 3f cd ab aa 55 34 12 ff ff aa 55 ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 20 84 fe 16 ff ff ff ff
ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 08 10 00 80 01 00 11 80 9b 0b c2 0d 2a 80 f5 06 40 08 fe 08 ff ff ff ff ff ff ff ff 01 08 82 8f
8a 8e 7b 8d b3 86 

My uC was a msp430f2619 so:

cp lib/msp430f2617.c lib/msp430f2619.c
board=facedancer11 mcu=msp430f2619 make clean reinstall installinfo

Usages

goodfet.monitor listapps

GoodFET with f26f MCU
Clocked at 0x8f82
Build Date: 2013-03-28 23:38
Firmware apps:
Monitor
SPI
MAXUSB

goodfet.monitor testleds

Flashing LEDs
Flashed 1 LED.

goodfet.maxusb info

First connect target USB

Connected to MAX342x Rev. 4

goodfet.maxusbftdi

goodfet.maxusbftdi

On target:

cat /dev/ttyUSB0

Or, as sometimes previous command sends only one char at a time:

screen /dev/ttyUSB0
[...]
GoodFET emulates FTDI properly, if you can read this!
[...]

goodfet.maxusbmass

dd if=/dev/zero of=test.img bs=512 count=10000
/sbin/mkfs.vfat test.img 
mkdir test
sudo mount -o loop test.img test
echo hello |sudo tee test/hello.txt
sudo umount test
 
goodfet.maxusbmass test.img

goodfet.maxusbhid

On target, chars are typed in an OS-dependent way:

Python does USB HID on Linux!

goodfet.maxusbdfu

Emulating Ubertooth device to capture firmware:

goodfet.maxusbdfu FFFF 0004

On target:

./ubertooth-dfu --write bluetooth_rxtx.dfu
Checking firmware signature
............................................................................................
Write complete

Scapy support

http://rmspeers.com/archives/252

Raspdancer

Merging Facedancer & Raspberry Pi
See dedicated page: Raspdancer

Personal tools
Namespaces

Variants
Actions
Navigation
Tools