Botnet Detection via Command-and-Control Access Patterns

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Current security solutions are inefficient in detecting botnets, especially in cloud-computing infrastructures, due to limitations in scanning for malware signatures, decoding messages, and tracing Command and Control servers, leading to high false-positive rates and scalability issues.

Innovation Solution

A method and device utilizing supervised machine learning to detect botnets by generating features vectors based on idiosyncratic scores from security events, transmitted to a decision model for labeling virtual machines as bots or part of a botnet, effectively overcoming the challenges of complex communication patterns and dynamic environments.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If malware scanning is used to detect botnets, then known malware signatures can be identified, but the detection is limited to known signatures and cannot detect new or obfuscated malware variants

Engineering Contradiction:
Improvemalware detection accuracyVSAvoiddetection coverage
Core Design Contradiction:
Measurement precisionVSAdaptability or versatility

Solution Approach 1:

The patent transforms the detection approach from signature-based (static) to behavior-based (dynamic) by monitoring command-line parameters and access patterns. Instead of detecting malware based on known binary signatures, the system detects botnet activity by analyzing changes in system behavior parameters such as command-line arguments, file access patterns, and network connection behaviors, enabling detection of both known and new malware variants.

Inventive Principle:
Principle #35Parameter changes

Solution Approach 2:

The patent replaces the mechanical malware scanning system with a machine learning-based behavioral analysis system. The supervised learning model substitutes traditional signature-matching mechanisms with a system that learns and detects anomalous behavioral patterns, enabling detection of obfuscated and new malware that lack known signatures.

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

2Measurement precision

If CnC server detection techniques are used, then direct communications can be identified, but the techniques are error-prone due to encoded messages and hidden server locations

Engineering Contradiction:
ImproveCnC server detection accuracyVSAvoiddetection reliability
Core Design Contradiction:
Measurement precisionVSReliability

Solution Approach 1:

The patent introduces an intermediary layer of behavioral analysis between the bot and CnC server. Instead of directly detecting encoded communications, the system monitors the intermediary behaviors - command-line executions, file accesses, and network connection patterns - that precede and accompany CnC communications. This intermediary behavioral signature detection provides more reliable identification than direct message analysis.

Inventive Principle:
Principle #24Intermediary (Mediator)

Solution Approach 2:

The patent converts the harmful obfuscation techniques used by botnets into detectable patterns. The encoded messages, hidden server locations, and indirect communication methods that were designed to evade detection actually create distinctive behavioral signatures in command-line usage and access patterns. By analyzing these transformed indicators, the system turns the attackers' evasion techniques into detection opportunities.

Inventive Principle:
Principle #22Blessing in disguise (Convert harm into benefit)

3Adaptability or versatility

If anomaly-based detection with unsupervised machine learning is used, then traffic anomalies can be detected, but the false-positive rate is high because each anomaly triggers an alert

Engineering Contradiction:
Improveanomaly detection capabilityVSAvoidfalse-positive rate
Core Design Contradiction:
Adaptability or versatilityVSReliability

Solution Approach 1:

The patent implements feedback through supervised learning where labeled training data provides ground truth for model improvement. The system uses feedback from known botnet behaviors to refine detection thresholds and patterns, learning from past mistakes to reduce false positives. This feedback mechanism allows the system to distinguish between legitimate anomalies and actual botnet activity, improving reliability while maintaining adaptability.

Inventive Principle:
Principle #23Feedback

Solution Approach 2:

The patent performs preliminary classification of anomalies through supervised learning before triggering alerts. Instead of immediately alerting on every detected anomaly, the system first evaluates anomalies against learned patterns from training data, pre-filtering out benign variations. This preliminary action reduces false positives by distinguishing between normal variations and genuine botnet indicators before alert generation.

Inventive Principle:
Principle #10Preliminary action

4Measurement precision

If traditional security solutions are used in cloud-computing infrastructure, then botnets can be detected, but the solutions are not scalable and cannot effectively handle virtual machines

Engineering Contradiction:
Improvebotnet detection accuracyVSAvoidscalability
Core Design Contradiction:
Measurement precisionVSProductivity

Solution Approach 1:

The patent creates a universal detection framework that functions across diverse cloud environments and virtual machine configurations. The behavioral analysis approach and supervised learning model are architecture-agnostic, working effectively whether monitoring physical servers, virtual machines, or containerized environments. This universality enables the same system to scale across heterogeneous cloud infrastructures without requiring environment-specific implementations.

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

Solution Approach 2:

The patent uses copying by deploying identical detection agents and models across multiple virtual machines and cloud instances. Rather than requiring customized detection systems for each environment, the same behavioral monitoring agent and supervised learning model are replicated across the infrastructure, enabling scalable deployment that maintains consistent detection capabilities across thousands of virtual machines.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS10594711B2Detection of botnets using command-and-control access patterns
Publication Date: 2020.03.17 MICROSOFT TECHNOLOGY LICENSING LLC
  • US10594711B2 patent drawing
  • US10594711B2 patent drawing
  • US10594711B2 patent drawing

AI summary

A method and device for detecting botnets in a cloud-computing infrastructure are provided. The method includes gathering data feeds over a predefined detection time window to produce a detection dataset, wherein the detection dataset includes at least security events and a first set of bot-labels related to the activity of each of at least one virtual machine in the cloud-computing infrastructure during the detection time window; generating, using the detection dataset, a features vector for each of a plurality of virtual machines in the cloud-computing infrastructure, wherein the features vector is based on idiosyncratic (iSync) scores related to botnet activity; transmitting each generated features vector to a supervised machine learning decision model to generate a label indicating if each of the plurality of virtual machines is a bot based on the respective features vector; and determining each virtual machine labeled as a bot as being part of a botnet.