Address masking between users
Abstract
Provided is a method for uniquely masking addressing to the cache memory for each user, thereby reducing risk of a timing attack by one user on another user. The method comprises assigning a first mask value to the first user and a second mask value to the second user. The mask values are unique to one another. While executing a first instruction on behalf of the first user, the method comprises applying the first mask value to set selection bits in a memory address accessed by the first instruction. While executing a second instruction on behalf of the second user, the method comprises applying the second mask value to set selection bits in the memory address accessed by the second instruction. The result offers an additional level of security between users as well as reducing the occurrence of threads or processes contending for the same memory address.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 13 · Forward citations: 1.
Claims (3 — 2 Independent, 1 Dependent)
- Claim 1Independent Claim
A system, comprising: a processor; a mask register accessible to the processor, the mask register stores a plurality of mask values; a cache memory coupled to the processor that provides information to the processor; an operating system that supports a plurality of users simultaneously; and a masking module accessible to the operating system that uniquely hashes set selection bits for addresses accessed by each user, thereby reducing risk of a timing attack by one user on another user; wherein only a portion of each address of the addresses is hashed.
- Claim 2Depends on #1
The system of claim 1 , wherein the masking module is stored in a system memory coupled to the processor that provides information to the cache memory upon the processor executing an instruction calling for a memory access operation.
- Claim 3Independent Claim
The system
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 9,405,708 B1 | Preventing attacks that rely on same-page merging by virtualization environment guests | 2016 | 16 |
References Cited — Backward Prior Art (13)
Non-Patent Literature (5)
- "Microsoft Computer Dictionary", Fifth Edition, Microsoft press, May 1, 2002, p. 329.
- Colin Percival, "Cache Missing for Fun and Profit," 13 pp., May 13, 2005.
- Colin Percival, "Hyper-Threading Considered Harmful," May 13, 2005, 4 pp.
- David B. Kirk, "SMART(Strategic Memory Allocation for Real-Time) Cache Design", Proceedings of the Real Time Systems Symposium, Dec. 5-7, 1989, Los Alamitos, IEEE COMP, pp. 9.
- German Office Action, dated Sep. 20, 2010, 2 pages.