Check: ANIX-00-001620
Anduril NixOS STIG:
ANIX-00-001620
(in version v1 r1)
Title
NixOS must protect the confidentiality and integrity of transmitted information. (Cat I impact)
Discussion
Without protection of the transmitted information, confidentiality and integrity may be compromised because unprotected communications can be intercepted and either read or altered. This requirement applies to both internal and external networks and all types of information system components from which information can be transmitted (e.g., servers, mobile devices, notebook computers, printers, copiers, scanners, and facsimile machines). Communication paths outside the physical protection of a controlled boundary are exposed to the possibility of interception and modification. Protecting the confidentiality and integrity of organizational information can be accomplished by physical means (e.g., employing physical distribution systems) or by logical means (e.g., employing cryptographic techniques). If physical means of protection are employed, then logical means (cryptography) do not have to be employed, and vice versa. Satisfies: SRG-OS-000423-GPOS-00187, SRG-OS-000112-GPOS-00057, SRG-OS-000113-GPOS-00058, SRG-OS-000424-GPOS-00188, SRG-OS-000425-GPOS-00189, SRG-OS-000426-GPOS-00190
Check Content
Verify NixOS to enables sshd for secure, confidentially preserving remote access with the following command: $ systemctl status sshd sshd.service - SSH daemon Loaded: loaded (/etc/systemd/system/sshd.service; enabled; present: enabled) Active: active (running) since Sat 2022-06-04 02:51:43 UTC; 13min ago If the sshd.service is not "active" and "running", this is a finding.
Fix Text
Configure NixOS to enable sshd for secure, confidentially-preserving remote access by adding the following option to /etc/nixos/configuration.nix. services.sshd.enable = true; Rebuild the system with the following command: $ sudo nixos-rebuild switch
Additional Identifiers
Rule ID: SV-268159r1039541_rule
Vulnerability ID: V-268159
Group Title: SRG-OS-000423-GPOS-00187
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-001941 |
Implement replay-resistant authentication mechanisms for access to privileged accounts and/or non-privileged accounts. |
CCI-002418 |
Protect the confidentiality and/or integrity of transmitted information. |
CCI-002420 |
Maintain the confidentiality and/or integrity of information during preparation for transmission. |
CCI-002421 |
Implement cryptographic mechanisms to prevent unauthorized disclosure of information and/or detect changes to information during transmission. |
CCI-002422 |
Maintain the confidentiality and/or integrity of information during reception. |