Patents
US 9,904,485 B2#42437104 Most CitedActiveUnited States (USPTO)Utility

Secure memory controller

2Forward Citations (#42437104 Global)
0.2/yrCitation Velocity (#29192420 Global)
0.96Citation PageRank (#44652040 Global)
48Prior Art Cited
1Claims (1 Indep. · 0 Dep.)
0Drawings / Sheets

Abstract

Methods and apparatus for a secure memory controller. The secure memory controller includes circuitry and logic that is programmed to prevent malicious code from overwrite protected regions of system memory. The memory controller observes memory access patterns and trains itself to identify thread stacks and addresses relating to the thread stacks including stack-frame pointers and return addresses. In one aspect, the memory controller prevents a return address from being overwritten until a proper return from a function call is detected. The memory controller is also configured to prevent malicious code from overwriting page table entries (PTEs) in page tables. Pages containing PTEs are identified, and access is prevented to the PTEs from user-mode code. The PTEs are also scanned to detect corrupted PTEs resulting from bit manipulation by malicious code.

Interactive Citation Constellation Global Citation Ranking

Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 48 · Forward citations: 2.

Claims (1 — 1 Independent, 0 Dependent)

  1. Claim 1Independent Claim

    A method performed by a memory controller implemented as part of a coherent memory architecture employing multiple levels of caches, comprising: controlling access to system memory, the accesses including memory writes and memory reads; monitoring patterns of accesses to the system memory, including monitoring bursts of writes to the system memory, the bursts of writes corresponding to function calls from an execution thread written to sequential address; detecting that a new stack frame corresponding to a called function is added to a stack for the execution thread, the new stack frame beginn

Technical Overview & Description

Full multi-page specification text is archived at the issuing office. Read complete official specification ↗

References Cited — Backward Prior Art (48)

PatentTitleYearCitations
US 4,525,599 ASoftware protection methods and apparatus1985219
US 5,640,582 ARegister stacking in a computer system199779
US 5,915,266 AProcessor core which provides a linear extension of an addressable memory space19994
US 5,950,221 AVariably-sized kernel memory stacks199978
US 5,949,973 AMethod of relocating the stack in a computer system for preventing overrate by an exploit program199975
US 6,167,504 AMethod, apparatus and computer program product for processing stack related exception traps200010
US 6,202,176 B1Method of monitoring the correct execution of software programs200134
US 2001013094 A1Memory device, stack protection system, computer system, compiler, stack protection method, storage medium and program transmission apparatus—53
US 6,301,699 B1Method for detecting buffer overflow for computer security2001137
US 6,412,071 B1Method for secure function execution by calling address validation2002127
US 6,578,094 B1Method for preventing buffer overflow attacks200390
US 6,618,797 B1Device and method for protection against stack overflow and franking machine using same200311
US 2003182572 A1Pointguard: method and system for protecting programs against pointer corruption attacks—88
US 2003200402 A1Memory isolation through address translation data edit control—92
US 2003217277 A1Preventing stack buffer overflow attacks—85
US 2004143824 A1Method and apparatus for detecting an overflow condition in a kernel stack during operating system development—17
US 2004250105 A1Method and apparatus for creating an execution shield—23
US 2005257016 A1Digital signal controller secure memory partitioning—36
US 7,058,768 B2Memory isolation through address translation data edit control200627
US 2006149917 A1Secure memory controller—22
US 2006225134 A1Method and system for detection and neutralization of buffer overflow attacks—29
US 2006265605 A1System and method for managing security of a memory device—32
US 7,337,291 B2Software memory access control200818
US 2008059711 A1Method and apparatus for preventing software side channel attacks—19
US 2008109903 A1Secure co-processing memory controller integrated into an embedded memory subsystem—52
US 2008163359 A1Static And Dynamic Firewalls—29
US 2008256327 A1System and Method for Maintaining Page Tables Used During a Logical Partition Migration—43
US 2009094702 A1Secure apparatus, integrated circuit, and method thereof—10

Non-Patent Literature (5)

  • A processor architecture defense against buffer overflow attacks; McGregor et al; International Conference on Information Technology: Research and Education; Aug. 11-13, 2003; pp. 243-250 (8 pages) (Year: 2003).
  • Algorithms in Java, Third Edition; Sedgewick, Robert; ISBN 0201361205; 2003; pp. 150-151 (2 pages)n.
  • Classification of Buffer Overflow Vulnerability Monitors; Shahriar et al; ARES '10 International Conference on Availability, Reliability, and Security; Feb. 15-18, 2010; pp. 519-524 (6 pages) (Year: 2010).
  • Dynamic code instrumentation to detect and recover from return address corruption; Gupta et al; Proceedings of the 2006 international workshop on Dynamic systems analysis; May 23, 2006; pp. 65-72 (8 pages) (Year: 2006).
  • Preventing Overflow Attacks by Memory Randomization; Iyer et al; IEEE 21st International Symposium on Software Reliability Engineering; Nov. 1-4, 2010; pp. 339-347 (9 pages) (Year: 2010).