Skip to content
This repository was archived by the owner on May 12, 2022. It is now read-only.

TwelfthFace/UBRP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

59 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

UBRP

UDEV Block Restriction Policies

This is a group effort. We have decided to create a program that allows for tracking & authentication of USB devices via UDEV and functionality in the Linux Kernel (>3.8). This program was created for our Cyber Security MEng course at Leeds Beckett University. UBRP is a program which will function to authenticate USB devices and is intended to be setup on a workstation that uses Linux. For optimal usage the default settings for authentication should be 0 across the USB interfaces, then in conjunction with this program, you can use UDEV to create authentication rules for the mouse & keyboard, for example.

This program was created to prevent bad usb attacks (simular to USBGuard). Although this is an example proof of concept program that shouldn't be employed in a professional enviroment, this program does not come with any warrenty or guarantees.

Program must be ran as root to function.

Dependencies

build-essential
qmake
qtbase5-dev 
qtchooser 
qt5-qmake 
qtbase5-dev-tools
libusb-1.0-0-dev
libssl-dev
libfmt-dev
libjsoncpp-dev
libmariadb3 
libmariadb-dev
mariadb connector/c++
apt-get install build-essential qmake qtbase5-dev qtchooser qt5-qmake qtbase5-dev-tools libusb-1.0-0-dev libssl-dev libfmt-dev libjsoncpp-dev libmariadb3 libmariadb-dev

AND MariaDB Connector/C++. Download, along with install instructions, here.

Compile Instructions:

qmake UBRP.pro
make
cp ./systemd_service_files/* /etc/systemd/system/
cp ./UBRP /usr/bin/
UBRP

Optional:

mkdir /etc/UBRP/
cp ./example_history.json/* /etc/UBRP/

Coded by Jack Daniel

Group Project Members: Laura Arnold, Akilah Alnasser, Abhinav Maddukuri, and, Jack Daniel.

About

This is a group effort. We have decided to create a program that allows for tracking & authentication of USB devices via UDEV and functionality in the Linux Kernel (>2.6). This program was created for our Cyber Security MEng course at Leeds Beckett University.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors