A business security baseline construction method, electronic device and storage medium

By fine-grained splitting and deduplication of user terminal operation data, the problem of security baseline construction in confusion, interruption and continuous business behavior is solved, and a more accurate and short business security baseline is achieved, and the effect of security protection is improved. .

CN118690358BActive Publication Date: 2024-11-22CHENGDU ETHER NODE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411199709.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-29
Publication Date
2024-11-22
Estimated Expiration
2044-08-29

AI Technical Summary

Technical Problem

When building a business security baseline, the existing technology fails to accurately handle the confusion, discontinuity and continuous situations of users' business behavior in the business system, resulting in increased security protection difficulties and the built security baseline is not accurate and short enough.

Method used

By obtaining all operation data of the user terminal, sorting and deduplication in chronological order, extracting the operation sequence, using the source operation data as the boundary point to split the operation sequence into a business safety baseline sequence, and deleting the repeated baseline sequence to Reduce repetition.

Benefits of technology

It realizes a finer-grained split of user terminal operation sequences, builds a more accurate and shorter business security baseline, and improves the accuracy and efficiency of security protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118690358B_ABST
    Figure CN118690358B_ABST
Patent Text Reader

Abstract

The present invention provides a method for constructing a business security baseline, an electronic device and a storage medium. First, all operation data of all user terminals of a business system within at least one security period are obtained; and the operation data between every two adjacent login operation data of a single user terminal are extracted to form a plurality of operation sequences of the single user terminal; then the operation sequences of the same type of user terminals are extracted as a class user sequence set, and for a single class user sequence set, the first operation data of the operation sequence therein is extracted as a source operation data set, and the operation sequences in the single class user sequence set are selected in turn as sequences to be split; for a single sequence to be split, the source operation data in the sequence to be split is marked based on the comparison between its operation data and the source operation data set, and it is split into a plurality of business security baseline sequences with its source operation data as the boundary; thereby realizing the splitting of the operation sequence at an independent business granularity level, and constructing a more accurate and concise business security baseline.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of security baselines, and in particular to a method for constructing a business security baseline, an electronic device and a storage medium. Background Art

[0002] With the continuous development and improvement of digital society, digital economy and digital industry, most social businesses can now be transformed from offline to online information processing system operation and implementation. This information processing system is called a business system. Business systems use network technology, communication technology, computer technology, etc. to collect, process, transmit and save various social business-related information, thereby improving the efficiency and quality of business completion, such as the e-government system of government departments, the industrial control information system of industrial enterprises, the e-commerce system of sales enterprises, the civil aviation ticket booking system of transportation departments, and the railway passenger ticket system.

[0003] Various businesses in the business system are implemented by a series of related operations. For example, the ticket booking business of the railway passenger ticket system is implemented by a series of operations such as user login, query, reservation, and payment. The control business of the industrial control information system is implemented by a series of operations such as user login, parameter configuration, and job startup. The cyberspace presents a diversified and complex overall trend. Malicious attacks may invade the system through the loopholes of the business system to destroy and change business operations and information. Traditional business system security protection technology usually only determines the blacklist / whitelist based on the simple correspondence between attack data / normal data. When performing protection, it only performs blacklist / whitelist detection and identification on each operation data of the business system from the operation level, without considering the logical order of business operations, and cannot detect and protect abnormal businesses in the business system, that is, abnormal operation sequences. To solve the above problems, the applicant has proposed a security protection method based on business process constraints with patent number ZL202310201069.X, which constructs user normal business process data based on user normal operation data, and performs business security protection on the system based on this.

[0004] In subsequent production research work, the applicant found that due to different user habits and needs, the business behaviors in the actual use of the business system are also different, and business confusion, interruption, continuity, etc. may occur. Business confusion means that the user directly switches to execute another business when the execution of a business reaches the middle operation process; business interruption means that the user ends the use of the business system before a business is completed; business continuity means that the user performs multiple businesses continuously. The existing technology simply regards the operation sequence between user login operations or a fixed length as a business process, but in fact the operation sequence between user login operations may be only an intermittent business, or it may be multiple complete or incomplete businesses. The security business baseline constructed by the existing technology is not accurate and brief enough. Summary of the invention

[0005] The purpose of the present invention is to solve the above-mentioned problems in the prior art, and to provide a method for constructing a business security baseline, an electronic device and a storage medium, which split and deduplicate the operation sequence between user terminal login operations at a finer granularity, i.e., at the independent business granularity level, to construct a more accurate and concise business security baseline.

[0006] In a first aspect, the present invention provides a method for constructing a service security baseline, the method comprising:

[0007] A method for constructing a business security baseline, comprising:

[0008] S1, obtaining all operation data of all user terminals of the business system within at least one security period;

[0009] S2, extracting all operation data of a single user terminal, sorting them in order of data generation time, and respectively extracting operation data between every two adjacent login operation data to form a plurality of operation sequences corresponding to the single user terminal;

[0010] S3, after performing data deduplication processing on all operation sequences of all user terminals, extract the operation sequences of the same type of user terminals as a class user sequence set,

[0011] S4, for a single class user sequence set, extract the first operation data of the operation sequence therein as the source operation data set, and select the operation sequences in the single class user sequence set in turn as the sequences to be split; for a single sequence to be split, select its operation data in turn for comparison with the source operation data set, if there is source operation data identical to the selected operation data in the source operation data set, then mark the selected operation data as the source operation data; use the source operation data of the single sequence to be split as a demarcation point, split the single sequence to be split into several business security baseline sequences, and the single source operation data of the single sequence to be split and the operation data thereafter to the next source operation data constitute a single business security baseline sequence.

[0012] Preferably, the method further includes S5, after splitting all operation sequences in the single class user sequence set, comparing all obtained business security baseline sequences with each other; if a single business security baseline sequence is the same as other business security baseline sequences, deleting the single business security baseline sequence.

[0013] Preferably, in S5, if the single service security baseline sequence is included in other service security baseline sequences, the single service security baseline sequence is deleted.

[0014] Preferably, the data deduplication processing for each operation sequence in S3 includes: if a single operation sequence has several adjacent repeated operation data, the several adjacent repeated operation data are deleted to leave only one.

[0015] In a second aspect, the present invention provides an electronic device for constructing a business security baseline, comprising a memory, a computer program stored thereon, and a processor, wherein the processor implements the above-mentioned business security baseline construction method when executing the computer program.

[0016] In a third aspect, the present invention provides a storage medium, in which computer executable instructions are stored. When the computer executable instructions are loaded and executed by a processor, the above-mentioned business security baseline construction method is implemented.

[0017] In summary, the present invention has the following beneficial effects: firstly, the operation data between every two adjacent login operation data of a single user terminal are extracted to form several operation sequences of a single user terminal, thereby completing the preliminary splitting of all operation data of the user terminal based on the login operation; then, for each operation sequence in each class user sequence set, the source operation data in the operation sequence is marked based on the same situation of its operation data and the source operation data set, and then each operation sequence is further split into several business security baseline sequences through the marked source operation data, thereby achieving a finer granularity splitting of the operation sequence, that is, the independent business granularity level, and constructing a more accurate and concise business security baseline.

[0018] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0020] Figure 1 A schematic diagram of a flow chart of an embodiment of the present application.

[0021] Figure 2 A schematic diagram of the process of protecting based on a business security baseline according to an embodiment of the present application. DETAILED DESCRIPTION

[0022] In order to make the purpose, technical scheme and advantages disclosed in the embodiments of the present invention clearer, the embodiments of the present invention are further described in detail in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the embodiments of the present invention and are not intended to limit the embodiments of the present invention. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application. Examples of the embodiments are shown in the accompanying drawings, where the same or similar reference numerals throughout represent the same or similar elements or elements with the same or similar functions.

[0023] It should be noted that the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or server that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units that are not explicitly listed or inherent to these processes, methods, products or devices.

[0024] Due to different user habits and needs, the business behaviors in the actual use of the business system are also different, and business confusion, interruption, continuity, etc. may occur. Business confusion means that the user directly switches to execute another business when the execution of a business reaches the middle operation process; business interruption means that the user ends the use of the business system before a business is completed; business continuity means that the user performs multiple businesses continuously. The existing technology simply regards the operation sequence between user login operations or a fixed length as a business process, but in fact the operation sequence between user login operations may be only an intermittent business, or it may be multiple continuous complete or incomplete businesses. The security business baseline constructed by the existing technology is not accurate and brief, which increases the difficulty of security protection based on the business baseline.

[0025] To solve the above problems, an embodiment of the present application provides a method for constructing a business security baseline, which splits and deduplicates the operation sequence between user terminal login operations at a finer granularity, namely, at a single business granularity, to construct a more accurate and concise business security baseline.

[0026] Specifically, Figure 1 As shown, the method includes:

[0027] S1, obtaining all operation data of all user terminals of the business system within at least one security period.

[0028] In this step, the duration of a security cycle is set according to the specific situation of the business system, and all services that can be performed by different types of user terminals should be executed at least once in a security cycle. The operation data may include operation information and destination address, and the operation data can be directly obtained by extracting network data packets whose source addresses match the user terminal addresses from historical normal network data packets of at least one security cycle of the business system; or by deploying a packet capture tool in the business system, setting source address filtering rules based on the user terminal address, and capturing and parsing network data packets of at least one security cycle.

[0029] If a user terminal wants to complete a business in the business system, it usually needs to log in first, and then complete at least one complete or incomplete business through other operations. In order to obtain sufficiently comprehensive and accurate business information, a security cycle is usually long. During a security cycle, the user is likely to log in to the business system multiple times, which will generate several login operation data. This application first performs a preliminary split of all operation data of the user terminal based on the login operation, that is, Figure 1 As shown, the method of the present application also includes S2, extracting all operation data of a single user terminal, sorting them in chronological order according to the data generation time, and respectively extracting the operation data between every two adjacent login operation data to form a number of operation sequences corresponding to the single user terminal; that is, the sequential operation data after each login operation data of the single user terminal within a security period is taken as a single operation sequence.

[0030] like Figure 1 As shown, the method of the present application also includes S3, after performing data deduplication processing on all operation sequences of all user terminals, extracting the operation sequences of similar user terminals as a class user sequence set. In order to obtain sufficiently comprehensive and accurate business information, a security cycle time is usually longer. If a single user terminal is taken as the smallest unit, and all the services that can be executed in the business system are obtained through the operation sequence of a single user terminal, the cycle time will be further extended. Usually, the scope of services that can be executed by user terminals of the same type is the same, and the services actually executed by user terminals of the same type when logging into the business system are different according to different needs. In this step, user terminals of the same type are taken as the smallest unit, and all the services that can be executed in the business system can be obtained within a shorter security cycle.

[0031] In addition, due to different user needs, users may repeat operations in the process of completing the business. In this step, each operation sequence is deduplicated to reduce the complexity of each operation sequence. In some embodiments of the present application, deduplication of each operation sequence includes: if a single operation sequence has several adjacent repeated operation data, the several adjacent repeated operation data are deleted to the remaining one.

[0032] Due to different user habits and needs, there may be confusion and continuity of services when actually using the service system, that is, when a user is in the middle of a service, he or she directly switches to another service, or the user performs multiple services continuously. Based on the initial split, this application further splits the operation sequence of the user terminal based on the granularity of independent services. Specifically, Figure 1 As shown, the method of the present application also includes S4, for a single class user sequence set, extracting the first operation data of the operation sequence therein as the source operation data set, and selecting the operation sequences in the single class user sequence set in turn as the sequences to be split; for a single sequence to be split, selecting its operation data in turn for comparison with the source operation data set, if there is source operation data identical to the selected operation data in the source operation data set, then marking the selected operation data as the source operation data; using the source operation data of the single sequence to be split as a dividing point, splitting the single sequence to be split into several business security baseline sequences, and the single source operation data of the single sequence to be split and the operation data thereafter to the next source operation data constitute a single business security baseline sequence.

[0033] After the user terminal logs into the business system, it completes at least one business through several sequential operations. The first operation data of the user's operation sequence represents the beginning of an independent business. If the operation data A4, A8, and A10 in the operation sequence A are the same as the first operation data of other operation sequences, it can be considered that the operation data A4, A8, and A10 respectively represent the beginning of a single independent business in the operation sequence A, that is, the operation sequence A is a mixed / continuous operation sequence of businesses. By splitting the operation sequence A with the operation data A4, A8, and A10 as the dividing point, four business security baseline sequences are obtained, namely A1-A3, A4-A7, A8-A9, A10 and the subsequent operation data, thereby realizing the splitting of the independent business granularity level of the operation sequence.

[0034] Through the above operations, all service security baseline sequences of a single type of user terminal are obtained. Since a single type of user terminal is very likely to have performed the same independent service in the service system within the security period, the service security baseline sequences obtained may be the same. In order to reduce the duplication between all service security baseline sequences obtained, in some embodiments of the present application, all service security baseline sequences obtained are compared with each other. If a single service security baseline sequence is the same as other service security baseline sequences, the single service security baseline sequence is deleted.

[0035] When a user terminal performs a single service in a service system, it may complete the service completely. However, as mentioned above, there may be a service interruption, that is, the user terminal stops operating and exits the system without completing the service process. The operation sequence obtained by the service interruption is not a complete and accurate service security baseline sequence. Therefore, in some embodiments of the present application, in S5, if a single service security baseline sequence is included in other service security baseline sequences, the single service security baseline sequence is determined to be an operation sequence generated by a service interruption in the user terminal, and the single service security baseline sequence is deleted.

[0036] The present application first extracts the operation data between every two adjacent login operation data of a single user terminal to form several operation sequences of a single user terminal, thereby completing the preliminary splitting of all operation data of the user terminal based on the login operation; then, for each operation sequence in each class user sequence set, the source operation data in the operation sequence is marked based on the same situation of its operation data and the source operation data set, and then each operation sequence is further split into several business security baseline sequences through the marked source operation data, thereby achieving a finer granularity splitting of the operation sequence, that is, the independent business granularity level, and constructing a more accurate and concise business security baseline.

[0037] After obtaining the final business security baseline sequence, the process of using the business security baseline sequence for security protection is usually as follows: after the user terminal logs into the business system, all business security baseline sequences corresponding to the user terminal class are matched based on the user terminal address as the first comparison set, and the first operation data of the user terminal is compared with the first operation data of all business security baseline sequences in the first comparison set. If the same operation data does not exist, a blocking alarm is issued for the user terminal. If the same operation data exists, the business security baseline sequence corresponding to the same operation data is extracted as the second comparison set; then the second operation data of the user terminal is compared with the second operation data of all business security baseline sequences in the second comparison set. If the same operation data does not exist, a blocking alarm is issued for the user terminal. If the same operation data exists, the corresponding business security baseline sequence is extracted as the third comparison set; and business-level security protection is performed on the operations of the user terminal in turn according to the above method.

[0038] However, as mentioned above, due to the possibility of mixed, discontinuous, and continuous services, a large number of false alarms may occur if the service security protection is performed according to the above method. Therefore, this application performs fuzzy security protection based on the service security baseline sequence, such as Figure 2 As shown, the specific process is:

[0039] Step 1: After the user terminal logs into the service system, all service security baseline sequences of the corresponding user terminal class are matched based on the user terminal address as the first comparison set;

[0040] Step 2: after the user terminal generates new operation data, the new operation data generated by the user terminal is set as the i-th operation data, where i=1; the i-th operation data of the user terminal, i.e., the first operation data, is compared with the first operation data of all service security baseline sequences in the first comparison set;

[0041] Step 3: If the same operation data does not exist, a blocking alarm is issued to the user terminal; if the same operation data exists, a service security baseline sequence corresponding to the same operation data is extracted as a second comparison set;

[0042] Step 4, after the user terminal generates new operation data, the new operation data generated by the user terminal is set as the i-th operation data, and i=i+1;

[0043] Step 5: Perform the following judgment processing on the i-th operation data of the user terminal:

[0044] If the i-th operation data of the user terminal is the same as its i-1-th operation data, set i=i-1 and jump to step 4;

[0045] If the i-th operation data of the user terminal is different from its i-1-th operation data, but is the same as the first operation data of one or some service security baseline sequences in the first comparison set, then the corresponding service security baseline sequence is extracted to update the second comparison set, and i=1 is set, and then jump to step 4;

[0046] If the i-th operation data of the user terminal is different from its i-1-th operation data, and is also different from the first operation data of any business security baseline sequence in the first comparison set, then the i-th operation data of the user terminal is compared with the i-th operation data of all business security baseline sequences in the i-th comparison set; if there is no identical operation data, a blocking alarm is issued for the user terminal; if there is an identical operation data, the corresponding business security baseline sequence is extracted as the i+1-th comparison set, and then jump to step 4.

[0047] For example, the process of determining and processing the second operation data of the user terminal is as follows: if the second operation data of the user terminal is the same as the previous operation data, i.e., the first operation data, the second operation of the user terminal is reset to the previous operation, i.e., the first operation, and the operation data is reset accordingly, and then the next operation data of the user terminal, i.e., the new second operation data, is determined and processed again;

[0048] If the second operation data of the user terminal is different from its previous operation data, but is the same as the first operation data of one or some service security baseline sequences in the first comparison set, the corresponding service security baseline sequence is extracted to update the second comparison set, and the second operation of the user terminal is reset to the first operation, the corresponding operation data is reset, and then the next operation data of the user terminal, i.e., the new second operation data, is judged and processed again;

[0049] If the second operation data of the user terminal is different from its previous operation data and is also different from the first operation data of any business security baseline sequence in the first comparison set, the second operation data of the user terminal is compared with the second operation data of all business security baseline sequences in the second comparison set; if there is no identical operation data, a blocking alarm is issued for the user terminal; if there is an identical operation data, the corresponding business security baseline sequence is extracted as the third comparison set.

[0050] Similarly, the process of determining and processing the third operation data of the user terminal is as follows:

[0051] If the third operation data of the user terminal is the same as the previous operation data, i.e., the second operation data, the third operation of the user terminal is reset to the previous operation, i.e., the second operation, and the operation data is reset accordingly, and then the next operation data of the user terminal, i.e., the new third operation data, is judged and processed again;

[0052] If the third operation data of the user terminal is different from its previous operation data, but is the same as the first operation data of one or some service security baseline sequences in the first comparison set, the corresponding service security baseline sequence is extracted to update the second comparison set, and the third operation of the user terminal is reset to the first operation, the corresponding operation data is reset, and then the next operation data of the user terminal, that is, the new second operation data, is judged and processed again;

[0053] If the third operation data of the user terminal is different from its previous operation data and is also different from the first operation data of any business security baseline sequence in the first comparison set, the third operation data of the user terminal is compared with the third operation data of all business security baseline sequences in the third comparison set; if there is no identical operation data, a blocking alarm is issued for the user terminal; if there is an identical operation data, the corresponding business security baseline sequence is extracted as the fourth comparison set.

[0054] The embodiment of the present application also provides an electronic device, including a memory and a processor, and the memory and the processor can be connected via a bus or other means. The memory can be used to store software programs, computer programs and modules, such as the program / module corresponding to the above-mentioned method for building a business security baseline; the processor implements the above-mentioned method for building a business security baseline by executing the computer programs and modules in the memory. The processor can be a central processing unit, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, etc., and the memory can be a high-speed random access memory, a non-volatile memory, etc.

[0055] The embodiment of the present application also provides a storage medium, wherein the storage medium stores computer executable instructions, and when the computer executable instructions are loaded and executed by a processor, the above-mentioned method for constructing a business security baseline is implemented. The storage medium may be a combination of one or more of a magnetic disk, an optical disk, a read-only storage memory, a random access storage memory, a flash memory, a hard disk, etc.

[0056] It should be noted that the sequence of the above embodiments of the present invention is for description only and does not represent the advantages and disadvantages of the embodiments. The above describes specific embodiments of this specification, and other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0057] The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.

[0058] Those skilled in the art will appreciate that all or part of the steps of the above embodiments can be accomplished by hardware, or by programs instructing the relevant hardware to accomplish the steps. The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A method for constructing a business security baseline, characterized in that: include: S1, obtaining all operation data of all user terminals of the business system within at least one security period; S2, extracting all operation data of a single user terminal, sorting them in order of data generation time, and respectively extracting operation data between every two adjacent login operation data to form a plurality of operation sequences corresponding to the single user terminal; S3, after performing data deduplication processing on all operation sequences of all user terminals, extracting operation sequences of the same type of user terminals as a class user sequence set; the data deduplication processing on each operation sequence in S3 includes: if a single operation sequence has several adjacent repeated operation data, the several adjacent repeated operation data are deleted to leave only one; S4, for a single class user sequence set, extract the first operation data of the operation sequence therein as the source operation data set, and select the operation sequences in the single class user sequence set as the sequences to be split in turn; for a single sequence to be split, select its operation data in turn for comparison with the source operation data set, if there is source operation data identical to the selected operation data in the source operation data set, mark the selected operation data as the source operation data; use the source operation data of the single sequence to be split as a demarcation point, split the single sequence to be split into a plurality of business security baseline sequences, and the single source operation data of the single sequence to be split and the operation data thereafter to the next source operation data constitute a single business security baseline sequence; S5, after splitting all the operation sequences in the single class user sequence set, compare all the obtained business security baseline sequences with each other; if a single business security baseline sequence is the same as other business security baseline sequences, delete the single business security baseline sequence; in S5, if a single business security baseline sequence is included in other business security baseline sequences, delete the single business security baseline sequence.

2. An electronic device comprising a memory and a computer program and a processor stored thereon, characterized in that: When the processor executes the computer program, the method for establishing a business security baseline as described in claim 1 is implemented.

3. A storage medium, characterized in that The storage medium stores computer executable instructions, and when the computer executable instructions are loaded and executed by the processor, a business security baseline construction method as described in claim 1 is implemented.