Skip to content

A project to defend against BadUSB attacks like (USB-Raspberry Pi, USB-Rubber Ducky and both flipper-zero USB and Bluetooth)

Notifications You must be signed in to change notification settings

8yr/No-BadUSB-thanks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 

Repository files navigation

No BadUSB thanks V2

A project to defend against BadUSB attacks like (USB-Raspberry Pi, USB-Rubber Ducky and both flipper-zero USB and Bluetooth)

Pictures of BadUSB

Raspberry Pi images

Rubber Ducky 61RBVTA-7WL AC_UF350,350_QL80

Flipper zero 2024-05-20_173311

How it works?

Monitor devices and detect BadUSB HID

Version's history

V1 = Utilizes several techniques, including scanning files with specific extensions such as .dd and .bin and deleting them if possible. It also checks the USB device name to ensure it's not malware. Afterward, it freezes all keyboards and mice connected to the device, followed by a system restart.

V2 = No need to check for specific extensions, USB device name, freeze all keyboards and mice, or restart the system.

Demo

  • Without No BadUSB thanks V1
Without.NoBadUSB.mp4
  • With No BadUSB thanks V1
With.NoBadUSB.mp4
  • Without No BadUSB thanks V2
Untitled.Project9c65922.autosave.mp4
  • With No BadUSB thanks V2
Untitled.Project9c65922.autosave.mp4

Installation

Install it from the Releases section and run it with administrator privileges.

Problems

- It freezes all keyboards and mice connected to the device instead of specifically targeting the BadUSB Fixed with V2

- Mandatory system restart. Fixed with V2

Reference

What is BadUSB?

About

A project to defend against BadUSB attacks like (USB-Raspberry Pi, USB-Rubber Ducky and both flipper-zero USB and Bluetooth)

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages