Ubuntu 24.04
Sponsored Link

OpenSCAP : Security Audit2024/06/19

 

Install OpenSCAP which is the security audit and vulnerability scanning tool based on SCAP (Security Content Automation Protocol).

For details about SCAP, refer to the site below.
⇒ https://csrc.nist.gov/projects/security-content-automation-protocol

OVAL  (Open Vulnerability and Assessment Language)

XCCDF (Extensible Configuration Checklist Description Format)

OCIL  (Open Checklist Interactive Language)

CPE   (Common Platform Enumeration)

CCE   (Common Configuration Enumeration)

CVE   (Common Vulnerabilities and Exposures)

CVSS  (Common Vulnerability Scoring System)

[1] Install OpenSCAP command line tool.
root@dlp:~#
apt -y install openscap-scanner openscap-utils bzip2
[2] Download OVAL content which is provided from Canonical and Scan Ubuntu System with [oscap] command.
Scan result is renerated as HTML report, you should verify it and try to improve your Ubuntu System as much as possible.
root@dlp:~#
wget https://security-metadata.canonical.com/oval/com.ubuntu.$(lsb_release -cs).usn.oval.xml.bz2

root@dlp:~#
bzip2 -d com.ubuntu.$(lsb_release -cs).usn.oval.xml.bz2
# scan system

root@dlp:~#
oscap oval eval --report oval-$(lsb_release -cs).html com.ubuntu.$(lsb_release -cs).usn.oval.xml

Definition oval:com.ubuntu.noble:def:68381000000: false -cs).html com.ubuntu.$(lsb_release -cs).usn.oval.xml
Definition oval:com.ubuntu.noble:def:68371000000: false
Definition oval:com.ubuntu.noble:def:68361000000: false
Definition oval:com.ubuntu.noble:def:68351000000: false
Definition oval:com.ubuntu.noble:def:68331000000: false
Definition oval:com.ubuntu.noble:def:68321000000: false
Definition oval:com.ubuntu.noble:def:68301000000: false

.....
,,,,,

Definition oval:com.ubuntu.noble:def:66733000000: false
Definition oval:com.ubuntu.noble:def:66633000000: false
Definition oval:com.ubuntu.noble:def:1041000000: false
Definition oval:com.ubuntu.noble:def:100: true
Evaluation done.

root@dlp:~#
ll oval-$(lsb_release -cs).html

-rw-r--r-- 1 root root 145806 Jun 19 01:20 oval-noble.html
Matched Content