Interpretable Code Risk Analysis via Command Unit Parsing

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Interpretable code, widely used in IT operations, often contains harmful functionality that is difficult to identify due to its complexity and potential for malicious embedding within human-readable scripts, posing risks when executed.

Innovation Solution

A computerized method that parses interpretable code to identify command units and associated risk factors, generating a report that simplifies the evaluation of potential risks, allowing users to assess the code without reading through the entire script.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Productivity

If script language is made easily generatable and widely distributed, then productivity and ease of operation improve, but harmful factors and security risks increase

Engineering Contradiction:
Improvescript generation efficiencyVSAvoidharmful script distribution
Core Design Contradiction:
ProductivityVSObject-generated harmful factors

Solution Approach 1:

The system performs preliminary analysis of scripts before they are executed or distributed. A static analysis engine examines script code in advance to identify potentially harmful commands, malicious patterns, and suspicious operations, generating risk assessments and alerts before the script can cause damage.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary analysis layer between script distribution and execution. This intermediary system includes command identification modules, risk assessment engines, and filtering mechanisms that mediate between the script source and the execution environment, blocking or flagging harmful scripts while allowing benign ones to proceed.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Adaptability or versatility

If script functionality is made complex and feature-rich, then versatility and adaptability improve, but difficulty of detecting and measuring harmful actions increases

Engineering Contradiction:
Improvescript functionalityVSAvoidharmful code detection
Core Design Contradiction:
Adaptability or versatilityVSDifficulty of detecting and measuring

Solution Approach 1:

The analysis system segments script code into discrete command units and individual operations. Each command is identified, parsed, and analyzed separately, allowing the system to handle complex scripts by breaking them down into manageable, analyzable components that can be evaluated for harmfulness independently.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The system employs pattern matching and signature-based detection that identifies harmful patterns regardless of the surrounding code structure. By detecting specific command patterns, syntax structures, and operational sequences, the system can identify harmful actions even when embedded within complex, feature-rich scripts that change their apparent appearance.

Inventive Principle:
Principle #32Color changes

3Measurement precision

If comprehensive script analysis is performed to identify all harmful actions, then measurement precision and security improve, but loss of time and computational resources increase

Engineering Contradiction:
Improveharmful action identification accuracyVSAvoidanalysis time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs partial analysis by focusing on critical command units and high-risk operations rather than analyzing every single line of script code in equal detail. The analysis engine identifies and prioritizes potentially harmful commands for detailed examination while using heuristics and pattern matching for broader screening, reducing overall analysis time while maintaining detection accuracy for malicious actions.

Inventive Principle:
Principle #16Partial or excessive action

Data Source

PatentUS7802089B2Analyzing interpretable code for harm potential
Publication Date: 2010.09.21 MICROSOFT TECHNOLOGY LICENSING LLC
  • US7802089B2 patent drawing
  • US7802089B2 patent drawing
  • US7802089B2 patent drawing

AI summary

Computerized facilitation of an assessment of risk associated with running interpretable code. The interpretable code under evaluation is parsed to identify a command unit within the interpretable code. One or more risk factors associated with the identified command unit is then identified using the parsed code. A report is then made of including identification of the command unit found the interpretable code along with the identified associated one or more risk factors. Thus, a user need not have to read and evaluate the interpretable code itself, but may instead review the much less complex report to evaluate the risks associated with running the interpretable code.