{"description": "By default, <tt>SystemD</tt> will reboot the system if the <tt>Ctrl-Alt-Del</tt>\nkey sequence is pressed.\n<br /><br />\nTo configure the system to ignore the <tt>Ctrl-Alt-Del</tt> key sequence from the\n\ncommand line instead of rebooting the system, do either of the following:\n<pre>ln -sf /dev/null /etc/systemd/system/ctrl-alt-del.target</pre>\nor\n<pre>systemctl mask ctrl-alt-del.target</pre>\n<br /><br />\nDo not simply delete the <tt>/usr/lib/systemd/system/ctrl-alt-del.service</tt> file,\nas this file may be restored during future system updates.", "rationale": "A locally logged-in user who presses Ctrl-Alt-Del, when at the console,\ncan reboot the system. If accidentally pressed, as could happen in\nthe case of mixed OS environment, this can create the risk of short-term\nloss of availability of systems due to unintentional reboot.", "severity": "high", "references": {"cis-csc": ["12", "13", "14", "15", "16", "18", "3", "5"], "cobit5": ["APO01.06", "DSS05.04", "DSS05.07", "DSS06.02"], "cui": ["3.4.5"], "hipaa": ["164.308(a)(1)(ii)(B)", "164.308(a)(7)(i)", "164.308(a)(7)(ii)(A)", "164.310(a)(1)", "164.310(a)(2)(i)", "164.310(a)(2)(ii)", "164.310(a)(2)(iii)", "164.310(b)", "164.310(c)", "164.310(d)(1)", "164.310(d)(2)(iii)"], "isa-62443-2009": ["4.3.3.7.3"], "isa-62443-2013": ["SR 2.1", "SR 5.2"], "iso27001-2013": ["A.10.1.1", "A.11.1.4", "A.11.1.5", "A.11.2.1", "A.13.1.1", "A.13.1.3", "A.13.2.1", "A.13.2.3", "A.13.2.4", "A.14.1.2", "A.14.1.3", "A.6.1.2", "A.7.1.1", "A.7.1.2", "A.7.3.1", "A.8.2.2", "A.8.2.3", "A.9.1.1", "A.9.1.2", "A.9.2.3", "A.9.4.1", "A.9.4.4", "A.9.4.5"], "nerc-cip": ["CIP-003-8 R5.1.1", "CIP-003-8 R5.3", "CIP-004-6 R2.3", "CIP-007-3 R2.1", "CIP-007-3 R2.2", "CIP-007-3 R2.3", "CIP-007-3 R5.1", "CIP-007-3 R5.1.1", "CIP-007-3 R5.1.2"], "nist": ["CM-6(a)", "AC-6(1)"], "nist-csf": ["PR.AC-4", "PR.DS-5"], "ospp": ["FAU_GEN.1.2"], "srg": ["SRG-OS-000324-GPOS-00125", "SRG-OS-000480-GPOS-00227"], "stigid": ["UBTU-22-211015"], "stigref": ["SV-260469r991589_rule"]}, "control_references": {"stigid": ["UBTU-22-211015"]}, "components": [], "identifiers": {}, "ocil_clause": "the system is configured to reboot when Ctrl-Alt-Del is pressed", "ocil": "To ensure the system is configured to mask the Ctrl-Alt-Del sequence, Check\nthat the ctrl-alt-del.target is masked and not active with the following\ncommand:\n<pre>sudo systemctl status ctrl-alt-del.target</pre>\nThe output should indicate that the target is masked and not active. It\nmight resemble following output:\n<pre>ctrl-alt-del.target\nLoaded: masked (/dev/null; bad)\nActive: inactive (dead)</pre>", "oval_external_content": null, "fixtext": "Configure the system to disable the ctrl-alt-del.target with the following command:\n\n$ sudo systemctl disable --now ctrl-alt-del.target\n$ sudo systemctl mask --now ctrl-alt-del.target", "checktext": "", "vuldiscussion": "", "srg_requirement": "The x86 Ctrl-Alt-Delete key sequence must be disabled on Ubuntu 22.04.", "warnings": [], "conflicts": [], "requires": [], "policy_specific_content": {"stig": {"srg_requirement": "The x86 Ctrl-Alt-Delete key sequence must be disabled on Ubuntu 22.04.", "vuldiscussion": "A locally logged-on user who presses Ctrl-Alt-Delete when at the console can reboot the system. If accidentally pressed, as could happen in the case of a mixed OS environment, this can create the risk of short-term loss of availability of systems due to unintentional reboot. In a graphical user environment, risk of unintentional reboot from the Ctrl-Alt-Delete sequence is reduced because the user will be prompted before any action is taken.", "checktext": "Verify Ubuntu 22.04 is not configured to reboot the system when Ctrl-Alt-Delete is pressed with the following command:\n\n$ sudo systemctl status ctrl-alt-del.target\n\nctrl-alt-del.target\nLoaded: masked (Reason: Unit ctrl-alt-del.target is masked.)\nActive: inactive (dead)\n\nIf the \"ctrl-alt-del.target\" is loaded and not masked, this is a finding.", "fixtext": "Configure Ubuntu 22.04 to disable the ctrl-alt-del.target with the following command:\n\n$ sudo systemctl disable --now ctrl-alt-del.target\n$ sudo systemctl mask --now ctrl-alt-del.target"}}, "platform": "not container", "platforms": ["not container"], "sce_metadata": {}, "inherited_platforms": ["system_with_kernel"], "cpe_platform_names": ["not_container"], "inherited_cpe_platform_names": ["system_with_kernel"], "bash_conditional": null, "fixes": {}, "title": "Disable Ctrl-Alt-Del Reboot Activation", "definition_location": "/aptdata/openscap/scap-security-guide/linux_os/guide/system/accounts/accounts-physical/disable_ctrlaltdel_reboot/rule.yml", "template": null}