Attackers use page tables by manipulating memory mappings to hide code, change access rights, or support privilege escalation after compromising a system. Defenders should watch for abnormal page permission changes, kernel tampering, and memory structures that do not match expected process behaviour, especially on systems already showing signs of compromise.
How page tables help an attacker after initial access
Page tables are the operating system structures that translate virtual memory to physical memory and define access permissions. Once an attacker is already inside a system, they can abuse those mappings to hide injected code, alter read/write/execute rights, or make one memory region appear legitimate while it points somewhere else. That makes page tables a powerful tool for stealth and post-compromise control.
What attackers actually do with memory mappings
At a practical level, abuse often starts with changing page permissions so code can be written, then executed, or by remapping memory so security tools and the kernel see a different view than the one the attacker uses. This can support shellcode staging, inline patching, process injection, or protection bypass. It is less about "using" page tables in the normal sense and more about corrupting trust in the memory map.
Attackers also benefit from the fact that memory management is a privileged and noisy part of the system. If they can tamper with page tables or the structures that describe them, they may be able to interfere with forensic tooling, suppress alerts, or create inconsistencies between what user space observes and what the kernel enforces. MITRE D3FEND Guide is useful here because it helps defenders think in terms of observable artefacts such as memory structures, process behaviour, and integrity checks rather than only signatures.
Why this matters for defenders
Page-table abuse is usually a sign of deeper compromise, not a standalone foothold. If an adversary can alter mappings, they may already have kernel-level influence, an exploit chain, or a path to privileged execution. That makes abnormal permission transitions, unexpected executable memory, and kernel tampering especially important indicators. The State of NHI & AI Agent Breach Report 2026 reinforces the broader lesson that once attackers gain trusted execution paths, they often turn that access into stealth, persistence, and lateral movement.
Risk and Threat Considerations
Page-table manipulation is dangerous because it undermines the integrity of the memory model itself. When the mapping layer is compromised, defenders can lose confidence in process state, code identity, and permission enforcement, which makes both detection and containment harder.
Failure mechanism: The attacker changes virtual-to-physical mappings or access bits to conceal payloads, bypass write protections, or make malicious code appear to live in trusted memory regions.
Impact: This can enable stealthy persistence, privilege escalation, anti-forensic behaviour, and unreliable inspection results, especially if the kernel or hypervisor trust boundary has already been weakened.
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 |
|---|---|---|
| MITRE ATT&CK | T1055 — Process Injection | Page-table abuse often supports hidden or remapped injected code. |
| T1068 — Privilege Escalation | Attackers use mapping tampering to gain higher execution rights after compromise. | |
| T1027 — Obfuscated Files or Information | Mapping tricks can conceal payloads and frustrate inspection of malicious code. | |
| Recommendation — Correlate memory mapping anomalies with process injection techniques and hunt for hidden code paths. Investigate mapping changes that coincide with privilege escalation and kernel-level control. Inspect memory artefacts for concealment patterns that evade ordinary review and tooling. | ||
| NIST SP 800-53 Rev 5 | SI-7 — Software, Firmware, and Information Integrity | Page-table abuse undermines integrity of executable memory and kernel structures. |
| AU-6 — Audit Record Review, Analysis, and Reporting | Abnormal permission changes should surface in audit and telemetry review. | |
| Recommendation — Validate memory and kernel integrity before trusting host-reported state. Review audit trails for unusual page permission transitions and memory-manipulation events. | ||
Practitioner Guidance
What to verify: Compare observed page permissions, executable mappings, and kernel memory structures against the expected state for the process and workload. A single odd mapping may be benign, but repeated permission flips, executable writable memory, or mismatched views between tools deserve escalation.
Decision rule: If page-table anomalies appear alongside kernel tampering, unexplained privilege gain, or injected code, treat the case as a post-exploitation incident rather than a memory-only anomaly. Preserve volatile evidence before remediation when possible, because memory artefacts may disappear once the system is rebooted or cleaned.
What practitioners underestimate: The real issue is often not the page table change itself, but the trust failure it signals. Once an attacker can rewrite memory protections, defensive assumptions about process integrity, code provenance, and inspection reliability may no longer hold.
Practitioner takeaway: Treat abnormal page mappings as a high-confidence compromise signal when they coincide with kernel or privilege anomalies, and prioritise validation of memory integrity before you trust anything else the host reports.
Related resources from NHI Mgmt Group
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 October 18, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org