# US 2025/0220033 A1 · Network security for detecting malleable command and control

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2025/0220033 A1
- Document ID: US20250220033A1
- Status: Published application
- Kind: A1
- Application number: 18/768,544
- Filed: 2024-07-10
- Published: 2025-07-03
- Earliest claimed: 2023-12-28
- Assignees: Netskope, Inc.
- Applicants: Netskope, Inc.
- Inventors: Dagmawi Mulugeta; Wu-Sheng Lin; Colin Davidson Estep; Raymond Jospeh Canzanese, JR.; Yong Zheng; Haoxin Hu; Yongxing Wang; Siying Yang
- Web page: https://patentgrep.com/patent/US20250220033A1

## CPC

- H04L 63/1425: {Traffic logging, e.g. anomaly detection}
- H04L 63/0245: {Filtering by information in the payload}
- H04L 63/0823: {using certificates (cryptographic mechanisms or cryptographic arrangements for entity authentication involving certificates H04L9/3263)}
- H04L 63/102: {Entity profiles}
- H04L 63/1433: {Vulnerability analysis}
- H04L 63/20: {for managing network security; network security policies in general (filtering policies H04L63/0227)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Presented is a network security system (NSS) that reliably detects malleable C2 traffic. The NSS intercepts outgoing transactions from user devices associated with user accounts. The NSS filters out transactions to known benign servers and analyzes remaining transactions for indicators of malleable command and control (C2) including heuristic, anomalous, and pattern-based detections. The NSS lowers the user confidence score associated with the user account or the user device based on the severity and number of detected indicators for each impacted outgoing transaction. When the user confidence score decreases below a threshold, the NSS implements a restricted security protocol for future outgoing transactions. Based on the detected indications, the NSS can identify malleable C2 attacker servers and add them to a blacklist of destination servers to further identify infected user accounts and devices.

## Claims

### Claim 1

A network security system, comprising:
a malleable command and control analyzer configured to:
receive an outgoing transaction originating from a client device, wherein the outgoing transaction is associated with a user account of a user of the client device,
analyze the outgoing transaction, wherein to analyze the outgoing transaction, the malleable command and control analyzer is further configured to:
calculate a danger value of the outgoing transaction based at least in part on anomalies associated with a payload fingerprint of the outgoing transaction and anomalies associated with a user agent identified in a header of the outgoing transaction; and
modify a user confidence score associated with the user account based on the danger value of the outgoing transaction, and
route the outgoing transaction to a security policy enforcer subsequent to analyzing the outgoing transaction; and
the security policy enforcer configured to:
apply a security policy to the outgoing transaction based at least in part on the user confidence score.

### Claim 2 (depends on 1)

The network security system of claim 1, further comprising:
a destination domain filter configured to:
intercept outgoing transactions from a plurality of client devices, wherein the outgoing transaction is one of the outgoing transactions and the client device is one of the plurality of client devices,
route a first subset of the outgoing transactions to the malleable command and control analyzer based at least in part on a destination domain server identified in the header of the respective outgoing transaction,
route a second subset of the outgoing transactions to the security policy enforcer, bypassing the malleable command and control analyzer, based at least in part on the destination domain server identified in the header of the respective outgoing transaction.

### Claim 3 (depends on 1)

The network security system of claim 1, wherein the malleable command and control analyzer is further configured to:
detect whether the outgoing transaction indicates an anomalous pattern of communication by the client device; and
calculate the danger value based further at least in part on detected anomalous patterns of communication.

### Claim 4 (depends on 1)

The network security system of claim 1, wherein the security policy enforcer is further configured to:
in response to the user confidence score falling below a threshold value, apply a restricted security policy to future outgoing transactions from the user account.

### Claim 5 (depends on 4)

The network security system of claim 4, wherein to apply the restricted security policy, the security policy enforcer is further configured to block the future outgoing transactions from the user account.

### Claim 6 (depends on 1)

The network security system of claim 1, wherein the malleable command and control analyzer is further configured to:
increase the danger value based on a severity and number of the anomalies associated with the payload fingerprint and the anomalies associated with the user agent.

### Claim 7 (depends on 1)

The network security system of claim 1, wherein the malleable command and control analyzer is further configured to:
analyze the payload fingerprint of the outgoing transaction, the analyzing comprising:
determine whether the payload fingerprint is in a blacklist of payload fingerprints, and
identify a payload fingerprint anomaly based on determining the payload fingerprint is in the blacklist of payload fingerprints.

### Claim 8 (depends on 1)

The network security system of claim 1, wherein the malleable command and control analyzer is further configured to:
analyze the payload fingerprint of the outgoing transaction, the analyzing comprising:
determine whether the payload fingerprint is in a baseline list of payload fingerprints associated with the user account, and
identify a payload fingerprint anomaly based on determining the payload fingerprint is not in the baseline list of payload fingerprints.

### Claim 9 (depends on 1)

The network security system of claim 1, wherein the malleable command and control analyzer is further configured to:
analyze a certificate of the outgoing transaction;
identify a certificate anomaly based on determining the certificate is issued by an issuer in a blacklist of issuers; and
calculate the danger value based further at least in part on the certificate anomaly.

### Claim 10 (depends on 1)

The network security system of claim 1, wherein the malleable command and control analyzer is further configured to:
determine whether a destination domain server in the header of the outgoing transaction is included in a baseline list of destination domain servers for an organization associated with the user account; and
calculate the danger value based further at least in part on determining the destination domain server is not included in the baseline list of destination domain servers.

### Claim 11 (depends on 1)

The network security system of claim 1, wherein the malleable command and control analyzer is further configured to:
determining whether the user agent of the outgoing transaction is in a baseline list of user agents associated with the user account; and
identify an anomaly associated with the user agent based on determining the user agent is not in the baseline list of user agents.

### Claim 12 (depends on 1)

The network security system of claim 1, wherein the malleable command and control analyzer is further configured to:
determine whether the user agent of the outgoing transaction is in a baseline list of user agents associated with the user account;
determine whether a destination domain server in the header of the outgoing transaction is included in a baseline list of destination domain servers for an organization associated with the user account;
detect whether the outgoing transaction indicates an anomalous pattern of communication based on detecting beaconing; and
calculate the danger value, wherein to calculate the danger value comprises:
increasing the danger value by a first amount based on detecting the beaconing;
increasing the danger value by a second amount based on detecting the beaconing and determining the destination domain server is not included in the baseline list of destination domain servers;
increasing the danger value by a third amount based on detecting the beaconing and determining the user agent is not in the baseline list of user agents;
increasing the danger value by a fourth amount based on detecting the beaconing, determining the destination domain server is not included in the baseline list of destination domain servers, and determining the user agent is not in the baseline list of user agents; and
increasing the danger value by a fifth amount based on detecting consecutive sessions of beaconing over a given time period.

### Claim 13 (depends on 1)

The network security system of claim 1, further comprising:
a user confidence scorer configured to:
increase the user confidence score gradually over a healing time period.

### Claim 14 (depends on 1)

The network security system of claim 1, wherein the malleable command and control analyzer is further configured to:
identify a specific destination domain server as a malicious domain server based on analyzing a plurality of outgoing transactions comprising the outgoing transaction;
add the specific destination domain server to a blacklist of destination domain servers; and
identify other user accounts as infected based on comparing an outgoing transaction from the other user accounts having a destination domain server in the blacklist of destination domain servers.

### Claim 15 (depends on 1)

The network security system of claim 1, wherein the outgoing transactions are one of hypertext transfer protocol (HTTP) or hypertext transfer protocol secure (HTTPS) transactions.

### Claim 16

A computer-implemented method, comprising:
analyzing, by a malleable command and control analyzer of a network security system, each outgoing transaction of a plurality of outgoing transactions intercepted from a plurality of client devices, the analyzing comprising:
analyzing a payload fingerprint of the respective outgoing transaction,
analyzing a user agent identified in a header of the respective outgoing transaction,
detecting whether the respective outgoing transaction indicates an anomalous pattern of communication by a user device from which the respective outgoing transaction originated, and
calculating a danger value for the respective outgoing transaction based at least in part on anomalies associated with the payload fingerprint, anomalies associated with the user agent, detected anomalous patterns, or a combination thereof;
modifying, by the network security system, a user confidence score associated with a user account based on the danger value of each outgoing transaction of the plurality of outgoing transactions; and
in response to the user confidence score falling below a threshold value, applying a restricted security policy to future outgoing transactions from the user account.

### Claim 17 (depends on 16)

The computer-implemented method of claim 16, wherein calculating the danger value comprises increasing the danger value based on a severity and number of the anomalies associated with the payload fingerprint, the anomalies associated with the user agent, and the detected anomalous patterns.

### Claim 18 (depends on 16)

The computer-implemented method of claim 16, wherein:
analyzing the payload fingerprint comprises determining whether the payload fingerprint is in a baseline list of payload fingerprints associated with the user account; and
calculating the danger value comprises increasing the danger value based at least in part on determining the payload fingerprint is not in the baseline list of payload fingerprints.

### Claim 19 (depends on 16)

The computer-implemented method of claim 16, wherein:
analyzing each outgoing transaction further comprises analyzing a certificate of the respective outgoing transaction; and
calculating the danger value comprises increasing the danger value based at least in part on determining the certificate is issued by an issuer in a blacklist of issuers.

### Claim 20 (depends on 16)

The computer-implemented method of claim 16, wherein:
analyzing each outgoing transaction further comprises determining whether a destination domain server in a header of the respective outgoing transaction is included in a baseline list of destination domain servers for an organization associated with the user account; and
calculating the danger value comprises increasing the danger value based at least in part on determining the destination domain server is not included in the baseline list of destination domain servers.
