Skip to content

rynidja/keystroke_injection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Keystroke Injection Attack demo w/ STM32F401 (Black Pill)

Build Guide

  1. edit the Makefile
  2. build libopencm3
    make -C libopencm3 # (Only needed once)
  3. build the project
    make

Usage guide

  • build
  • flash the firwmare
  • hold the builtin button while ressetting to enter programming mode
  • flash the script
     dd if=script.txt of=/dev/sdx bs=4k conv=sync
  • press the built-in button to test the attack
  • if good, then press the button for ~2 seconds, to burn it into flash, (led should blink twice)
  • next reset, the script will run automaticaly (unless prevented by entering programming mode)

Dev Board info

This project was built using the stm32f401rc based black pill board, featuring a builtin usb connector (with pa9, aka vsense not connected to it) and an hse crystal of 25MHz

Resources

About

keystroke injection demo (rubber ducky) based on stm32f401rc

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors