Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OpenSCAP Ubuntu 20.04 STIG Profile Issue with Banner Test #11985

Open
2 tasks
bdou opened this issue May 9, 2024 · 2 comments
Open
2 tasks

OpenSCAP Ubuntu 20.04 STIG Profile Issue with Banner Test #11985

bdou opened this issue May 9, 2024 · 2 comments
Labels
STIG STIG Benchmark related. Ubuntu Ubuntu product related.

Comments

@bdou
Copy link

bdou commented May 9, 2024

Description of problem:

The DISA STIG item UBTU-20-010038 says that "The Ubuntu operating system must display the Standard Mandatory DoD Notice and Consent Banner before granting any local or remote connection to the system." However, when the notice is copied into /etc/issue.net, and the OpenSCAP 1.2.16 tool is run (with profile Canonical Ubuntu 20.04 LTS Security Technical Implementation Guide (STIG) V1R9), there is a failure in the test, "Modify the System Login Banner for Remote Connections." The only text that does pass the scan is "Authorized uses only. All activity may be monitored and reported" - which is not part of the STIG requirements.

Details:

This content is not aligned with content from the Canonical Ubuntu 20.04 LTS Security Technical Implementation Guide V1R11.

The misalignment affects these profiles:

  • Canonical Ubuntu 20.04 LTS Security Technical Implementation Guide (STIG) V1R9

The misalignment affects these rules:

  • Rule ID: SV-238214r858525_rule
  • Rule Title: The Ubuntu operating system must display the Standard Mandatory DoD Notice and Consent Banner before granting any local or remote connection to the system.

Outcome:

  • This project's content can be improved:
    • Check needs to be improved.

SCAP Security Guide Version:

https://github.com/ComplianceAsCode/content/releases/download/v0.1.72/scap-security-guide-0.1.72.zip

External Content's Version:

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_CAN_Ubuntu_20-04_LTS_V1R11_STIG.zip

@dodys dodys added Ubuntu Ubuntu product related. STIG STIG Benchmark related. labels May 10, 2024
@dodys
Copy link
Contributor

dodys commented May 10, 2024

This seems to relate to the added new variable that was not communicated:
#10161

Adding the variable remote_login_banner_text with the appropriate value should fix this.

@alanmcanonical
Copy link
Contributor

Could you please share more (debug) information/evaluation result/console output?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
STIG STIG Benchmark related. Ubuntu Ubuntu product related.
Projects
None yet
Development

No branches or pull requests

3 participants