Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on May 12, 2025. It is now read-only.

Python 3-based multithreaded Windows Event monitoring program

License

NotificationsYou must be signed in to change notification settings

jrdnbradford/Windows-Event-Monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python 3-based multithreaded Windows Event monitoring program.

Config File

The program requires a user supplied json file that provides the program's data and arguments.

Servers

The "Servers" field name specifies the hostnames of Windows machines you wish to monitor, along with the names of the logs and the event IDs you want to monitor on those machines.

Event Descriptions

The "Event Descriptions" field name contains user provided descriptions of the events. I've edited and used the descriptions provided by Microsoft below.

Config Data Example

{"Servers": {"localhost": {"Security": [4732,4735,4740,4756]        },"remotecomputer": {"Security": [4624,4625,4648,4728],"System": [1500,1501]        }    },"Event Descriptions": {"Security": {"4624":"An account was successfully logged on.","4625":"An account failed to log on.","4648":"A logon was attempted using explicit credentials.","4728":"A member was added to a security-enabled global group.","4732":"A member was added to a security-enabled local group.","4735":"A security-enabled local group was changed.","4740":"A user account was locked out.","4756":"A member was added to a security-enabled universal group."        },"System": {"1500":"The Group Policy settings for the computer were processed successfully. There were no changes detected since the last successful processing of Group Policy.","1501":"The Group Policy settings for the user were processed successfully. There were no changes detected since the last successful processing of Group Policy."        }    }}

Usage

With a config file structured as above, you can run the monitor with:

fromwindowseventmonitorimportevent_monitorif__name__=="__main__":app=event_monitor.Event_Monitor("config.json")app.run()

Dependencies

Authors

Jordan Bradford - GitHub:jrdnbradford

License

This project is licensed under the MIT license. SeeLICENSE.txt for details.

Releases

No releases published

Packages

No packages published

Languages


[8]ページ先頭

©2009-2025 Movatter.jp