33 Commits

Author SHA256 Message Date
67d443b695 DEPLOY BOT : 🛡️ Shell Script Linting [skip ci]
X-CI-Metadata: master@4445a0a at 2025-07-15T17:55:22Z on deea7eb4a68b

Generated at : 2025-07-15T17:55:22Z
Runner Host  : deea7eb4a68b
Workflow ID  : 🛡️ Shell Script Linting
Git Commit   : 4445a0a HEAD -> master
2025-07-15 17:55:22 +00:00
4445a0ae5c V8.03.864.2025.07.15
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m51s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
2025-07-15 19:53:22 +02:00
160fc4bc38 DEPLOY BOT : 🛡️ Shell Script Linting [skip ci]
X-CI-Metadata: master@ee8e2bc at 2025-07-15T17:39:39Z on 8944fef79dd0

Generated at : 2025-07-15T17:39:39Z
Runner Host  : 8944fef79dd0
Workflow ID  : 🛡️ Shell Script Linting
Git Commit   : ee8e2bc HEAD -> master
2025-07-15 17:39:39 +00:00
ee8e2bce5c V8.03.864.2025.07.15
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 2m4s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
2025-07-15 19:37:16 +02:00
90e2fd48b8 DEPLOY BOT : 💙 Auto-Generate PUBLIC LIVE ISO [skip ci]
X-CI-Metadata: master@fd406a6 at 2025-07-15T13:01:08Z on 155b6e4acba6

Generated at : 2025-07-15T13:01:08Z
Runner Host  : 155b6e4acba6
Workflow ID  : 💙 Generating a PUBLIC Live ISO.
Git Commit   : fd406a6 HEAD -> master
2025-07-15 13:01:08 +00:00
fd406a6628 DEPLOY BOT : 🔐 Auto-Generate PRIVATE LIVE ISO FLV 1 [skip ci]
X-CI-Metadata: master@2c4a9c9 at 2025-07-15T12:03:19Z on fd09723188c6

Generated at : 2025-07-15T12:03:19Z
Runner Host  : fd09723188c6
Workflow ID  : 🔐 Generating a Private Live ISO FLV 1.
Git Commit   : 2c4a9c9 HEAD -> master
2025-07-15 12:03:19 +00:00
2c4a9c95c6 DEPLOY BOT : 🔐 Auto-Generate PRIVATE LIVE ISO FLV 0 [skip ci]
X-CI-Metadata: master@898ed7d at 2025-07-15T11:05:15Z on ed8d07632180

Generated at : 2025-07-15T11:05:15Z
Runner Host  : ed8d07632180
Workflow ID  : 🔐 Generating a Private Live ISO FLV 0.
Git Commit   : 898ed7d HEAD -> master
2025-07-15 11:05:15 +00:00
898ed7d599 DEPLOY BOT : 🛡️ Shell Script Linting [skip ci]
X-CI-Metadata: master@07686fd at 2025-07-15T10:06:12Z on 24eaf98fa23b

Generated at : 2025-07-15T10:06:12Z
Runner Host  : 24eaf98fa23b
Workflow ID  : 🛡️ Shell Script Linting
Git Commit   : 07686fd HEAD -> master
2025-07-15 10:06:12 +00:00
07686fd15a DEPLOY BOT : 🛡️ Auto-Generate DNSSEC Status [skip ci]
X-CI-Metadata: master@5bd0c51 at 2025-07-15T10:05:08Z on ab2abe52ded3

Generated at : 2025-07-15T10:05:08Z
Runner Host  : ab2abe52ded3
Workflow ID  : 🛡️ Retrieve DNSSEC status of coresecret.dev.
Git Commit   : 5bd0c51 HEAD -> master
2025-07-15 10:05:08 +00:00
5bd0c517a2 V8.03.864.2025.07.15
All checks were successful
🛡️ Retrieve DNSSEC status of coresecret.dev. / 🛡️ Retrieve DNSSEC status of coresecret.dev. (push) Successful in 52s
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m56s
🔐 Generating a Private Live ISO FLV 0. / 🔐 Generating a Private Live ISO FLV 0. (push) Successful in 1h1m7s
🔐 Generating a Private Live ISO FLV 1. / 🔐 Generating a Private Live ISO FLV 1. (push) Successful in 58m4s
💙 Generating a PUBLIC Live ISO. / 💙 Generating a PUBLIC Live ISO. (push) Successful in 57m47s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
2025-07-15 12:03:38 +02:00
f6f1d04a09 DEPLOY BOT : 🛡️ Shell Script Linting [skip ci]
X-CI-Metadata: master@8f3715f at 2025-06-25T21:18:21Z on e459c2abc8dc

Generated at : 2025-06-25T21:18:21Z
Runner Host  : e459c2abc8dc
Workflow ID  : 🛡️ Shell Script Linting
Git Commit   : 8f3715f HEAD -> master
2025-06-25 21:18:21 +00:00
8f3715ff74 V8.03.832.2025.06.25
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m38s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
2025-06-25 23:16:29 +02:00
bf2252fd66 DEPLOY BOT : 💙 Auto-Generate PUBLIC LIVE ISO [skip ci]
X-CI-Metadata: master@976d953 at 2025-06-25T21:14:00Z on f0432117dbbd

Generated at : 2025-06-25T21:14:00Z
Runner Host  : f0432117dbbd
Workflow ID  : 💙 Generating a PUBLIC Live ISO.
Git Commit   : 976d953 HEAD -> master
2025-06-25 21:14:00 +00:00
976d95397c DEPLOY BOT : 🔐 Auto-Generate PRIVATE LIVE ISO FLV 1 [skip ci]
X-CI-Metadata: master@bfa2263 at 2025-06-25T20:22:25Z on 5fb53ad22c54

Generated at : 2025-06-25T20:22:25Z
Runner Host  : 5fb53ad22c54
Workflow ID  : 🔐 Generating a Private Live ISO FLV 1.
Git Commit   : bfa2263 HEAD -> master
2025-06-25 20:22:25 +00:00
bfa2263198 DEPLOY BOT : 🔐 Auto-Generate PRIVATE LIVE ISO FLV 0 [skip ci]
X-CI-Metadata: master@3c57dfc at 2025-06-25T19:32:17Z on 8d73d968a04b

Generated at : 2025-06-25T19:32:17Z
Runner Host  : 8d73d968a04b
Workflow ID  : 🔐 Generating a Private Live ISO FLV 0.
Git Commit   : 3c57dfc HEAD -> master
2025-06-25 19:32:17 +00:00
3c57dfcd08 DEPLOY BOT : 🛡️ Shell Script Linting [skip ci]
X-CI-Metadata: master@7a1f51e at 2025-06-25T18:42:02Z on 2d082d209866

Generated at : 2025-06-25T18:42:02Z
Runner Host  : 2d082d209866
Workflow ID  : 🛡️ Shell Script Linting
Git Commit   : 7a1f51e HEAD -> master
2025-06-25 18:42:02 +00:00
7a1f51e72e V8.03.832.2025.06.25
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m23s
🔐 Generating a Private Live ISO FLV 0. / 🔐 Generating a Private Live ISO FLV 0. (push) Successful in 51m45s
🔐 Generating a Private Live ISO FLV 1. / 🔐 Generating a Private Live ISO FLV 1. (push) Successful in 50m7s
💙 Generating a PUBLIC Live ISO. / 💙 Generating a PUBLIC Live ISO. (push) Successful in 51m35s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
2025-06-25 20:40:25 +02:00
2d838a5b48 DEPLOY BOT : 🛡️ Shell Script Linting [skip ci]
X-CI-Metadata: master@a77e8e2 at 2025-06-25T14:59:38Z on 0e0da6bc2cd1

Generated at : 2025-06-25T14:59:38Z
Runner Host  : 0e0da6bc2cd1
Workflow ID  : 🛡️ Shell Script Linting
Git Commit   : a77e8e2 HEAD -> master
2025-06-25 14:59:38 +00:00
a77e8e2204 V8.03.832.2025.06.25
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m28s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
2025-06-25 16:58:05 +02:00
db1ce0cdbd DEPLOY BOT : 🛡️ Shell Script Linting [skip ci]
X-CI-Metadata: master@dda53a4 at 2025-06-25T14:41:30Z on 80989fd12b11

Generated at : 2025-06-25T14:41:30Z
Runner Host  : 80989fd12b11
Workflow ID  : 🛡️ Shell Script Linting
Git Commit   : dda53a4 HEAD -> master
2025-06-25 14:41:30 +00:00
dda53a41aa V8.03.832.2025.06.25
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m31s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
2025-06-25 16:39:38 +02:00
844981489a DEPLOY BOT : 🛡️ Shell Script Linting [skip ci]
X-CI-Metadata: master@bcf924a at 2025-06-25T13:01:33Z on c14dd6afdc02

Generated at : 2025-06-25T13:01:33Z
Runner Host  : c14dd6afdc02
Workflow ID  : 🛡️ Shell Script Linting
Git Commit   : bcf924a HEAD -> master
2025-06-25 13:01:33 +00:00
bcf924a4b7 V8.03.832.2025.06.25
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m51s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
2025-06-25 14:59:38 +02:00
70329077a3 DEPLOY BOT : 🛡️ Shell Script Linting [skip ci]
X-CI-Metadata: master@2ad5087 at 2025-06-25T12:53:29Z on f162d43b1f68

Generated at : 2025-06-25T12:53:29Z
Runner Host  : f162d43b1f68
Workflow ID  : 🛡️ Shell Script Linting
Git Commit   : 2ad5087 HEAD -> master
2025-06-25 12:53:29 +00:00
2ad5087b1e V8.03.832.2025.06.25
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m41s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
2025-06-25 14:51:09 +02:00
2631b86196 DEPLOY BOT : 🔐 Auto-Generate PRIVATE LIVE ISO FLV 0 [skip ci]
X-CI-Metadata: master@fd63ef7 at 2025-06-25T09:27:51Z on f6cb58e39e13

Generated at : 2025-06-25T09:27:51Z
Runner Host  : f6cb58e39e13
Workflow ID  : 🔐 Generating a Private Live ISO FLV 0.
Git Commit   : fd63ef7 HEAD -> master
2025-06-25 09:27:51 +00:00
fd63ef798b DEPLOY BOT : 🛡️ Shell Script Linting [skip ci]
X-CI-Metadata: master@98ceb5d at 2025-06-25T08:51:01Z on b6d66d8a6db7

Generated at : 2025-06-25T08:51:01Z
Runner Host  : b6d66d8a6db7
Workflow ID  : 🛡️ Shell Script Linting
Git Commit   : 98ceb5d HEAD -> master
2025-06-25 08:51:01 +00:00
98ceb5db1a DEPLOY BOT : 🛡️ Auto-Generate DNSSEC Status [skip ci]
X-CI-Metadata: master@4129d1e at 2025-06-25T08:50:03Z on 9819c5c58d02

Generated at : 2025-06-25T08:50:03Z
Runner Host  : 9819c5c58d02
Workflow ID  : 🛡️ Retrieve DNSSEC status of coresecret.dev.
Git Commit   : 4129d1e HEAD -> master
2025-06-25 08:50:03 +00:00
4129d1ef2b V8.03.832.2025.06.25
All checks were successful
🛡️ Retrieve DNSSEC status of coresecret.dev. / 🛡️ Retrieve DNSSEC status of coresecret.dev. (push) Successful in 35s
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m33s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
2025-06-25 10:49:20 +02:00
f6a2c5ad49 DEPLOY BOT : 🛡️ Shell Script Linting [skip ci]
X-CI-Metadata: master@e8161fd at 2025-06-25T08:42:40Z on b1823330795d

Generated at : 2025-06-25T08:42:40Z
Runner Host  : b1823330795d
Workflow ID  : 🛡️ Shell Script Linting
Git Commit   : e8161fd HEAD -> master
2025-06-25 08:42:40 +00:00
e8161fdc2d DEPLOY BOT : 🛡️ Auto-Generate DNSSEC Status [skip ci]
X-CI-Metadata: master@7b79ef1 at 2025-06-25T08:41:39Z on 8759a9db21a0

Generated at : 2025-06-25T08:41:39Z
Runner Host  : 8759a9db21a0
Workflow ID  : 🛡️ Retrieve DNSSEC status of coresecret.dev.
Git Commit   : 7b79ef1 HEAD -> master
2025-06-25 08:41:39 +00:00
7b79ef1237 DEPLOY BOT : 🛡️ Shell Script Linting [skip ci]
X-CI-Metadata: master@9143b78 at 2025-06-25T08:38:18Z on 6254bdfd1ab6

Generated at : 2025-06-25T08:38:18Z
Runner Host  : 6254bdfd1ab6
Workflow ID  : 🛡️ Shell Script Linting
Git Commit   : 9143b78 HEAD -> master
2025-06-25 08:38:18 +00:00
9143b7800b V8.03.832.2025.06.24
All checks were successful
🛡️ Shell Script Linting / 🛡️ Shell Script Linting (push) Successful in 1m37s
🔐 Generating a Private Live ISO FLV 0. / 🔐 Generating a Private Live ISO FLV 0. (push) Successful in 51m18s
Signed-off-by: Marc S. Weidner <msw@coresecret.dev>
2025-06-25 10:16:34 +02:00
49 changed files with 502 additions and 215 deletions

142
.archive/.0000_lib_usage.sh Normal file
View File

@@ -0,0 +1,142 @@
#!/bin/bash
# SPDX-Version: 3.0
# SPDX-CreationInfo: 2025-05-05; WEIDNER, Marc S.; <msw@coresecret.dev>
# SPDX-ExternalRef: GIT https://git.coresecret.dev/msw/CISS.debian.live.builder.git
# SPDX-FileContributor: WEIDNER, Marc S.; Centurion Intelligence Consulting Agency
# SPDX-FileCopyrightText: 2024-2025; WEIDNER, Marc S.; <msw@coresecret.dev>
# SPDX-FileType: SOURCE
# SPDX-License-Identifier: EUPL-1.2 OR LicenseRef-CCLA-1.0
# SPDX-LicenseComment: This file is part of the CISS.debian.installer.secure framework.
# SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu
#######################################
# Usage Wrapper CISS.debian.live.builder
# Globals:
# none
# Arguments:
# $0: Script name
#######################################
usage() {
clear
cat << EOF
$(echo -e "\e[92mCISS.debian.live.builder\e[0m")
$(echo -e "\e[92mMaster V8.03.864.2025.07.15\e[0m")
$(echo -e "\e[92mA lightweight Shell Wrapper for building a hardened Debian Live ISO Image.\e[0m")
$(echo -e "\e[97m(c) Marc S. Weidner, 2018 - 2025\e[0m")
$(echo -e "\e[97m(p) Centurion Press, 2024 - 2025\e[0m")
"${0} <option>", where <option> is one or more of:
$(echo -e "\e[97m --help, -h\e[0m")
What you're looking at.
$(echo -e "\e[97m --autobuild=*, -a=*\e[0m")
Headless mode. Skip the dialog wrapper, provider note screen and interactive kernel
selector dialog. Change '*' to your desired Linux kernel and trim the
'linux-image-' string to select a specific kernel, e.g. '--autobuild=6.12.30+bpo-amd64'.
$(echo -e "\e[97m --architecture <STRING> one of <amd64 | arm64>\e[0m")
A string reflecting the architecture of the Live System.
MUST be provided.
$(echo -e "\e[97m --build-directory </path/to/build_directory>\e[0m")
Where the Debian Live Build Image should be generated.
MUST be provided.
$(echo -e "\e[97m --change-splash <STRING> one of <club | hexagon>\e[0m")
A string reflecting the GRub Boot Screen Splash you want to use.
If omitted defaults to "./.archive/background/club.png".
$(echo -e "\e[97m --cdi (Experimental Feature)\e[0m")
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.
$(echo -e "\e[97m --contact, -c\e[0m")
Displays contact information of the author.
$(echo -e "\e[97m --control <INTEGER>\e[0m")
An integer that reflects the version of your Live ISO Image.
MUST be provided.
$(echo -e "\e[97m --debug\e[0m")
Enables debug logging for the main program routine. Detailed logging
information are written to "/tmp/ciss_live_builder_$$.log"
$(echo -e "\e[97m --dhcp-centurion\e[0m")
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/
- https://dns03.eddns.eu/
$(echo -e "\e[97m --jump-host <IP | IP | ... >\e[0m")
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.
$(echo -e "\e[97m --log-statistics-only\e[0m")
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.
$(echo -e "\e[97m --provider-netcup-ipv6\e[0m")
Activates IPv6 support for Netcup Root Server. One unique
IPv6 address MUST be provided in this case and MUST be encapsulated
with [], e.g., [1234::abcd].
$(echo -e "\e[97m --renice-priority <PRIORITY>\e[0m")
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 '"'.
$(echo -e "\e[97m --reionice-priority <CLASS> <PRIORITY>\e[0m")
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'.
Whereas <PRIORITY> MUST be an integer as well between:
0: highest priority 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.
$(echo -e "\e[97m --root-password-file </path/to/password.txt>\e[0m")
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.
$(echo -e "\e[97m --ssh-port <INTEGER>\e[0m")
The desired Port SSH should listen to.
If not provided defaults to Port 22.
$(echo -e "\e[97m --ssh-pubkey </path/to/.ssh/>\e[0m")
Imports the SSH Public Key(s) from the FILE 'authorized_keys' of the
specified PATH into the Live ISO. MUST be provided.
$(echo -e "\e[97m --version, -v\e[0m")
Displays version of ${0}.
$(echo -e "\e[93m💡 Notes:\e[0m")
🔵 You MUST be 'root' to run this script.
$(echo -e "\e[95m💷 Please consider donating to my work at:\e[0m")
$(echo -e "\e[95m🌐 https://coresecret.eu/spenden/ \e[0m")
EOF
}
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh

View File

@@ -25,7 +25,7 @@ body:
attributes: attributes:
label: "Version" label: "Version"
description: "Which version are you running? Use `./ciss_live_builder.sh -v`." description: "Which version are you running? Use `./ciss_live_builder.sh -v`."
placeholder: "e.g., Master V8.03.832.2025.06.24" placeholder: "e.g., Master V8.03.864.2025.07.15"
validations: validations:
required: true required: true

View File

@@ -9,7 +9,7 @@
# SPDX-PackageName: CISS.debian.live.builder # SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
### Version Master V8.03.832.2025.06.24 ### Version Master V8.03.864.2025.07.15
FROM debian:bookworm FROM debian:bookworm

View File

@@ -9,7 +9,7 @@
# SPDX-PackageName: CISS.debian.live.builder # SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
### Version Master V8.03.832.2025.06.24 ### Version Master V8.03.864.2025.07.15
name: 🔁 Render README.md to README.html. name: 🔁 Render README.md to README.html.

View File

@@ -10,6 +10,6 @@
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
build: build:
counter: 1024 counter: 1023
version: V8.03.832.2025.06.24 version: V8.03.864.2025.07.15
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml

View File

@@ -11,5 +11,5 @@
build: build:
counter: 1023 counter: 1023
version: V8.03.832.2025.06.24 version: V8.03.864.2025.07.15
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml

View File

@@ -11,5 +11,5 @@
build: build:
counter: 1023 counter: 1023
version: V8.03.832.2025.06.24 version: V8.03.864.2025.07.15
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml

View File

@@ -11,5 +11,5 @@
build: build:
counter: 1023 counter: 1023
version: V8.03.832.2025.06.24 version: V8.03.864.2025.07.15
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=yaml

View File

@@ -9,7 +9,7 @@
# SPDX-PackageName: CISS.debian.live.builder # SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
### Version Master V8.03.832.2025.06.24 ### Version Master V8.03.864.2025.07.15
name: 🔐 Generating a Private Live ISO FLV 0. name: 🔐 Generating a Private Live ISO FLV 0.

View File

@@ -9,7 +9,7 @@
# SPDX-PackageName: CISS.debian.live.builder # SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
### Version Master V8.03.832.2025.06.24 ### Version Master V8.03.864.2025.07.15
name: 🔐 Generating a Private Live ISO FLV 1. name: 🔐 Generating a Private Live ISO FLV 1.

View File

@@ -9,7 +9,7 @@
# SPDX-PackageName: CISS.debian.live.builder # SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
### Version Master V8.03.832.2025.06.24 ### Version Master V8.03.864.2025.07.15
name: 💙 Generating a PUBLIC Live ISO. name: 💙 Generating a PUBLIC Live ISO.

View File

@@ -9,7 +9,7 @@
# SPDX-PackageName: CISS.debian.live.builder # SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
### Version Master V8.03.832.2025.06.24 ### Version Master V8.03.864.2025.07.15
# Gitea Workflow: Shell-Script Linting # Gitea Workflow: Shell-Script Linting
# #

View File

@@ -9,7 +9,7 @@
# SPDX-PackageName: CISS.debian.live.builder # SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
### Version Master V8.03.832.2025.06.24 ### Version Master V8.03.864.2025.07.15
name: 🛡️ Retrieve DNSSEC status of coresecret.dev. name: 🛡️ Retrieve DNSSEC status of coresecret.dev.

View File

@@ -9,7 +9,7 @@
# SPDX-PackageName: CISS.debian.live.builder # SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
### Version Master V8.03.832.2025.06.24 ### Version Master V8.03.864.2025.07.15
name: 🔁 Render Graphviz Diagrams. name: 🔁 Render Graphviz Diagrams.

View File

@@ -15,5 +15,5 @@ properties_SPDX-License-Identifier="EUPL-1.2 OR LicenseRef-CCLA-1.0"
properties_SPDX-LicenseComment="This file is part of the CISS.debian.installer.secure framework." properties_SPDX-LicenseComment="This file is part of the CISS.debian.installer.secure framework."
properties_SPDX-PackageName="CISS.debian.live.builder" properties_SPDX-PackageName="CISS.debian.live.builder"
properties_SPDX-Security-Contact="security@coresecret.eu" properties_SPDX-Security-Contact="security@coresecret.eu"
properties_version="V8.03.832.2025.06.24" properties_version="V8.03.864.2025.07.15"
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=conf # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=conf

View File

@@ -6,7 +6,7 @@ Creator: Person: Marc S. Weidner (Centurion Intelligence Consulting Agency)
Created: 2025-05-07T12:00:00Z Created: 2025-05-07T12:00:00Z
Package: CISS.debian.live.builder Package: CISS.debian.live.builder
PackageName: CISS.debian.live.builder PackageName: CISS.debian.live.builder
PackageVersion: Master V8.03.832.2025.06.24 PackageVersion: Master V8.03.864.2025.07.15
PackageSupplier: Organization: Centurion Intelligence Consulting Agency PackageSupplier: Organization: Centurion Intelligence Consulting Agency
PackageDownloadLocation: https://git.coresecret.dev/msw/CISS.debian.live.builder PackageDownloadLocation: https://git.coresecret.dev/msw/CISS.debian.live.builder
PackageHomePage: https://git.coresecret.dev/msw/CISS.debian.live.builder PackageHomePage: https://git.coresecret.dev/msw/CISS.debian.live.builder

View File

@@ -9,7 +9,7 @@
# SPDX-PackageName: CISS.debian.live.builder # SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
This file was automatically generated by the DEPLOY BOT on: "2025-06-24T21:45:52Z". This file was automatically generated by the DEPLOY BOT on: "2025-07-15T17:55:19Z".
✅ The last linter check was successful. ✅ ✅ The last linter check was successful. ✅

View File

@@ -9,19 +9,19 @@
# SPDX-PackageName: CISS.debian.live.builder # SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
This file was automatically generated by the DEPLOY BOT on: "2025-06-23T09:04:49Z". This file was automatically generated by the DEPLOY BOT on: "2025-07-15T13:01:05Z".
CISS.debian.live.builder ISO : CISS.debian.live.builder ISO :
"ciss-debian-live-2025_06_23T08_20_37Z-amd64.hybrid.iso" "ciss-debian-live-2025_07_15T12_12_23Z-amd64.hybrid.iso"
CISS.debian.live.builder ISO sha512 : CISS.debian.live.builder ISO sha512 :
86a8be09e16299892ae99d195b56a04356bcf5d2202016da8f8fa7441077c43fab68ebefcb8c39b3423f085a74b607907fb691ac71fdef92af33782bd2ac0ce5 e94f1f698fb6d6a078d3aed785302ffcad25221c92439e84bb505a39d7b4da50674063cc2f7957cca655afdcdb55871ed4990aebbb096f964336af682891aed0
CISS.debian.live.builder ISO sha512 sign : CISS.debian.live.builder ISO sha512 sign :
-----BEGIN PGP SIGNATURE----- -----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQSqYnPMNKGz69afyHA85KY4hzOwIQUCaFkYsQAKCRA85KY4hzOw iHUEABYKAB0WIQSqYnPMNKGz69afyHA85KY4hzOwIQUCaHZREQAKCRA85KY4hzOw
IbrbAQDeOIS3QYKIPkMhYlNPIcsJjv/dh3TdYiuQbkvfwVI+/gD/TiB+ska62vJk IQE/APsGY1Q8yonOxKTBUxgPPIA7ugHTfub9yWbPLcisC7J+sQEA17e8hmjJSX+O
LGfwjuaxMC0KHG1/UTICytOeAnTrXAc= NpAtnhF4dfZheybcyfJwsscrNtOieAM=
=qk8B =V2i8
-----END PGP SIGNATURE----- -----END PGP SIGNATURE-----
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=text # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=text

View File

@@ -9,19 +9,19 @@
# SPDX-PackageName: CISS.debian.live.builder # SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
This file was automatically generated by the DEPLOY BOT on: "2025-06-24T19:21:36Z". This file was automatically generated by the DEPLOY BOT on: "2025-07-15T11:05:11Z".
CISS.debian.live.builder ISO : CISS.debian.live.builder ISO :
"ciss-debian-live-2025_06_24T18_36_59Z-amd64.hybrid.iso" "ciss-debian-live-2025_07_15T10_13_20Z-amd64.hybrid.iso"
CISS.debian.live.builder ISO sha512 : CISS.debian.live.builder ISO sha512 :
3ca5a9635ef74a48f6d8f31696ec56e56ee95eff5317df95976e22d31e331bc503422602e24a9eaddfc30212acf6ebe96af51e94298c4c7c49c839c62abb6c2f b18d79055f12e6f61a1d0b46f8648f8097da419701f3366ba127b0eff1bb0d9ef4794b1a59b66ad8d48c3e3812a1fbc81f948a66b913b036cf2b740a778a88cd
CISS.debian.live.builder ISO sha512 sign : CISS.debian.live.builder ISO sha512 sign :
-----BEGIN PGP SIGNATURE----- -----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQSqYnPMNKGz69afyHA85KY4hzOwIQUCaFr6wAAKCRA85KY4hzOw iHUEABYKAB0WIQSqYnPMNKGz69afyHA85KY4hzOwIQUCaHY15wAKCRA85KY4hzOw
IbgHAP4p9jlF9jZkYIw/0H8j07QUWNHxeUz2r2UXp8aN2gUEBwEAxqbznJhH8li8 Idw3AQDzmYnaCI3OADP+DB+u805S8F+QUmVIcfmUGnM0sDz78gD+I+m+BHte8lzp
40g5sWwGLmBjlidIOe0NxeMUBkuMlQg= rwudtbEBn9wZvy2KyFWcxlSCn3go2gU=
=gq5w =nGnJ
-----END PGP SIGNATURE----- -----END PGP SIGNATURE-----
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=text # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=text

View File

@@ -9,19 +9,19 @@
# SPDX-PackageName: CISS.debian.live.builder # SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
This file was automatically generated by the DEPLOY BOT on: "2025-06-24T22:34:36Z". This file was automatically generated by the DEPLOY BOT on: "2025-07-15T12:03:16Z".
CISS.debian.live.builder ISO : CISS.debian.live.builder ISO :
"ciss-debian-live-2025_06_24T21_53_22Z-amd64.hybrid.iso" "ciss-debian-live-2025_07_15T11_14_23Z-amd64.hybrid.iso"
CISS.debian.live.builder ISO sha512 : CISS.debian.live.builder ISO sha512 :
581d951c8ab4d8e7afd2d727f8e64bd6fff51d005b84b9800e941da8dae654985bae500e056f02729d6b274ba330dfdbec59fd5ec2c8b18c3bbf37433b73c154 a022fe082d5d06db05e4c53f09b59ee57f483a3d2a2a143403d93c27a2d454ec8982ccaeb957f654c0879276befc7d9ab2333f407c8089306348c7a10fd39a20
CISS.debian.live.builder ISO sha512 sign : CISS.debian.live.builder ISO sha512 sign :
-----BEGIN PGP SIGNATURE----- -----BEGIN PGP SIGNATURE-----
iHUEABYKAB0WIQSqYnPMNKGz69afyHA85KY4hzOwIQUCaFsn/AAKCRA85KY4hzOw iHUEABYKAB0WIQSqYnPMNKGz69afyHA85KY4hzOwIQUCaHZDhAAKCRA85KY4hzOw
IUvMAP9P1U6lblhdZ9tSROvYXRXcv0IEg2rVo3fMx9T5fozLewEAgxxo0+J1Nlvu IV0hAQCl7xeM8Art2obImFmhUBKDOLcLifegqY/jKY9729EM/wEAzJTRuLts9Jzy
KVZOdiuc6xdxkBHWYaA2kSXZKI+qAwA= PXje4fYxZiNOoFv3hz7Xwt5q9rPn/AE=
=2H0C =S0vW
-----END PGP SIGNATURE----- -----END PGP SIGNATURE-----
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=text # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=text

View File

@@ -2,7 +2,7 @@
gitea: none gitea: none
include_toc: true include_toc: true
--- ---
[![Static Badge](https://badges.coresecret.dev/badge/Release-V8.03.832.2025.06.24-white?style=plastic&logo=linux&logoColor=white&logoSize=auto&label=Release&color=%23FCC624)](https://git.coresecret.dev/msw/CISS.debian.live.builder) [![Static Badge](https://badges.coresecret.dev/badge/Release-V8.03.864.2025.07.15-white?style=plastic&logo=linux&logoColor=white&logoSize=auto&label=Release&color=%23FCC624)](https://git.coresecret.dev/msw/CISS.debian.live.builder)
&nbsp; &nbsp;
[![Static Badge](https://badges.coresecret.dev/badge/Licence-EUPL1.2-white?style=plastic&logo=europeanunion&logoColor=white&logoSize=auto&label=Licence&color=%23003399)](https://eupl.eu/1.2/en/) &nbsp; [![Static Badge](https://badges.coresecret.dev/badge/Licence-EUPL1.2-white?style=plastic&logo=europeanunion&logoColor=white&logoSize=auto&label=Licence&color=%23003399)](https://eupl.eu/1.2/en/) &nbsp;
[![Static Badge](https://badges.coresecret.dev/badge/opensourceinitiative-Compliant-white?style=plastic&logo=opensourceinitiative&logoColor=white&logoSize=auto&label=OSI&color=%233DA639)](https://opensource.org/license/eupl-1-2) &nbsp; [![Static Badge](https://badges.coresecret.dev/badge/opensourceinitiative-Compliant-white?style=plastic&logo=opensourceinitiative&logoColor=white&logoSize=auto&label=OSI&color=%233DA639)](https://opensource.org/license/eupl-1-2) &nbsp;
@@ -26,7 +26,7 @@ include_toc: true
**Centurion Intelligence Consulting Agency Information Security Standard**<br> **Centurion Intelligence Consulting Agency Information Security Standard**<br>
*Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br> *Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br>
**Master Version**: 8.03<br> **Master Version**: 8.03<br>
**Build**: V8.03.832.2025.06.24<br> **Build**: V8.03.864.2025.07.15<br>
This shell wrapper automates the creation of a Debian Bookworm live ISO hardened according to the latest best practices in server This shell wrapper automates the creation of a Debian Bookworm live ISO hardened according to the latest best practices in server
and service security. It integrates into your build pipeline to deliver an isolated, robust environment suitable for and service security. It integrates into your build pipeline to deliver an isolated, robust environment suitable for
@@ -142,7 +142,7 @@ This means function status of the **CISS.2025.debian.live.builder** ISO after d-
This project adheres strictly to a structured versioning scheme following the pattern x.y.z-Date. This project adheres strictly to a structured versioning scheme following the pattern x.y.z-Date.
Example: `V8.03.832.2025.06.24` Example: `V8.03.864.2025.07.15`
`x.y.z` represents major (x), minor (y), and patch (z) version increments. `x.y.z` represents major (x), minor (y), and patch (z) version increments.
@@ -420,12 +420,13 @@ predictable script behavior.
5. Make any other changes you need to. 5. Make any other changes you need to.
3. Run the config builder script `./ciss_live_builder.sh` and the integrated `lb build` command (example): 3. Run the config builder script `./ciss_live_builder.sh` and the integrated `lb build` command (example):
```yaml ````bash
chmod 0700 ./ciss_live_builder.sh chmod 0700 ./ciss_live_builder.sh
timestamp=$(date -u +%Y-%m-%dT%H:%M:%S%z)
./ciss_live_builder.sh --architecture amd64 \ ./ciss_live_builder.sh --architecture amd64 \
--build-directory /opt/livebuild \ --build-directory /opt/livebuild \
--change-splash hexagon \ --change-splash hexagon \
--control 384 \ --control "${timestamp}" \
--debug \ --debug \
--dhcp-centurion \ --dhcp-centurion \
--jump-host 10.0.0.128 [c0de:4711:0815:4242::1] [2abc:4711:0815:4242::1]/64 \ --jump-host 10.0.0.128 [c0de:4711:0815:4242::1] [2abc:4711:0815:4242::1]/64 \
@@ -435,7 +436,7 @@ predictable script behavior.
--root-password-file /opt/gitea/CISS.debian.live.builder/password.txt \ --root-password-file /opt/gitea/CISS.debian.live.builder/password.txt \
--ssh-port 4242 \ --ssh-port 4242 \
--ssh-pubkey /opt/gitea/CISS.debian.live.builder --ssh-pubkey /opt/gitea/CISS.debian.live.builder
``` ````
4. Locate your ISO in the `--build-directory`. 4. Locate your ISO in the `--build-directory`.
5. Boot from the ISO and login to the live image via the console, or the multi-layer secured **coresecret** SSH tunnel. 5. Boot from the ISO and login to the live image via the console, or the multi-layer secured **coresecret** SSH tunnel.
6. Type `sysp` for the final kernel hardening features. 6. Type `sysp` for the final kernel hardening features.

View File

@@ -48,7 +48,7 @@
### CHECK FOR CONTACT, HELP, VERSION STRING, AND XTRACE DEBUG ### CHECK FOR CONTACT, HELP, VERSION STRING, AND XTRACE DEBUG
for arg in "$@"; do case "${arg,,}" in -c|--contact) . ./lib/lib_contact.sh; contact; exit 0;; esac; done for arg in "$@"; do case "${arg,,}" in -c|--contact) . ./lib/lib_contact.sh; contact; exit 0;; esac; done
for arg in "$@"; do case "${arg,,}" in -h|--help) . ./lib/lib_usage.sh; usage; exit 0;; esac; done for arg in "$@"; do case "${arg,,}" in -h|--help) . ./lib/lib_usage.sh; usage; exit 0;; esac; done
for arg in "$@"; do case "${arg,,}" in -v|--version) printf "\e[95mCISS.debian.live.builder Version: %s\e[0m\n" "${VAR_VERSION}"; exit 0;; esac; done for arg in "$@"; do case "${arg,,}" in -v|--version) . ./lib/lib_version.sh; version; exit 0;; esac; done
### ALL CHECKS DONE. READY TO START THE SCRIPT ### ALL CHECKS DONE. READY TO START THE SCRIPT
check_git check_git

View File

@@ -9,7 +9,7 @@
# SPDX-PackageName: CISS.debian.live.builder # SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
### Version Master V8.03.832.2025.06.24 ### Version Master V8.03.864.2025.07.15
### https://www.ssh-audit.com/ ### https://www.ssh-audit.com/
### ssh -Q cipher | cipher-auth | compression | kex | kex-gss | key | key-cert | key-plain | key-sig | mac | protocol-version | sig ### ssh -Q cipher | cipher-auth | compression | kex | kex-gss | key | key-cert | key-plain | key-sig | mac | protocol-version | sig

View File

@@ -9,7 +9,7 @@
# SPDX-PackageName: CISS.debian.live.builder # SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
### Version Master V8.03.832.2025.06.24 ### Version Master V8.03.864.2025.07.15
### https://docs.kernel.org/ ### https://docs.kernel.org/
### https://github.com/a13xp0p0v/kernel-hardening-checker/ ### https://github.com/a13xp0p0v/kernel-hardening-checker/

View File

@@ -10,7 +10,7 @@
# SPDX-PackageName: CISS.debian.live.builder # SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu # SPDX-Security-Contact: security@coresecret.eu
declare -gr VERSION="Master V8.03.832.2025.06.24" declare -gr VERSION="Master V8.03.864.2025.07.15"
### VERY EARLY CHECK FOR DEBUGGING ### VERY EARLY CHECK FOR DEBUGGING
if [[ $* == *" --debug "* ]]; then if [[ $* == *" --debug "* ]]; then

View File

@@ -112,4 +112,4 @@ d-i preseed/late_command string sh /preseed/.ash/3_di_preseed_late_command.sh
# Please consider donating to my work at: https://coresecret.eu/spenden/ # Please consider donating to my work at: https://coresecret.eu/spenden/
########################################################################################### ###########################################################################################
# Written by: ./preseed_hash_generator.sh Version: Master V8.03.832.2025.06.24 at: 10:18:37.9542 # Written by: ./preseed_hash_generator.sh Version: Master V8.03.864.2025.07.15 at: 10:18:37.9542

View File

@@ -26,6 +26,7 @@ ca-certificates
clamav clamav
clamav-daemon clamav-daemon
console-setup console-setup
cpuid
cryptsetup cryptsetup
cryptsetup-nuke-password cryptsetup-nuke-password
curl curl
@@ -49,6 +50,7 @@ expect
fail2ban fail2ban
fdisk fdisk
figlet figlet
fio
fzf fzf
gawk gawk
gdisk gdisk
@@ -111,6 +113,7 @@ speedtest-cli
squashfs-tools squashfs-tools
ssh ssh
ssl-cert ssl-cert
stress
sudo sudo
sysstat sysstat
systemd-sysv systemd-sysv

View File

@@ -8,7 +8,7 @@ include_toc: true
**Centurion Intelligence Consulting Agency Information Security Standard**<br> **Centurion Intelligence Consulting Agency Information Security Standard**<br>
*Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br> *Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br>
**Master Version**: 8.03<br> **Master Version**: 8.03<br>
**Build**: V8.03.832.2025.06.24<br> **Build**: V8.03.864.2025.07.15<br>
# 2. DNSSEC Status # 2. DNSSEC Status

View File

@@ -8,7 +8,7 @@ include_toc: true
**Centurion Intelligence Consulting Agency Information Security Standard**<br> **Centurion Intelligence Consulting Agency Information Security Standard**<br>
*Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br> *Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br>
**Master Version**: 8.03<br> **Master Version**: 8.03<br>
**Build**: V8.03.832.2025.06.24<br> **Build**: V8.03.864.2025.07.15<br>
# 2. Haveged Audit on Netcup RS 2000 G11 # 2. Haveged Audit on Netcup RS 2000 G11

View File

@@ -8,7 +8,7 @@ include_toc: true
**Centurion Intelligence Consulting Agency Information Security Standard**<br> **Centurion Intelligence Consulting Agency Information Security Standard**<br>
*Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br> *Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br>
**Master Version**: 8.03<br> **Master Version**: 8.03<br>
**Build**: V8.03.832.2025.06.24<br> **Build**: V8.03.864.2025.07.15<br>
# 2. Lynis Audit: # 2. Lynis Audit:

View File

@@ -8,7 +8,7 @@ include_toc: true
**Centurion Intelligence Consulting Agency Information Security Standard**<br> **Centurion Intelligence Consulting Agency Information Security Standard**<br>
*Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br> *Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br>
**Master Version**: 8.03<br> **Master Version**: 8.03<br>
**Build**: V8.03.832.2025.06.24<br> **Build**: V8.03.864.2025.07.15<br>
# 2. SSH Audit by ssh-audit.com # 2. SSH Audit by ssh-audit.com

View File

@@ -8,7 +8,7 @@ include_toc: true
**Centurion Intelligence Consulting Agency Information Security Standard**<br> **Centurion Intelligence Consulting Agency Information Security Standard**<br>
*Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br> *Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br>
**Master Version**: 8.03<br> **Master Version**: 8.03<br>
**Build**: V8.03.832.2025.06.24<br> **Build**: V8.03.864.2025.07.15<br>
# 2. TLS Audit: # 2. TLS Audit:

56
docs/BOOTPARAMS.md Normal file
View File

@@ -0,0 +1,56 @@
---
gitea: none
include_toc: true
---
# 1. CISS.debian.live.builder
**Centurion Intelligence Consulting Agency Information Security Standard**<br>
*Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br>
**Master Version**: 8.03<br>
**Build**: V8.03.864.2025.07.15<br>
# 2. Hardened Kernel Boot Parameters
Below is a curated set of kernel boot parameters optimized for CISS Debian Installer. These parameters enhance security posture,
restrict legacy interfaces, enforce memory initialization, and disable speculative side channels. Each parameter is documented
with a short rationale.
* ``audit=1``: Enable kernel auditing subsystem.
* ``audit_backlog_limit=8192``: Set audit event buffer depth.
* ``cfi=kcfi``: Enable Clang's Control Flow Integrity (if supported by kernel).
* ``debugfs=off``: Disable debugfs mount, prevents access to kernel internals.
* ``efi=disable_early_pci_dma``: Prevent early PCI DMA via EFI.
* ``hardened_usercopy=1``: Harden copy_*_user() functions, mitigate heap/memcpy bugs.
* ``ia32_emulation=0``: Disable 32-bit x86 binary support on 64-bit kernel.
* ``init_on_alloc=1``: Zero-initialize heap memory on allocation.
* ``init_on_free=1``: Zero memory on free to prevent reuse data leaks.
* ``iommu=force``: Enforce use of IOMMU.
* ``iommu.strict=1``: Enable strict IOMMU mode (always remap).
* ``iommu.passthrough=0``: Prevent IOMMU passthrough (forces remapping).
* ``kfence.sample_interval=100``: Enable low-overhead heap-fence sampling.
* ``kvm.nx_huge_pages=force``: Enforce NX-bit for KVM hugepages to prevent code execution.
* ``l1d_flush=on``: Flush L1D cache on VM-entry to mitigate cache side-channels.
* ``lockdown=confidentiality``: Enable kernel lockdown in confidentiality mode.
* ``loglevel=0``: Silence all kernel messages (only EMERG shown).
* ``mitigations=auto,nosmt``: Enable all available speculative mitigations, disable SMT.
* ``mmio_stale_data=full,force,nosmt``: Mitigate MMIO stale data side channel fully.
* ``nosmt=force``: Force disable Simultaneous Multithreading (SMT/HT).
* ``oops=panic``: Trigger kernel panic on oops, ensures halt on fault.
* ``page_alloc.shuffle=1``: Randomize page allocator freelist order.
* ``page_poison=1``: Fill freed pages with poison patterns to detect UAF.
* ``panic=-1``: Prevent automatic reboot after panic.
* ``pti=on``: Enable Page Table Isolation (Meltdown mitigation).
* ``random.trust_bootloader=off``: Do not trust RNG state from bootloader.
* ``random.trust_cpu=off``: Do not trust CPU's RDRAND or RDSEED.
* ``randomize_kstack_offset=on``: Enable randomized kernel stack offset per syscall.
* ``randomize_va_space=2``: Enable full ASLR for mmap and heap.
* ``retbleed=auto,nosmt``: Mitigate Retbleed exploit path via branch prediction.
* ``rodata=on``: Enforce read-only sections for .rodata.
* ``slab_nomerge``: Disable merging of similar slab caches.
* ``vdso32=0``: Disable 32-bit vdso mapping (x86 compatibility).
* ``vsyscall=none``: Disable vsyscall legacy mapping.
---
**[no tracking | no logging | no advertising | no profiling | no bullshit](https://coresecret.eu/)**
<!-- vim: set number et ts=2 sw=2 sts=2 ai tw=128 ft=markdown -->

View File

@@ -8,10 +8,27 @@ include_toc: true
**Centurion Intelligence Consulting Agency Information Security Standard**<br> **Centurion Intelligence Consulting Agency Information Security Standard**<br>
*Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br> *Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br>
**Master Version**: 8.03<br> **Master Version**: 8.03<br>
**Build**: V8.03.832.2025.06.24<br> **Build**: V8.03.864.2025.07.15<br>
# 2. Changelog # 2. Changelog
## V8.03.864.2025.07.15
* Updated: [0010_dhcp_supersede.sh](../scripts/0010_dhcp_supersede.sh)
* Added: [BOOTPARAMS.md](BOOTPARAMS.md)
* Added: Package ``cpuid``: [live.list.common.chroot](../config/package-lists/live.list.common.chroot)
## V8.03.832.2025.06.25
* Added: [lib_version.sh](../lib/lib_version.sh)
* Updated:
* [lib_contact.sh](../lib/lib_contact.sh)
* [lib_usage.sh](../lib/lib_usage.sh)
* Packages added:
* https://packages.debian.org/bookworm/fio
* https://packages.debian.org/bookworm/stress
* Timezone changed to ``Etc/UTC``
## V8.03.832.2025.06.24 ## V8.03.832.2025.06.24
* Updated: * Updated:

View File

@@ -8,7 +8,7 @@ include_toc: true
**Centurion Intelligence Consulting Agency Information Security Standard**<br> **Centurion Intelligence Consulting Agency Information Security Standard**<br>
*Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br> *Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br>
**Master Version**: 8.03<br> **Master Version**: 8.03<br>
**Build**: V8.03.832.2025.06.24<br> **Build**: V8.03.864.2025.07.15<br>
# 2. Centurion Net - Developer Branch Overview # 2. Centurion Net - Developer Branch Overview

View File

@@ -8,7 +8,7 @@ include_toc: true
**Centurion Intelligence Consulting Agency Information Security Standard**<br> **Centurion Intelligence Consulting Agency Information Security Standard**<br>
*Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br> *Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br>
**Master Version**: 8.03<br> **Master Version**: 8.03<br>
**Build**: V8.03.832.2025.06.24<br> **Build**: V8.03.864.2025.07.15<br>
# 2. Coding Style # 2. Coding Style

View File

@@ -8,7 +8,7 @@ include_toc: true
**Centurion Intelligence Consulting Agency Information Security Standard**<br> **Centurion Intelligence Consulting Agency Information Security Standard**<br>
*Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br> *Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br>
**Master Version**: 8.03<br> **Master Version**: 8.03<br>
**Build**: V8.03.832.2025.06.24<br> **Build**: V8.03.864.2025.07.15<br>
# 2. Contributing / participating # 2. Contributing / participating

View File

@@ -8,7 +8,7 @@ include_toc: true
**Centurion Intelligence Consulting Agency Information Security Standard**<br> **Centurion Intelligence Consulting Agency Information Security Standard**<br>
*Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br> *Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br>
**Master Version**: 8.03<br> **Master Version**: 8.03<br>
**Build**: V8.03.832.2025.06.24<br> **Build**: V8.03.864.2025.07.15<br>
# 2. Credits # 2. Credits

View File

@@ -8,7 +8,7 @@ include_toc: true
**Centurion Intelligence Consulting Agency Information Security Standard**<br> **Centurion Intelligence Consulting Agency Information Security Standard**<br>
*Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br> *Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br>
**Master Version**: 8.03<br> **Master Version**: 8.03<br>
**Build**: V8.03.832.2025.06.24<br> **Build**: V8.03.864.2025.07.15<br>
# 2. Download the latest PUBLIC CISS.debian.live.ISO # 2. Download the latest PUBLIC CISS.debian.live.ISO

View File

@@ -8,12 +8,12 @@ include_toc: true
**Centurion Intelligence Consulting Agency Information Security Standard**<br> **Centurion Intelligence Consulting Agency Information Security Standard**<br>
*Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br> *Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br>
**Master Version**: 8.03<br> **Master Version**: 8.03<br>
**Build**: V8.03.832.2025.06.24<br> **Build**: V8.03.864.2025.07.15<br>
# 2.1. Usage # 2.1. Usage
````text ````text
CISS.debian.live.builder CISS.debian.live.builder
Master V8.03.832.2025.06.24 Master V8.03.864.2025.07.15
A lightweight Shell Wrapper for building a hardened Debian Bookworm Live ISO Image. A lightweight Shell Wrapper for building a hardened Debian Bookworm Live ISO Image.
(c) Marc S. Weidner, 2018 - 2025 (c) Marc S. Weidner, 2018 - 2025
@@ -133,7 +133,7 @@ A lightweight Shell Wrapper for building a hardened Debian Bookworm Live ISO Ima
# 2.2. Contact # 2.2. Contact
````text ````text
CISS.debian.live.builder CISS.debian.live.builder
Master V8.03.832.2025.06.24 Master V8.03.864.2025.07.15
A lightweight Shell Wrapper for building a hardened Debian Bookworm Live ISO Image. A lightweight Shell Wrapper for building a hardened Debian Bookworm Live ISO Image.
(c) Marc S. Weidner, 2018 - 2025 (c) Marc S. Weidner, 2018 - 2025

View File

@@ -8,7 +8,7 @@ include_toc: true
**Centurion Intelligence Consulting Agency Information Security Standard**<br> **Centurion Intelligence Consulting Agency Information Security Standard**<br>
*Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br> *Debian Live Build Generator for hardened live environment and CISS Debian Installer*<br>
**Master Version**: 8.03<br> **Master Version**: 8.03<br>
**Build**: V8.03.832.2025.06.24<br> **Build**: V8.03.864.2025.07.15<br>
# 2. Resources # 2. Resources

Binary file not shown.

Before

Width:  |  Height:  |  Size: 186 KiB

After

Width:  |  Height:  |  Size: 185 KiB

View File

@@ -20,9 +20,9 @@
contact() { contact() {
clear clear
cat << EOF cat << EOF
$(echo -e "\e[92mCISS.debian.live.builder\e[0m") $(echo -e "\e[97m################################################################################ \e[0m")
$(echo -e "\e[92mMaster V8.03.832.2025.06.24\e[0m") $(echo -e "\e[92m CISS.debian.live.builder from https://git.coresecret.dev/msw \e[0m")
$(echo -e "\e[92mA lightweight Shell Wrapper for building a hardened Debian Bookworm Live ISO Image.\e[0m") $(echo -e "\e[92m A lightweight Shell Wrapper for building a hardened Debian Live ISO Image. \e[0m")
$(echo -e "\e[97m (c) Marc S. Weidner, 2018 - 2025 \e[0m") $(echo -e "\e[97m (c) Marc S. Weidner, 2018 - 2025 \e[0m")
$(echo -e "\e[97m (p) Centurion Press, 2024 - 2025 \e[0m") $(echo -e "\e[97m (p) Centurion Press, 2024 - 2025 \e[0m")
@@ -35,6 +35,7 @@ $(echo -e "\e[95m🔗 https://keys.openpgp.org/vks/v1/by-fingerprint/2D9807F4103
$(echo -e "\e[95m 💷 Please consider donating to my work at: \e[0m") $(echo -e "\e[95m 💷 Please consider donating to my work at: \e[0m")
$(echo -e "\e[95m 🌐 https://coresecret.eu/spenden/ \e[0m") $(echo -e "\e[95m 🌐 https://coresecret.eu/spenden/ \e[0m")
$(echo -e "\e[97m################################################################################ \e[0m")
EOF EOF
} }

View File

@@ -15,20 +15,12 @@ guard_sourcing
####################################### #######################################
# Wrapper to write a new 'lb config' environment. # Wrapper to write a new 'lb config' environment.
# Globals: # Globals:
# VAR_HANDLER_ISO_COUNTER
# VAR_ARCHITECTURE # VAR_ARCHITECTURE
# VAR_HANDLER_BUILD_DIR # VAR_HANDLER_BUILD_DIR
# VAR_HANDLER_ISO_COUNTER
# VAR_KERNEL # VAR_KERNEL
# VAR_WORKDIR
# VAR_VERSION # VAR_VERSION
# Arguments: # VAR_WORKDIR
# None
#######################################
#######################################
# description
# Globals:
# Arguments: # Arguments:
# None # None
####################################### #######################################
@@ -46,8 +38,8 @@ lb_config_write() {
--backports true \ --backports true \
--binary-filesystem fat32 \ --binary-filesystem fat32 \
--binary-image iso-hybrid \ --binary-image iso-hybrid \
--bootappend-install "auto=true priority=critical clock-setup/utc=true console-setup/ask_detect=false debian-installer/country=US debian-installer/language=en debian-installer/locale=en_US.UTF-8 keyboard-configuration/xkb-keymap=de keyboard-configuration/model=pc105 localechooser/supported-locales=en_US.UTF-8 time/zone=Europe/Lisbon splash audit_backlog_limit=8192 audit=1 cfi=kcfi debugfs=off efi=disable_early_pci_dma efi_no_storage_paranoia hardened_usercopy=1 ia32_emulation=0 init_on_alloc=1 init_on_free=1 iommu=force kfence.sample_interval=100 kvm.nx_huge_pages=force l1d_flush=on lockdown=confidentiality loglevel=0 mce=0 mitigations=auto,nosmt mmio_stale_data=full,nosmt oops=panic page_alloc.shuffle=1 page_poison=1 panic=-1 pti=on random.trust_bootloader=off random.trust_cpu=off randomize_kstack_offset=on randomize_va_space=2 retbleed=auto,nosmt rodata=on tsx=off vdso32=0 vsyscall=none" \ --bootappend-install "auto=true priority=critical clock-setup/utc=true console-setup/ask_detect=false debian-installer/country=US debian-installer/language=en debian-installer/locale=en_US.UTF-8 keyboard-configuration/xkb-keymap=de keyboard-configuration/model=pc105 localechooser/supported-locales=en_US.UTF-8 time/zone=Etc/UTC splash audit_backlog_limit=8192 audit=1 cfi=kcfi debugfs=off efi=disable_early_pci_dma efi_no_storage_paranoia hardened_usercopy=1 ia32_emulation=0 init_on_alloc=1 init_on_free=1 iommu=force kfence.sample_interval=100 kvm.nx_huge_pages=force l1d_flush=on lockdown=confidentiality loglevel=0 mce=0 mitigations=auto,nosmt mmio_stale_data=full,nosmt oops=panic page_alloc.shuffle=1 page_poison=1 panic=-1 pti=on random.trust_bootloader=off random.trust_cpu=off randomize_kstack_offset=on randomize_va_space=2 retbleed=auto,nosmt rodata=on tsx=off vdso32=0 vsyscall=none" \
--bootappend-live "boot=live verify-checksums components nocomponents=cdi-starter locales=en_US.UTF-8 keyboard-layouts=de keyboard-model=pc105 keyboard-options= keyboard-variants= noeject nopersistence ramdisk-size=1024M splash swap=true timezone=Europe/Lisbon toram audit_backlog_limit=8192 audit=1 cfi=kcfi debugfs=off efi=disable_early_pci_dma efi_no_storage_paranoia hardened_usercopy=1 ia32_emulation=0 init_on_alloc=1 init_on_free=1 iommu=force kfence.sample_interval=100 kvm.nx_huge_pages=force l1d_flush=on lockdown=confidentiality loglevel=0 mce=0 mitigations=auto,nosmt mmio_stale_data=full,nosmt oops=panic page_alloc.shuffle=1 page_poison=1 panic=-1 pti=on random.trust_bootloader=off random.trust_cpu=off randomize_kstack_offset=on randomize_va_space=2 retbleed=auto,nosmt rodata=on tsx=off vdso32=0 vsyscall=none" \ --bootappend-live "boot=live components keyboard-layouts=de keyboard-model=pc105 keyboard-options= keyboard-variants= locales=en_US.UTF-8 nocomponents=cdi-starter noeject nopersistence ramdisk-size=1024M splash swap=true timezone=Etc/UTC toram verify-checksums audit_backlog_limit=8192 audit=1 cfi=kcfi debugfs=off efi=disable_early_pci_dma hardened_usercopy=1 ia32_emulation=0 init_on_alloc=1 init_on_free=1 iommu.passthrough=0 iommu.strict=1 iommu=force kfence.sample_interval=100 kvm.nx_huge_pages=force l1d_flush=on lockdown=confidentiality loglevel=0 mitigations=auto,nosmt mmio_stale_data=full,force,nosmt nosmt=force oops=panic page_alloc.shuffle=1 page_poison=1 panic=-1 pti=on random.trust_bootloader=off random.trust_cpu=off randomize_kstack_offset=on randomize_va_space=2 retbleed=auto,nosmt rodata=on slab_nomerge vdso32=0 vsyscall=none" \
--bootloaders grub-efi \ --bootloaders grub-efi \
--cache true \ --cache true \
--checksums sha512 sha256 md5 \ --checksums sha512 sha256 md5 \

View File

@@ -1,6 +1,6 @@
#!/bin/bash #!/bin/bash
# SPDX-Version: 3.0 # SPDX-Version: 3.0
# SPDX-CreationInfo: 2025-05-05; WEIDNER, Marc S.; <msw@coresecret.dev> # SPDX-CreationInfo: 2025-06-25; WEIDNER, Marc S.; <msw@coresecret.dev>
# SPDX-ExternalRef: GIT https://git.coresecret.dev/msw/CISS.debian.live.builder.git # SPDX-ExternalRef: GIT https://git.coresecret.dev/msw/CISS.debian.live.builder.git
# SPDX-FileContributor: WEIDNER, Marc S.; Centurion Intelligence Consulting Agency # SPDX-FileContributor: WEIDNER, Marc S.; Centurion Intelligence Consulting Agency
# SPDX-FileCopyrightText: 2024-2025; WEIDNER, Marc S.; <msw@coresecret.dev> # SPDX-FileCopyrightText: 2024-2025; WEIDNER, Marc S.; <msw@coresecret.dev>
@@ -12,131 +12,152 @@
####################################### #######################################
# Usage Wrapper CISS.debian.live.builder # Usage Wrapper CISS.debian.live.builder
# Globals:
# none
# Arguments: # Arguments:
# $0: Script name # $0: Script name
####################################### #######################################
usage() { usage() {
clear # shellcheck disable=SC2155
cat << EOF declare var_cols=$(tput cols 2>/dev/null || echo 80)
$(echo -e "\e[92mCISS.debian.live.builder\e[0m")
$(echo -e "\e[92mMaster V8.03.832.2025.06.24\e[0m")
$(echo -e "\e[92mA lightweight Shell Wrapper for building a hardened Debian Bookworm Live ISO Image.\e[0m")
$(echo -e "\e[97m(c) Marc S. Weidner, 2018 - 2025\e[0m") #######################################
$(echo -e "\e[97m(p) Centurion Press, 2024 - 2025\e[0m") # Header, Footer wrapper for dynamically output.
# Arguments:
# $1: Text.
# $2: Width of Terminal.
#######################################
center() {
declare var_text="$1"
declare var_width="$2"
declare var_padding=$(( (var_width - ${#var_text}) / 2 ))
printf "%*s%s%*s\n" "${var_padding}" "" "${var_text}" "${var_padding}" ""
}
"${0} <option>", where <option> is one or more of: # shellcheck disable=SC2155
declare var_header=$(center "CLB(1) CISS.debian.live.builder CLB(1)" "${var_cols}")
# shellcheck disable=SC2155
declare var_footer=$(center "V8.03.864.2025.07.15 2025-06-25 CLB(1)" "${var_cols}")
$(echo -e "\e[97m --help, -h\e[0m") {
What you're looking at. echo -e "\e[1;97m${var_header}\e[0m"
echo
$(echo -e "\e[97m --autobuild=*, -a=*\e[0m") echo -e "\e[92mCISS.debian.live.builder from https://git.coresecret.dev/msw \e[0m"
Headless mode. Skip the dialog wrapper, provider note screen and interactive kernel echo -e "\e[92mMaster V8.03.864.2025.07.15\e[0m"
selector dialog. Change '*' to your desired Linux kernel and trim the echo -e "\e[92mA lightweight Shell Wrapper for building a hardened Debian Live ISO Image.\e[0m"
'linux-image-' string to select a specific kernel, e.g. '--autobuild=6.12.30+bpo-amd64'. echo
echo -e "\e[97m(c) Marc S. Weidner, 2018 - 2025 \e[0m"
$(echo -e "\e[97m --architecture <STRING> one of <amd64 | arm64>\e[0m") echo -e "\e[97m(p) Centurion Press, 2024 - 2025 \e[0m"
A string reflecting the architecture of the Live System. echo
MUST be provided. echo -e "\e[97m${0} <option>, where <option> is one or more of: \e[0m"
echo
$(echo -e "\e[97m --build-directory </path/to/build_directory>\e[0m") echo -e "\e[97m --help, -h \e[0m"
Where the Debian Live Build Image should be generated. echo " What you're looking at."
MUST be provided. echo
echo -e "\e[97m --autobuild=*, -a=* \e[0m"
$(echo -e "\e[97m --change-splash <STRING> one of <club | hexagon>\e[0m") echo " Headless mode. Skip the dialog wrapper, provider note screen and interactive kernel"
A string reflecting the GRub Boot Screen Splash you want to use. echo " selector dialog. Change '*' to your desired Linux kernel and trim the"
If omitted defaults to "./.archive/background/club.png". echo " 'linux-image-' string to select a specific kernel, e.g. '--autobuild=6.12.30+bpo-amd64'."
echo
$(echo -e "\e[97m --cdi (Experimental Feature)\e[0m") echo -e "\e[97m --architecture <STRING> one of <amd64 | arm64> \e[0m"
This option generates a boot menu entry to start the forthcoming echo " A string reflecting the architecture of the Live System."
'CISS.debian.installer', which will be executed after echo " MUST be provided."
the system has successfully booted up. echo
echo -e "\e[97m --build-directory </path/to/build_directory> \e[0m"
$(echo -e "\e[97m --contact, -c\e[0m") echo " Where the Debian Live Build Image should be generated."
Displays contact information of the author. echo " MUST be provided."
echo
$(echo -e "\e[97m --control <INTEGER>\e[0m") echo -e "\e[97m --change-splash <STRING> one of <club | hexagon>\e[0m"
An integer that reflects the version of your Live ISO Image. echo " A string reflecting the Grub Boot Screen Splash you want to use."
MUST be provided. echo " If omitted defaults to './.archive/background/club.png'."
echo
$(echo -e "\e[97m --debug\e[0m") echo -e "\e[97m --cdi (Experimental Feature)\e[0m"
Enables debug logging for the main program routine. Detailed logging echo " This option generates a boot menu entry to start the forthcoming"
information are written to "/tmp/ciss_live_builder_$$.log" echo " 'CISS.debian.installer', which will be executed after"
echo " the system has successfully booted up."
$(echo -e "\e[97m --dhcp-centurion\e[0m") echo
If a DHCP lease is provided, the provider's nameserver will be overridden, echo -e "\e[97m --contact, -c\ e[0m"
and only the hardened, privacy-focused Centurion DNS servers will be used: echo " Show author contact information."
- https://dns01.eddns.eu/ echo
- https://dns02.eddns.de/ echo -e "\e[97m --control <INTEGER>\e[0m"
- https://dns03.eddns.eu/ echo " An integer that reflects the version of your Live ISO Image."
echo " MUST be provided."
$(echo -e "\e[97m --jump-host <IP | IP | ... >\e[0m") echo
Provide up to 10 IPs for /etc/host.allow whitelisting of SSH access. echo -e "\e[97m --debug, -d \e[0m"
Could be either IPv4 and / or IPv6 addresses and / or CCDIR notation. echo " Enables debug logging for the main program routine. Detailed logging"
If provided, than it MUST be a <SPACE> separated list. echo " information are written to '/tmp/ciss_live_builder_$$.log'."
IPv6 addresses MUST be encapsulated with [], e.g., [1234::abcd]/64. echo
echo -e "\e[97m --dhcp-centurion \e[0m"
$(echo -e "\e[97m --log-statistics-only\e[0m") echo " If a DHCP lease is provided, the provider's nameserver will be overridden,"
Provides statistic only after successful building a echo " and only the hardened, privacy-focused Centurion DNS servers will be used:"
CISS.debian.live-ISO. While enabling "--log-statistics-only" echo " - https://dns01.eddns.eu/"
the argument "--build-directory" MUST be provided while echo " - https://dns02.eddns.de/"
all further options MUST be omitted. echo " - https://dns03.eddns.eu/"
echo
$(echo -e "\e[97m --provider-netcup-ipv6\e[0m") echo -e "\e[97m --jump-host <IP | IP | ... > \e[0m"
Activates IPv6 support for Netcup Root Server. One unique echo " Provide up to 10 IPs for /etc/host.allow whitelisting of SSH access."
IPv6 address MUST be provided in this case and MUST be encapsulated echo " Could be either IPv4 and / or IPv6 addresses and / or CCDIR notation."
with [], e.g., [1234::abcd]. echo " If provided, than it MUST be a <SPACE> separated list."
echo " IPv6 addresses MUST be encapsulated with [], e.g., [1234::abcd]/64."
$(echo -e "\e[97m --renice-priority <PRIORITY>\e[0m") echo
Reset the nice priority value of the script and all its children echo -e "\e[97m --log-statistics-only\e[0m"
to the desired <PRIORITY>. MUST be an integer (between "-19" and 19). echo " Provides statistic only after successful building a"
Negative (higher) values MUST be enclosed in double quotes '"'. echo " CISS.debian.live-ISO. While enabling '--log-statistics-only'"
echo " the argument '--build-directory' MUST be provided while"
$(echo -e "\e[97m --reionice-priority <CLASS> <PRIORITY>\e[0m") echo " all further options MUST be omitted."
Reset the ionice priority value of the script and all its children echo
to the desired <CLASS>. MUST be an integer: echo -e "\e[97m --provider-netcup-ipv6 \e[0m"
1: realtime echo " Activates IPv6 support for Netcup Root Server. One unique"
2: best-effort echo " IPv6 address MUST be provided in this case and MUST be encapsulated"
3: idle echo " with [], e.g., [1234::abcd]."
Defaults to '2'. echo
Whereas <PRIORITY> MUST be an integer as well between: echo -e "\e[97m --renice-priority <PRIORITY> \e[0m"
0: highest priority and echo " Reset the nice priority value of the script and all its children"
7: lowest priority. echo " to the desired <PRIORITY>. MUST be an integer (between '-19' and 19)."
Defaults to '4'. echo " Negative (higher) values MUST be enclosed in double quotes '\"'."
A real-time I/O process can significantly slow down other processes echo
or even cause them to starve if it continuously requests I/O. echo -e "\e[97m --reionice-priority <CLASS> <PRIORITY> \e[0m"
echo " Reset the ionice priority value of the script and all its children"
$(echo -e "\e[97m --root-password-file </path/to/password.txt>\e[0m") echo " to the desired <CLASS>. MUST be an integer:"
Password file for 'root', if given, MUST be a string of 20 to 64 characters, echo " 1: realtime"
and MUST NOT contain the special character '"'. echo " 2: best-effort"
If the argument is omitted, no further login authentication is required for echo " 3: idle"
the local console. The root password is hashed with an 16 Byte '/dev/random' echo " Defaults to '2'."
generated SALT and SHA512 Hashing function and 8,388,608 rounds. Immediately echo " Whereas <PRIORITY> MUST be an integer as well between:"
after Hash generation all Variables containing plain password fragments are echo " 0: highest priority and"
deleted. Password file SHOULD be '0400' and 'root:root' and is deleted without echo " 7: lowest priority."
further prompt after password hash has been successfully generated via: echo " Defaults to '4'."
'shred -vfzu 5 -f'. echo " A real-time I/O process can significantly slow down other processes"
No tracing of any plain text password fragment in any debug log. echo " or even cause them to starve if it continuously requests I/O."
echo
$(echo -e "\e[97m --ssh-port <INTEGER>\e[0m") echo -e "\e[97m --root-password-file </path/to/password.txt> \e[0m"
The desired Port SSH should listen to. echo " Password file for 'root', if given, MUST be a string of 20 to 64 characters,"
If not provided defaults to Port 22. echo " and MUST NOT contain the special character '\"'."
echo " If the argument is omitted, no further login authentication is required for"
$(echo -e "\e[97m --ssh-pubkey </path/to/.ssh/>\e[0m") echo " the local console. The root password is hashed with an 16 Byte '/dev/random'"
Imports the SSH Public Key(s) from the FILE 'authorized_keys' of the echo " generated SALT and SHA512 Hashing function and 8,388,608 rounds. Immediately"
specified PATH into the Live ISO. MUST be provided. echo " after Hash generation all Variables containing plain password fragments are"
echo " deleted. Password file SHOULD be '0400' and 'root:root' and is deleted without"
$(echo -e "\e[97m --version, -v\e[0m") echo " further prompt after password hash has been successfully generated via:"
Displays version of ${0}. echo " 'shred -vfzu 5 -f'."
echo " 'No tracing of any plain text password fragment in any debug log."
$(echo -e "\e[93m💡 Notes:\e[0m") echo
🔵 You MUST be 'root' to run this script. echo -e "\e[97m --ssh-port <INTEGER> \e[0m"
echo " The desired Port SSH should listen to."
$(echo -e "\e[95m💷 Please consider donating to my work at:\e[0m") echo " If not provided defaults to Port '22'."
$(echo -e "\e[95m🌐 https://coresecret.eu/spenden/ \e[0m") echo
echo -e "\e[97m --ssh-pubkey </path/to/.ssh/> \e[0m"
EOF echo " Imports the SSH Public Key from the FILE 'authorized_keys' of the"
echo " specified PATH into the Live ISO. MUST be provided."
echo
echo -e "\e[97m --version, -v \e[0m"
echo " Show version of ${0}."
echo
echo -e "\e[93m💡 Notes:\e[0m"
echo -e "\e[93m🔵 You MUST be 'root' to run this script.\e[0m"
echo
echo -e "\e[95m💷 Please consider donating to my work at: \e[0m"
echo -e "\e[95m🌐 https://coresecret.eu/spenden/ \e[0m"
echo
echo -e "\e[1;97m${var_footer}\e[0m"
} | less -R
} }
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh # vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh

54
lib/lib_version.sh Normal file
View File

@@ -0,0 +1,54 @@
#!/bin/bash
# SPDX-Version: 3.0
# SPDX-CreationInfo: 2025-06-25; WEIDNER, Marc S.; <msw@coresecret.dev>
# SPDX-ExternalRef: GIT https://git.coresecret.dev/msw/CISS.debian.live.builder.git
# SPDX-FileContributor: WEIDNER, Marc S.; Centurion Intelligence Consulting Agency
# SPDX-FileCopyrightText: 2024-2025; WEIDNER, Marc S.; <msw@coresecret.dev>
# SPDX-FileType: SOURCE
# SPDX-License-Identifier: EUPL-1.2 OR LicenseRef-CCLA-1.0
# SPDX-LicenseComment: This file is part of the CISS.debian.installer.secure framework.
# SPDX-PackageName: CISS.debian.live.builder
# SPDX-Security-Contact: security@coresecret.eu
#######################################
# Version Wrapper CISS.debian.live.builder
# Globals:
# VAR_VERSION
# Arguments:
# None
#######################################
version() {
# shellcheck disable=SC2155
declare -r var_repo_ver="$(git log --format='%h %ci' -1 2>/dev/null | awk '{ print $1" "$2" "$3 }')"
# shellcheck disable=SC2155
declare -r var_lb_ver="$(lb -v)"
# shellcheck disable=SC2155
declare -r var_ds_ver="$(debootstrap --version)"
# shellcheck disable=SC2155
declare -r var_host="$(uname -n)"
# shellcheck disable=SC2155
declare -r var_bash_ver="$(bash --version | head -n1 | awk '{print $4" "$5" "$6}')"
clear
cat << EOF
$(echo -e "\e[97m################################################################################ \e[0m")
$(echo -e "\e[92m CISS.debian.live.builder from https://git.coresecret.dev/msw \e[0m")
$(echo -e "\e[92m A lightweight Shell Wrapper for building a hardened Debian Live ISO Image.\e[0m")
Version : ${VAR_VERSION}
Git : ${var_repo_ver}
$(echo -e "\e[97m This program is free software. Distribution and modification under \e[0m")
$(echo -e "\e[97m EUPL-1.2 permitted. USAGE w/o ANY WARRANTY. USE IT AT YOUR OWN RISK! \e[0m")
Please file bugs @
$(echo -e "\e[95m https://git.coresecret.dev/msw/CISS.debian.live.builder/issues \e[0m")
$(echo -e "\e[97m################################################################################\e[0m")
Using : lb (${var_lb_ver}) debootstrap (${var_ds_ver})
on : ${var_host}
Bash : ${var_bash_ver}
EOF
}
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh

View File

@@ -21,9 +21,9 @@ fi
cat << 'EOF' >| "${VAR_HANDLER_BUILD_DIR}"/config/includes.chroot/etc/dhcp/dhclient.conf cat << 'EOF' >| "${VAR_HANDLER_BUILD_DIR}"/config/includes.chroot/etc/dhcp/dhclient.conf
# Custom dhclient config to override DHCP DNS # Custom dhclient config to override DHCP DNS
# dns01.eddns.eu, dns02.eddns.de; dns03.eddns.eu; # dns01.eddns.eu, dns02.eddns.de, dns03.eddns.eu;
supersede domain-name-servers 135.181.207.105, 89.58.62.53; 138.199.237.109; supersede domain-name-servers 135.181.207.105, 89.58.62.53, 138.199.237.109;
EOF EOF

View File

@@ -15,7 +15,7 @@ printf "\e[95m++++ ++++ ++++ ++++ ++++ ++++ ++ 🧪 '%s' starting ... \e[0m\n" "
# sleep 1 # sleep 1
[[ ! -d /root/.cdi/log ]] && mkdir -p /root/.cdi/log [[ ! -d /root/.cdi/log ]] && mkdir -p /root/.cdi/log
printf "CISS.debian.installer Master V8.03.832.2025.06.24 is up!" >| /root/.cdi/log/boot_finished_"$(date +"%Y-%m-%d_%H-%M-%S")".log printf "CISS.debian.installer Master V8.03.864.2025.07.15 is up!" >| /root/.cdi/log/boot_finished_"$(date +"%Y-%m-%d_%H-%M-%S")".log
if [[ -f /root/git/CISS.debian.installer/ciss_debian_installer.sh ]]; then if [[ -f /root/git/CISS.debian.installer/ciss_debian_installer.sh ]]; then
chmod 0700 /root/git/CISS.debian.installer/ciss_debian_installer.sh chmod 0700 /root/git/CISS.debian.installer/ciss_debian_installer.sh

View File

@@ -17,7 +17,7 @@ declare -agx ARY_PARAM_ARRAY=("$@")
declare -grx VAR_PARAM_COUNT="$#" declare -grx VAR_PARAM_COUNT="$#"
declare -grx VAR_PARAM_STRNG="$*" declare -grx VAR_PARAM_STRNG="$*"
declare -grx VAR_CONTACT="security@coresecret.eu" declare -grx VAR_CONTACT="security@coresecret.eu"
declare -grx VAR_VERSION="Master V8.03.832.2025.06.24" declare -grx VAR_VERSION="Master V8.03.864.2025.07.15"
declare -grx VAR_SYSTEM="$(uname -a)" declare -grx VAR_SYSTEM="$(uname -a)"
declare -gx VAR_EARLY_DEBUG="false" declare -gx VAR_EARLY_DEBUG="false"
declare -gx VAR_HANDLER_AUTOBUILD="false" declare -gx VAR_HANDLER_AUTOBUILD="false"