Processor extensions and software verification to support type-safe language environments running with untrusted code
Abstract
Processor extensions and software verification to support type-safe language environments running with untrusted code. Code and data spaces are partitioned into trusted and untrusted regions. Type-safe code is loaded into the trusted region of the code space, while non-type-safe code is loaded into the untrusted region of the code space. The trusted region of the data space is allocated to the type-safe code. The untrusted region of the data space is allocated to the non-type-safe code. Hardware-based truth tables are employed for defining allowable and disallowable code sequences and memory access operations. For code sequences, allowable operations are based on the location (i.e., region) of a code sequence including a current instruction and a prior instruction. For memory access, the location of the requesting instruction and data requested are considered. Disallowed code sequence or memory access operations cause the processor to generate a safe access protection trap. In response to the safe access protection trap, a software-based dynamic verifier applies a security policy to determine whether to allow the operation to proceed.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 0 · Forward citations: 21.
Claims (2 — 1 Independent, 1 Dependent)
- Claim 1Independent Claim
A method, comprising: partitioning a code space allocated to an application into a trusted region and an untrusted region; defining operations that are allowed for instructions located in the trusted and untrusted regions; determining whether a current instruction is located in the trusted region or the untrusted region; and determining whether an operation defined by the current instruction is allowed to be performed based on the region the instruction is located in and the allowed operations defined for instructions in that region, and if not allowed, preventing execution of the operation.
- Claim 2Depends on #1
The method of claim 1 , wherein the operation of determining whether the current instruction is located in the trusted region or the untrusted region comprises operations including: storing a trusted region offset defining a location of a boundary partitioning the trust
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (15 of 21 total)
References Cited — Backward Prior Art (0)
No backward patent references recorded.
Non-Patent Literature (5)
- Auto-coding/auto-proving flight control software Tudor, N.; Adams, M.; Clayton, P.; O'Halloran, C.; Digital Avionics Systems Conference, 2004. DASC 04, The 23rd vol. 2, Oct. 24-28, 2004 pp. 6.E.4-61-11 vol. 2.
- Best practices in code inspection for safety-critical software de Almeida, J.R., Jr.; Camargo, J.B., Jr.; Basseto, B.A.; Paz, S.M.; Software, IEEE vol. 20, Issue 3, May-Jun. 2003 pp. 56-63.
- News, SIP: News; Secure Internet Programming; http://www.cs.princeton.edu/sip/history/, year 2000.
- Security Briefs: Beware of Fully Trusted Code-MSDN Magazine, Apr. 2004; http://msdn.microsoft.com/msdnmag/issues/04/04/SecurityBriefs/, year 2004.
- The power of 10: rules for developing safety-critical code Holzmann, G.J.; Computer vol. 39, Issue 6, Jun. 2006 pp. 95-99.