DEPLOY BOT: Auto-Generate *.html from *.md [skip ci]
This commit is contained in:
8
docs/AUDIT_DNSSEC.html
Normal file
8
docs/AUDIT_DNSSEC.html
Normal file
@@ -0,0 +1,8 @@
|
||||
<h1 id="1-cissdebianlivebuilder">1. CISS.debian.live.builder</h1>
|
||||
<p><strong>Centurion Intelligence Consulting Agency Information Security Standard</strong><br> <em>Debian Live Build Generator for hardened live environment and CISS Debian Installer</em><br> <strong>Master Version</strong>: 8.02<br> <strong>Build</strong>: V8.03.127.2025.06.02<br></p>
|
||||
<h1 id="2-dnssec-status">2. DNSSEC Status</h1>
|
||||
<p>This is an auto-generated overview of the DNSSEC status of <code>coresecret.dev</code> at the time of the last human-initiated push event.</p>
|
||||
<p><img src="SECURITY/coresecret.dev.png" alt="DNSSEC Status" /></p>
|
||||
<hr />
|
||||
<p><strong><a href="https://coresecret.eu/">no tracking | no logging | no advertising | no profiling | no bullshit</a></strong></p>
|
||||
|
||||
137
docs/AUDIT_HAVEGED.html
Normal file
137
docs/AUDIT_HAVEGED.html
Normal file
@@ -0,0 +1,137 @@
|
||||
<h1 id="1-cissdebianlivebuilder">1. CISS.debian.live.builder</h1>
|
||||
<p><strong>Centurion Intelligence Consulting Agency Information Security Standard</strong><br> <em>Debian Live Build Generator for hardened live environment and CISS Debian Installer</em><br> <strong>Master Version</strong>: 8.02<br> <strong>Build</strong>: V8.03.127.2025.06.02<br></p>
|
||||
<h1 id="2-haveged-audit-on-netcup-rs-2000-g11">2. Haveged Audit on Netcup RS 2000 G11</h1>
|
||||
<pre class="text"><code>Mon May 19|root@live:~/>>0|~$ haveged -n 0 | dieharder -g 200 -a
|
||||
haveged: command socket is listening at fd 3
|
||||
Writing unlimited bytes to stdout
|
||||
#=============================================================================#
|
||||
# dieharder version 3.31.1 Copyright 2003 Robert G. Brown #
|
||||
#=============================================================================#
|
||||
rng_name |rands/second| Seed |
|
||||
stdin_input_raw| 1.77e+07 |1806134257|
|
||||
#=============================================================================#
|
||||
test_name |ntup| tsamples |psamples| p-value |Assessment
|
||||
#=============================================================================#
|
||||
diehard_birthdays| 0| 100| 100|0.21358950| PASSED
|
||||
diehard_operm5| 0| 1000000| 100|0.23365564| PASSED
|
||||
diehard_rank_32x32| 0| 40000| 100|0.33364435| PASSED
|
||||
diehard_rank_6x8| 0| 100000| 100|0.83680113| PASSED
|
||||
diehard_bitstream| 0| 2097152| 100|0.89183344| PASSED
|
||||
diehard_opso| 0| 2097152| 100|0.95817018| PASSED
|
||||
diehard_oqso| 0| 2097152| 100|0.25923499| PASSED
|
||||
diehard_dna| 0| 2097152| 100|0.28604687| PASSED
|
||||
diehard_count_1s_str| 0| 256000| 100|0.25146863| PASSED
|
||||
diehard_count_1s_byt| 0| 256000| 100|0.64817854| PASSED
|
||||
diehard_parking_lot| 0| 12000| 100|0.68180941| PASSED
|
||||
diehard_2dsphere| 2| 8000| 100|0.52576112| PASSED
|
||||
diehard_3dsphere| 3| 4000| 100|0.02636962| PASSED
|
||||
diehard_squeeze| 0| 100000| 100|0.81226498| PASSED
|
||||
diehard_sums| 0| 100| 100|0.54642776| PASSED
|
||||
diehard_runs| 0| 100000| 100|0.98440072| PASSED
|
||||
diehard_runs| 0| 100000| 100|0.75118526| PASSED
|
||||
diehard_craps| 0| 200000| 100|0.93104571| PASSED
|
||||
diehard_craps| 0| 200000| 100|0.45994663| PASSED
|
||||
marsaglia_tsang_gcd| 0| 10000000| 100|0.38263075| PASSED
|
||||
marsaglia_tsang_gcd| 0| 10000000| 100|0.16784328| PASSED
|
||||
sts_monobit| 1| 100000| 100|0.26368088| PASSED
|
||||
sts_runs| 2| 100000| 100|0.10069666| PASSED
|
||||
sts_serial| 1| 100000| 100|0.53426480| PASSED
|
||||
sts_serial| 2| 100000| 100|0.95654933| PASSED
|
||||
sts_serial| 3| 100000| 100|0.75042664| PASSED
|
||||
sts_serial| 3| 100000| 100|0.27693306| PASSED
|
||||
sts_serial| 4| 100000| 100|0.79225401| PASSED
|
||||
sts_serial| 4| 100000| 100|0.49273684| PASSED
|
||||
sts_serial| 5| 100000| 100|0.58017632| PASSED
|
||||
sts_serial| 5| 100000| 100|0.39423250| PASSED
|
||||
sts_serial| 6| 100000| 100|0.72811005| PASSED
|
||||
sts_serial| 6| 100000| 100|0.94342669| PASSED
|
||||
sts_serial| 7| 100000| 100|0.98343053| PASSED
|
||||
sts_serial| 7| 100000| 100|0.74692814| PASSED
|
||||
sts_serial| 8| 100000| 100|0.56538653| PASSED
|
||||
sts_serial| 8| 100000| 100|0.91826111| PASSED
|
||||
sts_serial| 9| 100000| 100|0.63502589| PASSED
|
||||
sts_serial| 9| 100000| 100|0.28959825| PASSED
|
||||
sts_serial| 10| 100000| 100|0.74650890| PASSED
|
||||
sts_serial| 10| 100000| 100|0.95475310| PASSED
|
||||
sts_serial| 11| 100000| 100|0.35838186| PASSED
|
||||
sts_serial| 11| 100000| 100|0.80481197| PASSED
|
||||
sts_serial| 12| 100000| 100|0.74700860| PASSED
|
||||
sts_serial| 12| 100000| 100|0.49849890| PASSED
|
||||
sts_serial| 13| 100000| 100|0.55828107| PASSED
|
||||
sts_serial| 13| 100000| 100|0.23244603| PASSED
|
||||
sts_serial| 14| 100000| 100|0.23080285| PASSED
|
||||
sts_serial| 14| 100000| 100|0.83936220| PASSED
|
||||
sts_serial| 15| 100000| 100|0.64411755| PASSED
|
||||
sts_serial| 15| 100000| 100|0.99255934| PASSED
|
||||
sts_serial| 16| 100000| 100|0.00563047| PASSED
|
||||
sts_serial| 16| 100000| 100|0.31608374| PASSED
|
||||
rgb_bitdist| 1| 100000| 100|0.64550890| PASSED
|
||||
rgb_bitdist| 2| 100000| 100|0.87656240| PASSED
|
||||
rgb_bitdist| 3| 100000| 100|0.67169827| PASSED
|
||||
rgb_bitdist| 4| 100000| 100|0.44406906| PASSED
|
||||
rgb_bitdist| 5| 100000| 100|0.67772729| PASSED
|
||||
rgb_bitdist| 6| 100000| 100|0.73853919| PASSED
|
||||
rgb_bitdist| 7| 100000| 100|0.86999808| PASSED
|
||||
rgb_bitdist| 8| 100000| 100|0.01313259| PASSED
|
||||
rgb_bitdist| 9| 100000| 100|0.55009611| PASSED
|
||||
rgb_bitdist| 10| 100000| 100|0.70726109| PASSED
|
||||
rgb_bitdist| 11| 100000| 100|0.03154815| PASSED
|
||||
rgb_bitdist| 12| 100000| 100|0.84462282| PASSED
|
||||
rgb_minimum_distance| 2| 10000| 1000|0.83132423| PASSED
|
||||
rgb_minimum_distance| 3| 10000| 1000|0.68188237| PASSED
|
||||
rgb_minimum_distance| 4| 10000| 1000|0.51409655| PASSED
|
||||
rgb_minimum_distance| 5| 10000| 1000|0.42544360| PASSED
|
||||
rgb_permutations| 2| 100000| 100|0.66313395| PASSED
|
||||
rgb_permutations| 3| 100000| 100|0.95535890| PASSED
|
||||
rgb_permutations| 4| 100000| 100|0.45758425| PASSED
|
||||
rgb_permutations| 5| 100000| 100|0.98313853| PASSED
|
||||
rgb_lagged_sum| 0| 1000000| 100|0.41578816| PASSED
|
||||
rgb_lagged_sum| 1| 1000000| 100|0.76861829| PASSED
|
||||
rgb_lagged_sum| 2| 1000000| 100|0.43447789| PASSED
|
||||
rgb_lagged_sum| 3| 1000000| 100|0.49698037| PASSED
|
||||
rgb_lagged_sum| 4| 1000000| 100|0.02212798| PASSED
|
||||
rgb_lagged_sum| 5| 1000000| 100|0.04465057| PASSED
|
||||
rgb_lagged_sum| 6| 1000000| 100|0.10526977| PASSED
|
||||
rgb_lagged_sum| 7| 1000000| 100|0.79849751| PASSED
|
||||
rgb_lagged_sum| 8| 1000000| 100|0.83675235| PASSED
|
||||
rgb_lagged_sum| 9| 1000000| 100|0.37604856| PASSED
|
||||
rgb_lagged_sum| 10| 1000000| 100|0.46712205| PASSED
|
||||
rgb_lagged_sum| 11| 1000000| 100|0.16098525| PASSED
|
||||
rgb_lagged_sum| 12| 1000000| 100|0.81557499| PASSED
|
||||
rgb_lagged_sum| 13| 1000000| 100|0.11553821| PASSED
|
||||
rgb_lagged_sum| 14| 1000000| 100|0.85637944| PASSED
|
||||
rgb_lagged_sum| 15| 1000000| 100|0.91125298| PASSED
|
||||
rgb_lagged_sum| 16| 1000000| 100|0.59747378| PASSED
|
||||
rgb_lagged_sum| 17| 1000000| 100|0.70077562| PASSED
|
||||
rgb_lagged_sum| 18| 1000000| 100|0.66815407| PASSED
|
||||
rgb_lagged_sum| 19| 1000000| 100|0.04941226| PASSED
|
||||
rgb_lagged_sum| 20| 1000000| 100|0.37939018| PASSED
|
||||
rgb_lagged_sum| 21| 1000000| 100|0.42653722| PASSED
|
||||
rgb_lagged_sum| 22| 1000000| 100|0.86316011| PASSED
|
||||
rgb_lagged_sum| 23| 1000000| 100|0.43038293| PASSED
|
||||
rgb_lagged_sum| 24| 1000000| 100|0.34472083| PASSED
|
||||
rgb_lagged_sum| 25| 1000000| 100|0.73741194| PASSED
|
||||
rgb_lagged_sum| 26| 1000000| 100|0.05584980| PASSED
|
||||
rgb_lagged_sum| 27| 1000000| 100|0.80601600| PASSED
|
||||
rgb_lagged_sum| 28| 1000000| 100|0.99361052| PASSED
|
||||
rgb_lagged_sum| 29| 1000000| 100|0.27812997| PASSED
|
||||
rgb_lagged_sum| 30| 1000000| 100|0.94547008| PASSED
|
||||
rgb_lagged_sum| 31| 1000000| 100|0.02400797| PASSED
|
||||
rgb_lagged_sum| 32| 1000000| 100|0.98890248| PASSED
|
||||
rgb_kstest_test| 0| 10000| 1000|0.53680166| PASSED
|
||||
dab_bytedistrib| 0| 51200000| 1|0.38634245| PASSED
|
||||
dab_dct| 256| 50000| 1|0.02760776| PASSED
|
||||
Preparing to run test 207. ntuple = 0
|
||||
dab_filltree| 32| 15000000| 1|0.47264235| PASSED
|
||||
dab_filltree| 32| 15000000| 1|0.49416126| PASSED
|
||||
Preparing to run test 208. ntuple = 0
|
||||
dab_filltree2| 0| 5000000| 1|0.12940766| PASSED
|
||||
dab_filltree2| 1| 5000000| 1|0.40415388| PASSED
|
||||
Preparing to run test 209. ntuple = 0
|
||||
dab_monobit2| 12| 65000000| 1|0.51567978| PASSED
|
||||
haveged: Cannot write data in file: Broken pipe
|
||||
tot tests(BA8): A:1/1 B:1/1 last entropy estimate 8.00294
|
||||
fills: 470064, generated: 229.5 G bytes</code></pre>
|
||||
<hr />
|
||||
<p><strong><a href="https://coresecret.eu/">no tracking | no logging | no advertising | no profiling | no bullshit</a></strong></p>
|
||||
|
||||
611
docs/AUDIT_LYNIS.html
Normal file
611
docs/AUDIT_LYNIS.html
Normal file
@@ -0,0 +1,611 @@
|
||||
<h1 id="1-cissdebianlivebuilder">1. CISS.debian.live.builder</h1>
|
||||
<p><strong>Centurion Intelligence Consulting Agency Information Security Standard</strong><br> <em>Debian Live Build Generator for hardened live environment and CISS Debian Installer</em><br> <strong>Master Version</strong>: 8.02<br> <strong>Build</strong>: V8.03.127.2025.06.02<br></p>
|
||||
<h1 id="2-lynis-audit">2. Lynis Audit:</h1>
|
||||
<pre class="text"><code>[ Lynis 3.1.4 ]
|
||||
|
||||
################################################################################
|
||||
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-2024, CISOfy - https://cisofy.com/lynis/
|
||||
Enterprise support available (compliance, plugins, interface and tools)
|
||||
################################################################################
|
||||
|
||||
|
||||
[+] Initializing program
|
||||
------------------------------------
|
||||
- Detecting OS... [ DONE ]
|
||||
- Checking profiles... [ DONE ]
|
||||
|
||||
---------------------------------------------------
|
||||
Program version: 3.1.4
|
||||
Operating system: Linux
|
||||
Operating system name: Debian
|
||||
Operating system version: 12
|
||||
Kernel version: 6.12.22+bpo
|
||||
Hardware platform: x86_64
|
||||
Hostname: live
|
||||
---------------------------------------------------
|
||||
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: Centurion_Intelligence_Consulting_Agency
|
||||
Language: en
|
||||
Test category: all
|
||||
Test group: all
|
||||
---------------------------------------------------
|
||||
- Program update status... [ NO UPDATE ]
|
||||
|
||||
[+] System tools
|
||||
------------------------------------
|
||||
- Scanning available tools...
|
||||
- Checking system binaries...
|
||||
|
||||
[+] Plugins (phase 1)
|
||||
------------------------------------
|
||||
Note: plugins have more extensive tests and may take several minutes to complete
|
||||
|
||||
- Plugins enabled [ NONE ]
|
||||
|
||||
[+] Boot and services
|
||||
------------------------------------
|
||||
- Service Manager [ systemd ]
|
||||
- Checking UEFI boot [ ENABLED ]
|
||||
- Checking Secure Boot [ DISABLED ]
|
||||
- Boot loader [ NONE FOUND ]
|
||||
- Check running services (systemctl) [ DONE ]
|
||||
Result: found 17 running services
|
||||
- Check enabled services at boot (systemctl) [ DONE ]
|
||||
Result: found 24 enabled services
|
||||
- Check startup files (permissions) [ OK ]
|
||||
- Running 'systemd-analyze security'
|
||||
Unit name (exposure value) and predicate
|
||||
--------------------------------
|
||||
- auditd.service (value=8.7) [ EXPOSED ]
|
||||
- chrony.service (value=3.5) [ PROTECTED ]
|
||||
- clamav-daemon.service (value=3.5) [ PROTECTED ]
|
||||
- cron.service (value=9.6) [ UNSAFE ]
|
||||
- dbus.service (value=9.6) [ UNSAFE ]
|
||||
- dm-event.service (value=9.5) [ UNSAFE ]
|
||||
- emergency.service (value=9.5) [ UNSAFE ]
|
||||
- fail2ban.service (value=6.5) [ MEDIUM ]
|
||||
- getty@tty1.service (value=9.6) [ UNSAFE ]
|
||||
- haveged.service (value=3.0) [ PROTECTED ]
|
||||
- ifup@ens3.service (value=9.5) [ UNSAFE ]
|
||||
- ifup@ens4.service (value=9.5) [ UNSAFE ]
|
||||
- lvm2-lvmpolld.service (value=9.5) [ UNSAFE ]
|
||||
- polkit.service (value=9.6) [ UNSAFE ]
|
||||
- rc-local.service (value=9.6) [ UNSAFE ]
|
||||
- rescue.service (value=9.5) [ UNSAFE ]
|
||||
- rsyslog.service (value=9.6) [ UNSAFE ]
|
||||
- ssh.service (value=9.6) [ UNSAFE ]
|
||||
- systemd-ask-password-console.service (value=9.4) [ UNSAFE ]
|
||||
- systemd-ask-password-wall.service (value=9.4) [ UNSAFE ]
|
||||
- systemd-fsckd.service (value=9.5) [ UNSAFE ]
|
||||
- systemd-initctl.service (value=9.4) [ UNSAFE ]
|
||||
- systemd-journald.service (value=4.3) [ PROTECTED ]
|
||||
- systemd-logind.service (value=2.8) [ PROTECTED ]
|
||||
- systemd-networkd.service (value=2.6) [ PROTECTED ]
|
||||
- systemd-udevd.service (value=7.1) [ MEDIUM ]
|
||||
- unattended-upgrades.service (value=9.6) [ UNSAFE ]
|
||||
- usbguard-dbus.service (value=9.6) [ UNSAFE ]
|
||||
- usbguard.service (value=2.8) [ PROTECTED ]
|
||||
- user@0.service (value=9.8) [ UNSAFE ]
|
||||
- uuidd.service (value=5.8) [ MEDIUM ]
|
||||
|
||||
[+] Kernel
|
||||
------------------------------------
|
||||
- Checking default runlevel [ runlevel 5 ]
|
||||
- Checking CPU support (NX/PAE)
|
||||
CPU support: PAE and/or NoeXecute supported [ FOUND ]
|
||||
- Checking kernel version and release [ DONE ]
|
||||
- Checking kernel type [ DONE ]
|
||||
- Checking loaded kernel modules [ DONE ]
|
||||
Found 84 active modules
|
||||
- Checking Linux kernel configuration file [ FOUND ]
|
||||
- Checking default I/O kernel scheduler [ NOT FOUND ]
|
||||
- Checking for available kernel update [ OK ]
|
||||
- Checking core dumps configuration
|
||||
- configuration in systemd conf files [ DEFAULT ]
|
||||
- configuration in /etc/profile [ DEFAULT ]
|
||||
- 'hard' configuration in /etc/security/limits.conf [ DISABLED ]
|
||||
- 'soft' configuration in /etc/security/limits.conf [ DISABLED ]
|
||||
- Checking setuid core dumps configuration [ DISABLED ]
|
||||
- Check if reboot is needed [ NO ]
|
||||
|
||||
[+] Memory and Processes
|
||||
------------------------------------
|
||||
- Checking /proc/meminfo [ FOUND ]
|
||||
- Searching for dead/zombie processes [ NOT FOUND ]
|
||||
- Searching for IO waiting processes [ NOT FOUND ]
|
||||
- Search prelink tooling [ NOT FOUND ]
|
||||
|
||||
[+] Users, Groups and Authentication
|
||||
------------------------------------
|
||||
- Administrator accounts [ OK ]
|
||||
- Unique UIDs [ OK ]
|
||||
- Consistency of group files (grpck) [ OK ]
|
||||
- Unique group IDs [ OK ]
|
||||
- Unique group names [ OK ]
|
||||
- Password file consistency [ OK ]
|
||||
- Password hashing methods [ OK ]
|
||||
- Password hashing rounds (minimum) [ CONFIGURED ]
|
||||
- Query system users (non daemons) [ DONE ]
|
||||
- NIS+ authentication support [ NOT ENABLED ]
|
||||
- NIS authentication support [ NOT ENABLED ]
|
||||
- Sudoers file(s) [ FOUND ]
|
||||
- Permissions for directory: /etc/sudoers.d [ OK ]
|
||||
- Permissions for: /etc/sudoers [ OK ]
|
||||
- Permissions for: /etc/sudoers.d/README [ OK ]
|
||||
- Permissions for: /etc/sudoers.d/live [ OK ]
|
||||
- PAM password strength tools [ OK ]
|
||||
- PAM configuration files (pam.conf) [ FOUND ]
|
||||
- PAM configuration files (pam.d) [ FOUND ]
|
||||
- PAM modules [ FOUND ]
|
||||
- LDAP module in PAM [ NOT FOUND ]
|
||||
- Accounts without expire date [ OK ]
|
||||
- Accounts without password [ OK ]
|
||||
- Locked accounts [ OK ]
|
||||
- User password aging (minimum) [ CONFIGURED ]
|
||||
- User password aging (maximum) [ CONFIGURED ]
|
||||
- Checking expired passwords [ OK ]
|
||||
- Checking Linux single user mode authentication [ OK ]
|
||||
- Determining default umask
|
||||
- umask (/etc/profile) [ NOT FOUND ]
|
||||
- umask (/etc/login.defs) [ OK ]
|
||||
- LDAP authentication support [ NOT ENABLED ]
|
||||
- Logging failed login attempts [ ENABLED ]
|
||||
|
||||
[+] Kerberos
|
||||
------------------------------------
|
||||
- Check for Kerberos KDC and principals [ NOT FOUND ]
|
||||
|
||||
[+] Shells
|
||||
------------------------------------
|
||||
- Checking shells from /etc/shells
|
||||
Result: found 12 shells (valid shells: 12).
|
||||
- Session timeout settings/tools [ FOUND ]
|
||||
- Checking default umask values
|
||||
- Checking default umask in /etc/bash.bashrc [ NONE ]
|
||||
- Checking default umask in /etc/profile [ NONE ]
|
||||
|
||||
[+] File systems
|
||||
------------------------------------
|
||||
- Checking mount points
|
||||
- Checking /home mount point [ SUGGESTION ]
|
||||
- Checking /tmp mount point [ OK ]
|
||||
- Checking /var mount point [ SUGGESTION ]
|
||||
- Query swap partitions (fstab) [ NONE ]
|
||||
- Testing swap partitions [ OK ]
|
||||
- Testing /proc mount (hidepid) [ SUGGESTION ]
|
||||
- Checking for old files in /tmp [ OK ]
|
||||
- Checking /tmp sticky bit [ OK ]
|
||||
- Checking /var/tmp sticky bit [ OK ]
|
||||
- ACL support root file system [ ENABLED ]
|
||||
- Mount options of / [ NON DEFAULT ]
|
||||
- Mount options of /dev [ PARTIALLY HARDENED ]
|
||||
- Mount options of /dev/shm [ PARTIALLY HARDENED ]
|
||||
- Mount options of /run [ HARDENED ]
|
||||
- Mount options of /tmp [ PARTIALLY HARDENED ]
|
||||
- Total without nodev:11 noexec:13 nosuid:9 ro or noexec (W^X): 9 of total 33
|
||||
- Checking Locate database [ FOUND ]
|
||||
- Disable kernel support of some filesystems
|
||||
- Module cramfs is blacklisted [ OK ]
|
||||
- Module freevxfs is blacklisted [ OK ]
|
||||
- Module hfs is blacklisted [ OK ]
|
||||
- Module hfsplus is blacklisted [ OK ]
|
||||
- Module jffs2 is blacklisted [ OK ]
|
||||
- Module udf is blacklisted [ OK ]
|
||||
|
||||
[+] USB Devices
|
||||
------------------------------------
|
||||
- Checking usb-storage driver (modprobe config) [ DISABLED ]
|
||||
- Checking USB devices authorization [ ENABLED ]
|
||||
- Checking USBGuard [ FOUND ]
|
||||
- Configuration [ FOUND ]
|
||||
- Restore controller device state [ false ]
|
||||
- Rule for controllers connected before daemon starts [ keep ]
|
||||
- Rule for devices connected before daemon starts [ allow ]
|
||||
- Rule for devices inserted after daemon starts [ apply-policy ]
|
||||
- Rule for devices not in RuleFile [ block ]
|
||||
- RuleFile [ FOUND ]
|
||||
- Controllers & Devices allow [ 2 ]
|
||||
- Controllers & Devices block [ 0 ]
|
||||
- Controllers & Devices reject [ 0 ]
|
||||
|
||||
[+] Storage
|
||||
------------------------------------
|
||||
- Checking firewire ohci driver (modprobe config) [ DISABLED ]
|
||||
|
||||
[+] NFS
|
||||
------------------------------------
|
||||
- Check running NFS daemon [ NOT FOUND ]
|
||||
|
||||
[+] Name services
|
||||
------------------------------------
|
||||
- Searching DNS domain name [ FOUND ]
|
||||
Domain name: local
|
||||
- Checking /etc/hosts
|
||||
- Duplicate entries in hosts file [ NONE ]
|
||||
- Presence of configured hostname in /etc/hosts [ FOUND ]
|
||||
- Hostname mapped to localhost [ NOT FOUND ]
|
||||
- Localhost mapping to IP address [ OK ]
|
||||
|
||||
[+] Ports and packages
|
||||
------------------------------------
|
||||
- Searching package managers
|
||||
- Searching dpkg package manager [ FOUND ]
|
||||
- Querying package manager
|
||||
- Query unpurged packages [ NONE ]
|
||||
- debsums utility [ FOUND ]
|
||||
- Cron job for debsums [ FOUND ]
|
||||
- Checking security repository in sources.list file [ OK ]
|
||||
- Checking APT package database [ OK ]
|
||||
- Checking vulnerable packages (apt-get only) [ DONE ]
|
||||
- Checking upgradeable packages [ NONE ]
|
||||
- Checking package audit tool [ INSTALLED ]
|
||||
Found: apt-get
|
||||
- Toolkit for automatic upgrades (unattended-upgrade) [ FOUND ]
|
||||
|
||||
[+] Networking
|
||||
------------------------------------
|
||||
- Checking IPv6 configuration [ ENABLED ]
|
||||
Configuration method [ MANUAL ]
|
||||
IPv6 only [ NO ]
|
||||
- Checking configured nameservers
|
||||
- Testing nameservers
|
||||
Nameserver: 135.181.207.105 [ OK ]
|
||||
Nameserver: 89.58.62.53 [ OK ]
|
||||
- Minimal of 2 responsive nameservers [ OK ]
|
||||
- Checking default gateway [ DONE ]
|
||||
- Getting listening ports (TCP/UDP) [ DONE ]
|
||||
- Checking promiscuous interfaces [ OK ]
|
||||
- Checking waiting connections [ OK ]
|
||||
- Checking status DHCP client [ RUNNING ]
|
||||
- Checking for ARP monitoring software [ NOT FOUND ]
|
||||
- Uncommon network protocols [ NOT FOUND ]
|
||||
|
||||
[+] Printers and Spools
|
||||
------------------------------------
|
||||
- Checking cups daemon [ NOT FOUND ]
|
||||
- Checking lp daemon [ NOT RUNNING ]
|
||||
|
||||
[+] Software: e-mail and messaging
|
||||
------------------------------------
|
||||
|
||||
[+] Software: firewalls
|
||||
------------------------------------
|
||||
- Checking iptables kernel module [ FOUND ]
|
||||
- Checking iptables policies of chains [ FOUND ]
|
||||
- Chain INPUT (table: filter, target: DROP) [ DROP ]
|
||||
- Chain INPUT (table: security, target: ACCEPT) [ ACCEPT ]
|
||||
- Checking for empty ruleset [ OK ]
|
||||
- Checking for unused rules [ FOUND ]
|
||||
- Checking host based firewall [ ACTIVE ]
|
||||
|
||||
[+] Software: webserver
|
||||
------------------------------------
|
||||
- Checking Apache [ NOT FOUND ]
|
||||
- Checking nginx [ NOT FOUND ]
|
||||
|
||||
[+] SSH Support
|
||||
------------------------------------
|
||||
- Checking running SSH daemon [ FOUND ]
|
||||
- Searching SSH configuration [ FOUND ]
|
||||
- OpenSSH option: AllowTcpForwarding [ OK ]
|
||||
- OpenSSH option: ClientAliveCountMax [ OK ]
|
||||
- OpenSSH option: ClientAliveInterval [ OK ]
|
||||
- OpenSSH option: FingerprintHash [ OK ]
|
||||
- OpenSSH option: GatewayPorts [ OK ]
|
||||
- OpenSSH option: IgnoreRhosts [ OK ]
|
||||
- OpenSSH option: LoginGraceTime [ OK ]
|
||||
- OpenSSH option: LogLevel [ OK ]
|
||||
- OpenSSH option: MaxAuthTries [ OK ]
|
||||
- OpenSSH option: MaxSessions [ OK ]
|
||||
- OpenSSH option: PermitRootLogin [ OK ]
|
||||
- OpenSSH option: PermitUserEnvironment [ OK ]
|
||||
- OpenSSH option: PermitTunnel [ OK ]
|
||||
- OpenSSH option: Port [ OK ]
|
||||
- OpenSSH option: PrintLastLog [ OK ]
|
||||
- OpenSSH option: StrictModes [ OK ]
|
||||
- OpenSSH option: TCPKeepAlive [ OK ]
|
||||
- OpenSSH option: UseDNS [ OK ]
|
||||
- OpenSSH option: X11Forwarding [ OK ]
|
||||
- OpenSSH option: AllowAgentForwarding [ OK ]
|
||||
- OpenSSH option: AllowUsers [ FOUND ]
|
||||
- OpenSSH option: AllowGroups [ NOT FOUND ]
|
||||
|
||||
[+] SNMP Support
|
||||
------------------------------------
|
||||
- Checking running SNMP daemon [ NOT FOUND ]
|
||||
|
||||
[+] Databases
|
||||
------------------------------------
|
||||
No database engines found
|
||||
|
||||
[+] LDAP Services
|
||||
------------------------------------
|
||||
- Checking OpenLDAP instance [ NOT FOUND ]
|
||||
|
||||
[+] PHP
|
||||
------------------------------------
|
||||
- Checking PHP [ NOT FOUND ]
|
||||
|
||||
[+] Squid Support
|
||||
------------------------------------
|
||||
- Checking running Squid daemon [ NOT FOUND ]
|
||||
|
||||
[+] Logging and files
|
||||
------------------------------------
|
||||
- Checking for a running log daemon [ OK ]
|
||||
- Checking Syslog-NG status [ NOT FOUND ]
|
||||
- Checking systemd journal status [ FOUND ]
|
||||
- Checking Metalog status [ NOT FOUND ]
|
||||
- Checking RSyslog status [ FOUND ]
|
||||
- Checking RFC 3195 daemon status [ NOT FOUND ]
|
||||
- Checking minilogd instances [ NOT FOUND ]
|
||||
- Checking wazuh-agent daemon status [ NOT FOUND ]
|
||||
- Checking logrotate presence [ OK ]
|
||||
- Checking remote logging [ NOT ENABLED ]
|
||||
- Checking log directories (static list) [ DONE ]
|
||||
- Checking open log files [ DONE ]
|
||||
- Checking deleted files in use [ DONE ]
|
||||
|
||||
[+] Insecure services
|
||||
------------------------------------
|
||||
- Installed inetd package [ NOT FOUND ]
|
||||
- Installed xinetd package [ OK ]
|
||||
- xinetd status [ NOT ACTIVE ]
|
||||
- Installed rsh client package [ OK ]
|
||||
- Installed rsh server package [ OK ]
|
||||
- Installed telnet client package [ OK ]
|
||||
- Installed telnet server package [ NOT FOUND ]
|
||||
- Checking NIS client installation [ OK ]
|
||||
- Checking NIS server installation [ OK ]
|
||||
- Checking TFTP client installation [ OK ]
|
||||
- Checking TFTP server installation [ OK ]
|
||||
|
||||
[+] Banners and identification
|
||||
------------------------------------
|
||||
- /etc/issue [ FOUND ]
|
||||
- /etc/issue contents [ OK ]
|
||||
- /etc/issue.net [ FOUND ]
|
||||
- /etc/issue.net contents [ OK ]
|
||||
|
||||
[+] Scheduled tasks
|
||||
------------------------------------
|
||||
- Checking crontab and cronjob files [ DONE ]
|
||||
|
||||
[+] Accounting
|
||||
------------------------------------
|
||||
- Checking accounting information [ OK ]
|
||||
- Checking sysstat accounting data [ ENABLED ]
|
||||
- Checking auditd [ ENABLED ]
|
||||
- Checking audit rules [ OK ]
|
||||
- Checking audit configuration file [ OK ]
|
||||
- Checking auditd log file [ FOUND ]
|
||||
|
||||
[+] Time and Synchronization
|
||||
------------------------------------
|
||||
- NTP daemon found: chronyd [ FOUND ]
|
||||
- Checking for a running NTP daemon or client [ OK ]
|
||||
|
||||
[+] Cryptography
|
||||
------------------------------------
|
||||
- Checking for expired SSL certificates [0/139] [ NONE ]
|
||||
|
||||
[WARNING]: Test CRYP-7902 had a long execution: 20.445007 seconds
|
||||
|
||||
- Found 0 encrypted and 0 unencrypted swap devices in use. [ OK ]
|
||||
- Kernel entropy is sufficient [ YES ]
|
||||
- HW RNG & rngd [ NO ]
|
||||
- SW prng [ YES ]
|
||||
- MOR variable not found [ WEAK ]
|
||||
|
||||
[+] Virtualization
|
||||
------------------------------------
|
||||
|
||||
[+] Containers
|
||||
------------------------------------
|
||||
|
||||
[+] Security frameworks
|
||||
------------------------------------
|
||||
- Checking presence AppArmor [ FOUND ]
|
||||
- Checking AppArmor status [ DISABLED ]
|
||||
- Checking presence SELinux [ NOT FOUND ]
|
||||
- Checking presence TOMOYO Linux [ NOT FOUND ]
|
||||
- Checking presence grsecurity [ NOT FOUND ]
|
||||
- Checking for implemented MAC framework [ NONE ]
|
||||
|
||||
[+] Software: file integrity
|
||||
------------------------------------
|
||||
- Checking file integrity tools
|
||||
- AIDE [ FOUND ]
|
||||
- AIDE config file [ FOUND ]
|
||||
- AIDE database [ FOUND ]
|
||||
- dm-integrity (status) [ DISABLED ]
|
||||
- dm-verity (status) [ DISABLED ]
|
||||
- AIDE config (Checksum) [ OK ]
|
||||
- Checking presence integrity tool [ FOUND ]
|
||||
|
||||
[+] Software: System tooling
|
||||
------------------------------------
|
||||
- Checking automation tooling
|
||||
- Ansible artifact [ FOUND ]
|
||||
- Automation tooling [ FOUND ]
|
||||
- Checking presence of Fail2ban [ FOUND ]
|
||||
- Checking Fail2ban jails [ ENABLED ]
|
||||
- Checking for IDS/IPS tooling [ FOUND ]
|
||||
|
||||
[+] Software: Malware
|
||||
------------------------------------
|
||||
- Checking chkrootkit [ FOUND ]
|
||||
- Checking Rootkit Hunter [ FOUND ]
|
||||
- Checking ClamAV scanner [ FOUND ]
|
||||
- Malware software components [ FOUND ]
|
||||
- Active agent [ NOT FOUND ]
|
||||
- Rootkit scanner [ FOUND ]
|
||||
|
||||
[+] File Permissions
|
||||
------------------------------------
|
||||
- Starting file permissions check
|
||||
File: /etc/cron.allow [ OK ]
|
||||
File: /etc/crontab [ OK ]
|
||||
File: /etc/group [ OK ]
|
||||
File: /etc/group- [ OK ]
|
||||
File: /etc/hosts.allow [ OK ]
|
||||
File: /etc/hosts.deny [ OK ]
|
||||
File: /etc/issue [ OK ]
|
||||
File: /etc/issue.net [ OK ]
|
||||
File: /etc/motd [ OK ]
|
||||
File: /etc/passwd [ OK ]
|
||||
File: /etc/passwd- [ OK ]
|
||||
File: /etc/ssh/sshd_config [ OK ]
|
||||
Directory: /root/.ssh [ OK ]
|
||||
Directory: /etc/cron.d [ OK ]
|
||||
Directory: /etc/cron.daily [ OK ]
|
||||
Directory: /etc/cron.hourly [ OK ]
|
||||
Directory: /etc/cron.weekly [ OK ]
|
||||
Directory: /etc/cron.monthly [ OK ]
|
||||
|
||||
[+] Home directories
|
||||
------------------------------------
|
||||
- Permissions of home directories [ OK ]
|
||||
- Ownership of home directories [ OK ]
|
||||
- Checking shell history files [ OK ]
|
||||
|
||||
[+] Kernel Hardening
|
||||
------------------------------------
|
||||
- Comparing sysctl key pairs with scan profile
|
||||
- dev.tty.ldisc_autoload (exp: 0) [ OK ]
|
||||
- fs.protected_fifos (exp: 2) [ OK ]
|
||||
- fs.protected_hardlinks (exp: 1) [ OK ]
|
||||
- fs.protected_regular (exp: 2) [ OK ]
|
||||
- fs.protected_symlinks (exp: 1) [ OK ]
|
||||
- fs.suid_dumpable (exp: 0) [ OK ]
|
||||
- kernel.core_uses_pid (exp: 1) [ OK ]
|
||||
- kernel.ctrl-alt-del (exp: 0) [ OK ]
|
||||
- kernel.dmesg_restrict (exp: 1) [ OK ]
|
||||
- kernel.kptr_restrict (exp: 2) [ OK ]
|
||||
- kernel.modules_disabled (exp: 1) [ OK ]
|
||||
- kernel.perf_event_paranoid (exp: 2 3 4) [ OK ]
|
||||
- kernel.randomize_va_space (exp: 2) [ OK ]
|
||||
- kernel.sysrq (exp: 0) [ OK ]
|
||||
- kernel.unprivileged_bpf_disabled (exp: 1) [ OK ]
|
||||
- kernel.yama.ptrace_scope (exp: 1 2 3) [ OK ]
|
||||
- net.core.bpf_jit_harden (exp: 2) [ OK ]
|
||||
- net.ipv4.conf.all.accept_redirects (exp: 0) [ OK ]
|
||||
- net.ipv4.conf.all.accept_source_route (exp: 0) [ OK ]
|
||||
- net.ipv4.conf.all.bootp_relay (exp: 0) [ OK ]
|
||||
- net.ipv4.conf.all.forwarding (exp: 0) [ OK ]
|
||||
- net.ipv4.conf.all.log_martians (exp: 1) [ OK ]
|
||||
- net.ipv4.conf.all.mc_forwarding (exp: 0) [ OK ]
|
||||
- net.ipv4.conf.all.proxy_arp (exp: 0) [ OK ]
|
||||
- net.ipv4.conf.all.rp_filter (exp: 1) [ OK ]
|
||||
- net.ipv4.conf.all.send_redirects (exp: 0) [ OK ]
|
||||
- net.ipv4.conf.default.accept_redirects (exp: 0) [ OK ]
|
||||
- net.ipv4.conf.default.accept_source_route (exp: 0) [ OK ]
|
||||
- net.ipv4.conf.default.log_martians (exp: 1) [ OK ]
|
||||
- net.ipv4.icmp_echo_ignore_broadcasts (exp: 1) [ OK ]
|
||||
- net.ipv4.icmp_ignore_bogus_error_responses (exp: 1) [ OK ]
|
||||
- net.ipv4.tcp_syncookies (exp: 1) [ OK ]
|
||||
- net.ipv4.tcp_timestamps (exp: 0 1) [ OK ]
|
||||
- net.ipv6.conf.all.accept_redirects (exp: 0) [ OK ]
|
||||
- net.ipv6.conf.all.accept_source_route (exp: 0) [ OK ]
|
||||
- net.ipv6.conf.default.accept_redirects (exp: 0) [ OK ]
|
||||
- net.ipv6.conf.default.accept_source_route (exp: 0) [ OK ]
|
||||
|
||||
[+] Hardening
|
||||
------------------------------------
|
||||
- Installed compiler(s) [ FOUND ]
|
||||
- Installed malware scanner [ FOUND ]
|
||||
- Non-native binary formats [ FOUND ]
|
||||
|
||||
[+] Custom tests
|
||||
------------------------------------
|
||||
- Running custom tests... [ NONE ]
|
||||
|
||||
[+] Plugins (phase 2)
|
||||
------------------------------------
|
||||
|
||||
================================================================================
|
||||
|
||||
-[ Lynis 3.1.4 Results ]-
|
||||
|
||||
Great, no warnings
|
||||
|
||||
Suggestions (5):
|
||||
----------------------------
|
||||
* Consider hardening system services [BOOT-5264]
|
||||
- Details : Run '/usr/bin/systemd-analyze security SERVICE' for each service
|
||||
- Related resources
|
||||
* Article: Systemd features to secure service files: https://linux-audit.com/systemd/systemd-features-to-secure-units-and-services/
|
||||
* Website: https://cisofy.com/lynis/controls/BOOT-5264/
|
||||
|
||||
* To decrease the impact of a full /home file system, place /home on a separate partition [FILE-6310]
|
||||
- Related resources
|
||||
* Website: https://cisofy.com/lynis/controls/FILE-6310/
|
||||
|
||||
* To decrease the impact of a full /var file system, place /var on a separate partition [FILE-6310]
|
||||
- Related resources
|
||||
* Website: https://cisofy.com/lynis/controls/FILE-6310/
|
||||
|
||||
* Check iptables rules to see which rules are currently not used [FIRE-4513]
|
||||
- Related resources
|
||||
* Website: https://cisofy.com/lynis/controls/FIRE-4513/
|
||||
|
||||
* Enable logging to an external logging host for archiving purposes and additional protection [LOGG-2154]
|
||||
- Related resources
|
||||
* Website: https://cisofy.com/lynis/controls/LOGG-2154/
|
||||
|
||||
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 : 92 [################## ]
|
||||
Tests performed : 261
|
||||
Plugins enabled : 0
|
||||
|
||||
Components:
|
||||
- Firewall [V]
|
||||
- Malware scanner [V]
|
||||
|
||||
Scan mode:
|
||||
Normal [V] Forensics [ ] Integration [ ] Pentest [ ]
|
||||
|
||||
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
|
||||
|
||||
================================================================================
|
||||
|
||||
Lynis 3.1.4
|
||||
|
||||
Auditing, system hardening, and compliance for UNIX-based systems
|
||||
(Linux, macOS, BSD, and others)
|
||||
|
||||
2007-2024, 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)</code></pre>
|
||||
<hr />
|
||||
<p><strong><a href="https://coresecret.eu/">no tracking | no logging | no advertising | no profiling | no bullshit</a></strong></p>
|
||||
|
||||
40
docs/AUDIT_SSH.html
Normal file
40
docs/AUDIT_SSH.html
Normal file
@@ -0,0 +1,40 @@
|
||||
<h1 id="1-cissdebianlivebuilder">1. CISS.debian.live.builder</h1>
|
||||
<p><strong>Centurion Intelligence Consulting Agency Information Security Standard</strong><br> <em>Debian Live Build Generator for hardened live environment and CISS Debian Installer</em><br> <strong>Master Version</strong>: 8.02<br> <strong>Build</strong>: V8.03.127.2025.06.02<br></p>
|
||||
<h1 id="2-ssh-audit-by-ssh-auditcom">2. SSH Audit by ssh-audit.com</h1>
|
||||
<p><img src="/docs/screenshots/CISS.debian.live.builder_ssh_audit.png" alt="CISS.2025.debian.live.builder" /></p>
|
||||
<h1 id="3-ssh-audit-by-httpsgithubcomjtestassh-audit">3. SSH Audit by <a href="https://github.com/jtesta/ssh-audit">https://github.com/jtesta/ssh-audit</a></h1>
|
||||
<pre class="text"><code># general
|
||||
(gen) banner: SSH-2.0-OpenSSH_9.2p1
|
||||
(gen) software: OpenSSH 9.2p1
|
||||
(gen) compatibility: OpenSSH 9.9+, Dropbear SSH 2020.79+
|
||||
(gen) compression: disabled
|
||||
|
||||
# key exchange algorithms
|
||||
(kex) sntrup761x25519-sha512@openssh.com -- [info] available since OpenSSH 8.5
|
||||
`- [info] default key exchange from OpenSSH 9.0 to 9.8
|
||||
`- [info] hybrid key exchange based on post-quantum resistant algorithm and proven conventional X25519 algorithm
|
||||
(kex) sntrup761x25519-sha512 -- [info] available since OpenSSH 9.9
|
||||
`- [info] default key exchange since OpenSSH 9.9
|
||||
`- [info] hybrid key exchange based on post-quantum resistant algorithm and proven conventional X25519 algorithm
|
||||
(kex) kex-strict-s-v00@openssh.com -- [info] pseudo-algorithm that denotes the peer supports a stricter key exchange method as a counter-measure to the Terrapin attack (CVE-2023-48795)
|
||||
|
||||
# host-key algorithms
|
||||
(key) ssh-ed25519 -- [info] available since OpenSSH 6.5, Dropbear SSH 2020.79
|
||||
(key) rsa-sha2-512 -- [info] available since OpenSSH 7.2
|
||||
(key) rsa-sha2-256 -- [info] available since OpenSSH 7.2, Dropbear SSH 2020.79
|
||||
|
||||
# encryption algorithms (ciphers)
|
||||
(enc) aes256-gcm@openssh.com -- [info] available since OpenSSH 6.2
|
||||
(enc) aes256-ctr -- [info] available since OpenSSH 3.7, Dropbear SSH 0.52
|
||||
|
||||
# message authentication code algorithms
|
||||
(mac) hmac-sha2-512-etm@openssh.com -- [info] available since OpenSSH 6.2
|
||||
(mac) hmac-sha2-256-etm@openssh.com -- [info] available since OpenSSH 6.2
|
||||
|
||||
# algorithm recommendations (for OpenSSH 9.2)
|
||||
(rec) +aes128-ctr -- enc algorithm to append
|
||||
(rec) +aes128-gcm@openssh.com -- enc algorithm to append
|
||||
(rec) +aes192-ctr -- enc algorithm to append</code></pre>
|
||||
<hr />
|
||||
<p><strong><a href="https://coresecret.eu/">no tracking | no logging | no advertising | no profiling | no bullshit</a></strong></p>
|
||||
|
||||
6
docs/CHANGELOG.html
Normal file
6
docs/CHANGELOG.html
Normal file
@@ -0,0 +1,6 @@
|
||||
<h1 id="1-cissdebianlivebuilder">1. CISS.debian.live.builder</h1>
|
||||
<p><strong>Centurion Intelligence Consulting Agency Information Security Standard</strong><br> <em>Debian Live Build Generator for hardened live environment and CISS Debian Installer</em><br> <strong>Master Version</strong>: 8.02<br> <strong>Build</strong>: V8.03.127.2025.06.02<br></p>
|
||||
<h1 id="tba">TBA</h1>
|
||||
<hr />
|
||||
<p><strong><a href="https://coresecret.eu/">no tracking | no logging | no advertising | no profiling | no bullshit</a></strong></p>
|
||||
|
||||
78
docs/CODING_CONVENTION.html
Normal file
78
docs/CODING_CONVENTION.html
Normal file
@@ -0,0 +1,78 @@
|
||||
<h1 id="1-cissdebianlivebuilder">1. CISS.debian.live.builder</h1>
|
||||
<p><strong>Centurion Intelligence Consulting Agency Information Security Standard</strong><br> <em>Debian Live Build Generator for hardened live environment and CISS Debian Installer</em><br> <strong>Master Version</strong>: 8.02<br> <strong>Build</strong>: V8.03.127.2025.06.02<br></p>
|
||||
<h1 id="2-coding-style">2. Coding Style</h1>
|
||||
<h2 id="21-pr">2.1. PR</h2>
|
||||
<p>You'd make the life of the maintainers easier if you submit only <em>one</em> patch with <em>one</em> functional change per PR.</p>
|
||||
<h2 id="22-documentation">2.2 Documentation</h2>
|
||||
<p>Some people really read that ! New features would need to be documented in the appropriate section in <code>usage()</code> and in <code>~/docs/DOCUMENTATION.md</code>.</p>
|
||||
<h2 id="23-coding">2.3. Coding</h2>
|
||||
<h3 id="231-shell--bash">2.3.1. Shell / bash</h3>
|
||||
<p>Bash is actually quite powerful—not only with respect to sockets. It's not as mighty as perl or python, but there are a lot of neat features. Here's how you make use of them. Besides those short hints here, there's a wealth of information there.</p>
|
||||
<ul>
|
||||
<li>Don't use backticks anymore, use <code>$(..)</code> instead</li>
|
||||
<li>Use double square <code>[[]]</code> brackets (<em>conditional expressions)</em> instead of single square <code>[]</code> brackets</li>
|
||||
<li>In double square brackets, avoid quoting at the right-hand side if not necessary. For regex matching (<code>=~</code>) you shouldn't quote at all.</li>
|
||||
<li>The <a href="http://mywiki.wooledge.org/BashPitfalls">BashPitfalls</a> is a good read!</li>
|
||||
<li>Whenever possible try to avoid <code>tr</code> <code>sed</code> <code>awk</code> and use bash internal functions instead, see e.g., <a href="http://www.cyberciti.biz/tips/bash-shell-parameter-substitution-2.html">bash shell parameter substitution</a>. It is slower as it forks, fopens and pipes back the result.</li>
|
||||
<li><code>read</code> often can replace <code>awk</code>: <code>IFS=, read -ra a b c <<< "$line_with_comma"</code></li>
|
||||
<li>Bash can also deal perfectly with regular expressions, see e.g., <a href="https://www.networkworld.com/article/2693361/unix-tip-using-bash-s-regular-expressions.html">here</a> and <a href="https://unix.stackexchange.com/questions/421460/bash-regex-and-https-regex101-com">here</a>. You can as well have a look @ <code>is_ipv4addr()</code> or <code>is_ipv6addr()</code>.</li>
|
||||
<li>If you still need to use any of <code>tr</code>, <code>sed</code> and <code>awk</code>: try to avoid a mix of several external binaries e.g., if you can achieve the same with e.g. <code>awk</code>.</li>
|
||||
<li>Be careful with very advanced bash features. Mac OS X is still using bash version 3 (<a href="http://tldp.org/LDP/abs/html/bashver4.html">differences</a>).</li>
|
||||
<li>Always use a return value for a function/method. 0 means all is fine.</li>
|
||||
<li>Make use of <a href="https://github.com/koalaman/shellcheck">shellcheck</a> if possible.</li>
|
||||
<li>Follow the <a href="https://google.github.io/styleguide/shellguide.html">shellformat</a> Shell-Style Guide.</li>
|
||||
</ul>
|
||||
<h3 id="232-shell-specific">2.3.2. Shell specific</h3>
|
||||
<ul>
|
||||
<li>Security:
|
||||
<ul>
|
||||
<li>Watch out for any input especially (but not only) supplied from the server. Input should never be trusted.</li>
|
||||
<li>Unless you're really sure where the values come from, variables need to be put in quotes.</li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
<h3 id="233-variables">2.3.3. Variables</h3>
|
||||
<ul>
|
||||
<li>Use <strong>"speaking variables"</strong> but don't overdo it with the length.</li>
|
||||
<li>No <em>camelCase</em>, please. We distinguish between lowercase and uppercase only.
|
||||
<ul>
|
||||
<li>Global variables:
|
||||
<ul>
|
||||
<li>use them only when really necessary,</li>
|
||||
<li>in CAPS,</li>
|
||||
<li>initialize them (<code>declare -g VAR_EXAMPLE=""</code>),</li>
|
||||
<li>SHOULD start with:
|
||||
<ul>
|
||||
<li><code>ARY_</code> for Arrays,</li>
|
||||
<li><code>C_</code> for Variables defining colored outputs,</li>
|
||||
<li><code>ERR_</code> for Error Codes Variables,</li>
|
||||
<li><code>HMP_</code> for HashMap Arrays,</li>
|
||||
<li><code>LOG_</code> for Logfile Variables,</li>
|
||||
<li><code>PID_</code> for PID Variables,</li>
|
||||
<li><code>PIPE_</code> for PIPE Variables,</li>
|
||||
<li><code>VAR_</code> for Variables</li>
|
||||
</ul></li>
|
||||
</ul></li>
|
||||
<li>Local variables:
|
||||
<ul>
|
||||
<li>are lower case,</li>
|
||||
<li>declare them before usage (<code>declare</code> eq <code>local</code>),</li>
|
||||
<li>initialize them (<code>declare var_example=""</code>),</li>
|
||||
<li>SHOULD start with:
|
||||
<ul>
|
||||
<li><code>ary_</code> for Arrays,</li>
|
||||
<li><code>c_</code> for Variables defining colored outputs,</li>
|
||||
<li><code>err_</code> for Error Codes Variables,</li>
|
||||
<li><code>hmp_</code> for HashMap Arrays,</li>
|
||||
<li><code>log_</code> for Logfile Variables,</li>
|
||||
<li><code>var_</code> for Variables.</li>
|
||||
</ul></li>
|
||||
</ul></li>
|
||||
</ul></li>
|
||||
</ul>
|
||||
<h1 id="3-misc">3. Misc</h1>
|
||||
<ul>
|
||||
<li>Test before doing a PR! Best if you check with two bad and two good examples, which should then work as expected.</li>
|
||||
</ul>
|
||||
<hr />
|
||||
<p><strong><a href="https://coresecret.eu/">no tracking | no logging | no advertising | no profiling | no bullshit</a></strong></p>
|
||||
|
||||
12
docs/CONTRIBUTING.html
Normal file
12
docs/CONTRIBUTING.html
Normal file
@@ -0,0 +1,12 @@
|
||||
<h1 id="1-cissdebianlivebuilder">1. CISS.debian.live.builder</h1>
|
||||
<p><strong>Centurion Intelligence Consulting Agency Information Security Standard</strong><br> <em>Debian Live Build Generator for hardened live environment and CISS Debian Installer</em><br> <strong>Master Version</strong>: 8.02<br> <strong>Build</strong>: V8.03.127.2025.06.02<br></p>
|
||||
<h1 id="2-contributors">2. Contributors</h1>
|
||||
<h2 id="x">X</h2>
|
||||
<p>I would like to express my sincere gratitude to Mr., Who-wants-to-live-forever, for his gracious support and insightful and profound criticism.</p>
|
||||
<h2 id="ζ">Ζ</h2>
|
||||
<ul>
|
||||
<li>Zimnol, André H.; Private Contributor</li>
|
||||
</ul>
|
||||
<hr />
|
||||
<p><strong><a href="https://coresecret.eu/">no tracking | no logging | no advertising | no profiling | no bullshit</a></strong></p>
|
||||
|
||||
14
docs/CREDITS.html
Normal file
14
docs/CREDITS.html
Normal file
@@ -0,0 +1,14 @@
|
||||
<h1 id="1-cissdebianlivebuilder">1. CISS.debian.live.builder</h1>
|
||||
<p><strong>Centurion Intelligence Consulting Agency Information Security Standard</strong><br> <em>Debian Live Build Generator for hardened live environment and CISS Debian Installer</em><br> <strong>Master Version</strong>: 8.02<br> <strong>Build</strong>: V8.03.127.2025.06.02<br></p>
|
||||
<h1 id="2-credits">2. Credits</h1>
|
||||
<h2 id="22-authors">2.2. Authors</h2>
|
||||
<h2 id="23-contributors">2.3. Contributors</h2>
|
||||
<h3 id="x">X</h3>
|
||||
<p>I would like to express my sincere gratitude to Mr., Who-wants-to-live-forever, for his gracious support and insightful and profound criticism.</p>
|
||||
<h3 id="ζ">Ζ</h3>
|
||||
<ul>
|
||||
<li>Zimnol, André H.; Private Contributor</li>
|
||||
</ul>
|
||||
<hr />
|
||||
<p><strong><a href="https://coresecret.eu/">no tracking | no logging | no advertising | no profiling | no bullshit</a></strong></p>
|
||||
|
||||
128
docs/DOCUMENTATION.html
Normal file
128
docs/DOCUMENTATION.html
Normal file
@@ -0,0 +1,128 @@
|
||||
<h1 id="1-cissdebianlivebuilder">1. CISS.debian.live.builder</h1>
|
||||
<p><strong>Centurion Intelligence Consulting Agency Information Security Standard</strong><br> <em>Debian Live Build Generator for hardened live environment and CISS Debian Installer</em><br> <strong>Master Version</strong>: 8.02<br> <strong>Build</strong>: V8.03.127.2025.06.02<br></p>
|
||||
<h1 id="2-usage">2. Usage</h1>
|
||||
<pre class="text"><code>CISS.debian.live.builder
|
||||
Master V8.03.127.2025.06.02
|
||||
|
||||
(c) Marc S. Weidner, 2018 - 2025
|
||||
(p) Centurion Press, 2024 - 2025
|
||||
|
||||
https://coresecret.eu/
|
||||
|
||||
A lightweight Shell Wrapper for building a hardened Debian Bookworm Live ISO Image.
|
||||
|
||||
"./ciss_live_builder.sh <option>", where <option> is one or more of:
|
||||
|
||||
--help, -h
|
||||
What you're looking at.
|
||||
|
||||
--architecture <STRING> one of <amd64 | arm64>
|
||||
A string reflecting the architecture of the Live System.
|
||||
MUST be provided.
|
||||
|
||||
--build-directory </path/to/build_directory>
|
||||
Where the Debian Live Build Image should be generated.
|
||||
MUST be provided.
|
||||
|
||||
--change-splash <STRING> one of <club | hexagon>
|
||||
A string reflecting the GRub Boot Screen Splash you want to use.
|
||||
If omitted defaults to "./.archive/background/club.png".
|
||||
|
||||
--cdi (Experimental Feature)
|
||||
This option generates a boot menu entry to start the forthcoming
|
||||
'CISS.debian.installer', which will be executed after
|
||||
the system has successfully booted up.
|
||||
|
||||
--contact, -c
|
||||
Displays contact information of the author.
|
||||
|
||||
--control <INTEGER>
|
||||
An integer that reflects the version of your Live ISO Image.
|
||||
MUST be provided.
|
||||
|
||||
--debug
|
||||
Enables debug logging for the main program routine. Detailed logging
|
||||
information are written to "/tmp/ciss_live_builder_3764286.log"
|
||||
|
||||
--dhcp-centurion
|
||||
If a DHCP lease is provided, the provider's nameserver will be overridden,
|
||||
and only the hardened, privacy-focused Centurion DNS servers will be used:
|
||||
- https://dns01.eddns.eu/
|
||||
- https://dns02.eddns.de/
|
||||
|
||||
--jump-host <IP | IP | ... >
|
||||
Provide up to 10 IPs for /etc/host.allow whitelisting of SSH access.
|
||||
Could be either IPv4 and / or IPv6 addresses and / or CCDIR notation.
|
||||
If provided, than it MUST be a <SPACE> separated list.
|
||||
IPv6 addresses MUST be encapsulated with [], e.g., [1234::abcd/64].
|
||||
|
||||
--log-statistics-only
|
||||
Provides statistic only after successful building a
|
||||
CISS.debian.live-ISO. While enabling "--log-statistics-only"
|
||||
the argument "--build-directory" MUST be provided while
|
||||
all further options MUST be omitted.
|
||||
|
||||
--provider-netcup-ipv6
|
||||
Activates IPv6 support for Netcup Root Server. One unique
|
||||
IPv6 address MUST be provided in this case.
|
||||
|
||||
--renice-priority <PRIORITY>
|
||||
Reset the nice priority value of the script and all its children
|
||||
to the desired PRIORITY. MUST be an integer (between "-19" and 19).
|
||||
Negative (higher) values MUST be enclosed in double quotes '"'.
|
||||
|
||||
--reionice-priority <CLASS> <PRIORITY>
|
||||
Reset the ionice priority value of the script and all its children
|
||||
to the desired CLASS. MUST be an integer:
|
||||
1: realtime
|
||||
2: best-effort
|
||||
3: idle
|
||||
defaults to "2".
|
||||
PRIORITY MUST be an integer:
|
||||
between 0 (highest) and 7 (lowest) priority.
|
||||
defaults to "4".
|
||||
A real-time I/O process can significantly slow down other processes
|
||||
or even cause them to starve if it continuously requests I/O.
|
||||
|
||||
--root-password-file </path/to/password.txt>
|
||||
Password file for 'root', if given, MUST be a string of 20 to 64 characters,
|
||||
and MUST NOT contain the special character '"'.
|
||||
If the argument is omitted, no further login authentication is required for
|
||||
the local console. The root password is hashed with an 16 Byte '/dev/random'
|
||||
generated SALT and SHA512 Hashing function and 8,388,608 rounds. Immediately
|
||||
after Hash generation all Variables containing plain password fragments are
|
||||
deleted. Password file SHOULD be 0400 and root:root and is deleted without
|
||||
further prompt after password hash has been successfully generated via:
|
||||
shred -vfzu 5 -f.
|
||||
No tracing of any plain text password fragment in any debug log.
|
||||
|
||||
--ssh-port <INTEGER>
|
||||
The desired Port SSH should listen to.
|
||||
If not provided defaults to Port 22.
|
||||
|
||||
--ssh-pubkey </path/to/.ssh/>
|
||||
Imports the SSH Public Key(s) from the FILE 'authorized_keys' of the
|
||||
specified PATH into the Live ISO. MUST be provided.
|
||||
|
||||
--version, -v
|
||||
Displays version of ./ciss_live_builder.sh.
|
||||
|
||||
NOTES:
|
||||
- You MUST be root to run this script.
|
||||
|
||||
Contact:
|
||||
- https://coresecret.eu/
|
||||
- security@coresecret.eu
|
||||
- PGP Key 2D98 07F4 1030 1776 597E BDC9 9F54 8853 35A3 C9AD
|
||||
- https://keys.openpgp.org/vks/v1/by-fingerprint/2D9807F410301776597EBDC99F54885335A3C9AD</code></pre>
|
||||
<h1 id="3-booting">3. Booting</h1>
|
||||
<h2 id="31-grub-menu">3.1. Grub Menu</h2>
|
||||
<p><img src="/docs/screenshots/20250517_boot_grub.jpg" alt="Boot Menu" /></p>
|
||||
<h2 id="32-integrity-checks">3.2. Integrity checks</h2>
|
||||
<p><img src="screenshots/20250517_boot_integrity_check.jpg" alt="Integrity Check" /></p>
|
||||
<p><img src="screenshots/20250517_boot_integrity_success.jpg" alt="Integrity Success" /></p>
|
||||
<h2 id="33-console-login">3.3. Console Login</h2>
|
||||
<p><img src="screenshots/20250517_console_login.jpg" alt="Console Login" /></p>
|
||||
<hr />
|
||||
<p><strong><a href="https://coresecret.eu/">no tracking | no logging | no advertising | no profiling | no bullshit</a></strong></p>
|
||||
|
||||
53
docs/LICENSES/CCLA-1.0.html
Normal file
53
docs/LICENSES/CCLA-1.0.html
Normal file
@@ -0,0 +1,53 @@
|
||||
<h1 id="spdx-license-identifier-licenseref-ccla-10">SPDX-License-Identifier: LicenseRef-CCLA-1.0</h1>
|
||||
<h1 id="centurion-commercial-license-agreement-10">Centurion Commercial License Agreement 1.0</h1>
|
||||
<h2 id="1-general-terms"><strong>1. General Terms</strong></h2>
|
||||
<p>1.1. This Subscription License Agreement ("Agreement") governs the commercial use of the Software ("Software").</p>
|
||||
<p>1.2. Private and open-source usage of the Software remains governed by the EUPL-1.2 license.</p>
|
||||
<p>1.3. By purchasing and using the Software under this Agreement, you ("Licensee") agree to the terms outlined below.</p>
|
||||
<p>1.4. Only the English version of this Agreement shall be legally binding. Translations are provided for convenience only.</p>
|
||||
<h2 id="2-grant-of-license"><strong>2. Grant of License</strong></h2>
|
||||
<p>2.1. Subject-to-payment of applicable subscription fees, Licensor grants Licensee a</p>
|
||||
<ul>
|
||||
<li>non-exclusive,</li>
|
||||
<li>non-transferable,</li>
|
||||
<li>time-limited,</li>
|
||||
</ul>
|
||||
<p>right to use the Software for commercial purposes.</p>
|
||||
<p>2.2. This license is valid only for the duration of the subscription period and under the scope defined in this Agreement.</p>
|
||||
<h2 id="3-subscription-fees-and-payment"><strong>3. Subscription Fees and Payment</strong></h2>
|
||||
<p>3.1. Licensee agrees to pay the subscription fees as specified in the pricing agreement. These fees are non-refundable.</p>
|
||||
<p>3.2. Licensor reserves the right to modify subscription fees upon 30 days' written notice.</p>
|
||||
<h2 id="4-restrictions"><strong>4. Restrictions</strong></h2>
|
||||
<p>4.1. Licensee shall not:</p>
|
||||
<ul>
|
||||
<li>Distribute, sublicense, or resell the Software.</li>
|
||||
<li>Reverse engineer, decompile, or modify the Software, except as permitted by mandatory law.</li>
|
||||
</ul>
|
||||
<p>4.2. The Software may not be used for illegal or unethical purposes.</p>
|
||||
<h2 id="5-support-and-updates"><strong>5. Support and Updates</strong></h2>
|
||||
<p>5.1. Licensor will provide updates and support for the Software during the subscription period, as detailed in the accompanying support agreement.</p>
|
||||
<p>5.2. Support services may include bug fixes, patches, and minor updates. Major updates may incur additional fees.</p>
|
||||
<h2 id="6-termination"><strong>6. Termination</strong></h2>
|
||||
<p>6.1. This Agreement is valid for the subscription term unless terminated earlier:</p>
|
||||
<ul>
|
||||
<li>By Licensee, with a 30-day written notice.</li>
|
||||
<li>By Licensor, in the event of Licensees breach of this Agreement.</li>
|
||||
</ul>
|
||||
<p>6.2. Upon termination, Licensee must cease all uses of the Software and delete all copies.</p>
|
||||
<h2 id="7-liability-and-warranty"><strong>7. Liability and Warranty</strong></h2>
|
||||
<p>7.1. The Software is provided "as is" without warranties of any kind, except as required by law.</p>
|
||||
<p>7.2. Licensors' liability is limited to the number of subscription fees paid by Licensee in the preceding 12 months.</p>
|
||||
<h2 id="8-governing-law"><strong>8. Governing Law</strong></h2>
|
||||
<p>8.1. This Agreement shall be governed by the laws of Portugal.</p>
|
||||
<p>8.2. Disputes arising under this Agreement shall be subject to the exclusive jurisdiction of the courts of Portugal.</p>
|
||||
<h2 id="9-miscellaneous"><strong>9. Miscellaneous</strong></h2>
|
||||
<p>9.1. Any changes to this Agreement must be in writing and signed by both parties.</p>
|
||||
<p>9.2. If any provision of this Agreement is found invalid, the remaining provisions shall remain enforceable.</p>
|
||||
<h2 id="10-contact-information">10. <strong>Contact Information</strong></h2>
|
||||
<ul>
|
||||
<li>Licensor : Centurion Intelligence Consulting Agency</li>
|
||||
<li>Email : <a href="mailto:legal@coresecret.eu">legal@coresecret.eu</a></li>
|
||||
</ul>
|
||||
<hr />
|
||||
<p>This Subscription License Agreement was last updated at 09.05.2025.</p>
|
||||
|
||||
69
docs/REFERENCES.html
Normal file
69
docs/REFERENCES.html
Normal file
@@ -0,0 +1,69 @@
|
||||
<h1 id="1-cissdebianlivebuilder">1. CISS.debian.live.builder</h1>
|
||||
<p><strong>Centurion Intelligence Consulting Agency Information Security Standard</strong><br> <em>Debian Live Build Generator for hardened live environment and CISS Debian Installer</em><br> <strong>Master Version</strong>: 8.02<br> <strong>Build</strong>: V8.03.127.2025.06.02<br></p>
|
||||
<h1 id="2-resources">2. Resources</h1>
|
||||
<h2 id="21-debian-live-related">2.1. Debian Live related</h2>
|
||||
<ul>
|
||||
<li><a href="https://salsa.debian.org/live-team/live-boot">Debian live-boot</a></li>
|
||||
<li><a href="https://live-team.pages.debian.net/live-manual/html/live-manual/index.en.html">Debian Live Manual</a></li>
|
||||
<li><a href="https://manpages.debian.org/bookworm/live-boot-doc/live-boot.7.en.html">Debian Live Boot Doc</a></li>
|
||||
<li><a href="https://manpages.debian.org/bookworm/live-build/index.html">Debian Live Build</a></li>
|
||||
<li><a href="https://manpages.debian.org/bookworm/live-config-doc/index.html">Debian Live Config</a></li>
|
||||
<li><a href="https://manpages.debian.org/bookworm/live-tools/index.html">Debian Live Tools</a></li>
|
||||
</ul>
|
||||
<h2 id="22-disk-encryption-related">2.2. Disk Encryption related</h2>
|
||||
<ul>
|
||||
<li><a href="https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system"><span>https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system</span></a></li>
|
||||
<li><a href="https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#Encrypted_boot_partition_(GRUB)"><span>https://wiki.archlinux.org/title/Dm-crypt/Encrypting_an_entire_system#Encrypted_boot_partition_(GRUB)</span></a></li>
|
||||
<li><a href="https://wiki.archlinux.org/title/Dm-crypt/Device_encryption#Encryption_options_for_LUKS_mode"><span>https://wiki.archlinux.org/title/Dm-crypt/Device_encryption#Encryption_options_for_LUKS_mode</span></a></li>
|
||||
<li><a href="https://wiki.archlinux.org/title/GRUB#Encrypted_/boot"><span>https://wiki.archlinux.org/title/GRUB#Encrypted_/boot</span></a></li>
|
||||
<li><a href="https://wiki.archlinux.org/title/GRUB#LUKS2"><span>https://wiki.archlinux.org/title/GRUB#LUKS2</span></a></li>
|
||||
<li><a href="https://wiki.archlinux.org/title/Advanced_Format"><span>https://wiki.archlinux.org/title/Advanced_Format</span></a></li>
|
||||
<li><a href="https://packages.debian.org/bookworm-backports/grub-common"><span>https://packages.debian.org/bookworm-backports/grub-common</span></a></li>
|
||||
<li><a href="https://www.kernel.org/doc/html/v5.5/admin-guide/device-mapper/dm-integrity.html"><span>https://www.kernel.org/doc/html/v5.5/admin-guide/device-mapper/dm-integrity.html</span></a></li>
|
||||
<li><a href="https://wiki.archlinux.org/title/Dm-crypt/Swap_encryption"><span>https://wiki.archlinux.org/title/Dm-crypt/Swap_encryption</span></a></li>
|
||||
<li><a href="https://gitlab.com/cryptsetup/cryptsetup/-/wikis/FrequentlyAskedQuestions#2-setup"><span>https://gitlab.com/cryptsetup/cryptsetup/-/wikis/FrequentlyAskedQuestions#2-setup</span></a></li>
|
||||
</ul>
|
||||
<h2 id="23-kernel-related">2.3. Kernel related</h2>
|
||||
<ul>
|
||||
<li><a href="https://wiki.archlinux.org/title/Kernel"><span>https://wiki.archlinux.org/title/Kernel</span></a></li>
|
||||
<li><a href="https://wiki.archlinux.org/title/Kernel_parameters"><span>https://wiki.archlinux.org/title/Kernel_parameters</span></a></li>
|
||||
<li><a href="https://www.kernel.org/"><span>https://www.kernel.org/</span></a></li>
|
||||
<li><a href="https://github.com/anthraxx/linux-hardened"><span>https://github.com/anthraxx/linux-hardened</span></a></li>
|
||||
</ul>
|
||||
<h2 id="24-policy-related">2.4. Policy related</h2>
|
||||
<ul>
|
||||
<li><a href="https://www.debian.org/doc/manuals/securing-debian-manual/"><span>https://www.debian.org/doc/manuals/securing-debian-manual/</span></a></li>
|
||||
<li><a href="https://www.tenable.com/audits/CIS_Debian_Linux_12_v1.0.1_L1_Server"><span>https://www.tenable.com/audits/CIS_Debian_Linux_12_v1.0.1_L1_Server</span></a></li>
|
||||
<li><a href="https://www.cisecurity.org/cis-benchmarks"><span>https://www.cisecurity.org/cis-benchmarks</span></a></li>
|
||||
<li><a href="https://github.com/CISOfy/lynis"><span>https://github.com/CISOfy/lynis</span></a></li>
|
||||
<li><a href="https://github.com/lateralblast/lunar"><span>https://github.com/lateralblast/lunar</span></a></li>
|
||||
<li><a href="https://complianceascode.github.io/content-pages/guides/ssg-debian12-guide-standard.html"><span>https://complianceascode.github.io/content-pages/guides/ssg-debian12-guide-standard.html</span></a></li>
|
||||
</ul>
|
||||
<h2 id="25-security-related">2.5. Security related</h2>
|
||||
<ul>
|
||||
<li><a href="https://wiki.archlinux.org/title/General_recommendations"><span>https://wiki.archlinux.org/title/General_recommendations</span></a></li>
|
||||
<li><a href="https://wiki.archlinux.org/title/Security"><span>https://wiki.archlinux.org/title/Security</span></a></li>
|
||||
<li><a href="https://wiki.archlinux.org/title/Identity_management"><span>https://wiki.archlinux.org/title/Identity_management</span></a></li>
|
||||
<li><a href="https://wiki.archlinux.org/title/Capabilities"><span>https://wiki.archlinux.org/title/Capabilities</span></a></li>
|
||||
<li><a href="https://privsec.dev/posts/linux/desktop-linux-hardening/"><span>https://privsec.dev/posts/linux/desktop-linux-hardening/</span></a></li>
|
||||
<li><a href="https://wiki.archlinux.org/title/fail2ban#Service_hardenin"><span>https://wiki.archlinux.org/title/fail2ban#Service_hardenin</span></a></li>
|
||||
<li><a href="https://theprivacyguide1.github.io/linux_hardening_guide"><span>https://theprivacyguide1.github.io/linux_hardening_guide</span></a></li>
|
||||
<li><a href="https://github.com/zabbly/linux"><span>https://github.com/zabbly/linux</span></a></li>
|
||||
</ul>
|
||||
<h2 id="26-bash-related">2.6. Bash related</h2>
|
||||
<ul>
|
||||
<li><a href="https://www.gnu.org/software/bash/manual/"><span>https://www.gnu.org/software/bash/manual/</span></a></li>
|
||||
<li><a href="https://www.shellcheck.net/"><span>https://www.shellcheck.net/</span></a></li>
|
||||
<li><a href="https://explainshell.com/"><span>https://explainshell.com/</span></a></li>
|
||||
<li><a href="https://google.github.io/styleguide/shellguide.html"><span>https://google.github.io/styleguide/shellguide.html</span></a></li>
|
||||
<li><a href="https://github.com/mvdan/sh"><span>https://github.com/mvdan/sh</span></a></li>
|
||||
<li><a href="https://gist.github.com/Potherca/4f4ce1c8d4bcf4cd4aab"><span>https://gist.github.com/Potherca/4f4ce1c8d4bcf4cd4aab</span></a></li>
|
||||
</ul>
|
||||
<h3 id="261-error-handling">2.6.1. Error handling</h3>
|
||||
<ul>
|
||||
<li><a href="https://www.davidpashley.com/articles/writing-robust-shell-scripts/#id2596016">Use set -e - Writing Robust Bash Shell Scripts - David Pashley</a></li>
|
||||
<li><a href="https://mywiki.wooledge.org/BashFAQ/105">Why doesn't set -e (or set -o errexit, or trap ERR) do what I expected? - BashFAQ/105 - Greg's Wiki</a></li>
|
||||
</ul>
|
||||
<hr />
|
||||
<p><strong><a href="https://coresecret.eu/">no tracking | no logging | no advertising | no profiling | no bullshit</a></strong></p>
|
||||
|
||||
Reference in New Issue
Block a user