Usb Physical Security
Usb Physical Security
B.Sumana 22RH1A6208
B.Vyshnavi 22RH1A6211
Sai Sruthi DV
22RH1A6218
Abstract
◦ The USB Security Manager is a robust Python-based solution designed to address
security concerns related to unauthorized USB device usage.
◦ This tool provides comprehensive features like monitoring USB port activities,
enabling or disabling USB ports, and capturing images via a connected webcam
when unauthorized access is detected.
◦ With real-time alerts and logging functionalities, it ensures data security while
providing ease of use for administrators.
◦ By addressing vulnerabilities associated with USB usage, this solution is ideal for
workplaces, educational institutions, and other environments requiring strict data
protection measures.
Problem Statement
◦ Unauthorized access through USB devices presents a critical challenge to data
security in modern organizations.
◦ Malicious use of USB drives, such as the transfer of sensitive data, malware
installation, or tampering with system configurations, compromises the integrity of
systems.
◦ Existing solutions offer limited monitoring or preventive mechanisms and do not
comprehensively address the need for both device control and real-time
monitoring.
◦ The absence of an efficient, user-friendly tool for USB activity management
creates the risk of financial, reputational, and operational losses.
Existing System Features
◦ Manual USB Port Management: USB ports can be disabled or enabled through
complex and time-consuming operating system settings.
◦ Antivirus Solutions: Focus on malware detection but lack features for USB
monitoring, such as access control or detailed activity logging.
◦ Limited Security Measures: No real-time alerts or physical security features
(like image capture) are provided.
◦ Lack of Customization: Users or administrators cannot personalize security
measures or monitor device activity effectively.
Proposed System
◦ The USB Security Manager aims to bridge the gaps in the existing system by
providing a feature-rich, Python-based tool.
◦ Real-Time Monitoring: Actively monitors USB port activities to detect and log
device insertions or removals.
◦ Enable/Disable USB Ports: Administrators can selectively allow or restrict USB
access via an intuitive user interface.
◦ Webcam Integration: Captures images whenever an unauthorized USB device is
detected, enhancing physical security.
◦ Activity Logging: Generates detailed logs of all USB activities for analysis and
reporting.
◦ Ease of Use: Provides an interactive and accessible interface suitable for users
with varying technical expertise.
Technologies Used
◦ Python Programming Language: The project leverages Python's versatility and
libraries:
◦ os: For system-level USB port control.
◦ cv2: For capturing webcam images upon unauthorized access.
◦ tkinter: To create a simple, interactive GUI for easy control.
◦ logging: For detailed and time-stamped logging of activities.
◦ Windows Registry Commands: Used to enable or disable USB ports securely.
◦ Threading: Implements real-time monitoring while maintaining application
performance.
◦ Hardware: Incorporates the system’s built-in or external webcam for security
image capture.
Current Status of the Project
◦ The USB Security Manager is in an advanced development phase with several
features already implemented and tested.
◦ USB Control: Users can toggle USB port access efficiently.
◦ Real-Time Monitoring: Detects and records USB port usage in real time.
◦ Webcam Security: The integration of a webcam allows capturing images during
unauthorized device access events.
◦ Detailed Logging: Ensures thorough recording of all activities for audit
purposes. The tool has been designed for single-user environments, and plans
include role-based access management for multi-user scenarios, extended support
for other operating systems, and scalability for large networks.
◦ With these improvements, the USB Security Manager aspires to deliver a complete
data security solution.