-
Notifications
You must be signed in to change notification settings - Fork 266
/
baseline-lynis-audit-system-nocolors-15-SP3-aarch64-gnome
645 lines (528 loc) · 25.7 KB
/
baseline-lynis-audit-system-nocolors-15-SP3-aarch64-gnome
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
[ Lynis 2.6.1 ]
################################################################################
Lynis comes with ABSOLUTELY NO WARRANTY. This is free software, and you are
welcome to redistribute it under the terms of the GNU General Public License.
See the LICENSE file for details about using this software.
2007-2018, CISOfy - https://cisofy.com/lynis/
Enterprise support available (compliance, plugins, interface and tools)
################################################################################
[+] Initializing program
------------------------------------
[2C- Detecting OS... [41C [ DONE ]
[2C- Checking profiles...[37C [ DONE ]
---------------------------------------------------
Program version: 2.6.1
Operating system: Linux
Operating system name: Linux
Operating system version: 5.3.18-47-default
Kernel version: 5.3.18
Hardware platform: aarch64
Hostname: susetest
---------------------------------------------------
Profiles: /etc/lynis/default.prf
Log file: /var/log/lynis.log
Report file: /var/log/lynis-report.dat
Report version: 1.0
Plugin directory: /usr/share/lynis/plugins
---------------------------------------------------
Auditor: [Not Specified]
Language: en
Test category: all
Test group: all
---------------------------------------------------
[2C- Program update status... [32C [ WARNING ]
===============================================================================
Lynis update available
===============================================================================
Current version is more than 4 months old
Current version : 261 Latest version : 303
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
===============================================================================
[+] System Tools
------------------------------------
[2C- Scanning available tools...[30C
[2C- Checking system binaries...[30C
[+] Plugins (phase 1)
------------------------------------
[0CNote: plugins have more extensive tests and may take several minutes to complete[0C
[0C [0C
[2C- Plugins enabled[42C [ NONE ]
[+] Boot and services
------------------------------------
[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 [ WARNING ]
[2C- Check running services (systemctl)[23C [ DONE ]
[8CResult: found 32 running services[20C
[2C- Check enabled services at boot (systemctl)[15C [ DONE ]
[8CResult: found 29 enabled services[20C
[2C- Check startup files (permissions)[24C [ OK ]
[2C- Checking sulogin in rescue.service[23C [ NOT FOUND ]
[+] Kernel
------------------------------------
[2C- Checking default runlevel[32C [ runlevel 5 ]
[2C- Checking CPU support (NX/PAE)[28C
[4CCPU support: No PAE or NoeXecute supported[15C [ NONE ]
[2C- Checking kernel version and release[22C [ DONE ]
[2C- Checking kernel type[37C [ DONE ]
[2C- Checking loaded kernel modules[27C [ DONE ]
[6CFound 96 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 [ DISABLED ]
[4C- Checking setuid core dumps configuration[15C [ PROTECTED ]
[2C- Check if reboot is needed[32C [ UNKNOWN ]
[+] Memory and Processes
------------------------------------
[2C- Checking /proc/meminfo[35C [ FOUND ]
[2C- Searching for dead/zombie processes[22C [ OK ]
[2C- Searching for IO waiting processes[23C [ OK ]
[+] Users, Groups and Authentication
------------------------------------
[2C- Administrator accounts[35C [ OK ]
[2C- Unique UIDs[46C [ OK ]
[2C- Consistency of group files (grpck)[23C [ OK ]
[2C- Unique group IDs[41C [ OK ]
[2C- Unique group names[39C [ OK ]
[2C- Password file consistency[32C [ OK ]
[2C- Query system users (non daemons)[25C [ DONE ]
[2C- NIS+ authentication support[30C [ NOT ENABLED ]
[2C- NIS authentication support[31C [ NOT ENABLED ]
[2C- sudoers file[45C [ FOUND ]
[4C- Check sudoers file permissions[25C [ OK ]
[2C- PAM password strength tools[30C [ OK ]
[2C- PAM configuration file (pam.conf)[24C [ NOT FOUND ]
[2C- PAM configuration files (pam.d)[26C [ FOUND ]
[2C- PAM modules[46C [ FOUND ]
[2C- LDAP module in PAM[39C [ NOT FOUND ]
[2C- Accounts without expire date[29C [ OK ]
[2C- Accounts without password[32C [ OK ]
[2C- Checking user password aging (minimum)[19C [ DISABLED ]
[2C- User password aging (maximum)[28C [ DISABLED ]
[2C- Checking expired passwords[31C [ OK ]
[2C- Determining default umask[32C
[4C- umask (/etc/profile)[35C [ NOT FOUND ]
[4C- umask (/etc/login.defs)[32C [ SUGGESTION ]
[2C- LDAP authentication support[30C [ NOT ENABLED ]
[2C- Logging failed login attempts[28C [ DISABLED ]
[+] Shells
------------------------------------
[2C- Checking shells from /etc/shells[25C
[4CResult: found 24 shells (valid shells: 16).[14C
[4C- Session timeout settings/tools[25C [ NONE ]
[2C- Checking default umask values[28C
[4C- Checking default umask in /etc/bash.bashrc[13C [ NONE ]
[4C- Checking default umask in /etc/csh.cshrc[15C [ NONE ]
[4C- Checking default umask in /etc/profile[17C [ NONE ]
[+] File systems
------------------------------------
[2C- Checking mount points[36C
[4C- Checking /home mount point[29C [ OK ]
[4C- Checking /tmp mount point[30C [ OK ]
[4C- Checking /var mount point[30C [ OK ]
[2C- Query swap partitions (fstab)[28C [ OK ]
[2C- Testing swap partitions[34C [ OK ]
[2C- Testing /proc mount (hidepid)[28C [ SUGGESTION ]
[2C- Checking for old files in /tmp[27C [ OK ]
[2C- Checking /tmp sticky bit[33C [ OK ]
[2C- Checking /var/tmp sticky bit[29C [ OK ]
[2C- ACL support root file system[29C [ ENABLED ]
[2C- Mount options of /[39C [ OK ]
[2C- Mount options of /home[35C [ NON DEFAULT ]
[2C- Mount options of /tmp[36C [ NON DEFAULT ]
[2C- Mount options of /var[36C [ NON DEFAULT ]
[2C- Disable kernel support of some filesystems[15C
[4C- Discovered kernel modules: cramfs hfsplus squashfs udf [0C
[+] USB Devices
------------------------------------
[2C- Checking usb-storage driver (modprobe config)[12C [ NOT DISABLED ]
[2C- Checking USB devices authorization[23C [ ENABLED ]
[2C- Checking USBGuard[40C [ NOT FOUND ]
[+] Storage
------------------------------------
[2C- Checking firewire ohci driver (modprobe config)[10C [ NOT DISABLED ]
[+] NFS
------------------------------------
[2C- Query rpc registered programs[28C [ DONE ]
[2C- Query NFS versions[39C [ DONE ]
[2C- Query NFS protocols[38C [ DONE ]
[2C- Check running NFS daemon[33C [ NOT FOUND ]
[+] Name services
------------------------------------
[2C- Searching DNS domain name[32C [ UNKNOWN ]
[2C- Checking nscd status[37C [ RUNNING ]
[2C- Checking /etc/hosts[38C
[4C- Checking /etc/hosts (duplicates)[23C [ OK ]
[4C- Checking /etc/hosts (hostname)[25C [ SUGGESTION ]
[4C- Checking /etc/hosts (localhost)[24C [ OK ]
[4C- Checking /etc/hosts (localhost to IP)[18C [ OK ]
[+] Ports and packages
------------------------------------
[2C- Searching package managers[31C
[4C- Searching RPM package manager[26C [ FOUND ]
[6C- Querying RPM package manager[25C
[2C- Using Zypper to find vulnerable packages[17C [ NONE ]
[2C- Checking package audit tool[30C [ INSTALLED ]
[4CFound: zypper[44C
[+] Networking
------------------------------------
[2C- Checking IPv6 configuration[30C [ ENABLED ]
[6CConfiguration method[35C [ AUTO ]
[6CIPv6 only[46C [ NO ]
[2C- Checking configured nameservers[26C
[4C- Testing nameservers[36C
[8CNameserver: 10.0.2.3[33C [ OK ]
[4C- Minimal of 2 responsive nameservers[20C [ WARNING ]
[2C- Getting listening ports (TCP/UDP)[24C [ DONE ]
[6C* Found 5 ports[40C
[2C- Checking status DHCP client[30C [ NOT ACTIVE ]
[2C- Checking for ARP monitoring software[21C [ NOT FOUND ]
[+] Printers and Spools
------------------------------------
[2C- Checking cups daemon[37C [ NOT FOUND ]
[2C- Checking lp daemon[39C [ NOT RUNNING ]
[+] Software: e-mail and messaging
------------------------------------
[2C- Postfix status[43C [ RUNNING ]
[4C- Postfix configuration[34C [ FOUND ]
[+] Software: firewalls
------------------------------------
[2C- Checking iptables kernel module[26C [ FOUND ]
[4C- Checking iptables policies of chains[19C [ FOUND ]
[4C- Checking for empty ruleset[29C [ OK ]
[4C- Checking for unused rules[30C [ FOUND ]
[2C- Checking host based firewall[29C [ ACTIVE ]
[+] Software: webserver
------------------------------------
[2C- Checking Apache (binary /usr/sbin/httpd2-prefork)[8C [ FOUND ]
[6CInfo: Configuration file found (/etc/apache2/httpd.conf)[0C
[6CInfo: No virtual hosts found[27C
[4C* Loadable modules[39C [ FOUND (117) ]
[8C- Found 117 loadable modules[25C
[10Cmod_evasive: anti-DoS/brute force[18C [ NOT FOUND ]
[10Cmod_reqtimeout/mod_qos[29C [ FOUND ]
[10CModSecurity: web application firewall[14C [ NOT FOUND ]
[2C- Checking nginx[43C [ NOT FOUND ]
[+] SSH Support
------------------------------------
[2C- Checking running SSH daemon[30C [ FOUND ]
[4C- Searching SSH configuration[28C [ FOUND ]
[4C- SSH option: AllowTcpForwarding[25C [ SUGGESTION ]
[4C- SSH option: ClientAliveCountMax[24C [ SUGGESTION ]
[4C- SSH option: ClientAliveInterval[24C [ OK ]
[4C- SSH option: Compression[32C [ SUGGESTION ]
[4C- SSH option: FingerprintHash[28C [ OK ]
[4C- SSH option: GatewayPorts[31C [ OK ]
[4C- SSH option: IgnoreRhosts[31C [ OK ]
[4C- SSH option: LoginGraceTime[29C [ OK ]
[4C- SSH option: LogLevel[35C [ SUGGESTION ]
[4C- SSH option: MaxAuthTries[31C [ SUGGESTION ]
[4C- SSH option: MaxSessions[32C [ SUGGESTION ]
[4C- SSH option: PermitRootLogin[28C [ SUGGESTION ]
[4C- SSH option: PermitUserEnvironment[22C [ OK ]
[4C- SSH option: PermitTunnel[31C [ OK ]
[4C- SSH option: Port[39C [ SUGGESTION ]
[4C- SSH option: PrintLastLog[31C [ OK ]
[4C- SSH option: Protocol[35C [ NOT FOUND ]
[4C- SSH option: StrictModes[32C [ OK ]
[4C- SSH option: TCPKeepAlive[31C [ SUGGESTION ]
[4C- SSH option: UseDNS[37C [ OK ]
[4C- SSH option: UsePrivilegeSeparation[21C [ NOT FOUND ]
[4C- SSH option: VerifyReverseMapping[23C [ NOT FOUND ]
[4C- SSH option: X11Forwarding[30C [ SUGGESTION ]
[4C- SSH option: AllowAgentForwarding[23C [ SUGGESTION ]
[4C- SSH option: AllowUsers[33C [ NOT FOUND ]
[4C- SSH option: AllowGroups[32C [ NOT FOUND ]
[+] SNMP Support
------------------------------------
[2C- Checking running SNMP daemon[29C [ NOT FOUND ]
[+] Databases
------------------------------------
[4CNo database engines found[32C
[+] LDAP Services
------------------------------------
[2C- Checking OpenLDAP instance[31C [ NOT FOUND ]
[+] PHP
------------------------------------
[2C- Checking PHP[45C [ NOT FOUND ]
[+] Squid Support
------------------------------------
[2C- Checking running Squid daemon[28C [ NOT FOUND ]
[+] Logging and files
------------------------------------
[2C- Checking for a running log daemon[24C [ OK ]
[4C- Checking Syslog-NG status[30C [ NOT FOUND ]
[4C- Checking systemd journal status[24C [ FOUND ]
[4C- Checking Metalog status[32C [ NOT FOUND ]
[4C- Checking RSyslog status[32C [ FOUND ]
[4C- Checking RFC 3195 daemon status[24C [ NOT FOUND ]
[4C- Checking minilogd instances[28C [ NOT FOUND ]
[2C- Checking logrotate presence[30C [ OK ]
[2C- Checking log directories (static list)[19C [ DONE ]
[2C- Checking open log files[34C [ DONE ]
[2C- Checking deleted files in use[28C [ FILES FOUND ]
[+] Insecure services
------------------------------------
[2C- Checking inetd status[36C [ NOT ACTIVE ]
[+] Banners and identification
------------------------------------
[2C- /etc/issue[47C [ SYMLINK ]
[4C- /etc/issue contents[36C [ WEAK ]
[2C- /etc/issue.net[43C [ NOT FOUND ]
[+] Scheduled tasks
------------------------------------
[2C- Checking crontab/cronjob[33C [ DONE ]
[+] Accounting
------------------------------------
[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 configuration file[22C [ OK ]
[4C- Checking auditd log file[31C [ FOUND ]
[+] Time and Synchronization
------------------------------------
[+] Cryptography
------------------------------------
[2C- Checking for expired SSL certificates [0/2][14C [ NONE ]
[+] Virtualization
------------------------------------
[+] Containers
------------------------------------
[+] Security frameworks
------------------------------------
[2C- Checking presence AppArmor[31C [ FOUND ]
[4C- Checking AppArmor status[31C [ ENABLED ]
[2C- Checking presence SELinux[32C [ NOT FOUND ]
[2C- Checking presence grsecurity[29C [ NOT FOUND ]
[2C- Checking for implemented MAC framework[19C [ OK ]
[+] Software: file integrity
------------------------------------
[2C- Checking file integrity tools[28C
[2C- Checking presence integrity tool[25C [ NOT FOUND ]
[+] Software: System tooling
------------------------------------
[2C- Checking automation tooling[30C
[2C- Automation tooling[39C [ NOT FOUND ]
[2C- Checking for IDS/IPS tooling[29C [ NONE ]
[+] Software: Malware
------------------------------------
[+] File Permissions
------------------------------------
[2C- Starting file permissions check[26C
[4C/root/.ssh[47C [ OK ]
[+] Home directories
------------------------------------
[2C- Checking shell history files[29C [ OK ]
[+] Kernel Hardening
------------------------------------
[2C- Comparing sysctl key pairs with scan profile[13C
[4C- fs.protected_hardlinks (exp: 1)[24C [ OK ]
[4C- fs.protected_symlinks (exp: 1)[25C [ OK ]
[4C- fs.suid_dumpable (exp: 0)[30C [ DIFFERENT ]
[4C- kernel.core_uses_pid (exp: 1)[26C [ DIFFERENT ]
[4C- kernel.ctrl-alt-del (exp: 0)[27C [ OK ]
[4C- kernel.dmesg_restrict (exp: 1)[25C [ OK ]
[4C- kernel.kptr_restrict (exp: 2)[26C [ DIFFERENT ]
[4C- kernel.randomize_va_space (exp: 2)[21C [ OK ]
[4C- kernel.suid_dumpable (exp: 0)[26C [ DIFFERENT ]
[4C- kernel.sysrq (exp: 0)[34C [ DIFFERENT ]
[4C- net.ipv4.conf.all.accept_redirects (exp: 0)[12C [ OK ]
[4C- net.ipv4.conf.all.accept_source_route (exp: 0)[9C [ OK ]
[4C- net.ipv4.conf.all.bootp_relay (exp: 0)[17C [ OK ]
[4C- net.ipv4.conf.all.forwarding (exp: 0)[18C [ OK ]
[4C- net.ipv4.conf.all.log_martians (exp: 1)[16C [ DIFFERENT ]
[4C- net.ipv4.conf.all.mc_forwarding (exp: 0)[15C [ OK ]
[4C- net.ipv4.conf.all.proxy_arp (exp: 0)[19C [ OK ]
[4C- net.ipv4.conf.all.rp_filter (exp: 1)[19C [ DIFFERENT ]
[4C- net.ipv4.conf.all.send_redirects (exp: 0)[14C [ DIFFERENT ]
[4C- net.ipv4.conf.default.accept_redirects (exp: 0)[8C [ OK ]
[4C- net.ipv4.conf.default.accept_source_route (exp: 0)[5C [ OK ]
[4C- net.ipv4.conf.default.log_martians (exp: 1)[12C [ DIFFERENT ]
[4C- net.ipv4.icmp_echo_ignore_broadcasts (exp: 1)[10C [ OK ]
[4C- net.ipv4.icmp_ignore_bogus_error_responses (exp: 1)[4C [ OK ]
[4C- net.ipv4.tcp_syncookies (exp: 1)[23C [ OK ]
[4C- net.ipv4.tcp_timestamps (exp: 0 1)[21C [ OK ]
[4C- net.ipv6.conf.all.accept_redirects (exp: 0)[12C [ OK ]
[4C- net.ipv6.conf.all.accept_source_route (exp: 0)[9C [ OK ]
[4C- net.ipv6.conf.default.accept_redirects (exp: 0)[8C [ OK ]
[4C- net.ipv6.conf.default.accept_source_route (exp: 0)[5C [ OK ]
[+] Hardening
------------------------------------
[4C- Installed compiler(s)[34C [ FOUND ]
[4C- Installed malware scanner[30C [ NOT FOUND ]
[+] System Tools
------------------------------------
[2C- Starting dbus policy check...[28C
[4CWarning: Package autofs-5.1.3-7.3.1.aarch64 installs an unknown D-BUS autostart/system service: org.freedesktop.AutoMount.conf[0C [ WARNING ]
[4CWarning: Package geoclue2-2.5.4-1.32.aarch64 installs an unknown D-BUS autostart/system service: org.freedesktop.GeoClue2.Agent.conf[0C [ WARNING ]
[4CWarning: Package geoclue2-2.5.4-1.32.aarch64 installs an unknown D-BUS autostart/system service: org.freedesktop.GeoClue2.conf[0C [ WARNING ]
[4CWarning: Package wicked-0.6.64-3.3.4.aarch64 installs an unknown D-BUS autostart/system service: org.opensuse.Network.AUTO4.conf[0C [ WARNING ]
[4CWarning: Package wicked-0.6.64-3.3.4.aarch64 installs an unknown D-BUS autostart/system service: org.opensuse.Network.DHCP4.conf[0C [ WARNING ]
[4CWarning: Package wicked-0.6.64-3.3.4.aarch64 installs an unknown D-BUS autostart/system service: org.opensuse.Network.DHCP6.conf[0C [ WARNING ]
[4CWarning: Package wicked-0.6.64-3.3.4.aarch64 installs an unknown D-BUS autostart/system service: org.opensuse.Network.Nanny.conf[0C [ WARNING ]
[4CWarning: Package wicked-0.6.64-3.3.4.aarch64 installs an unknown D-BUS autostart/system service: org.opensuse.Network.conf[0C [ WARNING ]
[4CWarning: Package snapper-0.8.15-1.28.aarch64 installs an unknown D-BUS autostart/system service: org.opensuse.Snapper.conf[0C [ WARNING ]
[4CWarning: Package bluez-5.55-1.52.aarch64 installs an unknown D-BUS autostart/system service: org.bluez.service[0C [ WARNING ]
[4CWarning: Package flatpak-1.10.1-1.11.aarch64 installs an unknown D-BUS autostart/system service: org.freedesktop.Flatpak.SystemHelper.service[0C [ WARNING ]
[4CWarning: Package geoclue2-2.5.4-1.32.aarch64 installs an unknown D-BUS autostart/system service: org.freedesktop.GeoClue2.service[0C [ WARNING ]
[4CWarning: Package fwupd-1.5.3-1.32.aarch64 installs an unknown D-BUS autostart/system service: org.freedesktop.fwupd.service[0C [ WARNING ]
[4CWarning: Package systemd-246.10-1.5.aarch64 installs an unknown D-BUS autostart/system service: org.freedesktop.timesync1.service[0C [ WARNING ]
[4CWarning: Package snapper-0.8.15-1.28.aarch64 installs an unknown D-BUS autostart/system service: org.opensuse.Snapper.service[0C [ WARNING ]
[+] Users, Groups and Authentication
------------------------------------
[2C- Starting password check for users...[21C
[+] Binary integrity
------------------------------------
[2C- Starting binary RPATH check...[27C
[4CNo bad RPATH usage found in 6180 executables[13C [ OK ]
[+] File systems
------------------------------------
[2C- Starting look-up of symlinks in /tmp...[18C
[+] File systems
------------------------------------
[2C- Starting file permissions check for world-writeable files...[0C
[4C/tmp is world-writeable[34C [ WARNING ]
[+] Memory and processes
------------------------------------
[2C- Starting look-up of 'nobody' processes...[16C
[+] Networking
------------------------------------
[2C- Starting verifying open network ports (22 25 80 111 443)...[0C
[+] Custom Tests
------------------------------------
[2C- Running custom tests... [33C [ NONE ]
[+] Plugins (phase 2)
------------------------------------
================================================================================
-[ Lynis 2.6.1 Results ]-
Warnings (2):
----------------------------
! Version of Lynis is very old and should be updated [LYNIS]
https://cisofy.com/controls/LYNIS/
! Couldn't find 2 responsive nameservers [NETW-2705]
https://cisofy.com/controls/NETW-2705/
Suggestions (35):
----------------------------
* Set a password on GRUB bootloader to prevent altering boot configuration (e.g. boot in single user mode without password) [BOOT-5122]
https://cisofy.com/controls/BOOT-5122/
* Protect rescue.service by using sulogin [BOOT-5260]
https://cisofy.com/controls/BOOT-5260/
* Use a PAE enabled kernel when possible to gain native No eXecute/eXecute Disable support [KRNL-5677]
https://cisofy.com/controls/KRNL-5677/
* Configure minimum password age in /etc/login.defs [AUTH-9286]
https://cisofy.com/controls/AUTH-9286/
* Configure maximum password age in /etc/login.defs [AUTH-9286]
https://cisofy.com/controls/AUTH-9286/
* Default umask in /etc/login.defs could be more strict like 027 [AUTH-9328]
https://cisofy.com/controls/AUTH-9328/
* Disable drivers like USB storage when not used, to prevent unauthorized storage or data theft [STRG-1840]
https://cisofy.com/controls/STRG-1840/
* Disable drivers like firewire storage when not used, to prevent unauthorized storage or data theft [STRG-1846]
https://cisofy.com/controls/STRG-1846/
* Check DNS configuration for the dns domain name [NAME-4028]
https://cisofy.com/controls/NAME-4028/
* Add the IP name and FQDN to /etc/hosts for proper name resolving [NAME-4404]
https://cisofy.com/controls/NAME-4404/
* Check your resolv.conf file and fill in a backup nameserver if possible [NETW-2705]
https://cisofy.com/controls/NETW-2705/
* Consider running ARP monitoring software (arpwatch,arpon) [NETW-3032]
https://cisofy.com/controls/NETW-3032/
* Check iptables rules to see which rules are currently not used [FIRE-4513]
https://cisofy.com/controls/FIRE-4513/
* Install Apache mod_evasive to guard webserver against DoS/brute force attempts [HTTP-6640]
https://cisofy.com/controls/HTTP-6640/
* Install Apache modsecurity to guard webserver against web application attacks [HTTP-6643]
https://cisofy.com/controls/HTTP-6643/
* Consider hardening SSH configuration [SSH-7408]
- Details : AllowTcpForwarding (YES --> NO)
https://cisofy.com/controls/SSH-7408/
* Consider hardening SSH configuration [SSH-7408]
- Details : ClientAliveCountMax (3 --> 2)
https://cisofy.com/controls/SSH-7408/
* Consider hardening SSH configuration [SSH-7408]
- Details : Compression (YES --> (DELAYED|NO))
https://cisofy.com/controls/SSH-7408/
* Consider hardening SSH configuration [SSH-7408]
- Details : LogLevel (INFO --> VERBOSE)
https://cisofy.com/controls/SSH-7408/
* Consider hardening SSH configuration [SSH-7408]
- Details : MaxAuthTries (6 --> 2)
https://cisofy.com/controls/SSH-7408/
* Consider hardening SSH configuration [SSH-7408]
- Details : MaxSessions (10 --> 2)
https://cisofy.com/controls/SSH-7408/
* Consider hardening SSH configuration [SSH-7408]
- Details : PermitRootLogin (YES --> NO)
https://cisofy.com/controls/SSH-7408/
* Consider hardening SSH configuration [SSH-7408]
- Details : Port (22 --> )
https://cisofy.com/controls/SSH-7408/
* Consider hardening SSH configuration [SSH-7408]
- Details : TCPKeepAlive (YES --> NO)
https://cisofy.com/controls/SSH-7408/
* Consider hardening SSH configuration [SSH-7408]
- Details : X11Forwarding (YES --> NO)
https://cisofy.com/controls/SSH-7408/
* Consider hardening SSH configuration [SSH-7408]
- Details : AllowAgentForwarding (YES --> NO)
https://cisofy.com/controls/SSH-7408/
* Check what deleted files are still in use and why. [LOGG-2190]
https://cisofy.com/controls/LOGG-2190/
* Add a legal banner to /etc/issue, to warn unauthorized users [BANN-7126]
https://cisofy.com/controls/BANN-7126/
* Enable process accounting [ACCT-9622]
https://cisofy.com/controls/ACCT-9622/
* Enable sysstat to collect accounting (no results) [ACCT-9626]
https://cisofy.com/controls/ACCT-9626/
* Install a file integrity tool to monitor changes to critical and sensitive files [FINT-4350]
https://cisofy.com/controls/FINT-4350/
* Determine if automation tools are present for system management [TOOL-5002]
https://cisofy.com/controls/TOOL-5002/
* One or more sysctl values differ from the scan profile and could be tweaked [KRNL-6000]
- Solution : Change sysctl value or disable test (skip-test=KRNL-6000:<sysctl-key>)
https://cisofy.com/controls/KRNL-6000/
* Harden compilers like restricting access to root user only [HRDN-7222]
https://cisofy.com/controls/HRDN-7222/
* Harden the system by installing at least one malware scanner, to perform periodic file system scans [HRDN-7230]
- Solution : Install a tool like rkhunter, chkrootkit, OSSEC
https://cisofy.com/controls/HRDN-7230/
Follow-up:
----------------------------
- Show details of a test (lynis show details TEST-ID)
- Check the logfile for all details (less /var/log/lynis.log)
- Read security controls texts (https://cisofy.com)
- Use --upload to upload data to central system (Lynis Enterprise users)
================================================================================
Lynis security scan details:
Hardening index : 91 [################## ]
Tests performed : 222
Plugins enabled : 0
Components:
- Firewall [V]
- Malware scanner [X]
Lynis Modules:
- Compliance Status [?]
- Security Audit [V]
- Vulnerability Scan [V]
Files:
- Test and debug information : /var/log/lynis.log
- Report data : /var/log/lynis-report.dat
================================================================================
Notice: Lynis update available
Current version : 261 Latest version : 303
================================================================================
Lynis 2.6.1
Auditing, system hardening, and compliance for UNIX-based systems
(Linux, macOS, BSD, and others)
2007-2018, CISOfy - https://cisofy.com/lynis/
Enterprise support available (compliance, plugins, interface and tools)
================================================================================
[TIP]: Enhance Lynis audits by adding your settings to custom.prf (see /etc/lynis/default.prf for all settings)