{"description": "The <code>aide</code> package can be installed with the following command:\n<pre>\n$ apt-get install aide</pre>", "rationale": "The AIDE package must be installed if it is to be available for integrity checking.", "severity": "medium", "references": {"cis-csc": ["1", "11", "12", "13", "14", "15", "16", "2", "3", "5", "7", "8", "9"], "cjis": ["5.10.1.3"], "cobit5": ["APO01.06", "BAI01.06", "BAI02.01", "BAI03.05", "BAI06.01", "BAI10.01", "BAI10.02", "BAI10.03", "BAI10.05", "DSS01.03", "DSS03.05", "DSS04.07", "DSS05.02", "DSS05.03", "DSS05.05", "DSS05.07", "DSS06.02", "DSS06.06"], "isa-62443-2009": ["4.3.4.3.2", "4.3.4.3.3", "4.3.4.4.4"], "isa-62443-2013": ["SR 3.1", "SR 3.3", "SR 3.4", "SR 3.8", "SR 4.1", "SR 6.2", "SR 7.6"], "iso27001-2013": ["A.11.2.4", "A.12.1.2", "A.12.2.1", "A.12.4.1", "A.12.5.1", "A.12.6.2", "A.14.1.2", "A.14.1.3", "A.14.2.2", "A.14.2.3", "A.14.2.4", "A.14.2.7", "A.15.2.1", "A.8.2.3"], "nist": ["CM-6(a)"], "nist-csf": ["DE.CM-1", "DE.CM-7", "PR.DS-1", "PR.DS-6", "PR.DS-8", "PR.IP-1", "PR.IP-3"], "pcidss": ["Req-11.5"], "srg": ["SRG-OS-000445-GPOS-00199"], "anssi": ["R76", "R79"], "cis": ["6.1.1"], "ism": ["1034", "1288", "1341", "1417"], "pcidss4": ["11.5.2"], "stigid": ["UBTU-22-651010"], "stigref": ["SV-260582r958944_rule"]}, "control_references": {"anssi": ["R76", "R79"], "cis": ["6.1.1"], "ism": ["1034", "1288", "1341", "1417"], "pcidss4": ["11.5.2"], "stigid": ["UBTU-22-651010"]}, "components": [], "identifiers": {}, "ocil_clause": "the package is not installed", "ocil": " Run the following command to determine if the <code>aide</code> package is installed: <pre>$ dpkg -l  aide</pre>", "oval_external_content": null, "fixtext": "The <code>aide</code> package can be installed with the following command:\n<pre>\n$ apt-get install aide</pre>", "checktext": "", "vuldiscussion": "", "srg_requirement": " Ubuntu 22.04 must have the aide package installed.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "Ubuntu 22.04 must have the AIDE package installed.", "vuldiscussion": "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.", "checktext": "Verify that Ubuntu 22.04 has the Advanced Intrusion Detection Environment (AIDE) package installed with the following command:\n\n$ sudo dnf list --installed aide\n\nExample output:\n\naide.x86_64          0.16.100.el9\n\nIf AIDE is not installed, ask the system administrator (SA) how file integrity checks are performed on the system.\n\nIf there is no application installed to perform integrity checks, this is a finding.\n\nIf AIDE is installed, check if it has been initialized with the following command:\n\n$ sudo /usr/sbin/aide --check\n\nIf the output is \"Couldn't open file /var/lib/aide/aide.db.gz for reading\", this is a finding.", "fixtext": "Install AIDE, initialize it, and perform a manual check.\n\nInstall AIDE:\n\n$ sudo dnf install aide\n\nInitialize AIDE:\n\n$ sudo /usr/sbin/aide --init\n\nExample output:\n\nStart timestamp: 2023-06-05 10:09:04 -0600 (AIDE 0.16)\nAIDE initialized database at /var/lib/aide/aide.db.new.gz\n\nNumber of entries:      86833\n\n---------------------------------------------------\nThe attributes of the (uncompressed) database(s):\n---------------------------------------------------\n\n/var/lib/aide/aide.db.new.gz\n  MD5      : coZUtPHhoFoeD7+k54fUvQ==\n  SHA1     : DVpOEMWJwo0uPgrKZAygIUgSxeM=\n  SHA256   : EQiZH0XNEk001tcDmJa+5STFEjDb4MPE\n             TGdBJ/uvZKc=\n  SHA512   : 86KUqw++PZhoPK0SZvT3zuFq9yu9nnPP\n             toei0nENVELJ1LPurjoMlRig6q69VR8l\n             +44EwO9eYyy9nnbzQsfG1g==\n\nEnd timestamp: 2023-06-05 10:09:57 -0600 (run time: 0m 53s)\n\nThe new database will need to be renamed to be read by AIDE:\n\n$ sudo mv /var/lib/aide/aide.db.new.gz /var/lib/aide/aide.db.gz\n\nPerform a manual check:\n\n$ sudo /usr/sbin/aide --check\n\nExample output:\n\n2023-06-05 10:16:08 -0600 (AIDE 0.16)\nAIDE found NO differences between database and filesystem. Looks okay!!\n\n..."}}, "platform": null, "platforms": [], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": [], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Install AIDE", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/software/integrity/software-integrity/aide/package_aide_installed/rule.yml", "template": {"name": "package_installed", "vars": {"pkgname": "aide"}, "backends": {}}}