DISA STIGS Viewer

NixOS must monitor remote access methods.

Overview

Finding ID Version Rule ID IA Controls Severity
V-268088 ANIX-00-000140 SV-268088r1039596_rule   Medium
Description
Remote access services, such as those providing remote access to network devices and information systems, which lack automated monitoring capabilities, increase risk and make remote user access management difficult at best. Remote access is access to DOD nonpublic information systems by an authorized user (or an information system) communicating through an external, non-organization-controlled network. Remote access methods include, for example, dial-up, broadband, and wireless. Automated monitoring of remote access sessions allows organizations to detect cyberattacks and also ensure ongoing compliance with remote access policies by auditing connection activities of remote access capabilities, such as Remote Desktop Protocol (RDP), on a variety of information system components (e.g., servers, workstations, notebook computers, smartphones, and tablets).
STIG Date
Anduril NixOS Security Technical Implementation Guide 2024-10-25

Details

Check Text (C-72012r1039150_chk)
Configure the NixOS to monitors remote access methods with the following command:

$ grep -R openssh.logLevel /etc/nixos

/etc/nixos/configuration.nix:services.openssh.logLevel = "VERBOSE";

If services.openssh.logLevel does not equal VERBOSE, is missing, or is commented out, this is a finding.
Fix Text (F-71915r1039151_fix)
Configure the NixOS to monitor remote access methods by adding the following configuration to the /etc/nixos/configuration.nix:

services.openssh.logLevel = "VERBOSE";

Rebuild NixOS with the following command:

$ sudo nixos-rebuild switch