Efficient packet capture for cyber threat analysis
Abstract
Methods, systems, and computer-readable media for efficiently detecting threat incidents for cyber threat analysis are described herein. In various embodiments, a computing device, which may be located at a boundary between a protected network associated with the enterprise and an unprotected network, may combine one or more threat indicators received from one or more threat intelligence providers; may generate one or more packet capture and packet filtering rules based on the combined threat indicators; and, may capture or filter, on a packet-by-packet basis, at least one packet based on the generated rules. In other embodiments, a computing device may generate a packet capture file comprising raw packet content and corresponding threat context information, wherein the threat context information may comprise a filtering rule and an associated threat indicator that caused the packet to be captured.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 80 · Forward citations: 0.
Claims (30 — 4 Independent, 26 Dependent)
- Claim 1Independent Claim
A computing device located at a boundary between a protected network and an unprotected network external to the protected network, the computing device comprising: one or more processors; and memory storing instructions that, when executed by the one or more processors, cause the computing device to: receive, from a first network threat intelligence provider external to the protected network, one or more of: a domain name, or a uniform resource identifier; automatically generate, based on the domain name or the uniform resource identifier, one or more packet filtering rules by: generating a first packet filtering rule configured to filter packets matching the domain name or the uniform resource identifier; and assigning a flow capture directive to the first packet filtering rule, wherein the flow capture directive is configured to cause the computing device to: cause storage of one or more packets matching the domain name or the uniform resource identifier; and cause storage, based on a five-tuple field value corresponding to the one or more packets matching the domain name or the uniform resource identifier, of a bidirectional flow of packets subsequent to the one or more packets matching the domain name or the uniform resource identifier; filter, based on the first packet filtering rule, a plurality of packets: determine, based on the filtered plurality of packets, one or more first packets, received by the computing device and corresponding to a first packet flow, that match the domain name of the uniform resource identifier; based on determining that the one or more first packets match the domain name or the uniform resource identifier of the first packet filtering rule: determine a first 5-tuple of the determined one or more first packets; and capture, based on the flow capture directive of the first packet filtering rule and based on the first 5-tuple of the determined one or more first packets matching the five-tuple field value corresponding to the domain name or the uniform resource identifier, the one or more first packets; after capturing the one or more first packets: determine a second 5-tuple of one or more subsequent packets; and capture, based on the flow capture directive of the first packet filtering rule and based on determining that the second 5-tuple of the one or more subsequent packets corresponds to the first 5-tuple, the one or more subsequent packets of the first packet flow; and generate, for the captured one or more subsequent packets of the first packet flow, a packet capture file comprising: raw packet content of the captured one or more first packets and the one or more subsequent packets, and threat context information comprising an indication of the first packet filtering rule.
- Claim 2Depends on #1
The computing device of claim 1, wherein the determining that the second 5-tuple of the one or more subsequent packets corresponds to the first 5-tuple comprises determining one or more of: a source value of the first 5-tuple is a destination value of the second 5-tuple, or the second 5-tuple indicates that the one or more first packets are traveling in an opposite direction compared to the one or more subsequent packets.
- Claim 3Depends on #1
The computing device of claim 1, wherein the flow capture directive is configured to cause storage of all packets transiting in either direction of the bidirectional flow.
- Claim 4Depends on #1
The computing device of claim 1, wherein the instructions, when executed by the one or more processors, cause the computing device to: receive, from a second network threat intelligence provider, a second domain name or uniform resource identifier; and generate a third network threat indicator by combining a first portion of the domain name or the uniform resource identifier and a second portion of the second domain name or uniform resource identifier based on common characteristics of the domain name or the uniform resource identifier and the second domain name or uniform resource identifier, wherein generating the first packet filtering rule configured to filter packets matching the domain name or the uniform resource identifier comprises generating the first packet filtering rule such that the first packet filtering rule is configured to filter packets associated with the third network threat indicator.
- Claim 5Depends on #4
The computing device of claim 4, wherein the common characteristics comprise one or more of: a common source address, a common source port, a common destination address, a common destination port, a common protocol type, a common uniform resource identifier (URI), or a common domain name.
- Claim 6Depends on #1
The computing device of claim 1, wherein the instructions, when executed by the one or more processors, cause the computing device to: determine whether to log the one or more subsequent packets based on the first packet filtering rule.
- Claim 7Depends on #1
The computing device of claim 1, wherein the first packet filtering rule permits packets matching the domain name or the uniform resource identifier to cross the boundary between the protected network and the unprotected network.
- Claim 8Depends on #1
The computing device of claim 1, wherein the assigning the flow capture directive to the first packet filtering rule is based on determining that the first packet filtering rule is configured to permit packets matching the domain name or the uniform resource identifier to cross the boundary between the protected network and the unprotected network.
- Claim 9Depends on #1
The computing device of claim 1, wherein the assigning the flow capture directive to the first packet filtering rule is based on an indication, from the first network threat intelligence provider, that traffic matching the domain name or the uniform resource identifier should be permitted to cross the boundary between the protected network and the unprotected network.
- Claim 10Independent Claim
A method comprising: receiving, by a computing device located at a boundary between a protected network and an unprotected network external to the protected network and from a first network threat intelligence provider external to the protected network, one or more of: a domain name, or a uniform resource identifier; automatically generating, based on the domain name or the uniform resource identifier, one or more packet filtering rules by: generating a first packet filtering rule configured to filter packets matching the domain name or the uniform resource identifier; and assigning a flow capture directive to the first packet filtering rule, wherein the flow capture directive is configured to cause the computing device to: cause storage of one or more packets matching the domain name or the uniform resource identifier; and cause storage, based on a five-tuple field value corresponding to the one or more packets matching the domain name or the uniform resource identifier, of a bidirectional flow of packets subsequent to the one or more packets matching the domain name or the uniform resource identifier; filtering, by the computing device and based on the first packet filtering rule, a plurality of packets; determining, based on the filtered plurality of packets, one or more first packets, received by the computing device and corresponding to a first packet flow, that match the domain name or the uniform resource identifier; based on determining that the one or more first packets match the domain name or the uniform resource identifier of the first packet filtering rule: determining a first 5-tuple of the determined one or more first packets; and capturing, by the computing device and based on the flow capture directive of the first packet filtering rule and based on the first 5-tuple of the determined one or more first packets matching the five-tuple field value corresponding to the domain name or the uniform resource identifier, the one or more first packets; after capturing the one or more first packets: determine a second 5-tuple of one or more subsequent packets; and capture, based on the flow capture directive of the first packet filtering rule and based on determining that the second 5-tuple of the one or more subsequent packets corresponds to the first 5-tuple, the one or more subsequent packets of the first packet flow; and generating, by the computing device and for the captured one or more subsequent packets of the first packet flow, a packet capture file comprising: raw packet content of the captured one or more first packets and the one or more subsequent packets, and threat context information comprising an indication of the first packet filtering rule.
- Claim 11Depends on #10
The method of claim 10, wherein the determining that the second 5-tuple of the one or more subsequent packets corresponds to the first 5-tuple comprises determining one or more of: a source value of the first 5-tuple is a destination value of the second 5-tuple, or the second 5-tuple indicates that the one or more first packets are traveling in an opposite direction compared to the one or more subsequent packets.
- Claim 12Depends on #10
The method of claim 10, wherein the flow capture directive is configured to cause storage of all packets transiting in either direction of the bidirectional flow.
- Claim 13Depends on #10
The method of claim 10, further comprising: receiving, by the computing device and from a second network threat intelligence provider, a second domain name or uniform resource identifier; and generating a third network threat indicator by combining a first portion of the domain name or the uniform resource identifier and a second portion of the second domain name or uniform resource identifier based on common characteristics of the domain name or the uniform resource identifier and the second domain name or uniform resource identifier, wherein generating the first packet filtering rule configured to filter packets matching the domain name or the uniform resource identifier comprises generating the first packet filtering rule such that the first packet filtering rule is configured to filter packets associated with the third network threat indicator.
- Claim 14Depends on #13
The method of claim 13, wherein the common characteristics comprise one or more of: a common source address, a common source port, a common destination address, a common destination port, a common protocol type, a common uniform resource identifier (URI), or a common domain name.
- Claim 15Depends on #10
The method of claim 10, further comprising: determining whether to log the one or more subsequent packets based on the first packet filtering rule.
- Claim 16Depends on #10
The method of claim 10, wherein the first packet filtering rule permits packets matching the domain name or the uniform resource identifier to cross the boundary between the protected network and the unprotected network.
- Claim 17Independent Claim
A computing device located at a boundary between a protected network and an unprotected network external to the protected network, the computing device comprising: one or more processors; and memory storing instructions that, when executed by the one or more processors, cause the computing device to: determine that a first packet of one or more first packets received by the computing device matches a domain name or a uniform resource identifier of one or more packet filtering rules, wherein the one or more packet filtering rules were automatically generated by: receiving, from a first network threat intelligence provider external to the protected network, the domain name or the uniform resource identifier, wherein the domain name or the uniform resource identifier has been determined, by the first network threat intelligence provider, to be associated with a potential network threat; generating a first packet filtering rule configured to filter packets matching the domain name or the uniform resource identifier; and assigning a flow capture directive to the first packet filtering rule, wherein the flow capture directive is configured to cause the computing device to: cause storage of one or more packets matching the domain name or the uniform resource identifier; and cause storage, based on a five-tuple field value corresponding to the one or more packets matching the domain name or the uniform resource identifier, of a bidirectional flow of packets subsequent to the one or more packets matching the domain name or the uniform resource identifier; based on determining that the one or more first packets match the domain name or the uniform resource identifier of the first packet filtering rule: determining a first 5-tuple of the determined one or more first packets; and capture, based on the flow capture directive of the first packet filtering rule, one or more first packets that correspond to a first packet flow; after capturing the one or more first packets: determine a second 5-tuple of one or more subsequent packets; and capture, based on the flow capture directive of the first packet filtering rule and based on determining that the second 5-tuple of the one or more subsequent packets corresponds to the first 5-tuple, the one or more subsequent packets of the first packet flow; and generate, for the captured one or more subsequent packets of the first packet flow, a packet capture file comprising: raw packet content of the captured one or more first packets and the one or more subsequent packets, and threat context information comprising an indication of the first packet filtering rule.
- Claim 18Depends on #17
The computing device of claim 17, wherein the determining that the second 5-tuple of the one or more subsequent packets corresponds to the first 5-tuple comprises determining one or more of: a source value of the first 5-tuple is a destination value of the second 5-tuple, or the second 5-tuple indicates that the one or more first packets are traveling in an opposite direction compared to the one or more subsequent packets.
- Claim 19Depends on #17
The computing device of claim 17, wherein the flow capture directive is configured to cause storage of all packets transiting in either direction of the bidirectional flow.
- Claim 20Depends on #17
The computing device of claim 17, wherein the instructions, when executed by the one or more processors, cause the computing device to: receive, from a second network threat intelligence provider, a second domain name or uniform resource identifier; and generate a third network threat indicator by combining a first portion of the domain name or the uniform resource identifier and a second portion of the second domain name or uniform resource identifier based on common characteristics of the domain name or the uniform resource identifier and the second domain name or uniform resource identifier, wherein generating the first packet filtering rule configured to filter packets matching the domain name or the uniform resource identifier comprises generating the first packet filtering rule such that the first packet filtering rule is configured to filter packets associated with the third network threat indicator.
- Claim 21Depends on #20
The computing device of claim 20, wherein the common characteristics comprise one or more of: a common source address, a common source port, a common destination address, a common destination port, a common protocol type, a common uniform resource identifier (URI), or a common domain name.
- Claim 22Depends on #17
The computing device of claim 17, wherein the instructions, when executed by the one or more processors, cause the computing device to: determine whether to log the one or more subsequent packets based on the first packet filtering rule.
- Claim 23Depends on #17
The computing device of claim 17, wherein the first packet filtering rule permits packets matching the domain name or the uniform resource identifier to cross the boundary between the protected network and the unprotected network.
- Claim 24Independent Claim
A method comprising: determining, by a computing device located at a boundary between a protected network and an unprotected network external to the protected network, that a first packet of one or more first packets received by the computing device matches a domain name or a uniform resource identifier of one or more packet filtering rules, wherein the one or more packet filtering rules were automatically generated by: receiving, from a first network threat intelligence provider external to the protected network, the domain name or the uniform resource identifier, wherein the domain name or the uniform resource identifier has been determined, by the first network threat intelligence provider, to be associated with a potential network threat; generating a first packet filtering rule configured to filter packets matching the domain name or the uniform resource identifier; assigning a flow capture directive to the first packet filtering rule, wherein the flow capture directive is configured to cause the computing device to: cause storage of one or more packets matching the domain name or the uniform resource identifier; and cause storage based on a five-tuple field value corresponding to the one or more packets matching the domain name or the uniform resource identifier, of a bidirectional flow of packets subsequent to the one or more packets matching the domain name or the uniform resource identifier; based on determining that the one or more first packets match the domain name or the uniform resource identifier of the first packet filtering rule: determining a first 5-tuple of the determined one or more first packets; and capture, based on the flow capture directive of the first packet filtering rule, one or more first packets that correspond to a first packet flow; after capturing the one or more first packets, determine a second 5-tuple of one or more subsequent packets; and capture, based on the flow capture directive of the first packet filtering rule and based on determining that the second 5-tuple of the one or more subsequent packets corresponds to the first 5-tuple, the one or more subsequent packets of the first packet flow; and generating, by the computing device and for the captured one or more subsequent packets of the first packet flow, a packet capture file comprising: raw packet content of the captured one or more first packets and the one or more subsequent packets, and threat context information comprising an indication of the first packet filtering rule.
- Claim 25Depends on #24
The method of claim 24, wherein the determining that the second 5-tuple of the one or more subsequent packets corresponds to the first 5-tuple comprises determining one or more of: a source value of the first 5-tuple is a destination value of the second 5-tuple, or the second 5-tuple indicates that the one or more first packets are traveling in an opposite direction compared to the one or more subsequent packets.
- Claim 26Depends on #24
The method of claim 24, wherein the flow capture directive is configured to cause storage of all packets transiting in either direction of the bidirectional flow.
- Claim 27Depends on #24
The method of claim 24, further comprising: receiving, by the computing device and from a second network threat intelligence provider, a second domain name or uniform resource identifier; and generating a third network threat indicator by combining a first portion of the domain name or the uniform resource identifier and a second portion of the second domain name or uniform resource identifier based on common characteristics of the domain name or the uniform resource identifier and the second domain name or uniform resource identifier, wherein generating the first packet filtering rule configured to filter packets matching the domain name or the uniform resource identifier comprises generating the first packet filtering rule such that the first packet filtering rule is configured to filter packets associated with the third network threat indicator.
- Claim 28Depends on #27
The method of claim 27, wherein the common characteristics comprise one or more of: a common source address, a common source port, a common destination address, a common destination port, a common protocol type, a common uniform resource identifier (URI), or a common domain name.
- Claim 29Depends on #24
The method of claim 24, further comprising: determining whether to log the one or more subsequent packets based on the first packet filtering rule.
- Claim 30Depends on #24
The method of claim 24, wherein the first packet filtering rule permits packets matching the domain name or the uniform resource identifier to cross the boundary between the protected network and the unprotected network.
Technical Overview & Description
CROSS REFERENCE TO RELATED APPLICATIONS This application is a continuation of U.S. patent Ser. No. 15/382,806, filed Dec. 19, 2016, which claims priority to U.S. provisional application Ser. No. 62/274,541, filed Jan. 4, 2016, entitled “ EFFICIENT PACKET CAPTURE FOR CYBER THREAT ANALYSIS, ” which is herein incorporated by reference in its entirety for all purposes. FIELD Aspects described herein generally relate to computer hardware and software and network security. In particular, one or more aspects of the disclosure generally relate to computer hardware and software for capturing network packets for cyber threat analysis. BACKGROUND Many enterprises (e.g., corporations, partnerships, governments, academic institutions, other organizations, etc.) find it challenging to protect their networks from cyber-attack. Packet capture is a fundamental tool for cyber-analysts who are investigating potential threat incidents. However, conventional packet capture solutions are very inefficient and expensive, both in terms of capital expenditures and operating costs, and are unable to operate at the scale and dynamics of the Internet cyber threat when used for threat analysis. To complicate matters further, most of the captured packets are never used in the threat analysis process. For example, to detect threat incidents, a typical conventional threat detection system will configure its packet filtering devices, e.g., network firewalls, web proxies, router access control lists (ACLs)), to log all or log a subsample of packet transit events, and store the logs on disk. This configuration will capture threat incidents but will also capture many legitimate (non-threat) events. Typically, threat traffic constitutes only a small percentage of network traffic, so the inefficiency factors are on the order of 10 × -100 × . That is, the fidelity of threat incidents in the log files is very low. Furthermore, the raw logs do not discriminate between threat incidents and legitimate events.
Cited By — Indexed Forward Citations (0 of 0 total)
No indexed citing patents in this generation yet. Ingest USPTO/PatentsView bulk citation tables via patents-ingest to expand the local forward citation graph.
References Cited — Backward Prior Art (80)
Non-Patent Literature (10)
- Jul. 26, 2018 (US) Declaration of Kevin Jeffay, PhD in Support of Second Petition for Inter Partes Review of U.S. Pat. No. 9,137,205
- —
- IPR2018-01444.
- Jul. 27, 2018 (US) First Petition for Inter Partes Review of U.S. Pat. No. 9,137,205
- —
- IPR2018-01443.
- Jul. 27, 2018 (US) Second Petition for Inter Partes Review of U.S. Pat. No. 9,137,205
- —
- IPR2018-01444.
- Jul. 5, 2018 (US) Non-Final Office Action