Debian 13 Password Hashing Component Definition
debian-13-password-hashing · version 1.0.0 · OSCAL 1.1.2
technically-tested published
| Document | component-definition.jsonsha256 8b3bc0fc775d3a204e52fe2337d5684096362ea7d78a2d16bf650102a08d424c |
|---|---|
| Identity | https://library.oscalops.net/component-definitions/327f09ef-96c6-54e6-aad8-9d305442ebfe/9e9f92fc-8682-4cd4-ac47-46afeb6b1cd3/1.0.0/component-definition.json |
| Source | https://github.com/dmblack/oscal_component-definition_debian-passphrase-hardening.git at 85d9681d323d20210966c1a330836b4c2637ea18 |
| Versions | All versions of debian-13-password-hashing |
From the author
Theoretical component. It describes a configuration that satisfies the named controls when applied; it is not an assertion that any particular system is running it. An SSP leveraging this component must supply the implementation evidence for its own hosts.
Assurance state is 'technically-tested': the configuration was applied to a clean Debian 13 install and verified end to end.
Declared by this document
What the contributor says this component applies to and touches. These are the contributor's own statements in their own vocabulary, not the library's, and the library does not check them beyond what OSCAL requires of a property.
| Property | Value | Vocabulary |
|---|---|---|
| os-codename | trixie | https://ns.oscalops.net/component-definitions |
| os-distribution | debian | https://ns.oscalops.net/component-definitions |
| os-release | 13 | https://ns.oscalops.net/component-definitions |
| publisher | library_component-definition contributors | https://ns.oscalops.net/component-definitions |
| setting | login.defs:ENCRYPT_METHOD | https://ns.oscalops.net/component-definitions |
| setting | pam_unix:hashing-algorithm | https://ns.oscalops.net/component-definitions |
| configuration | none; asserts Debian 13 defaults | https://ns.oscalops.net/component-definitions/debian-13-password-hashing |
Debian 13 password hashing (yescrypt)
Passwords on Debian 13 (trixie) are stored as yescrypt hashes: a salted, memory-hard key derivation function. pam_unix hashes password changes made through PAM with its yescrypt option, and tools that bypass PAM follow ENCRYPT_METHOD YESCRYPT in /etc/login.defs.
Both are Debian 13 defaults. This component configures nothing: it asserts the defaults and ships a verification script that makes the assertion checkable, including by inspecting a hash actually stored for a throwaway account.
Purpose. Evidence that stored passwords use an approved, salted key derivation function (IA-5(1)(d)).
Properties
| os-distribution | debian |
|---|---|
| os-release | 13 |
| os-codename | trixie |
| setting | login.defs:ENCRYPT_METHOD |
| setting | pam_unix:hashing-algorithm |
| configuration | none; asserts Debian 13 defaults |
NIST: SP 800-53 Revision 5 v1.4.0
The SP 800-53 Rev 5 IA-5(1) password-storage statement, from oscal-content release v1.4.0.
| Control | Status | Applicability | Summary |
|---|---|---|---|
| IA-5(1) | partial | — | This component claims only IA-5(1)(d), password storage. The other elements of IA-5(1) are claimed by debian-13-pam-pwquality, or by no component; see… |
IA-5(1) — Password-based Authentication
This component claims only IA-5(1)(d), password storage. The other elements of IA-5(1) are claimed by debian-13-pam-pwquality, or by no component; see debian-13-passphrase-hardening.
| Statement | Status | Description |
|---|---|---|
| (d) | implemented | Passwords are stored using yescrypt, a salted, memory-hard key derivation function: pam_unix.so names yescrypt in /etc/pam.d/common-password, and /etc/login.defs sets ENCRYPT_METHOD YESCRYPT. Verified by inspecting the hash stored when a… |
Configuration and scripts
- scripts/verify-password-hashing.sh Verification script
sha256 66416fed8aa043cbb1c1d115c5e1f3ca81314fbe3677458028926c8ef005b414
Files
| Resource | File | SHA-256 |
|---|---|---|
| Verification script | scripts/verify-password-hashing.sh | 66416fed8aa043cbb1c1d115c5e1f3ca81314fbe3677458028926c8ef005b414 |
External references
- NIST SP 800-53 Rev 5 catalogue (oscal-content v1.4.0): https://raw.githubusercontent.com/usnistgov/oscal-content/v1.4.0/nist.gov/SP800-53/rev5/json/NIST_SP-800-53_rev5_catalog.json