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

Add bwrap as a setuid binary, remove /usr from evenly-timestomped #400

Merged
merged 4 commits into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
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
4 changes: 3 additions & 1 deletion detection/execution/unexpected-setuid-binaries.sql
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,9 @@ FROM
'/usr/sbin/umount.nfs',
'/usr/sbin/umount.nfs4',
'/usr/sbin/userhelper',
'/usr/sbin/wodim'
'/usr/sbin/wodim',
'/bin/bwrap',
'/usr/bin/bwrap'
)
)
AND NOT (
Expand Down
3 changes: 1 addition & 2 deletions detection/impact/evenly-timestomped.sql
Original file line number Diff line number Diff line change
Expand Up @@ -51,5 +51,4 @@ WHERE
AND file.path NOT LIKE '%/lynis%'
AND file.path NOT LIKE '%/yelp-xsl%'
AND file.path NOT LIKE '/etc/cups/%'
AND file.path NOT LIKE '/usr/share/libinput/%.quirks'
AND file.path NOT LIKE '/usr/lib64/electron/locales/%.pak'
AND file.path NOT LIKE '/usr/%'
Copy link
Contributor

Choose a reason for hiding this comment

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

Instead of filtering it out here, exclude it at line 29 so that the directory isn't scanned at all.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

how bout now?

Loading