-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
[Winlogbeat] CLI Values to ECS process.command_line #16072
Comments
related in a way that may show the importance of this field and matching with EQL and endpoint elastic/ecs#647 |
@rw-access I dont believe so, does not appear to be extended to the Security module. Also, I think the same may still apply for any linux (or other) modules. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
creating recent activity, not sure should be closed as stale - still exists. |
Pinging @elastic/security-external-integrations (Team:Security-External Integrations) |
bumping this again, still the same issue. @rw-access thoughts? |
depends on your needs, but I wouldn't recommend it if you plan on writing detection logic for that field. it wouldn't preserve any of the original quoting or escapes |
Hi! We're labeling this issue as |
Currently in the winlogbeat modules for ECS there is a field for process.command_line which stores the entire command line. As of right now the winlogbeat modules split the command line into
process.args
which removes the ability to analyze the command line in its original entirety.Currently this affects Machine Learning jobs, watcher queries, and other queries/rules in their accuracy to match the values.
The solution appears simple, just need to copy the command line value before it gets process into
process.args
split function.In the winlogbeat security module copy before this line:
beats/x-pack/winlogbeat/module/security/config/winlogbeat-security.js
Line 1314 in bb70dc7
In the winlogbeat sysmon module, copy the value to process.command_line before this line
beats/x-pack/winlogbeat/module/sysmon/config/winlogbeat-sysmon.js
Line 407 in bb70dc7
or this line
beats/x-pack/winlogbeat/module/sysmon/config/winlogbeat-sysmon.js
Line 249 in bb70dc7
This may need ported for auditbeat and filebeat too.
The text was updated successfully, but these errors were encountered: