-
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
[Auditbeat] Make librpm discovery more robust #19287
Labels
Comments
botelastic
bot
added
the
needs_team
Indicates that the issue/PR needs a Team:* label
label
Jun 18, 2020
6 tasks
Pinging @elastic/siem (Team:SIEM) |
botelastic
bot
removed
the
needs_team
Indicates that the issue/PR needs a Team:* label
label
Jun 18, 2020
tried proof of concept with rpm, getting error when using exec.Command
|
Beats don’t allow execve by default to minimize the impact of vulnerabilities. |
leehinman
added a commit
to leehinman/beats
that referenced
this issue
Oct 16, 2020
- use elf header of rpm binary to find version of librpm - use librpm.so as fallback, provided by rpm-devel Closes elastic#19287
2 tasks
leehinman
added a commit
that referenced
this issue
Oct 20, 2020
- use elf header of rpm binary to find version of librpm - use librpm.so as fallback, provided by rpm-devel Closes #19287
2 tasks
leehinman
added a commit
to leehinman/beats
that referenced
this issue
Oct 20, 2020
- use elf header of rpm binary to find version of librpm - use librpm.so as fallback, provided by rpm-devel Closes elastic#19287 (cherry picked from commit 37dc557)
leehinman
added a commit
that referenced
this issue
Oct 21, 2020
This was referenced Oct 22, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Auditbeat's system/package dataset loads librpm dynamically using
dlopen
. It finds the library using a hardcoded set of library version names:beats/x-pack/auditbeat/module/system/package/rpm_linux.go
Lines 207 to 222 in 6fedaef
We'd like to have something that is a less brittle.
Relates: #19275 (comment)
Relates: #19253
The text was updated successfully, but these errors were encountered: