https://github.com/suuhm/xml_event_xtractor
export and analyze windows evtx events from xmlcli export files
https://github.com/suuhm/xml_event_xtractor
analyzer blueteam eventlog events evtx forensics logging security siem windows xml xmlcli
Last synced: about 1 month ago
JSON representation
export and analyze windows evtx events from xmlcli export files
- Host: GitHub
- URL: https://github.com/suuhm/xml_event_xtractor
- Owner: suuhm
- License: apache-2.0
- Created: 2024-12-24T16:09:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-12-24T16:39:53.000Z (over 1 year ago)
- Last Synced: 2025-06-01T13:29:33.519Z (about 1 year ago)
- Topics: analyzer, blueteam, eventlog, events, evtx, forensics, logging, security, siem, windows, xml, xmlcli
- Language: Python
- Homepage:
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xml_event_xtractor
export windows evtx events from xmlcli export files
# XML Event Extractor

**Version**: 0.1beta
## Overview
The XML Event Extractor is a Python script designed to parse security-related XML event logs and extract meaningful data into a structured format. It focuses on extracting relevant security event IDs from Windows Event Logs (such as login attempts, logoffs, process creation, etc.).
## Features
- Parses XML files with UTF-8 or UTF-16 encoding.
- Supports extraction of various security event IDs.
- Outputs relevant event data into a CSV file.

## Supported Event IDs
The script handles the following event IDs:
- Successful Logon
- Failed Logon
- Logoff
- Process Creation
- Service Installation
- Directory Service Modifications, and more...
## Installation
1. Clone the repository:
```bash
git clone https://github.com/suuhm/xml_event_xtractor.git
```
2. Navigate to the project directory:
```bash
cd xml_event_xtractor.py
```
3. Install required dependencies:
```bash
pip install -r requirements.txt
```
## Usage
To use the XML Event Extractor, simply run the script with the XML file as an argument:
```bash
python xml_event_xtractor.py /PATH/TO/FILE(*.xml, *.evtx)
```
## Output
The script will generate a CSV file (`ExtractedEvents.csv`) containing the extracted events with their details.
## License
This project is licensed under the MIT License.