SensorGuard is an advanced privacy and security monitoring suite for Windows. It provides a real-time dashboard to monitor sensors (Camera, Microphone, Location), track application screen time, and detect suspicious "Multi-Sensor" attack patterns.
- Live Sensor Dashboard: Real-time monitoring of Battery, Network, Geolocation, Orientation, and Memory.
- Historical Timeline: Auditable logs of every sensor access and hardware event (stored in SQLite).
- Browser Forensics: Scans Chrome, Edge, and Firefox database files to show site-specific permissions.
- Active Defense: Integrated "Kill Process" switch to immediately terminate unauthorized apps accessing your sensors.
- USB Monitoring: Real-time logging of hardware insertion/removal event.
- Screen Time Tracking: Detailed breakdowns of which applications (and web domains) you spend the most time on.
SensorGuard uses a hybrid architecture for maximum effectiveness:
- Frontend: React + Vite (Modern, responsive UI).
- Backend (Node.js): Express server for browser forensics, registry scanning, and process management.
- Monitors (Python): High-performance background scripts for low-level Win32 API interactions and WebSocket broadcasting.
- Node.js (v18+)
- Python 3.10+ (with
pip)
git clone https://github.com/your-repo/sensorGuard.git
cd sensorGuard
npm install
pip install psutil websockets wmi pywin32You can run everything concurrently:
# Run Vite Frontend + Node.js Backend
npm run dev:allIn separate terminals, start the Python monitoring services:
python sensorDetector.py
python background_apps_monitor.py
python screenTimeTracker.pyFor a deep dive into the methodology, WebSocket implementation, and future roadmap, please refer to the Project Overview.
SensorGuard reads local system files and registry keys to provide privacy insights. All data remains on your local machine in the screen_time.db SQLite database. No data is sent to external servers.
Developed for Advanced Privacy Awareness.