The appliances apply part of the recommendations of the advanced security hardening guide when it is built. This page gives, for each recommendation that concerns these appliances, its state and, when it is applied, the file that carries it: what remains to be done after deployment is read from the states other than Applied .
Legend — Applied : by the appliance itself; Partly : the detail gives what remains to be done; Not applied : nothing set by the appliance; Deployment : by the administrator, a product setting or a manual check. The recommendations that do not concern these appliances are not listed.
Files of the appliance
The appliance does not modify the configuration files of the Debian packages: it writes its settings in the .d folders they read (sshd_config.d, sysctl.d, sudoers.d…) or in its own files. A setting is adjusted in that file, which a package update leaves in place.
Installation and security maintenance
N°
Recommendation
Standalone
Cluster
Detail
File
R1
Minimal Debian installation
Applied
Applied
Debian 13 base image without recommended packages.
R2
Debian version and security maintenance
Applied
Applied
Debian 13 (trixie), updated when the appliance is built; security updates automated (R7).
R3
Appropriate disk partitioning
Applied
Applied
Separate LVM partitions; nosuid, nodev, noexec options on /boot, /opt, /tmp, /srv, /home, /usr, /var/log, /var/tmp. Database: no option on /var. hidepid is not set on /proc.
/etc/fstab
R4
Removal of unnecessary packages installed by default
Applied
Applied
About fifty packages removed (mail, FTP/Telnet, CUPS, Avahi, compilers…), unless a product package depends on them.
R5
Review of active services and listening ports
Deployment
Deployment
Services are not disabled: review them after deployment (systemctl, ss -tulpn).
R6
Integrity check of packages and APT repositories
Applied
Applied
Signed Debian and Systancia repositories; no recommended or suggested packages.
/etc/apt/apt.conf.d/99norecommends
R7
Controlled automation of Debian security updates
Applied
Applied
unattended-upgrades enabled, without automatic reboot.
/etc/apt/apt.conf.d/52unattended-upgrades-local
Accounts, privileges and local authentication
N°
Recommendation
Standalone
Cluster
Detail
File
R8
Management of local accounts and restriction of the root account
Applied
Applied
Idle shells closed after 15 minutes (TMOUT=900); root refused on the console (except the autologin of the initial wizard) and over SSH. The root account is not locked.
/etc/profile.d/99-timeout.sh, /usr/share/pam-configs/systancia-noroot-console
R9
Privileged administration with sudo
Applied
Applied
use_pty, log file, timeouts; sudo restricted to the sudo group (mode 4750).
/etc/sudoers.d/99-hardening
R10
Local authentication policy (libpam-pwquality, pam_faillock)
Applied
Applied
Passwords of 12 characters and 4 classes, 3 attempts; account locked for 300 s after 3 failures. No password history.
/etc/security/pwquality.conf.d/50-systancia.conf, /etc/security/faillock-systancia.conf
File system and permissions
N°
Recommendation
Standalone
Cluster
Detail
File
R11
Control of permissions and sensitive files
Deployment
Deployment
Run the checks of the guide (permissions 777, files without owner, SUID/SGID) after installation.
R12
Hardening of configuration files and sensitive directories
Applied
Applied
Owner and mode of passwd, shadow, group, gshadow, sudoers, sshd_config, host keys, /root, crontab, System.map.
Kernel, network and boot
N°
Recommendation
Standalone
Cluster
Detail
File
R13
sysctl parameters for system and network hardening
Applied
Partly
All the keys of the guide, except ip_forward=0 and rp_filter=1, set on the Standalone Mediation Controller only (not compatible with a cluster or an Edge Gateway publishing VPN resources). Not applied on the database.
/etc/sysctl.d/99-cyberelements-bastion-hardening.conf
R14
Disabling or controlling IPv6
Applied
Applied
IPv6 disabled.
/etc/sysctl.d/99-cyberelements-bastion-ipv6.conf
R15
Advanced boot and kernel hardening (kernel options)
Not applied
Not applied
Not applied.
R16
Password on the GRUB boot loader
Not applied
Not applied
Left to the administrator: a lost GRUB password prevents recovery.
Scheduled tasks, banner and integrity
N°
Recommendation
Standalone
Cluster
Detail
File
R17
Hardening and review of scheduled tasks
Partly
Partly
/etc/crontab owned by root (0644), audit rules on the scheduled tasks; the review of the product tasks is manual.
R18
Customisation of the system banner
Applied
Applied
Console and SSH banners with a warning text, without product name or version.
/etc/issue-systancia, /etc/ssh/banner-systancia
R19
Integrity check of system files with debsums
Applied
Applied
debsums installed; checks run on demand.
R20
Integrity baseline with AIDE
Partly
Partly
AIDE installed with additional rules; the baseline (aideinit) is to be created after deployment.
/etc/aide/aide.conf.d/90_cyberelements_bastion
System logging and time synchronisation
N°
Recommendation
Standalone
Cluster
Detail
File
R21
Configuration of the system logging service
Applied
Applied
rsyslog installed, IPv4 only.
/etc/rsyslog.d/00-systancia-ipv4.conf
R22
Protection and rotation of logs
Partly
Partly
Default Debian permissions and rotation; Mediation Controller: product logs rotated daily, 14 kept.
R23
Protection of command histories and administration traces
Applied
Applied
Timestamped history (5000 / 10000 lines, histappend), history files in 0600.
/etc/profile.d/99-history.sh
R24
Time synchronisation with NTP
Applied
Applied
ntpsec installed on the Mediation Controllers and the database; to be set up on the Edge Gateways.
SSH
N°
Recommendation
Standalone
Cluster
Detail
File
R25
Protocol and cryptographic algorithms
Applied
Applied
Ciphers, MACs and key exchange algorithms of the guide, for the server and the client. RequiredRSASize is not set.
/etc/ssh/sshd_config.d/00-cyberelements-bastion-hardening.conf, /etc/ssh/ssh_config.d/00-cyberelements-bastion-hardening.conf
R26
Authentication and user access control
Applied
Applied
PermitRootLogin no, MaxAuthTries 4, LoginGraceTime 30, no empty password.
/etc/ssh/sshd_config.d/00-cyberelements-bastion-hardening.conf
R27
SSH key authentication and disabling of passwords
Partly
Partly
Password authentication remains allowed: deploy the administrators' keys, then disable it.
/etc/ssh/sshd_config.d/00-cyberelements-bastion-hardening.conf
R28
Restriction of network and forwarding features
Applied
Applied
No forwarding (X11, agent, TCP, stream), no tunnel, no compression.
/etc/ssh/sshd_config.d/00-cyberelements-bastion-hardening.conf
R29
Network listening and exposure of the SSH service
Deployment
Deployment
Listening address and port to set at deployment.
R30
Limitation of sessions and connection timeouts
Applied
Applied
ClientAliveInterval 300 (×2), MaxSessions 2, MaxStartups 10:30:60.
/etc/ssh/sshd_config.d/00-cyberelements-bastion-hardening.conf
R31
Banner and logging of SSH connections
Applied
Applied
Banner, LogLevel VERBOSE, PrintLastLog.
/etc/ssh/sshd_config.d/00-cyberelements-bastion-hardening.conf
R32
Size and robustness of host and user keys
Partly
Partly
Host keys regenerated with the Debian default sizes; no size policy.
R33
Entropy quality and uniqueness of host keys
Applied
Applied
Host keys and machine identifier regenerated at the first startup of each appliance.
OVA-ResetSSHKeys.service
R34
Advanced features not retained by default
Applied
Applied
No advanced feature enabled.
Local firewall
N°
Recommendation
Standalone
Cluster
Detail
File
R35
Filtering principle and positive security model
Not applied
Not applied
No local firewall rule. Database: nftables rules written at its configuration.
R36
Base rules in Standalone mode (Mediation Controller)
Not applied
Not applied
Not applied.
R38
Persistence of rules at startup
Not applied
Not applied
No rule to make persistent. Database: see R35.
R39
Cluster mode: filtering script managed by the product
–
Deployment
Filtering script of the product, set at deployment.
R40
Disabling IPv6 when it is not needed
Applied
Applied
IPv6 disabled (R14): no IPv6 rule needed.
R41
Verification, audit and monitoring of rules
Not applied
Not applied
No rule to check. Database: see R35.
Apache
N°
Recommendation
Standalone
Cluster
Detail
File
R42
Reducing the attack surface and exposed information
Not applied
Not applied
Not applied.
R43
Management of persistent connections
Applied
Applied
KeepAlive On, timeout 5 s, 100 requests.
/etc/apache2/conf-available/zz-cyberelements-hardening.conf
R44
HTTP security headers
Partly
Partly
X-Content-Type-Options, X-Frame-Options, Referrer-Policy. HSTS is not set: it depends on the web certificate installed.
/etc/apache2/conf-available/zz-cyberelements-hardening.conf
R45
Restriction of HTTP methods and directory browsing
Applied
Applied
TraceEnable Off, no directory listing.
/etc/apache2/conf-available/zz-cyberelements-hardening.conf
R46
Compression of Reverse Proxy virtual hosts and the BREACH vulnerability
Applied
Applied
mod_deflate disabled.
R47
Permissions of configuration files
Applied
Applied
/etc/ipdiva.conf in 0644.
TLS 1.2 and TLS 1.3
N°
Recommendation
Standalone
Cluster
Detail
File
R50
General TLS policy
Not applied
Not applied
TLS configuration of the product left as installed.
R51
Configuration of the Mediation Controller Apache portal
Not applied
Not applied
Left as installed by the product.
R52
Verification of the effective TLS configuration
Deployment
Deployment
Check with openssl s_client after deployment.
Content Security Policy
N°
Recommendation
Standalone
Cluster
Detail
File
R53
Deployment of the CSP on Web VPN hosts
Not applied
Not applied
No CSP.
R54
Known product limitation: unsafe-inline and unsafe-eval
Not applied
Not applied
No CSP.
R55
Consistency with the headers protecting against clickjacking
Partly
Partly
X-Frame-Options SAMEORIGIN (R44); no CSP frame-ancestors.
R56
Collection of CSP violation reports (optional)
Not applied
Not applied
No CSP.
fail2ban
N°
Recommendation
Standalone
Cluster
Detail
File
R57
Installation and operating principle
Applied
Applied
fail2ban installed. Cluster Mediation Controllers also ignore the MASTER, SLAVE and virtual addresses.
/etc/fail2ban/jail.local
R58
SSH jail
Applied
Applied
sshd jail: 3 attempts, 600 s ban.
/etc/fail2ban/jail.local
R59
Apache jails
Applied
Applied
apache-overflows, apache-noscript, apache-badbots.
/etc/fail2ban/jail.local
R60
Jail specific to CyberElements Bastion authentication
Applied
Applied
Jail and filter on the product authentication failures (organisation logs received locally on 127.0.0.1:514/udp).
/etc/fail2ban/filter.d/systancia.conf, /etc/rsyslog.d/ipdiva-fail2ban.conf
R61
Interaction with the local firewall
Partly
Partly
Default ban action of fail2ban; no local firewall (chapter on the local firewall).
R62
Operation and monitoring
Deployment
Deployment
fail2ban-client status and log review in operation.
Centralised logging
N°
Recommendation
Standalone
Cluster
Detail
File
R63
Principle of centralisation towards the logging infrastructure
Deployment
Deployment
Requires the logging infrastructure of the organisation.
R64
Redirection of Apache logs to syslog
Deployment
Deployment
To set at deployment.
R65
Redirection of organisation logs to syslog
Deployment
Deployment
Received locally for fail2ban (R60); forwarding to set at deployment.
R66
Reliable forwarding to the logging server
Deployment
Deployment
Requires the logging server of the organisation.
N°
Recommendation
Standalone
Cluster
Detail
File
R68
arpwatch: monitoring of local ARP activity
Applied
Applied
arpwatch enabled on the default interface.
R69
acct: accounting of connections and commands
Applied
Applied
acct installed.
R70
sysstat: system performance statistics
Partly
Partly
sysstat enabled, with the default collection interval.
R71
auditd: audit of the Linux kernel subsystem
Applied
Applied
Audit rules (accounts, sudo, SSH, banners, modules, permission changes…), locked (-e 2).
/etc/audit/rules.d/99-systancia.rules
R72
Lynis: periodic configuration audit
Partly
Partly
Lynis installed; audits to run or schedule.
R73
ClamAV: antivirus (to be validated depending on usage)
Not applied
Not applied
ClamAV not installed.
Session recordings
N°
Recommendation
Standalone
Cluster
Detail
File
R74
Dedicated storage and monitoring of recording space
Deployment
Deployment
To set at deployment.
R75
Restriction of access to recordings
Deployment
Deployment
Product settings and deployment.
R76
Retention and purging of recordings
Deployment
Deployment
Product setting.
R77
Logging of video events
Deployment
Deployment
Product setting.
R78
Password rotation after a recorded session
Deployment
Deployment
Product setting.
R79
Hardening of the external database
Deployment
Deployment
Database appliance: scram-sha-256 authentication; network, nftables and certificates set at its configuration.