Phishing Campaign Correlation via AST Obfuscation Patterns

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current malicious code analysis techniques are limited in detecting and correlating obfuscated phishing campaigns, as they often rely on language-dependent approaches and are ineffective against packed malicious code.

Innovation Solution

The method involves building an abstract syntax tree from source code, decloaking it to remove payload data, and comparing the resulting obfuscation pattern to predetermined patterns to correlate phishing campaigns based on shared modus operandi.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Object-affected harmful factors

If packed malicious code is used, then detection difficulty increases, but code functionality is preserved

Engineering Contradiction:
Improvedetection difficultyVSAvoidcode functionality
Core Design Contradiction:
Object-affected harmful factorsVSReliability

Solution Approach 1:

The patent applies preliminary action by performing static analysis and de-obfuscation on packed malicious code before execution. The system builds abstract syntax trees, identifies packing functions, and extracts obfuscation patterns in advance, allowing detection to occur prior to runtime execution while preserving the ability to analyze the code's true functionality.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent uses an intermediary approach by introducing abstract syntax trees as a mediating representation between the packed code and the detection system. The AST serves as an intermediate layer that allows analysis of code structure and data flow without requiring execution, bridging the gap between obfuscated code and detectable patterns.

Inventive Principle:
Principle #24Intermediary (Mediator)

2Use of energy by moving object

If static analysis is used, then code execution is avoided, but detection accuracy decreases

Engineering Contradiction:
Improvecode execution avoidanceVSAvoiddetection accuracy
Core Design Contradiction:
Use of energy by moving objectVSMeasurement precision

Solution Approach 1:

The patent applies partial action by performing selective static analysis focused on specific aspects of the code such as building abstract syntax trees, identifying packing functions, and analyzing data flow. Rather than attempting complete code understanding without execution, the system performs targeted analysis on critical portions of the code to achieve sufficient detection accuracy while avoiding full execution.

Inventive Principle:
Principle #16Partial or excessive action

Solution Approach 2:

The patent changes parameters by transforming the code representation from raw binary/packed format to abstract syntax tree structure. This parameter change in representation enables static analysis tools to extract meaningful information about code behavior and obfuscation patterns without requiring execution, improving detection accuracy while maintaining the benefits of static analysis.

Inventive Principle:
Principle #35Parameter changes

3Device complexity

If language-dependent approaches are used, then analysis simplicity increases, but applicability to multiple languages decreases

Engineering Contradiction:
Improveanalysis simplicityVSAvoidmulti-language applicability
Core Design Contradiction:
Device complexityVSAdaptability or versatility

Solution Approach 1:

The patent applies universality by designing a language-agnostic analysis framework that works across multiple programming languages. The system uses abstract syntax trees and data flow analysis techniques that can be applied to different language types, making the detection system versatile and adaptable to various coding languages while maintaining reasonable analysis complexity through standardized approaches.

Inventive Principle:
Principle #6Universality (Multi-functionality)

Data Source

PatentUS12341812B2Method of correlating distinct phishing campaigns by identifying shared modus operandi
Publication Date: 2025.06.24 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US12341812B2 patent drawing
  • US12341812B2 patent drawing
  • US12341812B2 patent drawing

AI summary

Aspects of the invention include techniques for correlating distinct phishing campaigns by identifying shared modus operandi. A non-limiting example method includes building, from a source code, an abstract syntax tree and building, from the abstract syntax tree, a decloaked abstract syntax tree. The method includes removing payload data from the decloaked abstract syntax tree to define an obfuscation pattern. The obfuscation pattern is compared to a plurality of predetermined obfuscation patterns. The method includes correlating, based on the comparison, the source code to one or more phishing kits.