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

Please add support for signed database and config files #7

Open
hvhaugwitz opened this issue Mar 23, 2019 · 3 comments
Open

Please add support for signed database and config files #7

hvhaugwitz opened this issue Mar 23, 2019 · 3 comments
Labels
enhancement New feature or request
Milestone

Comments

@hvhaugwitz
Copy link
Member

hvhaugwitz commented Mar 23, 2019

Please add support for signed database and config files. The public key used for signature verification should either be configurable exclusively at compile-time or at run-time via a config option.

@hvhaugwitz hvhaugwitz added the enhancement New feature or request label Mar 23, 2019
@hvhaugwitz hvhaugwitz added this to the 0.18 milestone Jan 31, 2021
@hvhaugwitz hvhaugwitz modified the milestones: 0.18, Backlog Apr 18, 2021
@l-e-e-o
Copy link

l-e-e-o commented Jun 21, 2022

I think this is, indeed, a really relevant feature to prevent an attacker from simply editing the hashes in the database to evade detection. Here is where I got a little confused: You seem to have removed the code implementing this feature with commit f93408c but I couldn't figure out why. Could you please explain? Will this feature return to AIDE in the future?

@hvhaugwitz
Copy link
Member Author

@l-e-e-o The code was unmaintained and incompatible with other changes in the 0.17 release. The feature is planned for a future release (estimated >= 0.20).

Having said that, one can detect a tampered database by comparing the checksums of the used databases in the reports (provided the aide binary is unchanged).

I'm curious about your use case for signed databases/config files. How do you ensure that an attacker has not tampered with the AIDE binary?

@OmlineEditor
Copy link

you can take an example of the implementation of the data signature function from the program Tripwire

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

No branches or pull requests

3 participants