Shell Command Safety Control for Embedded Systems

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current access control methods for shell commands in embedded systems are inadequate, allowing unauthorized execution and posing risks of secondary damage, especially in critical systems like motor vehicles and smart devices, due to limitations in restricting unnecessary commands and processes.

Innovation Solution

Implementing a shell command detection and execution control system that uses a safety grade table to assess the safety of shell commands, requires a password for unsafe commands, and includes a hacking examination part to block execution of potentially harmful commands by checking against a hacking command list and security file list.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If the administrator account shell is hacked, then all shell commands can be executed, but secondary damage occurs such as hard disk removal and system log deletion

Engineering Contradiction:
Improvecommand execution accessibilityVSAvoidsecondary damage from hacking
Core Design Contradiction:
Ease of operationVSObject-affected harmful factors

Solution Approach 1:

The patent introduces a shell command safe execution guaranteeing apparatus as an intermediary layer between the shell command and the kernel. This apparatus includes a shell command detection part that intercepts shell commands before execution, a shell command execution control part that controls whether to execute based on safety assessment, and a hacking examination part that specifically checks for hacking attempts. This intermediary structure allows normal administrator commands to execute freely while blocking harmful commands that would cause secondary damage.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Object-affected harmful factors

If unnecessary commands are removed from the embedded system, then security is improved, but system functionality and adaptability are reduced

Engineering Contradiction:
Improvesecurity against unauthorized commandsVSAvoidsystem command availability
Core Design Contradiction:
Object-affected harmful factorsVSAdaptability or versatility

Solution Approach 1:

The patent extracts the safety assessment and hacking detection functionality from the core command execution path and places it in a separate guaranteeing apparatus. The apparatus includes a shell command detection part, execution control part, and hacking examination part that operate independently. This allows the embedded system to retain all necessary commands for functionality while the extracted security layer filters out harmful commands, thus maintaining both adaptability and security.

Inventive Principle:
Principle #2Taking out (Extraction)

3Reliability

If a password verification system is implemented for shell commands, then unauthorized execution is prevented, but system complexity and operation time increase

Engineering Contradiction:
Improvecommand execution securityVSAvoidaccess control mechanism complexity
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent implements partial verification by the hacking examination part that specifically checks for hacking-related commands and patterns rather than requiring full password verification for all commands. The apparatus assesses whether a command appears to be a hacking attempt based on predefined criteria and blocks only those suspicious commands. This partial action approach provides adequate security against hacking while avoiding the excessive complexity of comprehensive password verification for every command execution.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS9323927B2Apparatus and method for guaranteeing safe execution of shell command in embedded system
Publication Date: 2016.04.26 ELECTRONICS & TELECOMM RES INST
  • US9323927B2 patent drawing
  • US9323927B2 patent drawing
  • US9323927B2 patent drawing

AI summary

Provided are an apparatus and method for enhancing security and safety of an embedded system by monitoring and blocking unauthorized execution of a shell command in the embedded system.The apparatus for guaranteeing safe execution of the shell command in the embedded system includes a shell command detection part configured to detect an execution request of the shell command, and a shell command execution control part configured to control execution of the shell command according to whether a password based on safety is provided for the detected shell command.