Browser Malware Detection via DOM and JS Namespace Inspection
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Sophisticated malware, such as 'man in the browser' (MITB) attacks, compromise web interfaces to facilitate fraudulent transactions by altering HTML code, making it difficult to detect and prevent unauthorized access to sensitive information.
Innovation Solution
Implementing a system with a DOM inspector and a JS namespace inspector that detects anomalous elements and objects on webpages rendered on user devices, comparing them to known standards to identify and report compromised webpages, thereby reducing the risk of data theft.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If traditional web interface monitoring is used, then system resource usage remains low, but detection capability against MITB malware is insufficient
Solution Approach 1:
The inspection system is divided into separate modules: a DOM inspector that analyzes HTML structure and a JS namespace inspector that monitors JavaScript execution. Each inspector operates independently with specialized detection logic, allowing the system to achieve comprehensive coverage without requiring a monolithic complex architecture
Solution Approach 2:
The patent introduces intermediary inspection mechanisms that act as mediators between the web interface and the user. The DOM inspector and JS namespace inspector serve as intermediate layers that monitor and analyze web content without directly interfering with the core browser functionality, enabling detection while maintaining system simplicity
2Measurement precision
If comprehensive web interface inspection is implemented, then detection accuracy improves, but processing time increases
Solution Approach 1:
The system performs preliminary inspections by checking for known malicious patterns and anomalies in DOM structure and JS namespace definitions before full webpage rendering completes. This early detection approach allows the system to identify compromised pages quickly without waiting for complete page load and analysis
Solution Approach 2:
The inspection mechanism applies partial analysis by focusing on critical detection points such as DOM element anomalies and JavaScript namespace injections. Rather than analyzing every single element and script, the system targets specific high-risk areas where MITB malware typically manifests, achieving effective detection with reduced processing overhead
Data Source
AI summary
Methods and systems for detecting fraudulent activity are described. A user types in a web address in his or her browser to request a webpage from a server, and the server communicates the webpage to the user. The communicated webpage includes a document object model (DOM) inspector and/or a JavaScript (JS) namespace inspector. The DOM inspector and JS namespace inspector detect anomalous DOM elements and anomalous JS namespace elements respectively. The DOM inspector and JS namespace inspector discover objects on the rendered webpage that should not be there.


