UBTU-22-651015 - Ubuntu 22.04 LTS must configure AIDE to perform file integrity checking on the file system.

Information

Without verification of the security functions, security functions may not operate correctly and the failure may go unnoticed. Security function is defined as the hardware, software, and/or firmware of the information system responsible for enforcing the system security policy and supporting the isolation of code and data on which the protection is based. Security functionality includes, but is not limited to, establishing system accounts, configuring access authorizations (i.e., permissions, privileges), setting events to be audited, and setting intrusion detection parameters.

This requirement applies to Ubuntu 22.04 LTS performing security function verification/testing and/or systems and environments that require this functionality.

NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.

Solution

Initialize AIDE (this will take a few minutes):

$ sudo aideinit
Running aide --init...

Example output:

Start timestamp: 2024-04-01 04:20:00 +1300 (AIDE 0.17.4)
AIDE initialized database at /var/lib/aide/aide.db.new
Ignored e2fs attributes: EIh

Number of entries: 146185

---------------------------------------------------
The attributes of the (uncompressed) database(s):
---------------------------------------------------

/var/lib/aide/aide.db.new
SHA256 : UrYbC/KBOJcs8zKcSlKoifnnoPK66DEC
Aw6odu/BpgY=
SHA512 : ezENbbuh937SPWvtsdjRzy3i47XjLg7j
L3UGmr0EcgY6u8rczxgbn2RuwJfrIpef
0c1qMNobzrLXyDnnqEqAqw==
RMD160 : yBq2xio+g5ne4kvZzzMZ2v+EO9w=
TIGER : GkJ/xkzJGu/aSQqk9A5LN271IOAQC3d0
CRC32 : g/beXA==
HAVAL : zZm220YZiGna2edJ6Gi0rPv16AlpqeHB
y/XLB3hIPEY=
WHIRLPOOL : k6veoXavJ/BH9L125pCYAfTB8w5ZJkdC
DvVmYS0+cgmg7M0y/S2v42FNCEJ993mc
3kZMXJR/VVmwKg/7ntGixQ==
GOST : psjiyix6mJlNsE984D0NwbfgBmB0ETGl
/R4PNvm/wKg=

End timestamp: 2024-04-01 04:29:16 +1300 (run time: 9m 16s)

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_22-04_LTS_V2R2_STIG.zip

Item Details

Category: SYSTEM AND INFORMATION INTEGRITY

References: 800-53|SI-6a., CAT|II, CCI|CCI-002696, Rule-ID|SV-260583r958944_rule, STIG-ID|UBTU-22-651015, Vuln-ID|V-260583

Plugin: Unix

Control ID: 4f43c69b9827bb61bd1c9eca1217358db40a0f35bd3e45b0966f72267b09fd68