Keyboards and mice are inherently trusted
Micro controllers can act as keyboards
https://www.amazon.com/gp/product/B0836WXQQR/ref=ppx_yo_dt_b_asin_title_o02_s00?ie=UTF8&psc=1
Open up Arduino IDE
File -> Preferences -> Additional boards Manager URLs
Paste the following in the dialog box:
http://digistump.com/package_digistump_index.json
Hit ok twice, then go to Tools -> Board: -> Boards Manager
Search for "digi" in the popup, hit install on "Digistump AVR Boards
We're ready to program!!! Select Digispark (default) from the boards! (Tools -> Boards -> Digispark(default))
Use this to covert ducky scripts to digispark compatible code
https://dukweeno.github.io/Duckuino/
GUI r
DELAY 50
STRING chrome.exe
ENTER
DELAY 200
STRING www.youtube.com
ENTER
Under the Compile Dropdown, Select Digispark.
Hit compile, copy and paste into blank arduino window.
Hit upload and plug in the badUSB
Thank you