Building Intruder-Guard: A Windows Security Monitor

December 15, 2025 (11mo ago)

Physical and local security are often overlooked in software developer security models. Intruder-Guard bridges this gap by monitoring Windows authentication events.

Why Intruder-Guard?

When someone attempts to log into a Windows machine and fails, Windows logs an Event ID 4625. However, there's no native action taken to identify the physical person. Intruder-Guard monitors these event logs in real time and automates the system's webcam to capture a photo of the potential intruder.

Implementation Details

  • Event Log Monitoring: Using Python to subscribe to Windows Security event logs.
  • Webcam Automation: Using OpenCV to capture images quickly and silently.
  • Audit Trails: Saving the captured photos with timestamps for audit evidence.