Hello,

I am trying to perform an aide check early in the boot process, prior to 
running pivot_root inside the initial ramdisk. The issue I am running into is 
that I do not see a way to have AIDE treat anything other than "/" as the root 
directory. The best solution I have found thus far is to use chroot. However, 
that executes the aide binary contained with the target filesystem; which is 
problematic as we have not yet verified that binary (or anything it links 
against) has not been tampered with. Ideally, I would be able to do something 
along the lines of:

aide --check --config /path/to/aide.conf --root /mnt/sysroot

and have it behave as if aide was called after doing 'chroot /mnt/sysroot'. 
However, I have been unable to find anything along the lines of the 
hypothetical root command.

For reference on my setup, the initial ramdisk is signed as part of secure 
boot, and the aide configuration and database are signed as well. This makes 
the integrity of the aide binary (and linked libraries) the weak link in the 
overall boot process.

Thanks,
Brandon
_______________________________________________
Aide mailing list
[email protected]
https://www.ipi.fi/mailman/listinfo/aide

Reply via email to