Giter Club home page Giter Club logo

windows-event-monitor's Introduction

Windows Event Monitoring

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:

from windowseventmonitor import event_monitor

if __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. See LICENSE.txt for details.

windows-event-monitor's People

Contributors

jrdnbradford avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.