Patentes CM
Logo

COMPUTER-IMPLEMENTED SYSTEM AND METHOD FOR THE DETECTION OF CYBERATTACKS

Foqum Analytics S.L.

Detalles de la patente

Resumen

[0001] Computer-implemented system and method for the detection of cyberattacks. The method (100) comprises: receiving (110) a data frame (5) of a network traffic with a plurality of data packets (13); identifying (120) flows of communication (122) in the data frame (5); dividing (130) each flow of communication (122) into semiflows (132) formed by a predetermined number of data packets (13); adjusting (140) the payload (138) size of the data packets (13) of each semiflow (132) to a predetermined size, obtaining a modified payload (142) for each data packet (13); dividing (150) the modified payload (142) of the data packets (13) of each semiflow (132) into fragments (154) of a fixed size, obtaining a fragmented payload (152) for each data packet (13); and detecting (160) cyberattacks (12) in the data frame (5) of the network traffic by classifying each semiflow, using a trained classifier (32) that takes as input the fragmented payloads (152).

Reivindicaciones

  1. A computer-implemented method for the detection of cyberattacks, comprising: receiving (110) a data frame (5) of a network traffic, where the data frame (5) comprises a plurality of data packets (13); identifying (120) flows of communication (122) in the data frame (5) of the network traffic, where each flow of communication (122) corresponds to a set of data packets of an application exchanged between two devices; dividing (130) each flow of communication (122) into at least one semiflow (132), wherein each semiflow (132) is formed by a predetermined number of data packets (13); adjusting (140) the payload (138) size of the data packets (13) of each semiflow (132) to a predetermined size, obtaining a modified payload (142) for each data packet (13); dividing (150) the modified payload (142) of the data packets (13) of each semiflow (132) into fragments (154) of a fixed size, obtaining a fragmented payload (152) for each data packet (13); and detecting (160) cyberattacks (12) in the data frame (5) of the network traffic by classifying each semiflow, using a trained classifier (32) that takes as input the fragmented payloads (152), as corresponding or not to a cyberattack (12).
  2. The computer-implemented method according to claim 1, further comprising classifying the type of cyberattack (17) in the data frame (5) of the network traffic by classifying each semiflow, using the trained classifier (32), as corresponding or not to certain types of cyberattack.
  3. The computer-implemented method according to any one of the preceding claims, wherein data packets (13) that share the same communication protocol field, source address, destination address, source port, and destination port are identified as belonging to a same flow of communication (122).
  4. The computer-implemented method according to any one of the preceding claims, wherein the data packets (13) of the data frame (5) of the network traffic have an associated timestamp, and wherein the timestamps of the data packets (13) of each semiflow (132) must comply with a time restriction.
  5. The computer-implemented method according to any one of the preceding claims, wherein the fragmented payload (152) of each data packet (13) of a semiflow (132) includes a completion fragment (156) with a predetermined value added at the end.
  6. The computer-implemented method according to any one of the preceding claims, wherein the trained classifier (32) is based on a previously trained artificial neural network.
  7. A computer-implemented method of training a classifier for the detection of cyberattacks, comprising: receiving (210) a training data frame (205) corresponding to a network traffic, where the training data frame (205) comprises a plurality of groups (50) of data packets (13) associated with a certain category; identifying (220) flows of communication (122) in the training data frame (205), where each flow of communication (122) corresponds to a set of data packets of an application exchanged between two devices; dividing (230) each flow of communication (122) into at least one semiflow (132), wherein each semiflow (132) is formed by a predetermined number of data packets (13); adjusting (240) the payload (138) size of the data packets (13) of each semiflow (132) to a predetermined size, obtaining a modified payload (142) for each data packet (13); dividing (250) the modified payload (142) of the data packets (13) of each semiflow (132) into fragments (154) of a fixed size, obtaining a fragmented payload (152) for each data packet (13); generating (260) a list of labeled semiflows (262) comprising the fragmented payloads (152) of the data packets (13) of each semiflow and a label (264) that identifies the category to which each semiflow belongs, where the category identifies the semiflow as corresponding or not to a cyberattack; and training (270) a classifier (30) for the detection of cyberattacks using the list of labeled semiflows (262).
  8. The computer-implemented method according to claim 7, wherein the training data frame (205) includes a plurality of groups (50) of data packets (13) associated with categories that identify different types of cyberattack (17); wherein the labels (264) of the list of labeled semiflows (262) identify the type of cyberattack (17); and wherein the computer-implemented method (200) comprises training the classifier (30) to classify the type of cyberattack (17) using the list of labeled semiflows (262).
  9. A system for the detection of cyberattacks, comprising a data processing unit (11) configured to: receive a data frame (5) of a network traffic, where the data frame (5) comprises a plurality of data packets (13); identify flows of communication (122) in the data frame (5) of the network traffic, where each flow of communication (122) corresponds to a set of data packets of an application exchanged between two devices; divide each flow of communication (122) into at least one semiflow (132), wherein each semiflow (132) is formed by a predetermined number of data packets (13); adjust the payload (138) size of the data packets (13) of each semiflow (132) to a predetermined size, obtaining a modified payload (142) for each data packet (13); divide the modified payload (142) of the data packets (13) of each semiflow (132) into fragments (154) of a fixed size, obtaining a fragmented payload (152) for each data packet (13); and detect cyberattacks (12) in the data frame (5) of the network traffic by classifying each semiflow, using a trained classifier (32) that takes as input the fragmented payloads (152), as corresponding or not to a cyberattack (12).
  10. The system according to claim 9, wherein the data processing unit (11) is further configured to classify the type of cyberattack (17) in the data frame (5) of the network traffic by classifying each semiflow, using the trained classifier (32), as corresponding or not to certain types of cyberattack.
  11. A training system of a classifier for the detection of cyberattacks, comprising: - a processor (42) configured to: receive a training data frame (205) corresponding to a network traffic, where the training data frame (205) comprises a plurality of groups (50) of data packets (13) associated with a certain category; identify flows of communication (122) in the training data frame (205), where each flow of communication (122) corresponds to a set of data packets of an application exchanged between two devices; divide each flow of communication (122) into at least one semiflow (132), wherein each semiflow (132) is formed by a predetermined number of data packets (13); adjust the payload (138) size of the data packets (13) of each semiflow (132) to a predetermined size, obtaining a modified payload (142) for each data packet (13); divide the modified payload (142) of the data packets (13) of each semiflow (132) into fragments (154) of a fixed size, obtaining a fragmented payload (152) for each data packet; and generate a list of labeled semiflows (262) comprising the fragmented payloads (152) of the data packets (13) of each semiflow and a label (264) that identifies the category to which each semiflow belongs, where the category identifies the semiflow as corresponding or not to a cyberattack; and - a training module (44) configured to train a classifier (30) for the detection of cyberattacks using the list of labeled semiflows (262).
  12. The system according to claim 11, wherein the training data frame (205) includes a plurality of groups (50) of data packets (13) associated with categories that identify different types of cyberattack (17); wherein the labels (264) of the list of labeled semiflows (262) identify the type of cyberattack (17); and wherein the training module (44) is configured to train the classifier (30) to classify the type of cyberattack (17) using the list of labeled semiflows (262).
  13. A non-transitory computer-readable storage medium for the detection of cyberattacks, comprising program instructions that, when executed by a processor, cause the processor to carry out the method of any one of claims 1 to 6.
  14. A non-transitory computer-readable storage medium for training a classifier for the detection of cyberattacks, comprising program instructions that, when executed by a processor, cause the processor to perform the method of any of claims 7 to 8.
Inventores
  • García Tejedor, Álvaro José
  • Maitín, Ana María
  • Alba Linero, Emilio
  • Arranz Luque, Carlos
Solicitantes
  • Foqum Analytics S.L.
  • Fundación Universidad Francisco de Vitoria
Clasificación IPC

G06N 3/ 08 A I, H04L 9/ 40 A I

Nº de publicación

EP.4790951.A1

Fecha de publicación

12 de agosto de 2026

Nº de solicitud

25382108

Fecha de presentación

10 de febrero de 2025

Estado legal
docdbfechacodigodescripcion
EP.4790951.A12026-08-12AKDESIGNATED CONTRACTING STATES
EP.4790951.A12026-07-10PUAIPUBLIC REFERENCE MADE UNDER ARTICLE 153(3) EPC TO A PUBLISHED INTERNATIONAL APPLICATION THAT HAS ENTERED THE EUROPEAN PHASE
EP.4790951.A12026-07-10STAAINFORMATION ON THE STATUS OF AN EP PATENT APPLICATION OR GRANTED EP PATENT
Patentes relacionadas