Sorry for the self-promotion, but this is exactly what I've been working with. :) (Even though my protocol for blinking with the leds is slightly different)
https://github.com/yownas/firefly
The windows/powershell-payload doesn't work, yet, but I'll try to find some time to work on it.
It shouldn't be too hard to implement in a rubber ducky firmware.