A system for determining true and false positives of logs detected based on machine learning and for automated analysis.
A machine learning system with Inverse Reinforcement Learning and Supervised Learning automates security log classification, addressing false positives and enhancing efficiency and accuracy in log analysis.
Patent Information
- Application Number
- JP2026080556
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2025-05-15
- Filing Date
- 2026-05-12
- Publication Date
- 2026-11-27
AI Technical Summary
Existing security log detection systems generate a high number of false positives, requiring manual intervention and significant human resources for accurate classification, which is inefficient and time-consuming, especially in enterprise environments with large volumes of logs.
A machine learning-based system utilizing Inverse Reinforcement Learning and Supervised Learning, combined with a Large Language Model, to automatically classify log data, construct behavior graphs, and generate understandable analysis messages.
Automates the classification of security logs, reducing resource consumption and improving accuracy and speed by providing automated, explainable, and efficient log analysis.
Smart Images

Figure 2026185843000001_ABST
Abstract
Description
Technical Field
[0001] The present specification relates to the fields of artificial intelligence (AI) and information security technology, and more specifically, to a system that automatically determines True Positives and False Positives of items detected in security logs by utilizing machine learning technology based on Inverse Reinforcement Learning (IRL) and Supervised Learning (SL) as well as a Large Language Model (LLM), and interprets and presents the grounds for the determination. Background Art
[0002] In the information security environment, detection technologies for malicious programs such as ransomware have been continuously developed, and various security solutions detect suspicious logs based on file execution paths, hash values, behavior-based analysis, and the like. However, such detection systems generate a considerable number of False Positives in addition to True Positives, and in practice, there are frequent cases where normal programs are falsely detected as malicious. Accordingly, final determination is often performed manually.
[0003] In the past, a common method was that after a user checked a detection log, the user inquired with the customer support or analysis team of the security solution provider about whether the detection was a True Positive or False Positive, and the analysis team manually determined the True Positive or False Positive according to internal criteria and then presented a response plan. In this process, since a person must directly interpret and judge the log, a lot of time and human resources are consumed, and there are limitations in response speed and accuracy.
[0004] In particular, in enterprise environments, thousands of security logs are generated daily, and manually analyzing and addressing all of them is extremely inefficient. Therefore, there is a growing need for technology that can automate log analysis and correct / false detection processes, and provide the reasoning behind those decisions in an understandable format. [Overview of the project] [Problems that the invention aims to solve]
[0005] The objective of this specification is to realize a machine learning-based classification technology that can automatically classify whether a result is correct or incorrect based on log data and learn the criteria for making that classification.
[0006] Furthermore, the purpose of this specification is to propose a method for reducing the resources invested in security log analysis through automated analysis and response systems.
[0007] The technical problems that this specification aims to address are not limited to those mentioned above, and other technical problems not mentioned will be clearly understood by those with ordinary skill in the art to which this specification pertains from the detailed description of the following specification. [Means for solving the problem]
[0008] One aspect of this specification is a method for a system to perform true / false detection and automatic analysis of logs, which may include the steps of: collecting logs associated with security events via a log collection module; preprocessing the logs via a preprocessing module and constructing a behavior graph based on the preprocessed logs; classifying the true / false status of the logs via a machine learning module based on the logs and the behavior graph; and generating corresponding messages via an LLM (Large Language Model) module based on the true / false classification.
[0009] Furthermore, the logs may include system event logs collected from terminals, servers, or network equipment.
[0010] Furthermore, the preprocessing module may extract features related to file extensions, paths, execution times, whether or not automatic execution is registered, or the number of files accessed, based on the log.
[0011] Furthermore, the behavior graph may be composed of a node-edge structure based on the log, causal relationships between events, and chronological order.
[0012] Furthermore, the machine learning module may learn a correct / incorrect classification model using pre-labeled log data based on a supervised learning algorithm.
[0013] Furthermore, the machine learning module may include an inverse reinforcement learning algorithm, estimate a compensation function based on the past judgment history of security experts, and model a policy based on the compensation function.
[0014] Another aspect of this specification may include a system for determining whether logs are correct or incorrect and for automatic analysis of logs, comprising: a log collection module for collecting logs associated with security events; a preprocessing module for preprocessing the collected logs and constructing a behavior graph based on the preprocessed logs; a machine learning module for classifying whether logs are correct or incorrect based on the logs and the behavior graph; and a Large Language Model (LLM) module for generating corresponding messages based on the correct / incorrect classification. [Effects of the Invention]
[0015] According to embodiments of this specification, a machine learning-based classification technology can be realized that can automatically classify whether a result is correct or incorrect based on log data and learn the criteria for making that classification.
[0016] Furthermore, according to the embodiments of this specification, the resources allocated to security log analysis can be reduced through automated analysis and response systems.
[0017] The effects described herein are not limited to those mentioned above, and any other effects not mentioned will be clearly understood by a person with ordinary skill in the art to which this specification pertains from the following description. [Brief explanation of the drawing]
[0018] [Figure 1] This is a block diagram illustrating the electronic equipment described herein and related to this specification. [Figure 2] This is a block diagram of an AI device according to one embodiment of this specification. [Figure 3] This specification illustrates a system for determining whether logs are detected based on machine learning and for automated analysis. [Figure 4] This specification illustrates methods for determining whether logs are correct or incorrect and for automated analysis to which this specification may apply. [Figure 5] The following are examples of behavior graphs to which this specification may apply. [Modes for carrying out the invention]
[0019] Hereinafter, the embodiments disclosed herein will be described in detail with reference to the accompanying drawings, in which the same or similar components are denoted by the same reference numerals regardless of the drawing symbols, and redundant descriptions thereof will be omitted. The suffixes "module" and "unit" used for components in the following description are given or mixed only to facilitate the preparation of the specification, and do not have distinct meanings or roles from each other by themselves. In describing the embodiments disclosed in this specification, if it is determined that a detailed description of related known technologies may obscure the gist of the embodiments disclosed in this specification, the detailed description thereof will be omitted. In addition, the accompanying drawings are only for facilitating understanding of the embodiments disclosed in this specification, and the technical idea disclosed in this specification is not limited by the accompanying drawings, and all changes, equivalents, and substitutes included in the spirit and technical scope of this specification should be understood to be included.
[0020] Terms including ordinal numbers such as first, second, etc. may be used to describe various components, but the components are not limited by the terms. The terms are used only for the purpose of distinguishing one component from other components.
[0021] When it is mentioned that a component is "connected" or "connected" to another component, it may be directly connected or connected to the other component, and other components may be present in between. In contrast, when it is mentioned that a component is "directly connected" or "directly connected" to another component, it should be understood that no other component exists in between.
[0022] Singular expressions include plural expressions unless the context clearly indicates otherwise.
[0023] In the present application, terms such as "comprise" or "have" are intended to specify the presence of the features, numbers, steps, operations, components, parts, or combinations thereof described in the specification, and should be understood as not precluding the possibility of the presence or addition of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.
[0024] FIG. 1 is a block diagram for explaining an electronic device related to the present specification.
[0025] The electronic device 100 may include a wireless communication unit 110, an input unit 120, a sensing unit 140, an output unit 150, an interface unit 160, a memory 170, a control unit 180, a power supply unit 190, and the like. Since the components illustrated in FIG. 1 are not essential for implementing the electronic device, the electronic device described in the present specification may have more or fewer components than those listed above.
[0026] More specifically, among the above components, the wireless communication unit 110 may include one or more modules that enable wireless communication between the electronic device 100 and a wireless communication system, between the electronic device 100 and another electronic device 100, or between the electronic device 100 and an external server. In addition, the wireless communication unit 110 may include one or more modules that connect the electronic device 100 to one or more networks.
[0027] Such a wireless communication unit 110 may include at least one of a broadcast reception module 111, a mobile communication module 112, a wireless Internet module 113, a short-range communication module 114, and a location information module 115.
[0028] The input unit 120 may include a camera 121 or video input unit for video signal input, a microphone 122 or audio input unit for audio signal input, and a user input unit 123 (e.g., touch key, mechanical key) for receiving information from the user. Audio data and image data collected from the input unit 120 can be analyzed and processed by user control commands.
[0029] The sensing unit 140 may include one or more sensors for sensing at least one of the following: information within the electronic device, information about the surrounding environment of the electronic device, and user information. For example, the sensing unit 140 may include at least one of the following: proximity sensor 141, illumination sensor 142, touch sensor, acceleration sensor, magnetic sensor, gravity sensor (G-sensor), gyroscope sensor, motion sensor, RGB sensor, infrared sensor (IR sensor), fingerprint sensor, ultrasonic sensor, optical sensor (e.g., camera (see 121)), microphone (see 122), battery gauge, environmental sensor (e.g., barometer, hygrometer, thermometer, radiation sensor, heat sensor, gas sensor, etc.), and chemical sensor (e.g., electronic nose, healthcare sensor, biometric sensor, etc.). On the other hand, the electronic devices disclosed herein can combine and utilize information sensed by at least two of such sensors.
[0030] The output unit 150 is for generating outputs related to vision, hearing, or touch, and may include at least one of the following: a display unit 151, an acoustic output unit 152, a haptic module 153, and an optical output unit 154. The display unit 151 can be formed as a touchscreen by having an interlayer structure with a touch sensor or by being integrated into it. Such a touchscreen can function as a user input unit 123 that provides an input interface between the electronic device 100 and the user, and at the same time, can provide an output interface between the electronic device 100 and the user.
[0031] The interface unit 160 serves as a conduit for various types of external devices connected to the electronic device 100. Such an interface unit 160 may include at least one of the following: a wired / wireless headset port, an external charger port, a wired / wireless data port, a memory card port, a port for connecting a device equipped with an identification module, an audio I / O (input / output) port, a video I / O (input / output) port, or an earphone port. In the electronic device 100, appropriate control related to the connected external device can be performed in response to the connection of an external device to the interface unit 160.
[0032] Furthermore, the memory 170 stores data that supports various functions of the electronic device 100. The memory 170 can store numerous application programs (applications) driven by the electronic device 100, data for the operation of the electronic device 100, and commands. At least some of these application programs can be downloaded from an external server via wireless communication. Also, at least some of these application programs can be present on the electronic device 100 from the time of shipment for the basic functions of the electronic device 100 (e.g., telephone incoming and outgoing functions, message receiving and outgoing functions). On the other hand, application programs can be stored in the memory 170, installed on the electronic device 100, and driven by the control unit 180 to perform the operation (or functions) of the electronic device.
[0033] In addition to operations related to the application program, the control unit 180 typically controls the overall operation of the electronic device 100. The control unit 180 can provide or process appropriate information or functions to the user by processing signals, data, information, etc. that are input or output through the components discussed above, or by driving the application program stored in the memory 170.
[0034] Furthermore, the control unit 180 can control at least some of the components examined together with Figure 1 in order to drive the application program stored in the memory 170. In addition, the control unit 180 can operate at least two or more components included in the electronic device 100 in combination with each other in order to drive the application program.
[0035] The power supply unit 190, under the control of the control unit 180, supplies power to each component included in the electronic device 100 by applying an external power supply and an internal power supply. Such a power supply unit 190 includes a battery, which may be a built-in battery or a replaceable battery.
[0036] At least some of the aforementioned components can cooperate with each other to realize the operation, control, or control method of the electronic device according to various embodiments described below. Furthermore, the operation, control, or control method of the electronic device can be realized on the electronic device by driving at least one application program stored in the memory 170.
[0037] In this specification, the electronic device 100 may be collectively referred to as a server, and a server may include a cloud server. A terminal may include all or part of the electronic device 100, and may also include a tablet PC.
[0038] Figure 2 is a block diagram of an AI device according to one embodiment of this specification.
[0039] The AI device 20 may include an electronic device or terminal that includes an AI module capable of performing AI processing. Furthermore, the AI device 20 may be included in at least a portion of the configuration of the electronic device 100 shown in Figure 1, and configured to perform at least a portion of the AI processing together.
[0040] The AI device 20 may include an AI processor 21, a memory 25, and / or a communication unit 27.
[0041] The AI device 20 is a computer device capable of learning a neural network, and can be implemented using various electronic devices such as terminals, desktop PCs, laptop PCs, and tablet PCs.
[0042] The AI processor 21 can train a neural network using programs stored in memory 25. For example, the AI processor 21 can perform training and inference functions for machine learning models to learn and classify log data. More specifically, the AI processor 21 takes key log features (e.g., file extension, execution path, ransom note location, number of accessed files, etc.) as input values to calculate similarity ratios for various program types (e.g., ransomware, cleaner, normal program, etc.), which can serve as the core basis for correct / false detection. To this end, the AI processor 21 can leverage the learning algorithms and training data stored in memory 25 to train a classification model based on supervised learning or inverse reinforcement learning, and then use the trained model to classify logs in real time.
[0043] On the other hand, the AI processor 21 that performs the aforementioned functions may be a general-purpose processor (e.g., a CPU), or it may be an AI-dedicated processor for artificial intelligence learning (e.g., a GPU, graphics processing unit).
[0044] Memory 25 can store various programs and data necessary for the operation of the AI device 20. Memory 25 can be implemented as non-volatile memory, volatile memory, flash memory, hard disk drive (HDD), or solid-state drive (SDD). Memory 25 is accessed by the AI processor 21, and the AI processor 21 can perform operations such as reading, recording, modifying, deleting, and updating data. Memory 25 can also store neural network models (e.g., deep learning models) generated through a learning algorithm for data classification / recognition according to one embodiment of this specification.
[0045] On the other hand, the AI processor 21 may include a data learning unit that trains a neural network for data classification / recognition. For example, the data learning unit can acquire training data to be used for training, and train a deep learning model by applying the acquired training data to the deep learning model.
[0046] The communication unit 27 can transmit the AI processing results from the AI processor 21 to an external electronic device.
[0047] Here, external electronic devices may include other terminals and / or servers.
[0048] On the other hand, the AI device 20 shown in Figure 2 was described by functionally dividing it into components such as the AI processor 21, memory 25, and communication unit 27. However, these components can be integrated into a single module, which is sometimes called an AI module or artificial intelligence (AI) model.
[0049] Figure 3 illustrates a system for determining whether logs are detected based on machine learning and for automated analysis, to which this specification may apply.
[0050] Referring to Figure 3, the system 300 for determining whether logs detected based on machine learning and for automatic analysis can be implemented on a physical server or a cloud server and may include a log collection module, a preprocessing module, a machine learning module, and an LLM module.
[0051] The log collection module can collect logs related to various security events occurring on terminals, servers, network equipment, etc. For example, it can collect system logs, file access records, process creation and termination records, registry changes, etc., generated at the operational level, in real time or at regular intervals. These logs can be used as foundational data for subsequent detection and analysis. It can also provide a function to filter out unnecessary events that occur during log collection or to specify the collection scope according to user settings. Logs are normalized in a consistent format or encrypted and securely transmitted to a preprocessing module immediately after collection, including the collection date and device identification information, which enhances the reliability of subsequent tracking and analysis.
[0052] The preprocessing module can transform log data transmitted from the log collection module into a format suitable for machine learning analysis. For example, the preprocessing module can extract key features from logs, remove meaningless items, and convert them into a standardized structure. More specifically, the preprocessing module can separate fields such as file name, file extension, execution path, behavior time, and whether a service is registered, and convert these into vectors or text for use as model input values. It can also perform preprocessing tasks such as assigning weights to specific features based on past correct / incorrect detection cases, calculating scores by file extension, and calculating risk scores by log length and component.
[0053] The machine learning module classifies whether a given log is a malicious detection (positive detection) or normal behavior (false detection) based on preprocessed log data. This module utilizes supervised learning and inverse reinforcement learning-based algorithms to learn and analyze various features such as file extensions, behavior, and system registration status to calculate similarity values for each program type.
[0054] For example, the machine learning module can generate a classification model by learning from past detection logs and correct / incorrect label data through supervised learning-based algorithms. If a specific file has the extension .Ex88824, enters the system via the Chrome browser, generates a ransom note in the form of "ReadMe.txt" in the documents directory, and accesses 26 files and 3 directories, the preprocessing module can preprocess these features into an input vector and input it into the machine learning module. The machine learning module can then calculate similarity scores for different program types, such as "Ransomware Type 001: 34.25%", "Cleaner Program: 13.27%", and "Normal Program: 7.35%".
[0055] Furthermore, the machine learning module utilizes inverse reinforcement learning algorithms in parallel to incorporate experts' past decision patterns into the model. Specifically, the system collects past decisions (correct or incorrect) made by security experts regarding certain logs as behavioral policies (trajectories), and based on this, can estimate the reward function implicitly followed by the experts. For example, if an expert repeatedly made correct judgments on logs with conditions such as "file extension change + ransom note generation + numerous file access," the machine learning module can learn through inverse reinforcement learning a structure that provides high compensation for this combination of conditions. Through this, the model can perform policy-based classification that reflects experts' intuition even when labels are unclear or inconsistent, complementing or enhancing the decision-making results of supervised learning-based systems.
[0056] Through the combination of these two algorithms, the machine learning module can go beyond simple statistical classification and provide an advanced classification model that incorporates the practical decision-making criteria of real security analysts.
[0057] More specifically, the machine learning module can improve positive / negative classification performance by combining a supervised learning-based classification model and a de-reinforcement learning-based policy model in an ensemble configuration. Here, the core data used as common input for both models may be a behavior graph generated by the preprocessing module. The preprocessing module analyzes the temporal and causal flow between events in the log to construct a node-edge-based behavior graph, and this graph can be used as data that structurally reflects high-risk behavior patterns such as positive / negative sequences (e.g., "ransom note generation → automatic execution registration → multiple file access"). Supervised learning models learn probabilistic relationships between features and classes based on previously labeled correct / incorrect data and can improve the model's classification accuracy by incorporating structural features extracted from behavior graphs (e.g., sequence embeddings, node centrality, repeated behavior). Simultaneously, inverse reinforcement learning-based models inversely estimate compensation functions based on expert judgment history and automatically generate policies similar to expert judgments when the same behavioral flow is repeated. The results of both models can be integrated through ensemble techniques (e.g., weighted average, soft voting) to calculate the final correct / incorrect judgment result.
[0058] This configuration offers the following technical advantages compared to a single model:
[0059] Firstly, while supervised learning models provide predictive accuracy based on statistical boundary foundations, inverse reinforcement learning models can reflect the intuitive judgment criteria of experts even in imperfect label environments. Through the complementary nature of these two algorithms, the accuracy, confidence, and recall of correct / false classification can all be improved. In particular, even when prediction results do not match or uncertainty is high, the ensemble structure can provide automatically adjusted judgments, ensuring judgment stability for boundary cases.
[0060] Furthermore, by utilizing behavior graphs as common inputs to two-sided models, it becomes possible to make decisions that reflect complex behavioral sequences that are difficult to detect using only simple static features. For example, even logs that are correctly classified using static information can be identified through behavior graphs as high-risk sequences such as "process injection → privilege escalation → ransom note generation," which can contribute to reducing false negatives. As a result, machine learning modules can offer the technical advantage of simultaneously achieving explainable detection based on expert judgment and high-speed automated decision-making in large-scale log environments.
[0061] The LLM module can receive pre-processed log data as input, along with program type similarity results calculated by the machine learning module and data from the pre-processing module. It can then output the reason for the judgment and suggested countermeasures in a natural language analysis message. For example, the LLM module can be implemented using large language models such as GPT, Claude, LLaMA, and Deepseek. Based on the input data, the LLM module can automatically generate a natural language-based analysis message, such as "The file in question contains many behaviors similar to ransomware and has a high similarity (N%) to Ransomware Type 001; therefore, isolation measures are recommended," and communicate it to the user via the terminal. Furthermore, if the similarity is below a certain critical value, it can provide flexible explanations such as "The security risk is low, but user confirmation is required," or "Comparison with past similar logs suggests a possibility of false positives." Through this, a user environment can be provided where experts can intuitively understand and process the basis for the judgment and suggested countermeasures without directly interpreting the logs.
[0062] Figure 4 illustrates a method for determining correct / false results in logs and for automated analysis to which this specification may apply.
[0063] Referring to Figure 4, System 300 can perform log correct / false detection and automatic analysis operations using a log collection module, a preprocessing module, a machine learning module, and an LLM module.
[0064] Collect security event logs via the log collection module (S4010).
[0065] System 300 can collect various security event logs via a log collection module. For example, logs can be collected from various sources such as user terminals, network equipment, and servers, and may include all major security events occurring in executable files, process creation, file access, registry operations, network connections, etc. Collection can be performed in real time or at regular intervals, and log collection methods can be implemented in various ways, such as OS API hooking, kernel monitoring, and agent-based collection. The logs thus collected consist of numerous events, of which meaningless events can be filtered out, and important events can be stored with metadata such as identifiers (IDs), time, and path. Furthermore, the logs can undergo a normalization process to ensure format consistency, and then be encrypted and transmitted to other modules within System 300.
[0066] The collected logs are preprocessed via a preprocessing module, and a behavior graph is constructed based on the preprocessed logs (S4020).
[0067] The preprocessing module can convert security logs transmitted from the log collection module into a format suitable for machine learning analysis. This allows for the extraction of core features from the logs, such as file names, extensions, process paths, number of accessed items, execution time, and whether automated execution occurred, and enables tasks such as duplicate removal, field normalization, and vectorization. This may also include weighting by file extension and calculating risk scores based on historical correct / incorrect data.
[0068] Furthermore, the preprocessing module can construct a behavior graph based on the preprocessed logs. The preprocessing module can analyze the causal relationships between collected events and connect them in a node-edge format to construct a graph that allows for visual and structural analysis. For example, if a single process encrypts numerous files, generates a ransom note at a specific location, and registers an auto-execution key, this series of actions can be organized into a behavior graph following the sequence "execution → access → generation → registration".
[0069] Figure 5 illustrates a behavior graph to which this specification may apply.
[0070] Referring to Figure 5, the behavior graph represents the sequence of behaviors performed by the program under investigation after its execution using a node-edge structure, which can serve as a core criterion for determining the presence or absence of malicious behavior. First, "Process Start
[64424] " indicates the execution of a suspicious process, and subsequently, that process performs the "Injection to Svchost.exe
[44824] " action. This is a behavior in which code is injected into the normal system process svchost.exe, and may correspond to a high-risk indicator commonly used in behavioral background detection.
[0071] Subsequently, the process is observed to continuously perform a series of malicious behaviors, including "Privilege Escalation to System Privilege," "Modify Files," "Registry Modify," and "Persistence Mechanism." These consist of key attack vectors such as privilege escalation, file modification, and automated execution registration, and this consistent flow is similar to the typical patterns of common ransomware or APT (Advanced Persistent Threat) attacks. The preprocessing module extracts this behavioral flow as sequence-based features or transmits it to the machine learning module using a graph embedding method, and the LLM module can then explain the rationale for its correctness judgment in natural language based on the corresponding behavioral graph.
[0072] Such behavioral graphs are later converted into sequence vectors or graph embeddings so that they can be used as features in machine learning modules. Furthermore, these graphs are also used as input prompts for the LLM module when providing the user with results analysis, so the behavioral flow configuration in the preprocessing step plays a doubly important role.
[0073] Furthermore, referring to Figure 4, the machine learning module classifies the correctness / falseness of the logs based on the preprocessed logs and behavior graphs (S4030).
[0074] The machine learning module can take pre-processed log and behavior graph data as input and determine whether the log is positive (malicious) or negative (normal). The machine learning module can be configured by combining supervised learning and inverse reinforcement learning-based algorithms. More specifically, supervised learning learns classification boundaries from historically labeled data (positive / negative), while inverse reinforcement learning can learn behavioral patterns from how security experts have made decisions in the past and model them with a compensation function.
[0075] For example, if the log source, "RansomwareTestTool.exe," contains numerous malicious indicators such as a .Ex88824 extension, being unsigned, generating ransom notes, and accessing 26 files, the machine learning module can calculate similarity distributions by category, such as "Ransomware Type 001: 34.25%", "Cleaner Program: 13.27%", and "Normal Program: 7.35%", based on this information.
[0076] Furthermore, behavior graph-based features enable the reflection of complex behavioral patterns that are difficult to detect with fixed rule-based systems. For example, a machine learning module can be trained so that sequential behavioral combinations, such as "ransom note generation → system automatic execution registration," play a decisive role in detection decisions. Through this, the machine learning module can learn expert-level behavioral analysis patterns that reflect sequential relationships and causality between behaviors, going beyond simply performing statistical classification based on independent static features. In particular, high-risk sequences such as "ransom note generation → automatic execution registration" are combinations that security experts actually use as the primary basis for determining maliciousness, and by internalizing such complex behavioral structures into the machine learning module's model, more precise and practical detection decisions may become possible.
[0077] The LLM module generates corresponding messages based on correct / false detection classification (S4040).
[0078] The similarity results and behavior graph data derived from the machine learning module can be transmitted to the Large Language Model (LLM) module, where the reasoning behind the decisions can be converted into a human-understandable natural language message. The LLM module can be implemented using GPT, Claude, LLaMA, etc., and the input prompt can consist of "similarity result + preprocessing log + behavior sequence".
[0079] For example, the LLM module can generate the following analysis message:
[0080] "The file in question accessed numerous user document files after execution and generated a ransom note in the form of ReadMe.txt in the Documents folder using the .Ex88824 extension. This behavior is similar to that of past Ransomware Type 001 instances, and with a similarity score of 34.25%, it is considered a legitimate threat. Isolation and removal are recommended."
[0081] The LLM module intuitively explains the results of behavioral flow analysis, enabling reliable decision-making without requiring experts to make direct judgments. Furthermore, when similarity is low or the judgment is ambiguous, it also provides analyses such as "Requires further consideration," "On hold," and "Candidate for exception handling," enhancing the system's flexibility and practicality.
[0082] Response messages can be transmitted to the device, which can then display them to the user in various forms, such as a web dashboard, client application, or email report. These may include similarity distributions, analytical messages, behavioral graph summaries, and recommended actions.
[0083] For example, users can check the status of a case in real time on the terminal screen, such as "isolated," "under consideration," or "false detection," and manually handle exceptions or request reanalysis when necessary. In this way, the terminal not only provides results viewing but also a user feedback route, which can then be used as data to retrain the machine learning module model.
[0084] Furthermore, by providing behavioral graphs with timestamps on the terminal, users can visually confirm how the detected files behaved. When this is provided along with the analysis message, it simultaneously enhances the transparency and persuasiveness of the decision, greatly improving the speed and reliability of security incident response.
[0085] According to this specification, System 300 can dramatically improve the efficiency of analyzing large amounts of log data by fully automating a series of processes, via a preprocessing module, a machine learning module, and an LLM module, to automatically determine whether detected security logs are true or false and to generate the basis for that determination. Existing systems have been bottlenecked by manual analysis as the volume of logs increased, but System 300 can process the same amount of logs more quickly and stably through precise classification based on machine learning and analysis based on natural language processing, thereby significantly reducing the time required for security analysis.
[0086] Furthermore, it is possible to move away from the existing structure where experts manually review and interpret logs before deciding on a course of action, and instead provide a structure where the system automatically generates correct / incorrect detection judgments and recommended actions. Through this, a considerable level of judgment becomes possible without human intervention, and as a result, analytical quality can be maintained or even improved while minimizing the resources of expert personnel. In particular, by including behavior graph-based analysis and expert judgment pattern learning (IRL), it is possible to achieve precise detection with internalized expert-level judgment criteria, thus having a clear technological differentiation from existing rule-based or static feature-based detection technologies.
[0087] The foregoing specification can be implemented as computer-readable code on a medium on which a program is recorded. Computer-readable medium includes all types of recording devices on which data to be read by a computer system is stored. Examples of computer-readable medium include HDDs (Hard Disk Drives), SSDs (Solid State Disks), SDDs (Silicon Disk Drives), ROMs, RAMs, CD-ROMs, magnetic tapes, floppy disks, optical data storage devices, and also include implementation in the form of carrier waves (e.g., transmission over the Internet). Therefore, the foregoing detailed description should not be construed restrictively in any respect, but should be considered illustrative. The scope of this specification is determined by a reasonable interpretation of the appended claims, and all modifications within the equivalent scope of this specification are included within its scope.
[0088] Furthermore, while the above description has focused on the services and embodiments, these are merely illustrative examples and do not limit this specification. A person with ordinary skill in the art to which this specification belongs will understand that various modifications and applications not exemplified above are possible, provided they do not deviate from the essential characteristics of the services and embodiments. For example, each component specifically shown in the embodiments can be modified and implemented. Any differences in such modifications and applications should be construed as being within the scope of this specification as defined by the appended claims.
Claims
1. In a method for a system to determine whether logs are correct or incorrect and to perform automatic analysis, The steps include collecting the logs associated with security events via a log collection module, The steps include: pre-processing the log via a pre-processing module, and constructing a behavior graph based on the pre-processed log; The steps include: classifying the correctness of the log based on the log and the behavior graph via a machine learning module, and The steps include generating a corresponding message based on the correct / false detection classification via the LLM (Large Language Model) module, Methods that include...
2. The aforementioned log is The method according to claim 1, comprising a system event log collected from a terminal, server, or network equipment.
3. The aforementioned preprocessing module is The method according to claim 2, wherein, based on the log, features related to the file extension, path, execution time, whether or not automatic execution is registered, or the number of files accessed are extracted.
4. The aforementioned behavior graph is, The method according to claim 1, wherein, based on the log, a node-edge structure is formed based on the causal relationships and chronological order between events.
5. The aforementioned machine learning module is The method according to claim 4, wherein a correct / incorrect classification model is trained using pre-labeled log data based on a supervised learning algorithm.
6. The aforementioned machine learning module is The method according to claim 5, comprising an inverse reinforcement learning algorithm, estimating a compensation function based on the past judgment history of security experts, and modeling a policy based on the compensation function.
7. In a system for determining whether logs are correct or incorrect and for automatic analysis, A log collection module that collects the aforementioned logs related to security events, A preprocessing module that preprocesses the collected logs and constructs a behavior graph based on the preprocessed logs, A machine learning module that classifies the correctness / incorrectness of the log based on the log and the behavior graph, and Based on the aforementioned correct / false detection classification, an LLM (Large Language Model) module generates a corresponding message, A system that includes this.
