Script Whitelisting at Dual Interception Points for Linux Malware

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing whitelisting methods fail to effectively block script-based malware, particularly in Linux systems, as they do not provide protection for individual scripts without shebang or file extensions, leaving systems vulnerable to malicious script execution.

Innovation Solution

A whitelisting method that checks script files at two interception points: a first interception point before launching a startup script file and a second interception point before importing a module script file, using a whitelist to verify the legitimacy of these files.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If existing whitelisting methods (Application Whitelisting, Kaspersky, Fapolicyd) are used, then general malicious program protection is provided, but script-based malware without shebang or file extensions cannot be detected and blocked

Engineering Contradiction:
Improvemalware detection capabilityVSAvoidprotection coverage for script-based malware
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent segments the script execution process into multiple interception points: before script execution (first interception point) and before module loading (second interception point). This allows independent verification of each component, enabling detection of malicious scripts even without traditional file extensions or shebang lines.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent implements preliminary verification by checking whether scripts and modules exist in the whitelist before execution or loading occurs. This advance verification prevents malicious scripts from executing, addressing the limitation of existing methods that only provide post-execution protection or configuration-level control.

Inventive Principle:
Principle #10Preliminary action

2Reliability

If Kaspersky provides protection for the entire configuration of the interpreter process, then configuration-level security is improved, but individual script protection within the application control function is not provided

Engineering Contradiction:
Improveinterpreter process protectionVSAvoidindividual script verification mechanism
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent divides the interpreter process protection into two independent verification mechanisms: a first verification mechanism for startup scripts before execution, and a second verification mechanism for module scripts before loading. This segmentation allows individual script protection without complicating the overall interpreter process control.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a whitelist as an intermediary verification mechanism between the interpreter process and the scripts/modules. This intermediary layer provides individual script verification while maintaining the simplicity of the overall process control architecture.

Inventive Principle:
Principle #24Intermediary (Mediator)

3Ease of operation

If Fapolicyd and similar software are used, then system-level policy control is provided, but detection of malicious scripts without shebang is not possible

Engineering Contradiction:
Improvesystem-level policy controlVSAvoidmalicious script detection without shebang
Core Design Contradiction:
Ease of operationVSDifficulty of detecting and measuring

Solution Approach 1:

The patent performs preliminary verification by checking the whitelist before script execution, enabling detection of malicious scripts without relying on shebang lines or traditional file extensions. This advance check prevents undetectable scripts from executing while maintaining ease of system-level policy control.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent replaces traditional mechanical detection methods (relying on shebang lines and file extensions) with a whitelist-based verification mechanism. This substitution enables detection of scripts without traditional identifiers while maintaining the simplicity of system-level policy control.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

4Adaptability or versatility

If Ivanti products are used, then application control is provided, but detection of malicious scripts without file extensions is not possible

Engineering Contradiction:
Improveapplication control capabilityVSAvoidmalicious script detection without file extensions
Core Design Contradiction:
Adaptability or versatilityVSDifficulty of detecting and measuring

Solution Approach 1:

The patent segments the verification process into two independent stages: verification of startup scripts before execution and verification of module scripts before loading. This segmentation enables detection of scripts without file extensions while maintaining comprehensive application control capability.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent introduces a whitelist intermediary that verifies scripts before execution and module loading before import. This intermediary mechanism enables detection of scripts without traditional file extensions while preserving the application control versatility of the system.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS20260017363A1Whitelisting method for blocking script-based malware
Publication Date: 2026.01.15 DELTA ELECTRONICS INC(CN)
  • US20260017363A1 patent drawing
  • US20260017363A1 patent drawing
  • US20260017363A1 patent drawing

AI summary

A whitelisting method for blocking script-based malware includes steps of: checking a command line of a process to confirm the process to launch a first interception point of a startup script file; checking whether the startup script file in a whitelist at the first interception point; determining that a test is passed when the startup script file exists in the whitelist, and launching the startup script file, wherein the startup script file at least includes a module script file; confirming the process to invoke a module loader to import and launch a second interception point of the module script file; checking whether the module loader is allowed to import the module script file, or is allowed to launch the module script file that has been imported by using the whitelist at the second interception point.