Skip to content

ServerDeploy v1.0.3

Pre-release
Pre-release

Choose a tag to compare

@DarkCipher0x DarkCipher0x released this 21 Oct 17:53

Not yet tested on a real server. This version was published before a deploy had completed on a real server. Try it on a disposable server first.

DarkCipher Server Deploy 1.0.3 (server script 3.1.0), released 2026-10-19.

Download DarkCipher-Server-Deploy-1.0.3-x64.msi (installer) or DarkCipher-Server-Deploy-1.0.3-x64-portable.zip below. dcx-setup.sh is the server script on its own. Windows SmartScreen may warn about the installer because it isn't code-signed yet: check the SHA-256 below, then choose More info -> Run anyway.

Published before a deploy had completed on a real server.

  • Each step runs on its own. When a hardening step fails, that step is recovered or reported and the run carries
    on. Only the users-and-keys step stops the run, because continuing past a failure there could lock you out.
    Exit codes: 0 = clean, 1 = stopped, 2 = finished with problems.
  • Safe recovery:
    • SSH keeps the current port and drops a half-written port change.
    • The firewall always lets SSH in: if its rules fail, ufw is switched off.
    • The nginx hardening is rolled back to stock nginx.
    • fail2ban falls back to the SSH jail only.
  • SSH crypto steps down when this sshd rejects a setting: post-quantum, then classic key exchange, then
    OpenSSH's defaults. Password logins stay on for any user who doesn't have a key yet.
  • More robust packages:
    • waits up to 10 minutes for the dpkg lock (held by cloud-init on fresh VPSs)
    • repairs an interrupted dpkg
    • retries
    • installs one by one when a single package fails, and switches off only the features that need the missing
      package
  • Works with more providers: accepts a provider's own Ubuntu mirror for the internet check, copes with chrony
    (Ubuntu 25.10+), falls back to dd when fallocate can't create the swap file, and handles home folders and
    primary groups that aren't /home/<user> and <user>.
  • Fixed: passwords on Ubuntu 26.04 images. chpasswd went through pam_pwquality, which fails when the cracklib
    dictionary is missing. Passwords are now SHA-512 hashed and set directly. cracklib-runtime is installed, and the
    dictionary check is switched off if the dictionary still can't be built.
  • Fixed: the false "not connected over SSH" warning. The launcher now passes your SSH source address through sudo
    and tmux.
  • App: shows "Finished with problems" with step totals (@@DCX-STEPS).
  • Microsoft Store packaging: build-msix.ps1 and windows/Store/.

SHA-256

33ed65708239395335d4bff40c8e7c21f0cf8d0413ab0929743070d3f4ca04c1  DarkCipher-Server-Deploy-1.0.3-x64.msi
ed72195469993b87975158aad5580c01953fb5de2630115e9e8eedf4c5f2974c  DarkCipher-Server-Deploy-1.0.3-x64-portable.zip
0f1af74ba2ce7bed0f472cea06e0116b75e874cd6b58f43b6d5e50a985fbb900  dcx-setup.sh
76e2ff455b630a9302f9de4c700c00e43b1d0073dfcfbc4f6f8b751e5819fbfb  example-answers.conf
2d4294a0e72f3adce1fe7230d9831919054c4b5bdfaf422641ffe4daae0a46dc  ServerDeploy-src-v1.0.3.zip

These are the same files, byte for byte, as on darkciphersystems.com.