forked from os-autoinst/os-autoinst-distri-opensuse
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Lynis baseline for Tumbleweed aarch64
Some kernel modules are now blacklisted as on x86_64
- Loading branch information
1 parent
308a821
commit a760e8a
Showing
2 changed files
with
88 additions
and
183 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
|
||
[ Lynis 3.0.5 ] | ||
[ Lynis 3.0.6 ] | ||
|
||
################################################################################ | ||
Lynis comes with ABSOLUTELY NO WARRANTY. This is free software, and you are | ||
|
@@ -17,11 +17,11 @@ | |
[2C- Checking profiles...[37C [ DONE ] | ||
|
||
--------------------------------------------------- | ||
Program version: 3.0.5 | ||
Program version: 3.0.6 | ||
Operating system: Linux | ||
Operating system name: openSUSE | ||
Operating system version: 20210929 | ||
Kernel version: 5.14.6 | ||
Operating system version: 20211127 | ||
Kernel version: 5.15.3 | ||
Hardware platform: aarch64 | ||
Hostname: susetest | ||
--------------------------------------------------- | ||
|
@@ -36,25 +36,7 @@ | |
Test category: all | ||
Test group: all | ||
--------------------------------------------------- | ||
[2C- Program update status... [32C [ UPDATE AVAILABLE ] | ||
|
||
=============================================================================== | ||
Lynis update available | ||
=============================================================================== | ||
|
||
Current version : 305 Latest version : 306 | ||
|
||
Please update to the latest version. | ||
New releases include additional features, bug fixes, tests, and baselines. | ||
|
||
Download the latest version: | ||
|
||
Packages (DEB/RPM) - https://packages.cisofy.com | ||
Website (TAR) - https://cisofy.com/downloads/ | ||
GitHub (source) - https://github.com/CISOfy/lynis | ||
|
||
=============================================================================== | ||
|
||
[2C- Program update status... [32C [ NO UPDATE ] | ||
|
||
[+] System tools | ||
------------------------------------ | ||
|
@@ -67,56 +49,15 @@ | |
[0C [0C | ||
[2C- Plugins enabled[42C [ NONE ] | ||
|
||
================================================================= | ||
|
||
Exception found! | ||
|
||
Function/test: [GetHostID] | ||
Message: Can't create hostid (no MAC addresses found) | ||
|
||
Help improving the Lynis community with your feedback! | ||
|
||
Steps: | ||
- Ensure you are running the latest version (/usr/bin/lynis update check) | ||
- If so, create a GitHub issue at https://github.com/CISOfy/lynis | ||
- Include relevant parts of the log file or configuration file | ||
|
||
Thanks! | ||
|
||
================================================================= | ||
|
||
|
||
================================================================= | ||
|
||
Exception found! | ||
|
||
Function/test: [GetHostID] | ||
Message: Can't create HOSTID, command ip not found | ||
|
||
Help improving the Lynis community with your feedback! | ||
|
||
Steps: | ||
- Ensure you are running the latest version (/usr/bin/lynis update check) | ||
- If so, create a GitHub issue at https://github.com/CISOfy/lynis | ||
- Include relevant parts of the log file or configuration file | ||
|
||
Thanks! | ||
|
||
================================================================= | ||
|
||
|
||
[+] Boot and services | ||
------------------------------------ | ||
|
||
[WARNING]: Test CORE-1000 had a long execution: 25.669889 seconds | ||
|
||
[2C- Service Manager[42C [ systemd ] | ||
[2C- Checking UEFI boot[39C [ ENABLED ] | ||
[2C- Checking Secure Boot[37C [ DISABLED ] | ||
[2C- Checking presence GRUB2[34C [ FOUND ] | ||
[4C- Checking for password protection[23C [ NONE ] | ||
[2C- Check running services (systemctl)[23C [ DONE ] | ||
[8CResult: found 34 running services[20C | ||
[8CResult: found 33 running services[20C | ||
[2C- Check enabled services at boot (systemctl)[15C [ DONE ] | ||
[8CResult: found 25 enabled services[20C | ||
[2C- Check startup files (permissions)[24C [ OK ] | ||
|
@@ -126,8 +67,8 @@ | |
[8C- accounts-daemon.service:[27C [ EXPOSED ] | ||
[8C- after-local.service:[31C [ UNSAFE ] | ||
[8C- alsa-state.service:[32C [ UNSAFE ] | ||
[8C- appstream-sync-cache.service:[22C [ UNSAFE ] | ||
[8C- auditd.service:[36C [ MEDIUM ] | ||
[8C- appstream-sync-cache.service:[22C [ MEDIUM ] | ||
[8C- auditd.service:[36C [ EXPOSED ] | ||
[8C- avahi-daemon.service:[30C [ UNSAFE ] | ||
[8C- chronyd.service:[35C [ EXPOSED ] | ||
[8C- colord.service:[36C [ EXPOSED ] | ||
|
@@ -140,17 +81,18 @@ | |
[8C- firewalld.service:[33C [ UNSAFE ] | ||
[8C- fwupd.service:[37C [ MEDIUM ] | ||
[8C- [email protected]:[32C [ UNSAFE ] | ||
[8C- [email protected]:[32C [ UNSAFE ] | ||
[8C- [email protected]:[32C [ UNSAFE ] | ||
[8C- [email protected]:[32C [ UNSAFE ] | ||
[8C- gpm.service:[39C [ UNSAFE ] | ||
[8C- gpm.service:[39C [ EXPOSED ] | ||
[8C- haveged.service:[35C [ MEDIUM ] | ||
[8C- irqbalance.service:[32C [ MEDIUM ] | ||
[8C- lvm2-lvmpolld.service:[29C [ UNSAFE ] | ||
[8C- nscd.service:[38C [ UNSAFE ] | ||
[8C- pcscd.service:[37C [ UNSAFE ] | ||
[8C- pcscd.service:[37C [ EXPOSED ] | ||
[8C- plymouth-start.service:[28C [ UNSAFE ] | ||
[8C- polkit.service:[36C [ UNSAFE ] | ||
[8C- postfix.service:[35C [ UNSAFE ] | ||
[8C- power-profiles-daemon.service:[21C [ EXPOSED ] | ||
[8C- rc-local.service:[34C [ UNSAFE ] | ||
[8C- rescue.service:[36C [ UNSAFE ] | ||
[8C- rng-tools.service:[33C [ MEDIUM ] | ||
|
@@ -170,6 +112,7 @@ | |
[8C- systemd-rfkill.service:[28C [ UNSAFE ] | ||
[8C- systemd-timesyncd.service:[25C [ PROTECTED ] | ||
[8C- systemd-udevd.service:[29C [ MEDIUM ] | ||
[8C- tuned.service:[37C [ UNSAFE ] | ||
[8C- udisks2.service:[35C [ UNSAFE ] | ||
[8C- upower.service:[36C [ PROTECTED ] | ||
[8C- [email protected]:[36C [ UNSAFE ] | ||
|
@@ -182,7 +125,7 @@ | |
[2C- Checking kernel version and release[22C [ DONE ] | ||
[2C- Checking kernel type[37C [ DONE ] | ||
[2C- Checking loaded kernel modules[27C [ DONE ] | ||
[6CFound 105 active modules[31C | ||
[6CFound 90 active modules[32C | ||
[2C- Checking Linux kernel configuration file[17C [ FOUND ] | ||
[2C- Checking default I/O kernel scheduler[20C [ NOT FOUND ] | ||
[2C- Checking core dumps configuration[24C | ||
|
@@ -281,6 +224,9 @@ | |
[2C- Mount options of /var[36C [ NON DEFAULT ] | ||
[2C- Total without nodev:14 noexec:20 nosuid:12 ro or noexec (W^X): 19 of total 34[0C | ||
[2C- Disable kernel support of some filesystems[15C | ||
[4C- Module cramfs is blacklisted[27C [ OK ] | ||
[4C- Module freevxfs is blacklisted[25C [ OK ] | ||
[4C- Module hfs is blacklisted[30C [ OK ] | ||
|
||
[+] USB Devices | ||
------------------------------------ | ||
|
@@ -315,10 +261,10 @@ | |
[4C- Searching RPM package manager[26C [ FOUND ] | ||
[6C- Querying RPM package manager[25C | ||
|
||
[WARNING]: Test PKGS-7308 had a long execution: 54.469523 seconds | ||
[WARNING]: Test PKGS-7308 had a long execution: 41.652936 seconds | ||
|
||
|
||
[WARNING]: Test PKGS-7328 had a long execution: 23.975757 seconds | ||
[WARNING]: Test PKGS-7328 had a long execution: 18.736488 seconds | ||
|
||
[2C- Using Zypper to find vulnerable packages[17C [ NONE ] | ||
[2C- Checking package audit tool[30C [ INSTALLED ] | ||
|
@@ -486,7 +432,7 @@ | |
[2C- Checking accounting information[26C [ NOT FOUND ] | ||
[2C- Checking sysstat accounting data[25C [ NOT FOUND ] | ||
[2C- Checking auditd[42C [ ENABLED ] | ||
[4C- Checking audit rules[35C [ OK ] | ||
[4C- Checking audit rules[35C [ SUGGESTION ] | ||
[4C- Checking audit configuration file[22C [ OK ] | ||
[4C- Checking auditd log file[31C [ FOUND ] | ||
|
||
|
@@ -501,7 +447,7 @@ | |
[2C- Found 0 encrypted and 1 unencrypted swap devices in use.[1C [ OK ] | ||
[2C- Kernel entropy is sufficient[29C [ YES ] | ||
[2C- HW RNG & rngd[44C [ YES ] | ||
[2C- SW prng[50C [ YES ] | ||
[2C- SW prng[50C [ NO ] | ||
[2C- MOR variable not found[35C [ WEAK ] | ||
|
||
[+] Virtualization | ||
|
@@ -514,7 +460,7 @@ | |
------------------------------------ | ||
[2C- Checking presence AppArmor[31C [ FOUND ] | ||
[4C- Checking AppArmor status[31C [ ENABLED ] | ||
[8CFound 98 unconfined processes[24C | ||
[8CFound 96 unconfined processes[24C | ||
[2C- Checking presence SELinux[32C [ NOT FOUND ] | ||
[2C- Checking presence TOMOYO Linux[27C [ NOT FOUND ] | ||
[2C- Checking presence grsecurity[29C [ NOT FOUND ] | ||
|
@@ -606,9 +552,6 @@ | |
|
||
[+] Hardening | ||
------------------------------------ | ||
|
||
[WARNING]: Test KRNL-6000 had a long execution: 10.596062 seconds | ||
|
||
[4C- Installed compiler(s)[34C [ NOT FOUND ] | ||
[4C- Installed malware scanner[30C [ NOT FOUND ] | ||
[4C- Non-native binary formats[30C [ NOT FOUND ] | ||
|
@@ -622,13 +565,15 @@ | |
|
||
[WARNING]: Deprecated function used (logtext) | ||
|
||
[4CWarning: Package iio-sensor-proxy-3.1-1.1.aarch64 installs an unknown D-BUS autostart/system service: net.hadess.SensorProxy.conf[0C [ WARNING ] | ||
[4CWarning: Package bluez-5.61-1.3.aarch64 installs an unknown D-BUS autostart/system service: org.bluez.service[0C [ WARNING ] | ||
[4CWarning: Package flatpak-1.11.3-1.1.aarch64 installs an unknown D-BUS autostart/system service: org.freedesktop.Flatpak.SystemHelper.service[0C [ WARNING ] | ||
[4CWarning: Package bolt-0.9.1-1.1.aarch64 installs an unknown D-BUS autostart/system service: org.freedesktop.bolt.service[0C [ WARNING ] | ||
[4CWarning: Package fwupd-1.5.8-1.4.aarch64 installs an unknown D-BUS autostart/system service: org.freedesktop.fwupd.service[0C [ WARNING ] | ||
[4CWarning: Package systemd-249.4-2.2.aarch64 installs an unknown D-BUS autostart/system service: org.freedesktop.timesync1.service[0C [ WARNING ] | ||
[4CWarning: Package snapper-0.9.0-6.3.aarch64 installs an unknown D-BUS autostart/system service: org.opensuse.Snapper.service[0C [ WARNING ] | ||
[4CWarning: Package power-profiles-daemon-0.10.1-2.1.aarch64 installs an unknown D-BUS autostart/system service: net.hadess.PowerProfiles.conf[0C [ WARNING ] | ||
[4CWarning: Package iio-sensor-proxy-3.3-1.1.aarch64 installs an unknown D-BUS autostart/system service: net.hadess.SensorProxy.conf[0C [ WARNING ] | ||
[4CWarning: Package power-profiles-daemon-0.10.1-2.1.aarch64 installs an unknown D-BUS autostart/system service: net.hadess.PowerProfiles.service[0C [ WARNING ] | ||
[4CWarning: Package bluez-5.62-1.3.aarch64 installs an unknown D-BUS autostart/system service: org.bluez.service[0C [ WARNING ] | ||
[4CWarning: Package flatpak-1.12.2-1.1.aarch64 installs an unknown D-BUS autostart/system service: org.freedesktop.Flatpak.SystemHelper.service[0C [ WARNING ] | ||
[4CWarning: Package bolt-0.9.1-2.1.aarch64 installs an unknown D-BUS autostart/system service: org.freedesktop.bolt.service[0C [ WARNING ] | ||
[4CWarning: Package fwupd-1.6.4-1.1.aarch64 installs an unknown D-BUS autostart/system service: org.freedesktop.fwupd.service[0C [ WARNING ] | ||
[4CWarning: Package systemd-249.7-1.1.aarch64 installs an unknown D-BUS autostart/system service: org.freedesktop.timesync1.service[0C [ WARNING ] | ||
[4CWarning: Package snapper-0.9.0-7.1.aarch64 installs an unknown D-BUS autostart/system service: org.opensuse.Snapper.service[0C [ WARNING ] | ||
|
||
[WARNING]: Deprecated function used (wait_for_keypress) | ||
|
||
|
@@ -655,15 +600,15 @@ | |
|
||
[WARNING]: Deprecated function used (logtext) | ||
|
||
[4CNo bad RPATH usage found in 8117 executables[13C [ OK ] | ||
[4CNo bad RPATH usage found in 8132 executables[13C [ OK ] | ||
|
||
[WARNING]: Deprecated function used (wait_for_keypress) | ||
|
||
|
||
[+] File systems | ||
------------------------------------ | ||
|
||
[WARNING]: Test BINARY-1000 had a long execution: 168.754672 seconds | ||
[WARNING]: Test BINARY-1000 had a long execution: 116.596012 seconds | ||
|
||
[2C- Starting look-up of symlinks in /tmp...[18C | ||
|
||
|
@@ -717,7 +662,7 @@ | |
|
||
================================================================================ | ||
|
||
-[ Lynis 3.0.5 Results ]- | ||
-[ Lynis 3.0.6 Results ]- | ||
|
||
Warnings (2): | ||
---------------------------- | ||
|
@@ -727,9 +672,9 @@ | |
! iptables module(s) loaded, but no rules active [FIRE-4512] | ||
https://cisofy.com/lynis/controls/FIRE-4512/ | ||
|
||
Suggestions (41): | ||
Suggestions (42): | ||
---------------------------- | ||
* Version of Lynis outdated, consider upgrading to the latest version [LYNIS] | ||
* This release is more than 4 months old. Check the website or GitHub to see if there is an update available. [LYNIS] | ||
https://cisofy.com/lynis/controls/LYNIS/ | ||
|
||
* Set a password on GRUB boot loader to prevent altering boot configuration (e.g. boot in single user mode without password) [BOOT-5122] | ||
|
@@ -846,6 +791,9 @@ | |
* Enable sysstat to collect accounting (no results) [ACCT-9626] | ||
https://cisofy.com/lynis/controls/ACCT-9626/ | ||
|
||
* Audit daemon is enabled with an empty ruleset. Disable the daemon or define rules [ACCT-9630] | ||
https://cisofy.com/lynis/controls/ACCT-9630/ | ||
|
||
* Install a file integrity tool to monitor changes to critical and sensitive files [FINT-4350] | ||
https://cisofy.com/lynis/controls/FINT-4350/ | ||
|
||
|
@@ -879,8 +827,8 @@ | |
|
||
Lynis security scan details: | ||
|
||
Hardening index : 82 [################ ] | ||
Tests performed : 263 | ||
Hardening index : 81 [################ ] | ||
Tests performed : 264 | ||
Plugins enabled : 0 | ||
|
||
Components: | ||
|
@@ -900,11 +848,17 @@ | |
- Report data : /var/log/lynis-report.dat | ||
|
||
================================================================================ | ||
Notice: Lynis update available | ||
Current version : 305 Latest version : 306 | ||
|
||
Exceptions found | ||
Some exceptional events or information was found! | ||
|
||
What to do: | ||
You can help by providing your log file (/var/log/lynis.log). | ||
Go to https://cisofy.com/contact/ and send your file to the e-mail address listed | ||
|
||
================================================================================ | ||
|
||
Lynis 3.0.5 | ||
Lynis 3.0.6 | ||
|
||
Auditing, system hardening, and compliance for UNIX-based systems | ||
(Linux, macOS, BSD, and others) | ||
|
Oops, something went wrong.