IP Library Granted Patent US 11,770,397
Granted Patent B2
US 11,770,397 · App. 17/464,716 · Granted Sep 26, 2023

Malicious port scan detection using source profiles

Inventors: Yinnon Meshi (Kibbutz Revivim, IL); Idan Amit (Ramat Gan, IL); Jonathan Allon (Haifa, IL); Aviad Meyer (Hod-Hasharon, IL)
Assignee: PALO ALTO NETWORKS (ISRAEL ANALYTICS) LTD.
H04L63/1425H04L63/1416
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,770,397
App. No.
17/464,716
Granted
Sep 26, 2023
Kind
B2
Abstract

A method, including identifying, in network traffic during multiple periods, scans, each scan including an access of multiple ports on a given destination node by a given source node, and computing, for each given source in the scans, an average of destinations whose ports were accessed by the given source during any scan by the given source, and a fraction of periods when the given source accessed at least one of the destinations in at least one scan performed by the given source node. A whitelist is assembled sources for which one or more of the following conditions applies: the average of destinations accessed in the scans was greater than a first threshold, and the fraction of periods during which at least one destination was accessed in at least one scan was greater than a second threshold. Upon detecting a scan by any non-whitelisted node, a preventive action is initiated.

Claims (35)

1. A method, comprising:

identifying, in data traffic transmitted between multiple nodes that communicate over a network during a timespan comprising multiple predefined distinct and non-overlapping time periods, a set of port scans, each of the port scans comprising an access, in the data traffic, of a plurality of communication ports on a given destination node by a given source node during a given time period;

computing, for each given source node in the identified port scans, a fraction of the time periods during which the given source node accessed at least one of the destination nodes in at least one of the port scans carried out by the given source node;

assembling a whitelist of the source nodes for which the fraction of the time periods during which at least one of the destination nodes was accessed in at least one of the port scans was greater than a threshold; and

upon detecting a port scan by one of the nodes that is not on the whitelist, initiating a preventive action.

2. The method according to claim 1 , wherein the time periods have time durations that are identical to within 10%.

3. The method according to claim 1 , wherein initiating the preventive action comprises generating an alert for the given source node in the detected port scan.

4. The method according to claim 1 , wherein initiating the preventive action comprises restricting access of the given source node in the detected port scan to the network.

5. The method according to claim 1 , wherein the whitelist comprises a first whitelist, wherein the preventive action comprises a first preventive action, wherein the threshold comprises a first threshold, and comprising:

computing, for each given source node in the identified port scans, an average number of the destination nodes whose respective communication ports were accessed by the given source node during any given port scan by the given source node;

assembling a second whitelist of the source nodes for which one or more of the following conditions was found to apply:

the average number of the destination nodes accessed in the identified port scans was greater than a second threshold; and

the fraction of the time periods during which at least one of the destination nodes was accessed in at least one of the port scans was greater than the first threshold; and

upon detecting a port scan by one of the nodes that is not on the second whitelist, initiating a second preventive action.

6. An apparatus, comprising:

a network interface controller coupled to a data network comprising multiple nodes that communicate via the network; and

at least one hardware processor configured:

to identify, in data traffic transmitted between multiple nodes that communicate over a network during a timespan comprising multiple distinct and non-overlapping time periods, a set of port scans, each of the port scans comprising an access, in the data traffic, of a plurality of communication ports on a given destination node by a given source node during a given time period,

to compute, for each given source node in the identified port scans, a fraction of the time periods during which the given source node accessed at least one of the destination nodes in at least one of the port scans carried out by the given source node,

to assemble a whitelist of the source nodes for which the fraction of the time periods during which at least one of the destination nodes was accessed in at least one of the port scans was greater than a threshold, and

upon detecting a port scan by one of the nodes that is not on the whitelist, to initiate a preventive action.

7. The apparatus according to claim 6 , wherein the time periods have time durations that are identical to within 10%.

8. The apparatus according to claim 6 , wherein a given processor is configured to initiate the preventive action by generating an alert for the given source node in the detected port scan.

9. The apparatus according to claim 6 , wherein a given processor is configured to initiate the preventive action by restricting access of the given source node in the detected port scan to the network.

10. The apparatus according to claim 6 , wherein the whitelist comprises a first whitelist, wherein the preventive action comprises a first preventive action, wherein the threshold comprises a first threshold, and wherein a given processor is configured:

to compute, for each given source node in the identified port scans, an average number of the destination nodes whose respective communication ports were accessed by the given source node during any given port scan by the given source node,

to assemble a second whitelist of the source nodes for which one or more of the following conditions was found to apply:

the average number of the destination nodes accessed in the identified port scans was greater than a second threshold, and

the fraction of the time periods during which at least one of the destination nodes was accessed in at least one of the port scans was greater than the first threshold, and

upon detecting a port scan by one of the nodes that is not on the second whitelist, to initiate a second preventive action.

11. A computer software product, the product comprising a non-transitory computer-readable medium, in which program instructions are stored, which instructions, when read by a computer, cause the computer:

to identify, in data traffic transmitted between multiple nodes that communicate over a network during a timespan comprising multiple predefined distinct and non-overlapping time periods, a set of port scans, each of the port scans comprising an access, in the data traffic, of a plurality of communication ports on a given destination node by a given source node during a given time period;

to compute, for each given source node in the identified port scans, a fraction of the time periods during which the given source node accessed at least one of the destination nodes in at least one of the port scans carried out by the given source node;

to assemble a whitelist of the source nodes for which the fraction of the time periods during which at least one of the destination nodes was accessed in at least one of the port scans was greater than a threshold; and

upon detecting a port scan by one of the nodes that is not on the whitelist, to initiate a preventive action.

Assignments (2)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 3, 2024
From: PALO ALTO NETWORKS (ISRAEL ANALYTICS) LTD.
To: PALO ALTO NETWORKS INC.
Reel/Frame 068823/0886 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 2, 2021
From: MESHI, YINNON; AMIT, IDAN; ALLON, JONATHAN; MEYER, AVIAD
To: PALO ALTO NETWORKS (ISRAEL ANALYTICS) LTD.
Reel/Frame 057395/0207 →
Continuity (2)
Continuation 16261608 · Jan 30, 2019
Related Publication 20210400073A1 · Dec 23, 2021