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

New input for Crowdstrike Falcon events #16988

Merged
merged 30 commits into from
Mar 31, 2020
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Updating falcon pipeline.
Tony Meehan committed Feb 26, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit a1795e94fdcab36f766d01023624003e52956a4b
3 changes: 3 additions & 0 deletions x-pack/filebeat/module/crowdstrike/falcon/config/pipeline.js
Original file line number Diff line number Diff line change
@@ -60,6 +60,7 @@ var crowdstrikeFalcon = (function() {

evt.Put("event.action", tactic + "_" + technique)
tonymeehan marked this conversation as resolved.
Show resolved Hide resolved
evt.Put("event.kind", "alert")
evt.Put("event.type", "info")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

both event.type & event.category should be arrays

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed. @leehinman, this is how to make it into an array, correct?

Suggested change
evt.Put("event.type", "info")
evt.Append("event.type", "info")

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Append in the Filebeat script processor will make the field an array if there are 2 or more items, if there is just one item it isn't an array. I got bit by this in surricata.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh great catch, thank you.

evt.Put("event.category", "malware")
evt.Put("event.severity", evt.Get("crowdstrike.event.Severity"))
evt.Put("message", evt.Get("crowdstrike.event.DetectDescription"))
@@ -78,6 +79,7 @@ var crowdstrikeFalcon = (function() {
evt.Put("user.name", evt.Get("crowdstrike.event.UserId"))
evt.Put("message", evt.Get("crowdstrike.event.OperationName"))
evt.Put("event.action", convertUnderscore(eventType))
evt.Put("event.type", "change")

break;

@@ -86,6 +88,7 @@ var crowdstrikeFalcon = (function() {
evt.Put("user.name", evt.Get("crowdstrike.event.UserId"))
tonymeehan marked this conversation as resolved.
Show resolved Hide resolved
evt.Put("message", evt.Get("crowdstrike.event.ServiceName"))
evt.Put("event.action", convertUnderscore(evt.Get("crowdstrike.event.OperationName")))
evt.Put("change")

break;