Skip to content

abatsakidis/USB-Locker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status Build status Codacy Badge

Description

A Simple USB Desktop Locker for Windows Systems.

One USB drive will be plugged into your computer and whenever any one trying to plug out the pen drive the computer will be locked.

After unlocking the computer if the pen drive is not plugged in then also the computer will be locked, Computer will be unlocked only if the pen drive is plugged in.

The application will search for a specific filename into the USB drive which must have a specific string inside.

You could change these properties using the "settings" parameter.

How To

  • First run the application using the parameter "settings" : ex. ./usb_locker.exe settings Alt text
  • Save the properties.
  • Create the USB Locker Device with the specific file and content.
  • Run the application without any parameter.
  • The application will check if there is any USB device with the specific file and content. If not, it will lock the computer.

Tested on

OS: Windows 10 x86_64
CPU: Intel 2 Quad Q6600 (4) @ 2.400GHz
Memory: 2690MiB / 4085MiB

Build

  • Use Visual Studio 2017
  • Open application's solution file (USBLocker.sln)

Author

Batsakidis Athanasios
Security Consultant
a.batsakidis@re-think.gr