scrymastic / edr-agent

A tool for monitoring system events and sending relevant information to the EDR server for further analysis and response.
MIT License
2 stars 0 forks source link
cpp17 edr logs monitoring sysmon windows

EDR Agent

License Platform Version Build Status

The EDR (Endpoint Detection and Response) Agent is a comprehensive (simple for now) security solution designed to be installed on client computers. Its primary function is to monitor system events and send relevant information to the EDR server for further analysis and response. Additionally, the agent is capable of receiving and executing commands from the EDR server, enabling remote incident response and management.

Features

Installation

  1. Pre-requisites: Ensure that the target system meets the necessary requirements, including Windows OS and necessary permissions for installation and operation.

  2. Download: Obtain the latest version of the EDR Agent from the official repository or distribution site.

  3. Configuration: Edit the config.json file to specify the EDR server URI, event sources, and other settings as per your requirements.

  4. Start the Agent: Run edr_agent.exe as an administrator to start the agent. The agent will begin monitoring events and communicating with the EDR server.

Configuration

The agent's behavior can be customized through the config.json file. Key configuration options include:

Example:

{
  "uri": "ws://192.168.63.137:8000/ws/agent/",
  "event_processor": {
    "source": [
      {
        "path": "Microsoft-Windows-Sysmon/Operational",
        "query": "*"
      },
      {
        "path": "Microsoft-Windows-PowerShell/Operational",
        "query": "*[System[(EventID=4104)]]"
      }
    ]
  },
  "command_processor": {
    "reverse_shell": {
      "ip": "192.168.63.137",
      "port": 4444
    }
  }
}

Usage

Once installed and configured, the EDR Agent operates autonomously, monitoring specified events and communicating with the EDR server. Interaction with the agent is primarily through the EDR server's interface for command execution and event analysis.

alt text

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue if you encounter any problems or have suggestions for improvements.

License

This project is licensed under the MIT License - see the LICENSE file for details.