Processor Mode Switch Security via Monitoring Device

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing secure mode architectures in mobile devices are vulnerable to software attacks that can manipulate system mode switches, potentially leading to unauthorized execution of non-secure instructions, which compromises the security of e-commerce and m-commerce transactions.

Innovation Solution

A system comprising a processor with multiple security levels and a monitoring device that enforces security rules by restricting mode switches to a predetermined sequence, using a security bus to monitor and alert on any deviations, ensuring that mode transitions follow a secure path.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If a third level of privilege (secure mode) is implemented with hardware-based monitoring, then security against software attacks is improved, but device complexity increases

Engineering Contradiction:
ImprovesecurityVSAvoiddevice complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The processor is divided into multiple privilege levels (user mode, privileged mode, and secure mode) with distinct execution environments. Each level has separate memory spaces and execution paths, allowing secure code to be isolated from untrusted code while maintaining hardware-based security monitoring capabilities.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

A monitor mode is introduced as an intermediary between user/privileged modes and secure mode. This monitor mode acts as a mediator that enforces security rules and manages mode transitions, reducing the complexity of direct hardware monitoring by providing a controlled interface for security checks.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If mode switching is restricted to a predetermined sequence, then unauthorized mode switches are prevented, but system flexibility is reduced

Engineering Contradiction:
ImprovesecurityVSAvoidmode switching flexibility
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The valid mode switching sequence is predetermined and established in advance through security rules stored in the monitor mode. This preliminary definition of acceptable transitions ensures that only authorized mode changes are permitted, preventing unauthorized access while maintaining predictable and controlled system behavior.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The monitor mode continuously monitors mode transition requests and provides feedback by validating each transition against the predetermined security rules. If a transition is authorized, the monitor mode allows the switch; if not, it blocks the transition. This feedback mechanism ensures security while maintaining necessary system flexibility within defined boundaries.

Inventive Principle:
Principle #23Feedback

Data Source

PatentUS9483638B2Method and system for preventing unauthorized processor mode switches
Publication Date: 2016.11.01 TEXAS INSTRUMENTS INC
  • US9483638B2 patent drawing
  • US9483638B2 patent drawing
  • US9483638B2 patent drawing

AI summary

A system comprising a processor adapted to activate multiple security levels for the system and a monitoring device coupled to the processor and employing security rules pertaining to the multiple security levels. The monitoring device restricts usage of the system if the processor activates the security levels in a sequence contrary to the security rules.