Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify structure and names for Windows eventchannel fields #2680

Closed
cristgl opened this issue Feb 25, 2019 · 0 comments
Closed

Modify structure and names for Windows eventchannel fields #2680

cristgl opened this issue Feb 25, 2019 · 0 comments
Assignees
Projects

Comments

@cristgl
Copy link
Contributor

cristgl commented Feb 25, 2019

Wazuh version Install type Install method Platform
3.9.0-3904 Manager/Agent Packages/Sources Linux, Windows

At the moment, there are two main fields that cover the more specific ones inside the EventChannel field, they are System and EventData. To filter by Channel, it is necessary to go through EventChannel: data.EventChannel.System.Channel.

The proposal is to replace the EventChannel field for win and to write each field with an initial lowercase letter. This would be an example of alert:

** Alert 1551172890.230448: mail  - windows,
2019 Feb 26 10:21:30 (win) any->EventChannel
Rule: 20047 (level 5) -> 'Windows: Application Installed '
{"win":{"system":{"providerName":"MsiInstaller","eventID":"11707","level":"4","task":"0","keywords":"0x80000000000000","systemTime":"2019-02-26T09:21:30.000000000Z","eventRecordID":"7467","channel":"Application","computer":"pcname","severityValue":"INFORMATION","message":"Product: Dr. Memory -- Installation completed successfully."},"eventData":{"binary":"7B36373637354144362D314642302D344445312D394543462D3834393937353135303235457D","data":"Product: Dr. Memory -- Installation completed successfully."}}}
win.system.providerName: MsiInstaller
win.system.eventID: 11707
win.system.level: 4
win.system.task: 0
win.system.keywords: 0x80000000000000
win.system.systemTime: 2019-02-26T09:21:30.000000000Z
win.system.eventRecordID: 7467
win.system.channel: Application
win.system.computer: pcname
win.system.severityValue: INFORMATION
win.system.message: Product: Dr. Memory -- Installation completed successfully.
win.eventData.binary: 7B36373637354144362D314642302D344445312D394543462D3834393937353135303235457D
win.eventData.data: Product: Dr. Memory -- Installation completed successfully.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Wazuh 3.9.0
  
Completed
Development

No branches or pull requests

2 participants