Secure Debugging Access Control via Segmentation and Authentication

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Modern microprocessors' complexity increases the complexity of debugging and profiling tools, but debug and test ports can be exploited by malicious users to bypass security measures, potentially accessing secure system portions.

Innovation Solution

Implementing a system with a processor and memory that uses security levels and authentication mechanisms to control access to secure debugging and profiling features, ensuring only authorized requests for secure testing are allowed, and using page attribute tables to manage memory access and export of debug information.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If debug and test ports are implemented in microprocessors, then debugging and profiling capabilities are improved, but security measures can be bypassed by malicious users

Engineering Contradiction:
Improvedebugging and profiling capabilityVSAvoidunauthorized access to secure portions
Core Design Contradiction:
Ease of operationVSObject-affected harmful factors

Solution Approach 1:

The system segments access control by implementing multiple security levels (first security level and second security level) that divide the microprocessor's memory and operations into secure and non-secure portions. This segmentation allows debug ports to access non-secure portions while maintaining protection of secure portions through authentication mechanisms.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

An authentication mechanism acts as an intermediary between debug ports and secure portions of the microprocessor. This intermediary verifies authentication credentials before allowing access, thereby mediating between the need for debugging capabilities and the need to prevent unauthorized access to secure areas.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Reliability

If authentication mechanisms are implemented to control access, then security is improved, but system complexity increases

Engineering Contradiction:
Improvesecurity levelVSAvoidaccess control mechanism complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The system performs preliminary authentication actions by checking authentication credentials before granting access to secure portions. This preliminary action prevents unauthorized access attempts from proceeding, thereby maintaining security while providing a clear decision point that simplifies the overall access control flow.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The authentication mechanism applies local quality by implementing security controls specifically at the boundary between secure and non-secure portions, rather than uniformly across the entire system. This allows complex authentication to be applied only where needed, reducing overall system complexity.

Inventive Principle:
Principle #3Local quality

Data Source

PatentUS11580264B2Systems and methods for controlling access to secure debugging and profiling features of a computer system
Publication Date: 2023.02.14 TEXAS INSTRUMENTS INC
  • US11580264B2 patent drawing
  • US11580264B2 patent drawing
  • US11580264B2 patent drawing

AI summary

The present disclosure describes systems and methods for controlling access to secure debugging and profiling features of a computer system. Some illustrative embodiments include a system that includes a processor, and a memory coupled to the processor (the memory used to store information and an attribute associated with the stored information). At least one bit of the attribute determines a security level, selected from a plurality of security levels, of the stored information associated with the attribute. Asserting at least one other bit of the attribute enables exportation of the stored information from the computer system if the security level of the stored information is higher than at least one other security level of the plurality of security levels.