TL;DR: The NCSC Cyber Assessment Framework applies to Linux through access outcomes, not operating-system language, and LinuxGuard shows that Principle B2 lands on accounts, sudo rules, SSH keys, and service accounts. For practitioners, the key issue is that access governance for essential functions must prove live control over human and automated functions, not just policy intent.
At a glance
What this is: The article explains that the NCSC CAF applies to Linux indirectly, with Principle B2 translating into evidence for accounts, sudo rules, SSH keys, and service accounts.
Why it matters: This matters because Linux estates often carry the exact access paths assessors expect to see controlled, and weak identity evidence can fail a broader resilience assessment.
👉 Read LinuxGuard's analysis of how the NCSC CAF applies to Linux access control
Context
The NCSC Cyber Assessment Framework does not name Linux, but its identity and access control outcomes still land directly on Linux estates that support essential functions. In practice, the framework asks whether access to those systems is understood, documented, authorised, and managed over time, which means the real evidence sits in host-level accounts, sudo configuration, SSH keys, and service accounts.
For identity teams, the important shift is that outcome-based compliance still becomes concrete technical governance. The article frames CAF B2 as an access-control problem across both human and automated functions, so service accounts and privileged Linux access are not side issues but part of the assessed control surface.
Key questions
Q: What breaks when Linux access is not managed as a live inventory for CAF assessments?
A: The assessment breaks at the point where documentation no longer matches reality. If accounts, sudo rights, SSH keys, or service accounts exist on hosts without current ownership and purpose, the organisation cannot demonstrate that access is understood or managed. That leaves B2 evidence weak even when policy appears complete.
Q: Why do stale sudo rules and SSH keys create CAF risk on Linux?
A: They create risk because they preserve access after the original need has passed. In a CAF context, that means privilege is no longer clearly authorised, reviewed, or bounded to an essential function. The control failure is not only technical exposure, but loss of demonstrable governance over privileged access.
Q: How do teams know whether CAF identity and access control is actually working on Linux?
A: Look for current host-level evidence that matches the approved access model. That means every privileged account, sudo entry, SSH key, and service account should have an owner, a purpose, and a removal path, with changes recorded as they happen. If the live state cannot be reconciled quickly, the control is not working well enough.
Q: How should organisations balance CAF and NIS2 access evidence for Linux estates?
A: They should build one authoritative picture of Linux access and reuse it across both regimes. CAF wants outcome evidence for essential functions, while NIS2 expects access-control measures and governance to be demonstrable under local law. A single live inventory of host access reduces duplication and strengthens both compliance narratives.
Technical breakdown
How CAF B2 maps to Linux identity and access control
Principle B2 is an outcome statement, not a prescriptive Linux hardening checklist. It requires an organisation to understand, document, and manage access to systems that support essential functions, then prove that users or automated functions are verified, authenticated, and authorised. On Linux, that translates into the live reality of /etc/passwd entries, sudoers rules, SSH keys, and service accounts. The governance question is not whether a control exists somewhere in policy, but whether the host estate can evidence current privilege, ownership, and removal over time.
Practical implication: build host-level evidence for every account and credential path, not just directory or policy records.
Why privileged Linux access is the assessor's main focus
The article makes clear that privileged access is where B2 becomes most testable, because it is both the most sensitive control and the easiest route to compromise. Root logins, blanket sudo, NOPASSWD rules, and orphaned SSH keys all create a control gap between documented access and real access. This is not just a configuration issue. It is an evidence problem, because a point-in-time spreadsheet rarely shows whether privilege was added, reused, or forgotten across the assessment period.
Practical implication: reconcile live privilege state against approved access records continuously, not only before an audit.
How CAF evidence differs from a static access review
CAF assessments are scored by indicators of good practice, so evidence must show that access is managed as a living process. The article distinguishes between paper compliance and continuously produced host data that inventories accounts, groups, sudo rules, and SSH keys in near real time. That matters because automated functions are explicitly in scope, and a stale service account can be as material as a human admin account. In other words, evidence quality is about traceability and freshness, not the existence of a spreadsheet.
Practical implication: treat service account inventory, privilege review, and revocation as continuous evidence streams.
Breaches seen in the wild
- GitHub Personal Account Breach: Compromised GitHub personal access token enables clone of Desktop and Atom repositories with signing certificates.
- Microsoft SAS Key Breach: Overly permissive Azure SAS token exposes 38TB of Microsoft internal data including secrets and credentials.
Read our 52 NHI Breaches Analysis report for a comprehensive view of breaches impacting Non-Human Identities including AI Agents.
NHI Mgmt Group analysis
CAF B2 is really an identity inventory test on Linux: the framework's outcome language becomes a requirement to account for every human and automated access path on the host. On a Linux estate that means accounts, sudo, SSH keys, and service accounts must be visible as one governed access surface. Organisations that treat directory identity as the whole picture will miss the privileged state that actually matters for assessment.
Stale privilege is the failure mode the CAF exposes: root login, broad sudo, and orphaned keys are not isolated hygiene issues, they are evidence that access is not being managed over time. The article shows that assessor confidence depends on whether live host state matches the documented state. Practitioners should therefore read B2 as a requirement for ongoing privilege truth, not a periodic review.
Automated functions belong in the same governance model as people: the CAF explicitly includes automated functions, which means service accounts cannot sit outside identity control just because they are not human. That widens the scope of access governance from user administration to machine-authored access paths. The practical conclusion is that Linux identity governance has to unify human admins, service accounts, and privileged host access under the same evidence model.
CAF and NIS2 converge at the evidence layer: although they are different regimes, both end up asking for the same thing on Linux, a current and owned picture of who and what can reach each host. That makes host-level access inventory more valuable than separate compliance artefacts for each framework. Teams that can prove access truth once can reuse that evidence across multiple regulatory demands.
Service account governance is now a resilience control, not an operations detail: the article's strongest signal is that unattended automated access can undermine an otherwise well-run Linux estate. When service accounts, sudo rules, or SSH keys outlive their purpose, resilience claims become fragile. Practitioners should treat lifecycle-managed access as part of essential-function assurance, not as a back-office housekeeping task.
From our research library:
- Only 5.7% of organisations have full visibility into their service accounts, according to the Ultimate Guide to NHIs.
- Read next: Service Account Security Guide
What this signals
Linux access governance is becoming an evidence discipline, not a documentation exercise: assessors increasingly care whether the live host state matches the approved identity model. That makes host discovery, ownership tracking, and revocation history more valuable than annual snapshots.
Service accounts are part of the CAF control surface: once automated functions are explicitly in scope, teams have to govern them with the same seriousness as human administrators. The operational test is whether every privileged identity on the host can be explained, owned, and retired on demand.
For practitioners
- Inventory every Linux access path Build a live register of accounts, sudo rules, SSH keys, and service accounts on every in-scope host, and reconcile it to owner and purpose data.
- Separate named admin access from shared root use Remove shared logins where possible, enforce named administrative identities, and tie elevation to individual accountability on the host.
- Review privileged service accounts as first-class identities Track service account owners, expiry, and purpose so automated functions are removed when systems retire or workflows change.
- Evidence access change over time Record additions, removals, and privilege changes continuously so an assessor can see how access was managed throughout the period, not just at snapshot time.
Key takeaways
- The article shows that CAF compliance on Linux is really a question of whether privileged access is visible, authorised, and continuously governed.
- Only 5.7% of organisations have full visibility into their service accounts, which underscores how often Linux access evidence is weaker than teams assume.
- A current host-level inventory of accounts, sudo rules, SSH keys, and service accounts is the control most likely to satisfy both assessment and resilience expectations.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 and MITRE ATT&CK address the attack and risk surface, while NIST CSF 2.0 and CIS Controls v8 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST CSF 2.0 | PR.AA-05 — Access Permissions, Entitlements and Authorizations | CAF B2 on Linux centers on proving who and what can access essential systems. |
| Recommendation — Map Linux privileged access to PR.AA-05 and verify that every entitlement has an owner and purpose. | ||
| OWASP Non-Human Identity Top 10 | NHI-05 — Overprivileged NHI | Service accounts and automated functions with broad sudo are central to the article's risk model. |
| NHI-01 — Improper Offboarding | The article repeatedly highlights stale keys and retired access that outlives its purpose. | |
| Recommendation — Reduce overprivileged Linux service accounts and remove standing access that exceeds task scope. Tie Linux account and key removal to system retirement and staff offboarding events. | ||
| CIS Controls v8 | CIS-5 — Account Management | The article is fundamentally about account inventory, privilege, and lifecycle control on hosts. |
| Recommendation — Use account management controls to keep Linux users, sudoers, and service accounts current. | ||
| MITRE ATT&CK | TA0004;TA0006 — Privilege Escalation; Credential Access | Forgotten keys and misconfigured sudo create the escalation paths the article warns about. |
| Recommendation — Map Linux sudo and SSH exposure to privilege escalation and credential access techniques for detection. | ||
Key terms
- Identity and Access Context: Identity and access context is the information that shows what systems, data, and privileges a person can reach. In risk scoring, it adds impact to behavioral signals by showing whether an action is low consequence or potentially severe. This context is essential for separating minor mistakes from high-risk events.
- Service Account: A special-purpose account used by applications, automated tools, or services rather than a human user to interact with systems, APIs, and infrastructure. Service accounts are a primary category of NHI and one of the most frequently exploited attack vectors.
- Sudo Rule: A policy entry that allows a Linux user or account to elevate privileges for specific commands or, in some cases, broadly across the host. Sudo rules are a high-value governance object because they often become the practical boundary between standard user access and root-level control.
- SSH Key: A cryptographic key pair used to authenticate to servers and services via the Secure Shell (SSH) protocol. SSH keys associated with service accounts and automated pipelines are a common NHI attack vector and frequently found orphaned or unrotated.
What's in the full article
LinuxGuard's full analysis covers the operational detail this post intentionally leaves for the source:
- Line-by-line interpretation of CAF Principle B2 for Linux teams and assessors
- Practical evidence examples for accounts, sudoers entries, SSH keys, and service accounts
- CAF version 4.0 changes that tighten expectations around privileged access abuse
- Comparison of CAF and NIS2 access-control evidence in multinational Linux estates
👉 LinuxGuard's full post covers the B2 evidence model, CAF 4.0 implications, and Linux access examples
Deepen your knowledge
NHI governance, identity lifecycle, and workload identity security are core topics in our NHI Foundation Level course, the industry's only accredited NHI security programme. If you are building or maturing an IAM programme, it is worth exploring.
Published by the NHIMG editorial team on September 28, 2026.
NHI Mgmt Group, the independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org