Skip to content

Python script for automatic snapshot with webcam and email at failed logon Event ID 4625

License

Notifications You must be signed in to change notification settings

pra3t0r1an/snapcam

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snapcam

Python script for automatic detecting a failed logon (Event ID 4625) and then take a photo from webcam and send it by email.

Use the XML to add an scheduled task in Windows, which will launch the snapcam.py (renemae to .pyw!). Snapcam.py will take a photo through the webcam of your laptop and send it through email to the designated email address.

Steps to setup:

  • edit snapcam.py to your likings for email configurtation
  • rename to .pyw to execute hidden
  • import a scheduled task via the XML file
  • adjust scheduled task to you're likings

Test by locking (Win+L) and enter a wrong password for your account.

  • on screen you should receive a message
  • and en email with a photo should be received

Unfortunately sometimes the event also arises at undesignated times and you'll still get the email and the on screen message.

Always investigate!

About

Python script for automatic snapshot with webcam and email at failed logon Event ID 4625

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages