A local attack is an attack carried out from a user session or other foothold already present on a system. It usually relies on existing login rights, physical access, or a compromised account to escalate privileges, read protected data, or alter system settings.
What Local Attack Means in Practice
A local attack starts after an attacker already has a foothold on the target system, whether through an existing user session, physical access, or a compromised account. That matters because the attacker is no longer trying to get in from the outside, they are trying to turn existing access into greater control, sensitive data access, or persistence.
Local attacks often blur the line between misuse and exploitation. The same action can look like ordinary user activity if defenders only look for perimeter intrusion, which is why the real problem is often privilege boundaries inside the host rather than the initial entry point.
How Local Attacks Escalate from a Foothold
Once an attacker is on the system, the usual goals are privilege escalation, credential harvesting, session theft, tampering with security settings, or abusing trusted local services. A local attack may use misconfigurations, weak permissions, vulnerable drivers, exposed credentials, or kernel and service flaws to move from standard access to administrative control.
That progression is important because the attacker can often reuse the same foothold to probe for additional access paths. Local execution also tends to improve reliability for the attacker, since internal interfaces and trust relationships are often less protected than externally exposed services.
Why Local Attacks Are Hard to Spot
Local attacks are frequently quiet because they can ride on valid logons and normal host activity. Defenders may see process creation, file access, or configuration changes that look routine unless the monitoring stack can tie the activity back to privilege changes, unusual parent-child process chains, or suspicious access to protected resources.
Detection is especially difficult when the attacker inherits an authentic session or uses a legitimate account that already has broad reach. That can reduce obvious indicators of compromise while still enabling lateral movement, credential theft, or security control tampering.
Containment and Recovery After Local Compromise
When a local attack succeeds, the response usually has to go beyond patching. Organisations need to assume that credentials, tokens, cached secrets, or active sessions may have been exposed, and that local persistence may have been established through services, startup tasks, scheduled jobs, or altered security tooling.
A useful recovery approach is to treat the host as potentially trusted only after it has been inspected, cleaned, and rebuilt or reimaged where necessary. If the attacker had admin-level reach, post-incident review should also include a check for adjacent systems that may have been accessed using the same account or session.
Risk and Threat Considerations
Local attacks are dangerous because they begin after trust has already been partially granted. Once an attacker has a session or foothold, the main risk is that ordinary local privilege boundaries, not perimeter defences, become the deciding factor in how far the compromise spreads.
Failure mechanism: The attacker exploits a valid foothold to escalate privileges, steal usable credentials, alter local security controls, or abuse trusted services that assume the current user or session is legitimate.
Impact: The result can include full host compromise, exposure of protected files or secrets, persistence that survives a simple sign-out, and downstream access to other systems reachable from the same account or machine.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
MITRE ATT&CK addresses the attack and risk surface, while NIST SP 800-53 Rev 5 sets the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| NIST SP 800-53 Rev 5 | AC-6 — Least Privilege | Local attacks succeed by abusing excess local permissions and privilege boundaries. |
| IA-5 — Authenticator Management | Local attacks often expose or reuse credentials, tokens, and session material. | |
| AU-6 — Audit Review, Analysis, and Reporting | Local attacks can blend with normal logon and process activity unless logs are reviewed. | |
| Recommendation — Enforce least privilege so a compromised local session cannot easily escalate or modify protected settings. Rotate and protect authenticators and related secret material after suspected local compromise. Correlate host audit events to detect unusual local privilege changes and suspicious post-login activity. | ||
| MITRE ATT&CK | T1068 — Exploitation for Privilege Escalation | Local attacks commonly use host-level vulnerabilities to gain higher privileges. |
| Recommendation — Map host escalation alerts to T1068 and hunt for privilege-escalation execution on the affected system. | ||
Practitioner Guidance
What to watch for: Focus on the handoff from initial access to local privilege gain, because that is where many compromises become operationally serious. Unusual elevation events, suspicious access to credential stores, and unexpected changes to host security settings are often more useful than perimeter-only alerts.
Governance implication: Local attack resistance depends on how tightly you manage local privilege, interactive logons, and the ability of a normal user session to reach sensitive system functions. If those boundaries are broad, the attacker’s job becomes much easier once any foothold exists.
Related resources from NHI Mgmt Group
- How should security teams evaluate local Kubernetes tools for attack surface before approving them for developers?
- How should security teams deploy local AI agents with shell access without creating a new attack surface?
- Why do overprivileged service accounts and local administrators create such a large Windows attack surface?
- What are the signs that Git option injection is being abused in a local repository attack?
Deepen Your Knowledge
Free weekly newsletter
Subscribe to the NHI & AI Identity Journal
The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.
Bonus 33% off our NHI Course when you subscribe.
Reviewed and updated by the NHIMG editorial team on November 3, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org