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

6601-plaso.conf windows events failing grok #186

Open
TjebbeVQ opened this issue Apr 21, 2020 · 3 comments
Open

6601-plaso.conf windows events failing grok #186

TjebbeVQ opened this issue Apr 21, 2020 · 3 comments
Assignees

Comments

@TjebbeVQ
Copy link

TjebbeVQ commented Apr 21, 2020

Hi,

Currently working on importing plaso timeline csv into ELK, but it seems that not all events get their event id, computername,.. extracted out of it.

Will try to fix it and update if I find a solution or a reason why it's giving problems.

Kind regards

T

@TjebbeVQ TjebbeVQ changed the title 6601-plaso.conf Security events failing grok 6601-plaso.conf windows events failing grok Apr 21, 2020
@TjebbeVQ
Copy link
Author

Problem seems to be related to the value 0 in any of the event_id or event level fields. Fixed it by changing the grok datatype from POSINT to INT.

From:
match => [ "desc", "[%{POSINT:event_id}.*] Source Name: %{DATA:provider} Strings: [%{DATA:payload}] Computer Name: %{HOSTNAME:computer} Record Number: %{POSINT:record_number} Event Level: %{POSINT:level}" ]

To:
match => [ "desc", "[%{INT:event_id}.*] Source Name: %{DATA:provider} Strings: [%{DATA:payload}] Computer Name: %{HOSTNAME:computer} Record Number: %{INT:record_number} Event Level: %{INT:level}" ]

T

@philhagen
Copy link
Owner

reopening to change grok statement in the parser

@philhagen philhagen reopened this Apr 21, 2020
@philhagen philhagen self-assigned this Apr 21, 2020
@TjebbeVQ
Copy link
Author

TjebbeVQ commented Apr 21, 2020

Also found that the prefetch grok now needs "path hints" instead of "path"

match => [ "desc", "Prefetch \[%{DATA:filename}\] was executed - run count %{POSINT:run_count} path hints: %{DATA:path} hash: %{WORD:prefetch_hash} volume: %{POSINT:volume_number} \[serial number: %{DATA:volume_serial} device path: %{DATA:device_path}\]" ]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants