Compare commits
27 Commits
v8.03.768-
...
aa2f51b059
| Author | SHA256 | Date | |
|---|---|---|---|
|
aa2f51b059
|
|||
|
ce632c3b3e
|
|||
|
2bfdf5fa42
|
|||
|
3700a1ad6c
|
|||
|
250b8ba0c6
|
|||
|
8d598d7d69
|
|||
|
c4b0e44d99
|
|||
|
4e76d9665a
|
|||
|
8a65565e5c
|
|||
|
a03d75879f
|
|||
|
29a5ff5c9e
|
|||
|
84f7014699
|
|||
|
6136da5631
|
|||
|
2e24d9d814
|
|||
|
a992311235
|
|||
|
8785b820af
|
|||
|
51745e8f82
|
|||
|
c04e89a3c1
|
|||
|
9aa98d1e46
|
|||
|
1c0cf0ce8c
|
|||
|
8d40f95c16
|
|||
|
8c05da4692
|
|||
|
dd4968c745
|
|||
|
aaf14e6204
|
|||
|
247b9af51b
|
|||
|
f40b1c6f2d
|
|||
|
742d0579d7
|
@@ -46,4 +46,10 @@
|
|||||||
🧠
|
🧠
|
||||||
📅
|
📅
|
||||||
🎯
|
🎯
|
||||||
|
🌐
|
||||||
|
🔗
|
||||||
|
💬
|
||||||
|
☢️
|
||||||
|
☣️
|
||||||
|
•
|
||||||
# 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
|
||||||
@@ -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.768.2025.06.17"
|
placeholder: "e.g., Master V8.03.768.2025.06.18"
|
||||||
validations:
|
validations:
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
|||||||
@@ -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.768.2025.06.17
|
### Version Master V8.03.768.2025.06.18
|
||||||
|
|
||||||
FROM debian:bookworm
|
FROM debian:bookworm
|
||||||
|
|
||||||
|
|||||||
@@ -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.768.2025.06.17
|
### Version Master V8.03.768.2025.06.18
|
||||||
|
|
||||||
name: 🔁 Render README.md to README.html.
|
name: 🔁 Render README.md to README.html.
|
||||||
|
|
||||||
|
|||||||
@@ -10,6 +10,6 @@
|
|||||||
# SPDX-Security-Contact: security@coresecret.eu
|
# SPDX-Security-Contact: security@coresecret.eu
|
||||||
|
|
||||||
build:
|
build:
|
||||||
counter: 1023
|
counter: 1024
|
||||||
version: V8.03.768.2025.06.17
|
version: V8.03.768.2025.06.18
|
||||||
# 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
|
||||||
|
|||||||
@@ -10,6 +10,6 @@
|
|||||||
# SPDX-Security-Contact: security@coresecret.eu
|
# SPDX-Security-Contact: security@coresecret.eu
|
||||||
|
|
||||||
build:
|
build:
|
||||||
counter: 1023
|
counter: 1024
|
||||||
version: V8.03.768.2025.06.17
|
version: V8.03.768.2025.06.18
|
||||||
# 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
|
||||||
|
|||||||
@@ -10,6 +10,6 @@
|
|||||||
# SPDX-Security-Contact: security@coresecret.eu
|
# SPDX-Security-Contact: security@coresecret.eu
|
||||||
|
|
||||||
build:
|
build:
|
||||||
counter: 1023
|
counter: 1024
|
||||||
version: V8.03.768.2025.06.17
|
version: V8.03.768.2025.06.18
|
||||||
# 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
|
||||||
|
|||||||
@@ -11,5 +11,5 @@
|
|||||||
|
|
||||||
build:
|
build:
|
||||||
counter: 1023
|
counter: 1023
|
||||||
version: V8.03.768.2025.06.17
|
version: V8.03.768.2025.06.18
|
||||||
# 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
|
||||||
|
|||||||
@@ -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.768.2025.06.17
|
### Version Master V8.03.768.2025.06.18
|
||||||
|
|
||||||
name: 🔐 Generating a Private Live ISO FLV 0.
|
name: 🔐 Generating a Private Live ISO FLV 0.
|
||||||
|
|
||||||
|
|||||||
@@ -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.768.2025.06.17
|
### Version Master V8.03.768.2025.06.18
|
||||||
|
|
||||||
name: 🔐 Generating a Private Live ISO FLV 1.
|
name: 🔐 Generating a Private Live ISO FLV 1.
|
||||||
|
|
||||||
|
|||||||
@@ -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.768.2025.06.17
|
### Version Master V8.03.768.2025.06.18
|
||||||
|
|
||||||
name: 💙 Generating a PUBLIC Live ISO.
|
name: 💙 Generating a PUBLIC Live ISO.
|
||||||
|
|
||||||
|
|||||||
@@ -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.768.2025.06.17
|
### Version Master V8.03.768.2025.06.18
|
||||||
|
|
||||||
# Gitea Workflow: Shell-Script Linting
|
# Gitea Workflow: Shell-Script Linting
|
||||||
#
|
#
|
||||||
|
|||||||
@@ -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.768.2025.06.17
|
### Version Master V8.03.768.2025.06.18
|
||||||
|
|
||||||
name: 🛡️ Retrieve DNSSEC status of coresecret.dev.
|
name: 🛡️ Retrieve DNSSEC status of coresecret.dev.
|
||||||
|
|
||||||
|
|||||||
@@ -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.768.2025.06.17
|
### Version Master V8.03.768.2025.06.18
|
||||||
|
|
||||||
name: 🔁 Render Graphviz Diagrams.
|
name: 🔁 Render Graphviz Diagrams.
|
||||||
|
|
||||||
|
|||||||
@@ -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.768.2025.06.17"
|
properties_version="V8.03.768.2025.06.18"
|
||||||
# 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
|
||||||
@@ -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.768.2025.06.17
|
PackageVersion: Master V8.03.768.2025.06.18
|
||||||
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
|
||||||
|
|||||||
@@ -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-17T17:03:33Z".
|
This file was automatically generated by the DEPLOY BOT on: "2025-06-19T05:24:22Z".
|
||||||
|
|
||||||
✅ The last linter check was successful. ✅
|
✅ The last linter check was successful. ✅
|
||||||
|
|
||||||
|
|||||||
@@ -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-17T14:54:34Z".
|
This file was automatically generated by the DEPLOY BOT on: "2025-06-18T21:50:56Z".
|
||||||
|
|
||||||
CISS.debian.live.builder ISO :
|
CISS.debian.live.builder ISO :
|
||||||
"ciss-debian-live-2025_06_17T14_12_22Z-amd64.hybrid.iso"
|
"ciss-debian-live-2025_06_18T21_08_53Z-amd64.hybrid.iso"
|
||||||
CISS.debian.live.builder ISO sha512 :
|
CISS.debian.live.builder ISO sha512 :
|
||||||
"ciss-debian-live-2025_06_17T14_12_22Z-amd64.hybrid.iso.sha512"
|
"ciss-debian-live-2025_06_18T21_08_53Z-amd64.hybrid.iso.sha512"
|
||||||
CISS.debian.live.builder ISO sha512 sign :
|
CISS.debian.live.builder ISO sha512 sign :
|
||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
iHUEABYKAB0WIQSqYnPMNKGz69afyHA85KY4hzOwIQUCaFGBqgAKCRA85KY4hzOw
|
iHUEABYKAB0WIQSqYnPMNKGz69afyHA85KY4hzOwIQUCaFM0wAAKCRA85KY4hzOw
|
||||||
IYthAQDYHWvmctdnn39QGj0cdLgPkqMd3JTtC+goiM2BO6UAoQD/SM4ObHSBQ9ZO
|
IQbyAQCtRTyJPrZgrrlJNBtLkLQzK83InAGExjyCgpwIO0NvIgEA/bzBIriY74gt
|
||||||
tQ5Wj5SzmMyMqFB9UIFizaEH0RcBEgk=
|
o+P3J3uIWvM2dg+y/ZmZs2zTxWrpbAQ=
|
||||||
=zTxU
|
=V25c
|
||||||
-----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
|
||||||
|
|||||||
@@ -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-17T13:12:03Z".
|
This file was automatically generated by the DEPLOY BOT on: "2025-06-18T20:08:42Z".
|
||||||
|
|
||||||
CISS.debian.live.builder ISO :
|
CISS.debian.live.builder ISO :
|
||||||
"ciss-debian-live-2025_06_17T12_29_48Z-amd64.hybrid.iso"
|
"ciss-debian-live-2025_06_18T19_25_04Z-amd64.hybrid.iso"
|
||||||
CISS.debian.live.builder ISO sha512 :
|
CISS.debian.live.builder ISO sha512 :
|
||||||
"ciss-debian-live-2025_06_17T12_29_48Z-amd64.hybrid.iso.sha512"
|
"ciss-debian-live-2025_06_18T19_25_04Z-amd64.hybrid.iso.sha512"
|
||||||
CISS.debian.live.builder ISO sha512 sign :
|
CISS.debian.live.builder ISO sha512 sign :
|
||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
iHUEABYKAB0WIQSqYnPMNKGz69afyHA85KY4hzOwIQUCaFFpowAKCRA85KY4hzOw
|
iHUEABYKAB0WIQSqYnPMNKGz69afyHA85KY4hzOwIQUCaFMcygAKCRA85KY4hzOw
|
||||||
IQmsAQC7nsyQvaiBPjFjze0arnTSyJ0X45OElMH6vwWeOPCYwgEAgoPURpD9KBWX
|
IXmrAQDVXbrxCMSGAwBdMW2/ktkAhK3EabLM1PQp5YFNYs2ZrQEA5ChaDVFGRAv7
|
||||||
TDSR3bhZqdaFTJYAQfguXxDI0wff8Aw=
|
osOt0jAIgBg76hB9etM8QR8HNpNQAAo=
|
||||||
=BqaA
|
=gi+h
|
||||||
-----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
|
||||||
|
|||||||
@@ -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-17T14:03:33Z".
|
This file was automatically generated by the DEPLOY BOT on: "2025-06-18T21:00:01Z".
|
||||||
|
|
||||||
CISS.debian.live.builder ISO :
|
CISS.debian.live.builder ISO :
|
||||||
"ciss-debian-live-2025_06_17T13_20_50Z-amd64.hybrid.iso"
|
"ciss-debian-live-2025_06_18T20_17_51Z-amd64.hybrid.iso"
|
||||||
CISS.debian.live.builder ISO sha512 :
|
CISS.debian.live.builder ISO sha512 :
|
||||||
"ciss-debian-live-2025_06_17T13_20_50Z-amd64.hybrid.iso.sha512"
|
"ciss-debian-live-2025_06_18T20_17_51Z-amd64.hybrid.iso.sha512"
|
||||||
CISS.debian.live.builder ISO sha512 sign :
|
CISS.debian.live.builder ISO sha512 sign :
|
||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
iHUEABYKAB0WIQSqYnPMNKGz69afyHA85KY4hzOwIQUCaFF1tQAKCRA85KY4hzOw
|
iHUEABYKAB0WIQSqYnPMNKGz69afyHA85KY4hzOwIQUCaFMo0QAKCRA85KY4hzOw
|
||||||
IbsWAP9Zk6J3kFfRVASMGnT4h2Joak31pmX5p3Ron4mRDserMgEArhu1axOkGlyI
|
IRsmAP4xwgNtkP08BV/x7nrsgqSAzywxsXsAMkyrebfQMtjx6QEA5amGDGiYBEUs
|
||||||
MPD3Zw/YEZeRSRtGLPFPfEEq8zAmIQo=
|
eMj3+inIpA+76hSSl1zbpp6NKuyapQY=
|
||||||
=b16D
|
=BvRU
|
||||||
-----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
|
||||||
|
|||||||
15
README.md
15
README.md
@@ -2,7 +2,7 @@
|
|||||||
gitea: none
|
gitea: none
|
||||||
include_toc: true
|
include_toc: true
|
||||||
---
|
---
|
||||||
[](https://git.coresecret.dev/msw/CISS.debian.live.builder)
|
[](https://git.coresecret.dev/msw/CISS.debian.live.builder)
|
||||||
|
|
||||||
[](https://eupl.eu/1.2/en/)
|
[](https://eupl.eu/1.2/en/)
|
||||||
[](https://opensource.org/license/eupl-1-2)
|
[](https://opensource.org/license/eupl-1-2)
|
||||||
@@ -12,7 +12,7 @@ include_toc: true
|
|||||||
[](https://google.github.io/styleguide/shellguide.html)
|
[](https://google.github.io/styleguide/shellguide.html)
|
||||||
|
|
||||||
[](https://docs.gitea.com/)
|
[](https://docs.gitea.com/)
|
||||||
[](https://www.jetbrains.com/store/?section=personal&billing=yearly)
|
[](https://www.jetbrains.com/store/?section=personal&billing=yearly)
|
||||||
[](https://keepassxc.org/)
|
[](https://keepassxc.org/)
|
||||||
[](https://www.netcup.com/de)
|
[](https://www.netcup.com/de)
|
||||||
[](https://coresecret.eu/)
|
[](https://coresecret.eu/)
|
||||||
@@ -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.768.2025.06.17<br>
|
**Build**: V8.03.768.2025.06.18<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,13 +142,20 @@ 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: `8.03.384.2025.06.03`
|
Example: `V8.03.768.2025.06.18`
|
||||||
|
|
||||||
`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.
|
||||||
|
|
||||||
Date (YYYY.MM.DD) denotes the build or release date, facilitating clear tracking of incremental changes and ensuring
|
Date (YYYY.MM.DD) denotes the build or release date, facilitating clear tracking of incremental changes and ensuring
|
||||||
reproducibility and traceability.
|
reproducibility and traceability.
|
||||||
|
|
||||||
|
### 1.6. Keywords
|
||||||
|
|
||||||
|
The keywords "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "NOT RECOMMENDED",
|
||||||
|
"MAY", and "OPTIONAL" in this Repo are to be interpreted as described in [[BCP 14](https://www.rfc-editor.org/info/bcp14)],
|
||||||
|
[[RFC2119](https://datatracker.ietf.org/doc/html/rfc2119)], [[RFC8174](https://datatracker.ietf.org/doc/html/rfc8174)] when,
|
||||||
|
and only when, they appear in all capitals, as shown here.
|
||||||
|
|
||||||
# 2. Features & Rationale
|
# 2. Features & Rationale
|
||||||
|
|
||||||
Below is a breakdown of each hardening component, with a summary of why each is critical to your security posture.
|
Below is a breakdown of each hardening component, with a summary of why each is critical to your security posture.
|
||||||
|
|||||||
@@ -37,86 +37,45 @@
|
|||||||
. ./var/global.var.sh; printf "\e[91m❌ Minimum requirement is bash 5.1. You are using '%s'! Bye... \e[0m\n" "${BASH_VERSION}" >&2; exit "${ERR_UNSPPTBASH}"; }
|
. ./var/global.var.sh; printf "\e[91m❌ Minimum requirement is bash 5.1. You are using '%s'! Bye... \e[0m\n" "${BASH_VERSION}" >&2; exit "${ERR_UNSPPTBASH}"; }
|
||||||
[[ ${BASH_VERSINFO[0]} -le 5 ]] && [[ ${BASH_VERSINFO[1]} -le 1 ]] && {
|
[[ ${BASH_VERSINFO[0]} -le 5 ]] && [[ ${BASH_VERSINFO[1]} -le 1 ]] && {
|
||||||
. ./var/global.var.sh; printf "\e[91m❌ Minimum requirement is bash 5.1. You are using '%s'! Bye... \e[0m\n" "${BASH_VERSION}" >&2; exit "${ERR_UNSPPTBASH}"; }
|
. ./var/global.var.sh; printf "\e[91m❌ Minimum requirement is bash 5.1. You are using '%s'! Bye... \e[0m\n" "${BASH_VERSION}" >&2; exit "${ERR_UNSPPTBASH}"; }
|
||||||
|
[[ ${#} -eq 0 ]] && {
|
||||||
|
. ./lib/lib_usage.sh; usage; exit 1; }
|
||||||
|
|
||||||
declare -g VAR_HANDLER_AUTOBUILD="false"
|
declare -gx VAR_CONTACT="security@coresecret.eu"
|
||||||
declare -gr VAR_CONTACT="security@coresecret.eu"
|
declare -gx VAR_VERSION="Master V8.03.768.2025.06.18"
|
||||||
declare -gr VAR_VERSION="Master V8.03.768.2025.06.17"
|
|
||||||
for dir in /usr/local/sbin /usr/sbin; do case ":${PATH}:" in *":${dir}:"*) ;; *) PATH="${PATH}:${dir}" ;; esac; done; export PATH; unset dir
|
|
||||||
|
|
||||||
### VERY EARLY CHECK FOR AUTO-BUILD, CONTACT, USAGE, AND VERSION STRING
|
### VERY EARLY CHECK FOR CONTACT, HELP, AND VERSION STRING
|
||||||
declare arg
|
for arg in "$@"; do case "${arg,,}" in -c|--contact) . ./lib/lib_contact.sh; contact; exit 0;; esac; done
|
||||||
if [[ ${#} -eq 0 ]]; then . ./lib/lib_usage.sh; usage; exit 1; fi
|
|
||||||
for arg in "$@"; do case "${arg,,}" in -a=*|--autobuild=*) declare -g VAR_HANDLER_AUTOBUILD=true; declare -g VAR_KERNEL="${arg#*=}";; esac; done
|
|
||||||
for arg in "$@"; do case "${arg,,}" in -c|--contact) printf "\e[95mCISS.debian.live.builder Contact: %s\e[0m\n" "${VAR_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) printf "\e[95mCISS.debian.live.builder Version: %s\e[0m\n" "${VAR_VERSION}"; exit 0;; esac; done
|
||||||
unset arg
|
declare -gx VAR_SETUP="true"
|
||||||
|
|
||||||
### VERY EARLY CHECK FOR XTRACE DEBUGGING
|
### VERY EARLY CHECK FOR XTRACE DEBUGGING
|
||||||
if [[ $* == *" --debug "* ]]; then
|
if [[ $* == *" --debug "* ]]; then
|
||||||
. ./lib/lib_debug.sh
|
. ./lib/lib_debug.sh
|
||||||
|
. ./lib/lib_debug_header.sh
|
||||||
debugger "${@}"
|
debugger "${@}"
|
||||||
else
|
else
|
||||||
declare -grx VAR_EARLY_DEBUG=false
|
declare -gx VAR_EARLY_DEBUG="false"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Advisory Lock
|
### SOURCING VARIABLES
|
||||||
exec 127>/var/lock/ciss_live_builder.lock || {
|
[[ "${VAR_SETUP}" == true ]] && {
|
||||||
|
. ./var/bash.var.sh
|
||||||
|
. ./var/color.var.sh
|
||||||
. ./var/global.var.sh
|
. ./var/global.var.sh
|
||||||
printf "\e[91m❌ Cannot open lockfile for writing! Bye... \e[0m\n" >&2
|
|
||||||
exit "${ERR_FLOCK_WRTG}"
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ! flock -x -n 127; then
|
### SOURCING LIBRARIES
|
||||||
. ./var/global.var.sh
|
[[ "${VAR_SETUP}" == true ]] && {
|
||||||
printf "\e[91m❌ Another instance is running! Bye...\e[0m\n" >&2
|
|
||||||
exit "${ERR_FLOCK_COLL}"
|
|
||||||
fi
|
|
||||||
|
|
||||||
### Checking required packages
|
|
||||||
. ./lib/lib_check_pkgs.sh
|
|
||||||
check_pkgs
|
|
||||||
|
|
||||||
### Dialog Output for Initialization
|
|
||||||
if ! $VAR_HANDLER_AUTOBUILD; then . ./lib/lib_boot_screen.sh && boot_screen; fi
|
|
||||||
|
|
||||||
### Updating Status of Dialog Gauge Bar
|
|
||||||
if ! $VAR_HANDLER_AUTOBUILD; then printf "XXX\nUpdating variables ... \nXXX\n05\n" >&3; fi
|
|
||||||
. ./var/global.var.sh
|
|
||||||
. ./var/colors.var.sh
|
|
||||||
|
|
||||||
### Updating Status of Dialog Gauge Bar
|
|
||||||
if ! $VAR_HANDLER_AUTOBUILD; then printf "XXX\nEnabling Bash Error Handling ... \nXXX\n15\n" >&3; fi
|
|
||||||
### For all options see https://www.gnu.org/software/bash/manual/bash.html#The-Set-Builtin
|
|
||||||
set -o errexit # Exit script when a command exits with non-zero status, the same as "set -e".
|
|
||||||
set -o errtrace # Any traps on ERR are inherited in a subshell environment, the same as "set -E".
|
|
||||||
set -o functrace # Any traps on DEBUG and RETURN are inherited in a subshell environment, the same as "set -T".
|
|
||||||
set -o nounset # Exit script on use of an undefined variable, the same as "set -u".
|
|
||||||
set -o pipefail # Makes pipelines return the exit status of the last command in the pipe that failed.
|
|
||||||
set -o noclobber # Prevent overwriting, the same as "set -C".
|
|
||||||
|
|
||||||
### Updating Status of Dialog Gauge Bar
|
|
||||||
if ! $VAR_HANDLER_AUTOBUILD; then printf "XXX\nAdditional initialization ... \nXXX\n25\n" >&3; fi
|
|
||||||
### Initialization
|
|
||||||
declare -gr ARGUMENTS_COUNT="$#"
|
|
||||||
declare -gr ARG_STR_ORG_INPUT="$*"
|
|
||||||
#declare -ar ARG_ARY_ORG_INPUT=("$@")
|
|
||||||
# shellcheck disable=SC2155
|
|
||||||
declare -grx SCRIPT_FULLPATH="$(readlink -f "${BASH_SOURCE[0]:-$0}")"
|
|
||||||
# shellcheck disable=SC2155
|
|
||||||
declare -grx SCRIPT_BASEPATH="$(dirname "${SCRIPT_FULLPATH}")"
|
|
||||||
# shellcheck disable=SC2155
|
|
||||||
declare -grx VAR_WORKDIR="$(dirname "${SCRIPT_FULLPATH}")"
|
|
||||||
|
|
||||||
### Updating Status of Dialog Gauge Bar
|
|
||||||
if ! $VAR_HANDLER_AUTOBUILD; then printf "XXX\nSourcing Libraries ... \nXXX\n50\n" >&3; fi
|
|
||||||
. ./lib/lib_arg_parser.sh
|
. ./lib/lib_arg_parser.sh
|
||||||
. ./lib/lib_arg_priority_check.sh
|
. ./lib/lib_arg_priority_check.sh
|
||||||
|
. ./lib/lib_boot_screen.sh
|
||||||
. ./lib/lib_cdi.sh
|
. ./lib/lib_cdi.sh
|
||||||
. ./lib/lib_change_splash.sh
|
. ./lib/lib_change_splash.sh
|
||||||
. ./lib/lib_check_dhcp.sh
|
. ./lib/lib_check_dhcp.sh
|
||||||
. ./lib/lib_check_hooks.sh
|
. ./lib/lib_check_hooks.sh
|
||||||
. ./lib/lib_check_kernel.sh
|
. ./lib/lib_check_kernel.sh
|
||||||
|
. ./lib/lib_check_pkgs.sh
|
||||||
. ./lib/lib_check_provider.sh
|
. ./lib/lib_check_provider.sh
|
||||||
. ./lib/lib_check_stats.sh
|
. ./lib/lib_check_stats.sh
|
||||||
. ./lib/lib_check_var.sh
|
. ./lib/lib_check_var.sh
|
||||||
@@ -136,15 +95,55 @@ if ! $VAR_HANDLER_AUTOBUILD; then printf "XXX\nSourcing Libraries ... \nXXX\n50\
|
|||||||
. ./lib/lib_trap_on_err.sh
|
. ./lib/lib_trap_on_err.sh
|
||||||
. ./lib/lib_trap_on_exit.sh
|
. ./lib/lib_trap_on_exit.sh
|
||||||
. ./lib/lib_usage.sh
|
. ./lib/lib_usage.sh
|
||||||
|
}
|
||||||
|
|
||||||
|
### ADVISORY LOCK
|
||||||
|
exec 127>/var/lock/ciss_live_builder.lock || {
|
||||||
|
printf "\e[91m❌ Cannot open lockfile for writing! Bye... \e[0m\n" >&2
|
||||||
|
exit "${ERR_FLOCK_WRTG}"
|
||||||
|
}
|
||||||
|
|
||||||
|
if ! flock -x -n 127; then
|
||||||
|
printf "\e[91m❌ Another instance is running! Bye...\e[0m\n" >&2
|
||||||
|
exit "${ERR_FLOCK_COLL}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
### VERY EARLY CHECK FOR AUTOBUILD MODE
|
||||||
|
declare -gx VAR_HANDLER_AUTOBUILD="false"
|
||||||
|
for arg in "$@"; do case "${arg,,}" in -a=*|--autobuild=*) declare -gx VAR_HANDLER_AUTOBUILD="true"; declare -gx VAR_KERNEL="${arg#*=}";; esac; done
|
||||||
|
unset arg
|
||||||
|
for dir in /usr/local/sbin /usr/sbin; do case ":${PATH}:" in *":${dir}:"*) ;; *) PATH="${PATH}:${dir}" ;; esac; done; export PATH; unset dir
|
||||||
|
|
||||||
|
### CHECKING REQUIRED PACKAGES
|
||||||
|
check_pkgs
|
||||||
|
|
||||||
|
### DIALOG OUTPUT FOR INITIALIZATION
|
||||||
|
if ! $VAR_HANDLER_AUTOBUILD; then boot_screen; fi
|
||||||
|
|
||||||
### Updating Status of Dialog Gauge Bar
|
### Updating Status of Dialog Gauge Bar
|
||||||
if ! $VAR_HANDLER_AUTOBUILD; then printf "XXX\nActivate traps ... \nXXX\n55\n" >&3; fi
|
if ! $VAR_HANDLER_AUTOBUILD; then printf "XXX\nInitialization done ... \nXXX\n15\n" >&3; fi
|
||||||
|
|
||||||
|
### Updating Status of Dialog Gauge Bar
|
||||||
|
if ! $VAR_HANDLER_AUTOBUILD; then printf "XXX\nAdditional initialization ... \nXXX\n30\n" >&3; fi
|
||||||
|
### Initialization
|
||||||
|
declare -gr ARGUMENTS_COUNT="$#"
|
||||||
|
declare -gr ARG_STR_ORG_INPUT="$*"
|
||||||
|
#declare -ar ARG_ARY_ORG_INPUT=("$@")
|
||||||
|
# shellcheck disable=SC2155
|
||||||
|
declare -grx SCRIPT_FULLPATH="$(readlink -f "${BASH_SOURCE[0]:-$0}")"
|
||||||
|
# shellcheck disable=SC2155
|
||||||
|
declare -grx SCRIPT_BASEPATH="$(dirname "${SCRIPT_FULLPATH}")"
|
||||||
|
# shellcheck disable=SC2155
|
||||||
|
declare -grx VAR_WORKDIR="$(dirname "${SCRIPT_FULLPATH}")"
|
||||||
|
|
||||||
|
### Updating Status of Dialog Gauge Bar
|
||||||
|
if ! $VAR_HANDLER_AUTOBUILD; then printf "XXX\nActivate traps ... \nXXX\n50\n" >&3; fi
|
||||||
### Following the CISS Bash naming and ordering scheme
|
### Following the CISS Bash naming and ordering scheme
|
||||||
trap 'trap_on_exit "$?"' EXIT
|
trap 'trap_on_exit "$?"' EXIT
|
||||||
trap 'trap_on_err "$?" "${BASH_SOURCE[0]}" "${LINENO}" "${FUNCNAME[0]:-main}" "${BASH_COMMAND}"' ERR
|
trap 'trap_on_err "$?" "${BASH_SOURCE[0]}" "${LINENO}" "${FUNCNAME[0]:-main}" "${BASH_COMMAND}"' ERR
|
||||||
|
|
||||||
### Updating Status of Dialog Gauge Bar
|
### Updating Status of Dialog Gauge Bar
|
||||||
if ! $VAR_HANDLER_AUTOBUILD; then printf "XXX\nSanitizing Arguments ... \nXXX\n70\n" >&3; fi
|
if ! $VAR_HANDLER_AUTOBUILD; then printf "XXX\nSanitizing Arguments ... \nXXX\n75\n" >&3; fi
|
||||||
arg_check "$@"
|
arg_check "$@"
|
||||||
declare -ar ARY_ARG_SANITIZED=("$@")
|
declare -ar ARY_ARG_SANITIZED=("$@")
|
||||||
declare -gr VAR_ARG_SANITIZED="${ARY_ARG_SANITIZED[*]}"
|
declare -gr VAR_ARG_SANITIZED="${ARY_ARG_SANITIZED[*]}"
|
||||||
|
|||||||
@@ -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.768.2025.06.17
|
### Version Master V8.03.768.2025.06.18
|
||||||
|
|
||||||
### 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
|
||||||
|
|||||||
@@ -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.768.2025.06.17
|
### Version Master V8.03.768.2025.06.18
|
||||||
|
|
||||||
### https://docs.kernel.org/
|
### https://docs.kernel.org/
|
||||||
### https://github.com/a13xp0p0v/kernel-hardening-checker/
|
### https://github.com/a13xp0p0v/kernel-hardening-checker/
|
||||||
|
|||||||
@@ -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.768.2025.06.17"
|
declare -gr VERSION="Master V8.03.768.2025.06.18"
|
||||||
|
|
||||||
### VERY EARLY CHECK FOR DEBUGGING
|
### VERY EARLY CHECK FOR DEBUGGING
|
||||||
if [[ $* == *" --debug "* ]]; then
|
if [[ $* == *" --debug "* ]]; then
|
||||||
|
|||||||
@@ -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.768.2025.06.17 at: 10:18:37.9542
|
# Written by: ./preseed_hash_generator.sh Version: Master V8.03.768.2025.06.18 at: 10:18:37.9542
|
||||||
|
|||||||
@@ -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.768.2025.06.17<br>
|
**Build**: V8.03.768.2025.06.18<br>
|
||||||
|
|
||||||
# 2. DNSSEC Status
|
# 2. DNSSEC Status
|
||||||
|
|
||||||
|
|||||||
@@ -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.768.2025.06.17<br>
|
**Build**: V8.03.768.2025.06.18<br>
|
||||||
|
|
||||||
# 2. Haveged Audit on Netcup RS 2000 G11
|
# 2. Haveged Audit on Netcup RS 2000 G11
|
||||||
|
|
||||||
|
|||||||
@@ -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.768.2025.06.17<br>
|
**Build**: V8.03.768.2025.06.18<br>
|
||||||
|
|
||||||
# 2. Lynis Audit:
|
# 2. Lynis Audit:
|
||||||
|
|
||||||
|
|||||||
@@ -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.768.2025.06.17<br>
|
**Build**: V8.03.768.2025.06.18<br>
|
||||||
|
|
||||||
# 2. SSH Audit by ssh-audit.com
|
# 2. SSH Audit by ssh-audit.com
|
||||||
|
|
||||||
|
|||||||
@@ -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.768.2025.06.17<br>
|
**Build**: V8.03.768.2025.06.18<br>
|
||||||
|
|
||||||
# 2. TLS Audit:
|
# 2. TLS Audit:
|
||||||
|
|
||||||
|
|||||||
@@ -8,10 +8,16 @@ 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.768.2025.06.17<br>
|
**Build**: V8.03.768.2025.06.18<br>
|
||||||
|
|
||||||
# 2. Changelog
|
# 2. Changelog
|
||||||
|
|
||||||
|
## V8.03.768.2025.06.18
|
||||||
|
|
||||||
|
* Minor main script improvements.
|
||||||
|
* Updated contact section.
|
||||||
|
* Integrated third ``dns03.eddns.eu`` Centurion DNS Resolver.
|
||||||
|
|
||||||
## V8.03.768.2025.06.17
|
## V8.03.768.2025.06.17
|
||||||
|
|
||||||
* Updated LIVE ISO workflows to use Kernel: ``linux-image-6.12.30+bpo-amd64``
|
* Updated LIVE ISO workflows to use Kernel: ``linux-image-6.12.30+bpo-amd64``
|
||||||
|
|||||||
@@ -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.768.2025.06.17<br>
|
**Build**: V8.03.768.2025.06.18<br>
|
||||||
|
|
||||||
# 2. Centurion Net - Developer Branch Overview
|
# 2. Centurion Net - Developer Branch Overview
|
||||||
|
|
||||||
|
|||||||
@@ -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.768.2025.06.17<br>
|
**Build**: V8.03.768.2025.06.18<br>
|
||||||
|
|
||||||
# 2. Coding Style
|
# 2. Coding Style
|
||||||
|
|
||||||
|
|||||||
@@ -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.768.2025.06.17<br>
|
**Build**: V8.03.768.2025.06.18<br>
|
||||||
|
|
||||||
# 2. Contributing / participating
|
# 2. Contributing / participating
|
||||||
|
|
||||||
|
|||||||
@@ -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.768.2025.06.17<br>
|
**Build**: V8.03.768.2025.06.18<br>
|
||||||
|
|
||||||
# 2. Credits
|
# 2. Credits
|
||||||
|
|
||||||
|
|||||||
@@ -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.768.2025.06.17<br>
|
**Build**: V8.03.768.2025.06.18<br>
|
||||||
|
|
||||||
# 2. Download the latest PUBLIC CISS.debian.live.ISO
|
# 2. Download the latest PUBLIC CISS.debian.live.ISO
|
||||||
|
|
||||||
|
|||||||
@@ -8,20 +8,17 @@ 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.768.2025.06.17<br>
|
**Build**: V8.03.768.2025.06.18<br>
|
||||||
|
|
||||||
# 2. Usage
|
# 2.1. Usage
|
||||||
````text
|
````text
|
||||||
CISS.debian.live.builder
|
CISS.debian.live.builder
|
||||||
Master V8.03.768.2025.06.17
|
Master V8.03.768.2025.06.18
|
||||||
|
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
|
||||||
(p) Centurion Press, 2024 - 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:
|
"./ciss_live_builder.sh <option>", where <option> is one or more of:
|
||||||
|
|
||||||
--help, -h
|
--help, -h
|
||||||
@@ -30,7 +27,7 @@ A lightweight Shell Wrapper for building a hardened Debian Bookworm Live ISO Ima
|
|||||||
--autobuild=*, -a=*
|
--autobuild=*, -a=*
|
||||||
Headless mode. Skip the dialog wrapper, provider note screen and interactive kernel
|
Headless mode. Skip the dialog wrapper, provider note screen and interactive kernel
|
||||||
selector dialog. Change '*' to your desired Linux kernel and trim the
|
selector dialog. Change '*' to your desired Linux kernel and trim the
|
||||||
'linux-image-' string to select a specific kernel, e.g. '--autobuild=6.12.22+bpo-amd64'.
|
'linux-image-' string to select a specific kernel, e.g. '--autobuild=6.12.30+bpo-amd64'.
|
||||||
|
|
||||||
--architecture <STRING> one of <amd64 | arm64>
|
--architecture <STRING> one of <amd64 | arm64>
|
||||||
A string reflecting the architecture of the Live System.
|
A string reflecting the architecture of the Live System.
|
||||||
@@ -58,19 +55,20 @@ A lightweight Shell Wrapper for building a hardened Debian Bookworm Live ISO Ima
|
|||||||
|
|
||||||
--debug
|
--debug
|
||||||
Enables debug logging for the main program routine. Detailed logging
|
Enables debug logging for the main program routine. Detailed logging
|
||||||
information are written to "/tmp/ciss_live_builder_3764286.log"
|
information are written to "/tmp/ciss_live_builder_274132.log"
|
||||||
|
|
||||||
--dhcp-centurion
|
--dhcp-centurion
|
||||||
If a DHCP lease is provided, the provider's nameserver will be overridden,
|
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:
|
and only the hardened, privacy-focused Centurion DNS servers will be used:
|
||||||
- https://dns01.eddns.eu/
|
- https://dns01.eddns.eu/
|
||||||
- https://dns02.eddns.de/
|
- https://dns02.eddns.de/
|
||||||
|
- https://dns03.eddns.eu/
|
||||||
|
|
||||||
--jump-host <IP | IP | ... >
|
--jump-host <IP | IP | ... >
|
||||||
Provide up to 10 IPs for /etc/host.allow whitelisting of SSH access.
|
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.
|
Could be either IPv4 and / or IPv6 addresses and / or CCDIR notation.
|
||||||
If provided, than it MUST be a <SPACE> separated list.
|
If provided, than it MUST be a <SPACE> separated list.
|
||||||
IPv6 addresses MUST be encapsulated with [], e.g., [1234::abcd/64].
|
IPv6 addresses MUST be encapsulated with [], e.g., [1234::abcd]/64.
|
||||||
|
|
||||||
--log-statistics-only
|
--log-statistics-only
|
||||||
Provides statistic only after successful building a
|
Provides statistic only after successful building a
|
||||||
@@ -80,23 +78,25 @@ A lightweight Shell Wrapper for building a hardened Debian Bookworm Live ISO Ima
|
|||||||
|
|
||||||
--provider-netcup-ipv6
|
--provider-netcup-ipv6
|
||||||
Activates IPv6 support for Netcup Root Server. One unique
|
Activates IPv6 support for Netcup Root Server. One unique
|
||||||
IPv6 address MUST be provided in this case.
|
IPv6 address MUST be provided in this case and MUST be encapsulated
|
||||||
|
with [], e.g., [1234::abcd].
|
||||||
|
|
||||||
--renice-priority <PRIORITY>
|
--renice-priority <PRIORITY>
|
||||||
Reset the nice priority value of the script and all its children
|
Reset the nice priority value of the script and all its children
|
||||||
to the desired PRIORITY. MUST be an integer (between "-19" and 19).
|
to the desired <PRIORITY>. MUST be an integer (between "-19" and 19).
|
||||||
Negative (higher) values MUST be enclosed in double quotes '"'.
|
Negative (higher) values MUST be enclosed in double quotes '"'.
|
||||||
|
|
||||||
--reionice-priority <CLASS> <PRIORITY>
|
--reionice-priority <CLASS> <PRIORITY>
|
||||||
Reset the ionice priority value of the script and all its children
|
Reset the ionice priority value of the script and all its children
|
||||||
to the desired CLASS. MUST be an integer:
|
to the desired <CLASS>. MUST be an integer:
|
||||||
1: realtime
|
1: realtime
|
||||||
2: best-effort
|
2: best-effort
|
||||||
3: idle
|
3: idle
|
||||||
defaults to "2".
|
Defaults to '2'.
|
||||||
PRIORITY MUST be an integer:
|
Whereas <PRIORITY> MUST be an integer as well between:
|
||||||
between 0 (highest) and 7 (lowest) priority.
|
0: highest priority and
|
||||||
defaults to "4".
|
7: lowest priority.
|
||||||
|
Defaults to '4'.
|
||||||
A real-time I/O process can significantly slow down other processes
|
A real-time I/O process can significantly slow down other processes
|
||||||
or even cause them to starve if it continuously requests I/O.
|
or even cause them to starve if it continuously requests I/O.
|
||||||
|
|
||||||
@@ -107,9 +107,9 @@ A lightweight Shell Wrapper for building a hardened Debian Bookworm Live ISO Ima
|
|||||||
the local console. The root password is hashed with an 16 Byte '/dev/random'
|
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
|
generated SALT and SHA512 Hashing function and 8,388,608 rounds. Immediately
|
||||||
after Hash generation all Variables containing plain password fragments are
|
after Hash generation all Variables containing plain password fragments are
|
||||||
deleted. Password file SHOULD be 0400 and root:root and is deleted without
|
deleted. Password file SHOULD be '0400' and 'root:root' and is deleted without
|
||||||
further prompt after password hash has been successfully generated via:
|
further prompt after password hash has been successfully generated via:
|
||||||
shred -vfzu 5 -f.
|
'shred -vfzu 5 -f'.
|
||||||
No tracing of any plain text password fragment in any debug log.
|
No tracing of any plain text password fragment in any debug log.
|
||||||
|
|
||||||
--ssh-port <INTEGER>
|
--ssh-port <INTEGER>
|
||||||
@@ -123,14 +123,30 @@ A lightweight Shell Wrapper for building a hardened Debian Bookworm Live ISO Ima
|
|||||||
--version, -v
|
--version, -v
|
||||||
Displays version of ./ciss_live_builder.sh.
|
Displays version of ./ciss_live_builder.sh.
|
||||||
|
|
||||||
NOTES:
|
💡 Notes:
|
||||||
- You MUST be root to run this script.
|
🔵 You MUST be 'root' to run this script.
|
||||||
|
|
||||||
Contact:
|
💷 Please consider donating to my work at:
|
||||||
- https://coresecret.eu/
|
🌐 https://coresecret.eu/spenden/
|
||||||
- security@coresecret.eu
|
````
|
||||||
- PGP Key 2D98 07F4 1030 1776 597E BDC9 9F54 8853 35A3 C9AD
|
|
||||||
- https://keys.openpgp.org/vks/v1/by-fingerprint/2D9807F410301776597EBDC99F54885335A3C9AD
|
# 2.2. Contact
|
||||||
|
````text
|
||||||
|
CISS.debian.live.builder
|
||||||
|
Master V8.03.768.2025.06.18
|
||||||
|
A lightweight Shell Wrapper for building a hardened Debian Bookworm Live ISO Image.
|
||||||
|
|
||||||
|
(c) Marc S. Weidner, 2018 - 2025
|
||||||
|
(p) Centurion Press, 2024 - 2025
|
||||||
|
|
||||||
|
💬 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
|
||||||
|
|
||||||
|
💷 Please consider donating to my work at:
|
||||||
|
🌐 https://coresecret.eu/spenden/
|
||||||
````
|
````
|
||||||
|
|
||||||
# 3. Booting
|
# 3. Booting
|
||||||
|
|||||||
@@ -1,53 +0,0 @@
|
|||||||
<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>
|
|
||||||
|
|
||||||
@@ -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.768.2025.06.17<br>
|
**Build**: V8.03.768.2025.06.18<br>
|
||||||
|
|
||||||
# 2. Resources
|
# 2. Resources
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 189 KiB After Width: | Height: | Size: 189 KiB |
@@ -100,7 +100,7 @@ arg_parser() {
|
|||||||
printf "\e[91m❌ Error: --architecture MUST be 'amd64' or 'arm64'.\e[0m\n" >&2
|
printf "\e[91m❌ Error: --architecture MUST be 'amd64' or 'arm64'.\e[0m\n" >&2
|
||||||
# shellcheck disable=SC2162
|
# shellcheck disable=SC2162
|
||||||
read -p $'\e[92m✅ Press \'ENTER\' to exit the script ... \e[0m'
|
read -p $'\e[92m✅ Press \'ENTER\' to exit the script ... \e[0m'
|
||||||
exit "${ERR_UNCRITICAL}"
|
exit "${ERR_ARG_MSMTCH}"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
# SPDX-Security-Contact: security@coresecret.eu
|
# SPDX-Security-Contact: security@coresecret.eu
|
||||||
|
|
||||||
#######################################
|
#######################################
|
||||||
# Change Grub Boot Screen Splash
|
# Set up a gauge Dialog Wrapper.
|
||||||
# Globals:
|
# Globals:
|
||||||
# PID_BOOT_SCREEN
|
# PID_BOOT_SCREEN
|
||||||
# PIPE_BOOT_SCREEN
|
# PIPE_BOOT_SCREEN
|
||||||
|
|||||||
@@ -52,7 +52,7 @@ check_kernel() {
|
|||||||
done < "${VAR_KERNEL_SRT}"
|
done < "${VAR_KERNEL_SRT}"
|
||||||
|
|
||||||
# shellcheck disable=SC2155
|
# shellcheck disable=SC2155
|
||||||
if declare -g VAR_KERNEL=$(dialog \
|
if declare -gx VAR_KERNEL=$(dialog \
|
||||||
--no-collapse \
|
--no-collapse \
|
||||||
--ascii-lines \
|
--ascii-lines \
|
||||||
--clear \
|
--clear \
|
||||||
@@ -63,9 +63,9 @@ check_kernel() {
|
|||||||
else
|
else
|
||||||
clear
|
clear
|
||||||
if [[ "${VAR_ARCHITECTURE}" == "amd64" ]]; then
|
if [[ "${VAR_ARCHITECTURE}" == "amd64" ]]; then
|
||||||
declare -gr VAR_KERNEL="amd64"
|
declare -gx VAR_KERNEL="amd64"
|
||||||
elif [[ "${VAR_ARCHITECTURE}" == "arm64" ]]; then
|
elif [[ "${VAR_ARCHITECTURE}" == "arm64" ]]; then
|
||||||
declare -gr VAR_KERNEL="arm64"
|
declare -gx VAR_KERNEL="arm64"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -17,27 +17,28 @@
|
|||||||
#######################################
|
#######################################
|
||||||
check_pkgs() {
|
check_pkgs() {
|
||||||
apt-get update -y
|
apt-get update -y
|
||||||
|
|
||||||
if [[ -z "$(command -v lsb_release || true)" ]]; then
|
if [[ -z "$(command -v lsb_release || true)" ]]; then
|
||||||
apt-get install --no-install-recommends lsb-release -y
|
apt-get install -y --no-install-recommends lsb-release
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ -z "$(command -v debootstrap || true)" ]]; then
|
if [[ -z "$(command -v debootstrap || true)" ]]; then
|
||||||
if grep -RqsE '^[[:space:]]*deb .*backports' /etc/apt/sources.list /etc/apt/sources.list.d; then
|
if grep -RqsE '^[[:space:]]*deb .*backports' /etc/apt/sources.list /etc/apt/sources.list.d; then
|
||||||
# shellcheck disable=SC2155
|
# shellcheck disable=SC2155
|
||||||
declare codename=$(lsb_release -sc)
|
declare codename=$(lsb_release -sc)
|
||||||
apt-get -t "${codename}-backports" install debootstrap -y
|
apt-get install -y -t "${codename}-backports" debootstrap
|
||||||
else
|
else
|
||||||
apt-get install debootstrap -y
|
apt-get install -y debootstrap
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -f /usr/share/live/build/VERSION ]]; then
|
if [[ ! -f /usr/share/live/build/VERSION ]]; then
|
||||||
apt-get install live-build -y
|
apt-get install -y live-build
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [[ "${VAR_HANDLER_AUTOBUILD}" == false ]]; then
|
||||||
if [[ -z "$(command -v dialog || true)" ]]; then
|
if [[ -z "$(command -v dialog || true)" ]]; then
|
||||||
if ! $VAR_HANDLER_AUTOBUILD; then
|
apt-get install -y --no-install-recommends dialog
|
||||||
apt-get install --no-install-recommends dialog -y;
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
check_provider() {
|
check_provider() {
|
||||||
clear
|
clear
|
||||||
cat << 'EOF' >| "${VAR_NOTES}"
|
cat << 'EOF' >| "${VAR_NOTES}"
|
||||||
Build: Master V8.03.768.2025.06.17
|
Build: Master V8.03.768.2025.06.18
|
||||||
|
|
||||||
Press 'EXIT' to continue with CISS.debian.live.builder.
|
Press 'EXIT' to continue with CISS.debian.live.builder.
|
||||||
|
|
||||||
|
|||||||
41
lib/lib_contact.sh
Normal file
41
lib/lib_contact.sh
Normal file
@@ -0,0 +1,41 @@
|
|||||||
|
#!/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
|
||||||
|
|
||||||
|
#######################################
|
||||||
|
# Contact Wrapper CISS.debian.live.builder
|
||||||
|
# Globals:
|
||||||
|
# none
|
||||||
|
# Arguments:
|
||||||
|
# none
|
||||||
|
#######################################
|
||||||
|
contact() {
|
||||||
|
clear
|
||||||
|
cat << EOF
|
||||||
|
$(echo -e "\e[92mCISS.debian.live.builder\e[0m")
|
||||||
|
$(echo -e "\e[92mMaster V8.03.768.2025.06.18\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")
|
||||||
|
|
||||||
|
$(echo -e "\e[95m💬 Contact:\e[0m")
|
||||||
|
$(echo -e "\e[95m🌐 https://coresecret.eu/ \e[0m")
|
||||||
|
$(echo -e "\e[95m📧 security@coresecret.eu \e[0m")
|
||||||
|
$(echo -e "\e[95m🔑 PGP Key 2D98 07F4 1030 1776 597E BDC9 9F54 8853 35A3 C9AD \e[0m")
|
||||||
|
$(echo -e "\e[95m🔗 https://keys.openpgp.org/vks/v1/by-fingerprint/2D9807F410301776597EBDC99F54885335A3C9AD \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")
|
||||||
|
|
||||||
|
EOF
|
||||||
|
}
|
||||||
|
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||||
@@ -34,7 +34,7 @@ debugger() {
|
|||||||
declare -p "${var}" 2>/dev/null
|
declare -p "${var}" 2>/dev/null
|
||||||
done < <(compgen -v | grep -Ev '^(BASH|_).*')
|
done < <(compgen -v | grep -Ev '^(BASH|_).*')
|
||||||
} | sort >| "${VAR_DUMP_VARS_INITIAL}"
|
} | sort >| "${VAR_DUMP_VARS_INITIAL}"
|
||||||
declare -grx VAR_EARLY_DEBUG=true
|
declare -gx VAR_EARLY_DEBUG=true
|
||||||
### Set a verbose PS4 prompt including timestamp, source, line, exit status, and function name
|
### Set a verbose PS4 prompt including timestamp, source, line, exit status, and function name
|
||||||
declare -grx PS4='\e[97m+\e[0m\e[96m$(date +%T.%4N)\e[0m\e[97m:\e[0m\e[92m[${BASH_SOURCE[0]}:${LINENO}]\e[0m\e[97m|\e[0m\e[93m${?}\e[0m\e[97m>\e[0m\e[95m${FUNCNAME[0]:-main}()\e[0m \e[97m>>\e[0m '
|
declare -grx PS4='\e[97m+\e[0m\e[96m$(date +%T.%4N)\e[0m\e[97m:\e[0m\e[92m[${BASH_SOURCE[0]}:${LINENO}]\e[0m\e[97m|\e[0m\e[93m${?}\e[0m\e[97m>\e[0m\e[95m${FUNCNAME[0]:-main}()\e[0m \e[97m>>\e[0m '
|
||||||
# shellcheck disable=SC2155
|
# shellcheck disable=SC2155
|
||||||
@@ -44,12 +44,6 @@ debugger() {
|
|||||||
### Open file descriptor 42 for writing to the debug log
|
### Open file descriptor 42 for writing to the debug log
|
||||||
exec 42>| "${LOG_DEBUG}"
|
exec 42>| "${LOG_DEBUG}"
|
||||||
### Write Debug Log Header https://www.gnu.org/software/bash/manual/html_node/Bash-Variables
|
### Write Debug Log Header https://www.gnu.org/software/bash/manual/html_node/Bash-Variables
|
||||||
### Determine the directory of this script, even if sourced.
|
|
||||||
# shellcheck disable=SC2155
|
|
||||||
declare script_dir="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
|
|
||||||
### Source the header from the same directory. This ensures we always load lib/lib_debug_header.sh correctly.
|
|
||||||
. "${script_dir}/lib_debug_header.sh"
|
|
||||||
# shellcheck disable=SC2119
|
|
||||||
debug_header "$#" "$*"
|
debug_header "$#" "$*"
|
||||||
### Tell Bash to send xtrace output to FD 42
|
### Tell Bash to send xtrace output to FD 42
|
||||||
export BASH_XTRACEFD=42
|
export BASH_XTRACEFD=42
|
||||||
|
|||||||
@@ -13,24 +13,20 @@
|
|||||||
#######################################
|
#######################################
|
||||||
# Usage Wrapper CISS.debian.live.builder
|
# Usage Wrapper CISS.debian.live.builder
|
||||||
# Globals:
|
# Globals:
|
||||||
# ERR_UNCRITICAL
|
# none
|
||||||
# Arguments:
|
# Arguments:
|
||||||
# $0: Script name
|
# $0: Script name
|
||||||
#######################################
|
#######################################
|
||||||
usage() {
|
usage() {
|
||||||
clear
|
clear
|
||||||
cat << EOF
|
cat << EOF
|
||||||
|
|
||||||
$(echo -e "\e[92mCISS.debian.live.builder\e[0m")
|
$(echo -e "\e[92mCISS.debian.live.builder\e[0m")
|
||||||
$(echo -e "\e[92mMaster V8.03.768.2025.06.17\e[0m")
|
$(echo -e "\e[92mMaster V8.03.768.2025.06.18\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(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")
|
||||||
|
|
||||||
$(echo -e "\e[95mhttps://coresecret.eu/\e[0m")
|
|
||||||
|
|
||||||
$(echo -e "\e[97mA lightweight Shell Wrapper for building a hardened Debian Bookworm Live ISO Image.\e[0m")
|
|
||||||
|
|
||||||
"${0} <option>", where <option> is one or more of:
|
"${0} <option>", where <option> is one or more of:
|
||||||
|
|
||||||
--help, -h
|
--help, -h
|
||||||
@@ -39,7 +35,7 @@ $(echo -e "\e[97mA lightweight Shell Wrapper for building a hardened Debian Book
|
|||||||
--autobuild=*, -a=*
|
--autobuild=*, -a=*
|
||||||
Headless mode. Skip the dialog wrapper, provider note screen and interactive kernel
|
Headless mode. Skip the dialog wrapper, provider note screen and interactive kernel
|
||||||
selector dialog. Change '*' to your desired Linux kernel and trim the
|
selector dialog. Change '*' to your desired Linux kernel and trim the
|
||||||
'linux-image-' string to select a specific kernel, e.g. '--autobuild=6.12.22+bpo-amd64'.
|
'linux-image-' string to select a specific kernel, e.g. '--autobuild=6.12.30+bpo-amd64'.
|
||||||
|
|
||||||
--architecture <STRING> one of <amd64 | arm64>
|
--architecture <STRING> one of <amd64 | arm64>
|
||||||
A string reflecting the architecture of the Live System.
|
A string reflecting the architecture of the Live System.
|
||||||
@@ -74,12 +70,13 @@ $(echo -e "\e[97mA lightweight Shell Wrapper for building a hardened Debian Book
|
|||||||
and only the hardened, privacy-focused Centurion DNS servers will be used:
|
and only the hardened, privacy-focused Centurion DNS servers will be used:
|
||||||
- https://dns01.eddns.eu/
|
- https://dns01.eddns.eu/
|
||||||
- https://dns02.eddns.de/
|
- https://dns02.eddns.de/
|
||||||
|
- https://dns03.eddns.eu/
|
||||||
|
|
||||||
--jump-host <IP | IP | ... >
|
--jump-host <IP | IP | ... >
|
||||||
Provide up to 10 IPs for /etc/host.allow whitelisting of SSH access.
|
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.
|
Could be either IPv4 and / or IPv6 addresses and / or CCDIR notation.
|
||||||
If provided, than it MUST be a <SPACE> separated list.
|
If provided, than it MUST be a <SPACE> separated list.
|
||||||
IPv6 addresses MUST be encapsulated with [], e.g., [1234::abcd/64].
|
IPv6 addresses MUST be encapsulated with [], e.g., [1234::abcd]/64.
|
||||||
|
|
||||||
--log-statistics-only
|
--log-statistics-only
|
||||||
Provides statistic only after successful building a
|
Provides statistic only after successful building a
|
||||||
@@ -89,23 +86,25 @@ $(echo -e "\e[97mA lightweight Shell Wrapper for building a hardened Debian Book
|
|||||||
|
|
||||||
--provider-netcup-ipv6
|
--provider-netcup-ipv6
|
||||||
Activates IPv6 support for Netcup Root Server. One unique
|
Activates IPv6 support for Netcup Root Server. One unique
|
||||||
IPv6 address MUST be provided in this case.
|
IPv6 address MUST be provided in this case and MUST be encapsulated
|
||||||
|
with [], e.g., [1234::abcd].
|
||||||
|
|
||||||
--renice-priority <PRIORITY>
|
--renice-priority <PRIORITY>
|
||||||
Reset the nice priority value of the script and all its children
|
Reset the nice priority value of the script and all its children
|
||||||
to the desired PRIORITY. MUST be an integer (between "-19" and 19).
|
to the desired <PRIORITY>. MUST be an integer (between "-19" and 19).
|
||||||
Negative (higher) values MUST be enclosed in double quotes '"'.
|
Negative (higher) values MUST be enclosed in double quotes '"'.
|
||||||
|
|
||||||
--reionice-priority <CLASS> <PRIORITY>
|
--reionice-priority <CLASS> <PRIORITY>
|
||||||
Reset the ionice priority value of the script and all its children
|
Reset the ionice priority value of the script and all its children
|
||||||
to the desired CLASS. MUST be an integer:
|
to the desired <CLASS>. MUST be an integer:
|
||||||
1: realtime
|
1: realtime
|
||||||
2: best-effort
|
2: best-effort
|
||||||
3: idle
|
3: idle
|
||||||
defaults to "2".
|
Defaults to '2'.
|
||||||
PRIORITY MUST be an integer:
|
Whereas <PRIORITY> MUST be an integer as well between:
|
||||||
between 0 (highest) and 7 (lowest) priority.
|
0: highest priority and
|
||||||
defaults to "4".
|
7: lowest priority.
|
||||||
|
Defaults to '4'.
|
||||||
A real-time I/O process can significantly slow down other processes
|
A real-time I/O process can significantly slow down other processes
|
||||||
or even cause them to starve if it continuously requests I/O.
|
or even cause them to starve if it continuously requests I/O.
|
||||||
|
|
||||||
@@ -116,9 +115,9 @@ $(echo -e "\e[97mA lightweight Shell Wrapper for building a hardened Debian Book
|
|||||||
the local console. The root password is hashed with an 16 Byte '/dev/random'
|
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
|
generated SALT and SHA512 Hashing function and 8,388,608 rounds. Immediately
|
||||||
after Hash generation all Variables containing plain password fragments are
|
after Hash generation all Variables containing plain password fragments are
|
||||||
deleted. Password file SHOULD be 0400 and root:root and is deleted without
|
deleted. Password file SHOULD be '0400' and 'root:root' and is deleted without
|
||||||
further prompt after password hash has been successfully generated via:
|
further prompt after password hash has been successfully generated via:
|
||||||
shred -vfzu 5 -f.
|
'shred -vfzu 5 -f'.
|
||||||
No tracing of any plain text password fragment in any debug log.
|
No tracing of any plain text password fragment in any debug log.
|
||||||
|
|
||||||
--ssh-port <INTEGER>
|
--ssh-port <INTEGER>
|
||||||
@@ -132,14 +131,11 @@ $(echo -e "\e[97mA lightweight Shell Wrapper for building a hardened Debian Book
|
|||||||
--version, -v
|
--version, -v
|
||||||
Displays version of ${0}.
|
Displays version of ${0}.
|
||||||
|
|
||||||
$(echo -e "\e[93mNOTES:\e[0m")
|
$(echo -e "\e[93m💡 Notes:\e[0m")
|
||||||
- You MUST be 'root' to run this script.
|
🔵 You MUST be 'root' to run this script.
|
||||||
|
|
||||||
$(echo -e "\e[92mContact:\e[0m")
|
$(echo -e "\e[95m💷 Please consider donating to my work at:\e[0m")
|
||||||
$(echo -e "\e[95m - https://coresecret.eu/ \e[0m")
|
$(echo -e "\e[95m🌐 https://coresecret.eu/spenden/ \e[0m")
|
||||||
$(echo -e "\e[95m - security@coresecret.eu \e[0m")
|
|
||||||
$(echo -e "\e[95m - PGP Key 2D98 07F4 1030 1776 597E BDC9 9F54 8853 35A3 C9AD \e[0m")
|
|
||||||
$(echo -e "\e[95m - https://keys.openpgp.org/vks/v1/by-fingerprint/2D9807F410301776597EBDC99F54885335A3C9AD \e[0m")
|
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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;
|
# dns01.eddns.eu, dns02.eddns.de; dns03.eddns.eu;
|
||||||
|
|
||||||
supersede domain-name-servers 135.181.207.105, 89.58.62.53;
|
supersede domain-name-servers 135.181.207.105, 89.58.62.53; 138.199.237.109;
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
|
|||||||
@@ -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.768.2025.06.17 is up!" >| /root/.cdi/log/boot_finished_"$(date +"%Y-%m-%d_%H-%M-%S")".log
|
printf "CISS.debian.installer Master V8.03.768.2025.06.18 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
|
||||||
|
|||||||
21
var/bash.var.sh
Normal file
21
var/bash.var.sh
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
#!/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
|
||||||
|
|
||||||
|
### For all options see https://www.gnu.org/software/bash/manual/bash.html#The-Set-Builtin
|
||||||
|
set -o errexit # Exit script when a command exits with non-zero status, the same as "set -e".
|
||||||
|
set -o errtrace # Any traps on ERR are inherited in a subshell environment, the same as "set -E".
|
||||||
|
set -o functrace # Any traps on DEBUG and RETURN are inherited in a subshell environment, the same as "set -T".
|
||||||
|
set -o nounset # Exit script on use of an undefined variable, the same as "set -u".
|
||||||
|
set -o pipefail # Makes pipelines return the exit status of the last command in the pipe that failed.
|
||||||
|
set -o noclobber # Prevent overwriting, the same as "set -C".
|
||||||
|
|
||||||
|
# vim: number et ts=2 sw=2 sts=2 ai tw=128 ft=sh
|
||||||
@@ -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 -grx C_BLA='\e[90m' # For the techno fans.
|
declare -grx C_BLA='\e[90m' # Beautiful black For the techno fans.
|
||||||
declare -grx C_RED='\e[91m' # Bright red.
|
declare -grx C_RED='\e[91m' # Bright red.
|
||||||
declare -grx C_GRE='\e[92m' # Vibrant green.
|
declare -grx C_GRE='\e[92m' # Vibrant green.
|
||||||
declare -grx C_YEL='\e[93m' # Fancy yellow
|
declare -grx C_YEL='\e[93m' # Fancy yellow
|
||||||
Reference in New Issue
Block a user