Security Hardening
Cassini distribution images can be hardened to reduce potential sources or attack vectors of security vulnerabilities. Cassini security hardening modifies the distribution to:
Force password update for each user account after first logging in. An empty and expired password is set for each user account by default.
Enhance the kernel security, kernel configuration is extended with the
security.scc
inKERNEL_FEATURES
.Enable the ‘Secure Computing Mode’ (seccomp) Linux kernel feature by appending
seccomp
toDISTRO_FEATURES
.Ensure that all available packages from
meta-openembedded
andpoky
layers are configured with:--with-libcap[-ng]
.Remove
debug-tweaks
fromIMAGE_FEATURES
.Disable all login access to the
root
account.Note
When
cassini-test
distro feature is enabled thenroot
login is enabled. Currently, runninginline tests
in LAVA require login asroot
to run transfer-overlay commands.Sets the umask to
0027
(which translates permissions as640
for files and750
for directories).
Security hardening is not enabled by default, see Security Hardening for details on including the security hardening on the Cassini distribution image.
Note
Cassini security hardening does not reduce the scope of the Run-Time Integration Tests.