The Extensible Configuration Checklist Description Format ( XCCDF ) is an XML-based specification language for describing security configuration checklists and other similar documents. XCCDF is one of the Security Content Automation Protocol ( SCAP ) languages. XCCDF is an important tool for professionals involved in the automation of information security processes. This language describes, for example, the mandatory requirements for setting up workstations of US federal agencies and their counterparties (the FDCC / USGCB program ). In this article, we will look at how the XCCDF security checklists are described - using USGCB content for RedHat Enterprise Linux as an example.<Rule id = "usgcb-rhel5desktop-rule-2.3.1.7.a" selected = "false" weight = "10.0"
prohibitChanges = "false" abstract = "false" hidden = "false" role = "full" severity = "unknown" >
<status date = "2010-07-01" > accepted </ status >
<version update = "1" />
<title override = "0" > CCE-4154-1: Set password minimum length </ title >
<description xml: lang = "en-US" override = "0" > The password minimum length should be set
appropriately </ description >
<ident system = " cce.mitre.org" > CCE-4154-1 </ ident >
<check system = " oval.mitre.org/XMLSchema/oval-definitions-5" selector = "" >
<check-export value-id = "usgcb-rhel5desktop-var-2.3.1.7.a"
export-name = "oval: gov.nist.usgcb.rhel: var: 20071" />
<check-content-ref href = "usgcb-rhel5desktop-oval.xml"
name = "oval: gov.nist.usgcb.rhel: def: 20071" />
</ check >
</ Rule >
<Group id = "usgcb-rhel5desktop-group-2.3.1.7" hidden = "false" prohibitChanges = "false"
abstract = "false" selected = "true" weight = "1.0" >
<title xml: lang = "en-US" override = "0" > Set Password Expiration Parameters </ title >
<description xml: lang = "en-US" override = "0" > Edit the file /etc/login.defs to specify
password expiration settings for new accounts.
...
</ description >
<Value id = "usgcb-rhel5desktop-var-2.3.1.7.a" type = "string" operator = "equals"
prohibitChanges = "false" abstract = "false" hidden = "false" interactive = "0" >
<title xml: lang = "en-US" override = "0" > minimum password length </ title >
<description xml: lang = "en-US" override = "0" > Minimum number of characters in
password </ description >
<warning override = "0" category = "general" > This will only check new
passwords </ warning >
<value selector = "" > 14 </ value >
<value selector = "6" > 6 </ value >
<! - NIST 800-53 requires 1 in a million using brute force which translates to six
numbers ->
<value selector = "8" > 8 </ value >
<value selector = "10" > 10 </ value >
<value selector = "12" > 12 </ value >
<value selector = "14" > 14 </ value >
</ Value >
<Rule id = "usgcb-rhel5desktop-rule-2.3.1.7.a" selected = "false" weight = "10.0"
prohibitChanges = "false" abstract = "false" hidden = "false" role = "full" severity = "unknown" >
<status date = "2010-07-01" > accepted </ status >
<version update = "1" />
<title override = "0" > CCE-4154-1: Set password minimum length </ title >
<description xml: lang = "en-US" override = "0" > The password minimum length should be
set appropriately </ description >
<ident system = " cce.mitre.org" > CCE-4154-1 </ ident >
<check system = " oval.mitre.org/XMLSchema/oval-definitions-5" selector = "" >
<check-export value-id = "usgcb-rhel5desktop-var-2.3.1.7.a"
export-name = "oval: gov.nist.usgcb.rhel: var: 20071" />
<check-content-ref href = "usgcb-rhel5desktop-oval.xml"
name = "oval: gov.nist.usgcb.rhel: def: 20071" />
</ check >
</ Rule >
<Rule id = "usgcb-rhel5desktop-rule-2.3.1.7.b" selected = "false" weight = "10.0"
prohibitChanges = "false" abstract = "false" hidden = "false" role = "full" severity = "unknown" >
...
</ Rule >
<Rule id = "usgcb-rhel5desktop-rule-2.3.1.7.c" selected = "false" weight = "10.0"
prohibitChanges = "false"
...
</ Rule >
<Rule id = "usgcb-rhel5desktop-rule-2.3.1.7.d" selected = "false" weight = "10.0"
prohibitChanges = "false"
...
</ Rule >
</ Group >
<Profile id = "united_states_government_configuration_baseline" abstract = "false"
prohibitChanges = "false" >
<title xml: lang = "en-US" override = "0" > United States Government Configuration
Baseline 1.0.5.0 </ title >
<description xml: lang = "en-US" override = "0" > This profile represents guidance
outlined in United States Government Configuration Baseline for desktop
systems with Redhat Enterprise Linux 5 installed. </ description >
...
<select idref = "usgcb-rhel5desktop-rule-2.3.1.7.a" selected = "true" />
<refine-value idref = "usgcb-rhel5desktop-var-2.3.1.7.a" selector = "12" />
...
</ Profile >

Source: https://habr.com/ru/post/141869/
All Articles