An abnormal attack alarm method and device, electronic equipment and storage medium
By acquiring and analyzing the hardware asset list and configuring detection parameters and alarm policies, the problem of difficulty in detecting hardware asset replacement in existing technologies has been solved, enabling timely alarms and security assurance.
Patent Information
- Application Number
- CN202211622566.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-16
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2042-12-16
AI Technical Summary
Existing technologies make it difficult to detect physical attacks that replace hardware assets in a timely manner, especially the replacement of hardware assets built into the device, which increases the security risks to the device.
By obtaining the initial and latest hardware asset lists, a baseline for detecting abnormal dynamic changes in hardware assets is established. Detection parameters and alarm policies are configured. Based on the baseline for detecting abnormal dynamic changes in hardware assets, the level of abnormal risk is determined, and corresponding handling methods are implemented.
It enables timely detection of physical attacks that replace hardware assets, reducing the risk of hardware assets being replaced without the user's knowledge and ensuring device security.
Smart Images

Figure CN116126627B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of device security technology, and in particular to an abnormal attack alarm method, device, electronic device and storage medium. Background Technology
[0002] Computer devices contain various hardware assets, either internally or externally, such as CPUs, hard drives, graphics cards, network cards, motherboards, and USB flash drives. When attackers use hardware with attack payloads to replace normal hardware assets within the device to achieve their attack objectives, especially by directly replacing internal hardware assets, victims are often unaware and cannot see any external changes. Current technologies typically struggle to detect such attacks in a timely manner, posing a risk to device security. Summary of the Invention
[0003] Given the difficulty of timely detection of physical attacks that could replace hardware assets using existing technologies, this invention provides an abnormal attack alarm method, device, electronic device, and storage medium that can detect and alarm for abnormal attacks based on dynamic changes in hardware assets.
[0004] In a first aspect, embodiments of the present invention provide an abnormal attack alert method, including:
[0005] Obtain an initial list of hardware assets; the items in the hardware asset list shall include at least the device name, device type, and device access time;
[0006] Establish a baseline for detecting abnormal dynamic changes in hardware assets;
[0007] Configure detection parameters and alarm policies; the detection parameters include the type of detection equipment, the detection period, and the detection frequency; the alarm policies include alarm conditions and corresponding handling methods, and the alarm conditions correspond to the abnormal risk level;
[0008] Obtain the latest hardware asset list according to the configured detection parameters;
[0009] Based on the initial and latest hardware asset lists, identify the devices that have changed;
[0010] Based on the changed equipment and the dynamic change anomaly detection baseline of the hardware assets, the current hardware asset anomaly risk level is determined.
[0011] Based on the current hardware asset anomaly risk level and the aforementioned alarm policy, the corresponding handling method will be executed.
[0012] Optionally, the handling methods include not handling the situation and reporting an alarm;
[0013] The alarm reporting includes generating and reporting an alarm report;
[0014] The alarm report includes the device name, device type, device access time, and corresponding abnormal risk level of the changed detection object.
[0015] Optionally, the hardware asset dynamic change anomaly detection baseline includes multiple anomaly dimensions. The anomaly dimensions include at least the detection object, the importance of the detection object, the period of change of the detection object, the time interval of change of the detection object, and the number of changes of the detection object. Each set of anomaly dimension parameters corresponds to an anomaly risk level. The detection object is a type of equipment or a combination of multiple types of equipment.
[0016] The baseline for detecting abnormal dynamic changes in hardware assets is determined in the following manner:
[0017] Obtain a historical list of hardware assets and attack events;
[0018] Based on the historical hardware asset list, the normal maintenance patterns of various types of equipment are determined. The normal maintenance patterns include maintenance periods, maintenance intervals, and the number of items to be maintained per maintenance session.
[0019] Based on historical attack events, attack patterns for various types of devices are determined, including attack periods, attack variation time intervals, and the number of attacks per instance.
[0020] Determine the objects to be tested and their corresponding importance;
[0021] For a given detection target, based on the normal maintenance patterns and attack patterns of the equipment involved, parameter thresholds are defined for the period of change of the detection target, the time interval of change of the detection target, and the number of changes of the detection target, and the corresponding abnormal risk level is determined.
[0022] Optionally, the abnormal attack alarm method further includes:
[0023] The baseline for detecting abnormal dynamic changes in the hardware assets is maintained regularly based on the alarm reports.
[0024] Optionally, the items in the hardware asset list may also include: device ID and device model;
[0025] The alarm report also includes: the device ID and device model before the change, the device ID and device model after the change, and the abnormal dimension parameters in the hardware asset dynamic change anomaly detection baseline corresponding to the detected object that has changed.
[0026] Optionally, the method of handling may also include blocking the corresponding device.
[0027] Optionally, the abnormal attack alarm method further includes:
[0028] The initial hardware asset list is updated based on the latest hardware asset list.
[0029] Secondly, embodiments of the present invention also provide an abnormal attack alarm device, comprising:
[0030] An initialization module is used to obtain an initial hardware asset list; the items in the hardware asset list include at least the device name, device type, and device access time;
[0031] The baseline determination module is used to determine the baseline for detecting abnormal dynamic changes in hardware assets;
[0032] The configuration module is used to configure detection parameters and alarm policies; the detection parameters include the type of detection equipment, the detection period, and the detection frequency; the alarm policies include alarm conditions and corresponding handling methods, and the alarm conditions correspond to the abnormal risk level.
[0033] The acquisition module is used to acquire the latest hardware asset list according to the configured detection parameters;
[0034] The comparison module is used to identify devices that have changed based on the initial hardware asset list and the latest hardware asset list;
[0035] The risk determination module is used to determine the current hardware asset anomaly risk level based on the changed equipment and the dynamic change anomaly detection baseline of the hardware asset.
[0036] The handling module is used to execute the corresponding handling method based on the current hardware asset anomaly risk level and the alarm policy.
[0037] Thirdly, embodiments of the present invention also provide an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, it implements the method described in any embodiment of this specification.
[0038] Fourthly, embodiments of the present invention also provide a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to perform the methods described in any embodiment of this specification.
[0039] This invention provides an abnormal attack alarm method, device, electronic device, and storage medium. The invention acquires an initial and updated hardware asset list, identifies changed detection objects, and combines this with a dynamic change anomaly detection baseline to determine the corresponding anomaly risk level and execute appropriate actions. This invention enables abnormal attack risk detection and alarm based on dynamic changes in hardware assets, allowing for timely and rapid detection of physical attacks that replace hardware assets, thereby ensuring equipment security. Attached Figure Description
[0040] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0041] Figure 1 This is a flowchart of an abnormal attack alarm method provided by an embodiment of the present invention;
[0042] Figure 2 This is a hardware architecture diagram of an electronic device provided in an embodiment of the present invention;
[0043] Figure 3 This is a structural diagram of an abnormal attack alarm device provided in an embodiment of the present invention. Detailed Implementation
[0044] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0045] As mentioned earlier, when attackers use hardware with attack payloads to replace normal hardware assets in a device to achieve their attack objectives, especially by directly replacing built-in hardware assets, victims are often unaware and cannot see the external changes. For example, the Equation Group APT attack group rewrote hard drive firmware by reprogramming it, enabling persistent malicious attacks through physical devices without the user's knowledge. For instance, the malware Fanny used a unique USB-based command and control mechanism, embedding malicious code in a hidden area of a USB flash drive; inserting a USB flash drive containing this malware would trigger the execution of the malicious code. Existing technologies typically struggle to detect such attacks in a timely manner. Therefore, this invention provides a method, apparatus, electronic device, and storage medium for anomaly attack alerts based on dynamic changes in hardware device assets.
[0046] The specific implementation of the above concept is described below.
[0047] Please refer to Figure 1 This invention provides an abnormal attack alarm method, which includes:
[0048] Step 100: Obtain the initial hardware asset list;
[0049] The items in the hardware asset list should at least include the device name, device type, and device access time;
[0050] Step 102: Determine the baseline for detecting abnormal dynamic changes in hardware assets;
[0051] Step 104: Configure detection parameters and alarm policies;
[0052] The detection parameters include the type of detection equipment, the detection period (or detection granularity), and the detection frequency; the alarm strategy includes alarm conditions and corresponding handling methods, and the alarm conditions correspond to the abnormal risk level;
[0053] Step 106: Obtain the latest hardware asset list according to the configured detection parameters;
[0054] Step 108: Based on the initial hardware asset list and the latest hardware asset list, identify the devices that have changed;
[0055] Step 110: Based on the changed equipment and the dynamic change anomaly detection baseline of the hardware assets, determine the current hardware asset anomaly risk level.
[0056] Step 112: Based on the current hardware asset anomaly risk level and the alarm policy, execute the corresponding handling method.
[0057] Optionally, the method further includes:
[0058] Step 114: Update the initial hardware asset list based on the latest hardware asset list.
[0059] After updating the initial hardware asset list, return to step 106 to enable long-term anomaly detection.
[0060] This invention provides an abnormal attack alarm method that obtains an initial and a latest hardware asset list. By monitoring the hardware asset list, it identifies changed targets—hardware assets that have changed (or transformed / modified) between the initial and current times. When a new physical device asset is added or a physical device asset is replaced, a suspected physical device attack is considered. Combining this with a baseline of abnormal hardware asset dynamic changes, the method detects changed targets, determines the corresponding anomaly risk level, and executes appropriate actions. This invention enables abnormal attack risk detection and alarm based on dynamic changes in hardware device assets, allowing for timely and rapid detection of physical attacks involving the replacement of hardware assets, thereby ensuring device security and reducing the risk of hardware assets being replaced without the user's knowledge.
[0061] The following description Figure 1The execution method for each step is shown.
[0062] For step 100, "obtain the initial hardware asset list", the items in the hardware asset list may also include: device ID and device model, so as to achieve more comprehensive and accurate recording and traceability analysis.
[0063] The alarm strategy includes alarm conditions and corresponding handling methods. The alarm conditions correspond to the abnormal risk level. The handling methods can be selected to include no handling and alarm reporting. That is, the alarm strategy can be set to do nothing when the abnormal risk level is low, and to report an alarm when the abnormal risk level is medium or high.
[0064] Optionally, the alarm reporting includes generating and reporting an alarm report; the alarm report preferably includes the device name, device type, device access time, and corresponding abnormal risk level of the changed detection object.
[0065] Accordingly, if the items in the hardware asset list also include device ID and device model, the alarm report may also include:
[0066] The device ID, device model, device name, device type, and device access time before the change; the device ID, device model, device name, device type, and device access time after the change; the abnormal risk level corresponding to the changed detection object; and the abnormal dimension parameters corresponding to the changed detection object in the hardware asset dynamic change abnormal detection baseline, namely, the specific detection object, the importance of the detection object, the time period of the detection object change, the time interval of the detection object change, and the number of detection objects changed.
[0067] Regarding step 102, "determine the detection baseline for dynamic changes in hardware assets", the detection baseline for dynamic changes in hardware assets preferably includes multiple anomaly dimensions. The anomaly dimensions include at least the detection object, the importance of the detection object, the time period of the detection object change, the time interval of the detection object change, and the number of detection object changes. Each set of anomaly dimension parameters corresponds to an anomaly risk level. The anomaly risk level can be divided into low risk, medium risk, and high risk, or other forms can be used.
[0068] The detection target can be one type of device or a combination of multiple types of devices. In other words, the detection target can include all devices of the "disk" device type, or all devices of the "disk + USB flash drive" device types.
[0069] The baseline for detecting abnormal dynamic changes in hardware assets can be determined in the following way:
[0070] Obtain a historical list of hardware assets and attack events;
[0071] Based on the historical hardware asset list, the normal maintenance patterns of various types of equipment are determined. The normal maintenance patterns include maintenance periods, maintenance intervals, and the number of items to be maintained per maintenance session.
[0072] Based on historical attack events, attack patterns for various types of devices are determined, including attack periods, attack variation time intervals, and the number of attacks per instance.
[0073] Determine the objects to be tested and their corresponding importance;
[0074] For a given detection target, based on the normal maintenance patterns and attack patterns of the equipment involved, parameter thresholds are defined for the period of change of the detection target, the time interval of change of the detection target, and the number of changes of the detection target, and the corresponding abnormal risk level is determined.
[0075] The hardware asset dynamic change anomaly detection baseline serves as the basis for determining anomalies in hardware asset changes. Considering that hardware asset changes may be normal user maintenance operations, such as hardware updates, upgrades, or replacement of faulty hardware, this invention provides a hardware asset dynamic change anomaly detection baseline that includes at least five anomaly dimensions: the object to be detected, the importance of the object, the time period of the object change, the time interval of the object change, and the number of object changes. By using historical hardware asset lists and attack events, the parameters of each anomaly dimension and the corresponding anomaly risk level are determined to achieve a comprehensive anomaly judgment measurement for hardware changes. The parameters of each dimension for different hardware assets under normal and abnormal conditions can be statistically analyzed. For example, the hardware asset change dimension value when a piece of hardware fails under normal conditions, and the hardware asset change dimension value when a piece of hardware is attacked under abnormal conditions. Statistical analysis of these values provides thresholds for single-dimensional anomalies and non-anomalies, as well as thresholds for combined-dimensional anomalies. Table 1 shows a specific hardware asset dynamic change anomaly detection baseline; other hardware asset dynamic change anomaly detection baselines including more anomaly dimensions can also be set according to actual needs.
[0076] Table 1. Baseline for detecting dynamic changes and anomalies in hardware assets.
[0077]
[0078] Specific anomaly dimension parameters can be dynamically adjusted based on the false alarms or missed alarms. Optionally, this anomaly attack alarm method also includes: periodically maintaining the dynamic change anomaly detection baseline of the hardware assets based on the alarm reports. If the false alarm frequency in the alarm reports exceeds a preset false alarm threshold, the anomaly risk level corresponding to the parameter thresholds of the existing detection object change period, detection object change time interval, and detection object change quantity can be redefined. If the missed alarm frequency in the alarm reports exceeds a preset missed alarm threshold, the parameter thresholds of the detection object change period, detection object change time interval, and detection object change quantity can be reclassified.
[0079] Regarding step 104, "Configure detection parameters and alarm policies", the detection parameters allow you to select which devices to detect or all devices. The detection period allows you to select real-time detection throughout the day or detection only during a specific period. The detection frequency allows you to select the time interval for detection, which is the frequency at which the latest hardware asset list is obtained, such as once per minute.
[0080] Optionally, the method of handling may also include blocking the corresponding device.
[0081] By employing the above embodiments, highly threatening abnormal transformation devices can be blocked, causing the corresponding devices to be temporarily unloaded or disabled, thus preventing potential attacks from causing continuous damage to the host and other devices.
[0082] Regarding step 106, "obtain the latest hardware asset list according to the configured detection parameters", it is possible to obtain the latest hardware asset list that includes all hardware asset information, or only obtain the latest hardware asset list that includes the hardware asset type of the detection device, in order to speed up the detection process.
[0083] Regarding step 108, "Based on the initial hardware asset list and the latest hardware asset list, determine the devices that have changed," it may further include:
[0084] Identify the equipment that has undergone changes, categorize them according to equipment type, and count the number of changes for each equipment type.
[0085] Regarding step 110, "Based on the changed equipment and the dynamic change anomaly detection baseline of the hardware assets, determine the current hardware asset anomaly risk level," it may further include:
[0086] Based on the abnormal detection baseline of the changed equipment and the hardware assets, the detection objects of the changes and the corresponding abnormal risk levels are determined.
[0087] For other types of equipment, the level of abnormal risk is considered unchanged.
[0088] Regarding step 112, "Based on the current hardware asset anomaly risk level and the aforementioned alarm policy, execute the corresponding handling method," it may further include:
[0089] For detected objects that have changed, based on the alarm strategy, the corresponding handling methods are executed, including:
[0090] No action will be taken against test subjects with a low risk level of abnormality.
[0091] For testing objects with an abnormal risk level of medium or high, an alarm should be reported.
[0092] For testing targets with a high risk level of abnormality, the corresponding equipment should be blocked;
[0093] No action will be taken against other types of equipment.
[0094] If a host computer experiences two abnormal changes to its critical devices during a certain period in the early morning, such as a disk being unmounted and then, shortly after, a different disk containing malicious code being reinstalled, along with a new USB flash drive containing malicious code, the abnormal attack alarm method of this invention can promptly detect these high-risk changes by monitoring changes in the hardware asset list and establishing a pre-established baseline for detecting abnormal dynamic changes in hardware assets. This allows for timely alarms and even blocking of operations, preventing physical attacks on the host computer.
[0095] like Figure 2 , Figure 3 As shown, this embodiment of the invention provides an abnormal attack alarm device. The device embodiment can be implemented through software, hardware, or a combination of both. From a hardware perspective, as... Figure 2 The diagram shown is a hardware architecture diagram of an electronic device containing an abnormal attack alarm device according to an embodiment of the present invention. (Except for...) Figure 2 In addition to the processor, memory, network interface, and non-volatile memory shown, the electronic device in the embodiment may also include other hardware, such as a forwarding chip responsible for processing packets. Taking software implementation as an example, such as... Figure 3 As shown, a device in a logical sense is formed by the CPU of its host electronic device reading the corresponding computer program from non-volatile memory into memory for execution. This embodiment provides an abnormal attack alarm device, including:
[0096] Initialization module 301 is used to obtain an initial hardware asset list; the items in the hardware asset list include at least the device name, device type and device access time;
[0097] Baseline determination module 302 is used to determine the baseline for detecting abnormal dynamic changes in hardware assets;
[0098] The configuration module 303 is used to configure detection parameters and alarm policies; the detection parameters include the type of detection equipment, the detection period, and the detection frequency; the alarm policy includes alarm conditions and corresponding handling methods, and the alarm conditions correspond to the abnormal risk level.
[0099] The acquisition module 304 is used to acquire the latest hardware asset list according to the configured detection parameters;
[0100] The comparison module 305 is used to identify the changed devices based on the initial hardware asset list and the latest hardware asset list;
[0101] Risk determination module 306 is used to determine the current hardware asset anomaly risk level based on the changed equipment and the dynamic change anomaly detection baseline of the hardware asset.
[0102] The handling module 307 is used to execute the corresponding handling method based on the current hardware asset anomaly risk level and the alarm policy.
[0103] Optionally, the device further includes:
[0104] The update module 308 is used to update the initial hardware asset list based on the latest hardware asset list and then return to call the acquisition module.
[0105] In this embodiment of the invention, the initialization module 301 can be used to execute step 100 in the above method embodiment, the baseline determination module 302 can be used to execute step 102 in the above method embodiment, the configuration module 303 can be used to execute step 104 in the above method embodiment, the acquisition module 304 can be used to execute step 106 in the above method embodiment, the comparison module 305 can be used to execute step 108 in the above method embodiment, the risk determination module 306 can be used to execute step 110 in the above method embodiment, the disposal module 307 can be used to execute step 112 in the above method embodiment, and the update module 308 can be used to execute step 114 in the above method embodiment.
[0106] Optionally, the handling methods include not handling the situation and reporting an alarm;
[0107] The alarm reporting includes generating and reporting an alarm report;
[0108] The alarm report includes the device name, device type, device access time, and corresponding abnormal risk level of the changed detection object.
[0109] Optionally, the hardware asset dynamic change anomaly detection baseline includes multiple anomaly dimensions. These anomaly dimensions include at least the detection object, the importance of the detection object, the period of change of the detection object, the time interval of change of the detection object, and the number of changes of the detection object. Each set of anomaly dimension parameters corresponds to an anomaly risk level. The detection object is one type of equipment or a combination of multiple types of equipment. The baseline determination module 302 determines the hardware asset dynamic change anomaly detection baseline in the following manner:
[0110] Obtain a historical list of hardware assets and attack events;
[0111] Based on the historical hardware asset list, the normal maintenance patterns of various types of equipment are determined. The normal maintenance patterns include maintenance periods, maintenance intervals, and the number of items to be maintained per maintenance session.
[0112] Based on historical attack events, attack patterns for various types of devices are determined, including attack periods, attack variation time intervals, and the number of attacks per instance.
[0113] Determine the objects to be tested and their corresponding importance;
[0114] For a given detection target, based on the normal maintenance patterns and attack patterns of the equipment involved, parameter thresholds are defined for the period of change of the detection target, the time interval of change of the detection target, and the number of changes of the detection target, and the corresponding abnormal risk level is determined.
[0115] Optionally, the baseline determination module 302 is also used to periodically maintain the dynamic change anomaly detection baseline of the hardware assets based on the alarm report.
[0116] Optionally, the items in the hardware asset list may also include: device ID and device model;
[0117] The alarm report also includes: the device ID and device model before the change, the device ID and device model after the change, and the abnormal dimension parameters in the hardware asset dynamic change anomaly detection baseline corresponding to the detected object that has changed.
[0118] Optionally, the method of handling may also include blocking the corresponding device.
[0119] It is understood that the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on an anomaly attack alarm device. In other embodiments of the present invention, an anomaly attack alarm device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0120] The information interaction and execution process between the modules in the above-mentioned device are based on the same concept as the method embodiment of the present invention, and the specific details can be found in the description of the method embodiment of the present invention, and will not be repeated here.
[0121] This invention also provides an electronic device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements an abnormal attack alarm method according to any embodiment of this invention.
[0122] This invention also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, causes the processor to execute an abnormal attack alarm method according to any embodiment of this invention.
[0123] Specifically, a system or apparatus equipped with a storage medium may be provided, on which software program code implementing the functions of any of the embodiments described above is stored, and the computer (or CPU or MPU) of the system or apparatus may read and execute the program code stored in the storage medium.
[0124] In this case, the program code read from the storage medium can itself implement the function of any of the above embodiments, and therefore the program code and the storage medium storing the program code constitute part of the present invention.
[0125] Examples of storage media used to provide program code include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), magnetic tapes, non-volatile memory cards, and ROMs. Alternatively, program code can be downloaded from a server computer via a communication network.
[0126] Furthermore, it should be clear that not only can the program code read by the computer be executed, but also the operating system or other components operating on the computer can be instructed based on the program code to perform some or all of the actual operations, thereby realizing the function of any of the embodiments described above.
[0127] Furthermore, it is understood that the program code read from the storage medium is written to the memory set in the expansion board inserted into the computer or to the memory set in the expansion module connected to the computer. Then, based on the instructions of the program code, the CPU or other components installed on the expansion board or expansion module execute some and all of the actual operations, thereby realizing the function of any of the above embodiments.
[0128] The embodiments of the present invention have at least the following beneficial effects:
[0129] 1. In one embodiment of the present invention, an abnormal attack alarm method and device are provided. By establishing an abnormal attack detection process based on dynamic changes of hardware device assets, physical attacks that replace malicious asset devices can be detected in a timely manner and alarms can be issued in a timely manner. Furthermore, the abnormal detection configuration is more granular, and the abnormal detection configuration can be configured from aspects such as the type of device to be detected, the detection period, the detection frequency, and the alarm handling strategy.
[0130] 2. In one embodiment of the present invention, an abnormal attack alarm method and device are provided, which establishes a baseline for detecting abnormal dynamic changes in hardware assets. It can comprehensively measure and judge abnormalities from dimensions such as device type, time dimension, importance, change time interval, and change quantity, making the judgment of abnormalities of device assets more accurate and comprehensive, and preventing possible false alarms.
[0131] 3. In one embodiment of the present invention, an abnormal attack alarm method and device are provided. For different detection objects, comprehensive alarm reports can be generated and reported so that users can trace the source and block high-risk devices in a timely manner to prevent the host and other devices from suffering continuous damage.
[0132] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus.
[0133] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments. The aforementioned storage medium includes various media that can store program code, such as ROM, RAM, magnetic disk, or optical disk.
[0134] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. An abnormal attack alarm method, characterized in that, This is used to promptly detect physical attacks that replace normal hardware assets in a device when an attacker uses hardware with a payload to achieve their attack objectives; including: Obtain an initial hardware asset list; the items in the hardware asset list shall include at least the device name, device type and device access time; the hardware is the CPU, disk, graphics card, network card, motherboard and USB flash drive built into or external to the computer device; Establish a baseline for detecting abnormal dynamic changes in hardware assets; Configure detection parameters and alarm policies; the detection parameters include the type of detection equipment, the detection period, and the detection frequency; the alarm policies include alarm conditions and corresponding handling methods, and the alarm conditions correspond to the abnormal risk level; Obtain the latest hardware asset list according to the configured detection parameters; Based on the initial and latest hardware asset lists, identify the devices that have changed; whether the change is due to addition or replacement. Based on the changed equipment and the dynamic change anomaly detection baseline of the hardware assets, the current hardware asset anomaly risk level is determined. Based on the current hardware asset anomaly risk level and the aforementioned alarm policy, execute the corresponding handling method; The baseline for detecting abnormal dynamic changes in hardware assets is determined as follows: A historical list of hardware assets and attack events is obtained; based on the historical hardware asset list, normal maintenance patterns for various types of equipment are determined, including maintenance periods, maintenance intervals, and the number of maintenance sessions; based on historical attack events, attack patterns for various types of equipment are determined, including attack periods, attack change intervals, and the number of attacks; the detection targets and their corresponding importance are determined; for the identified detection targets, based on the normal maintenance patterns and attack patterns of the involved equipment, parameter thresholds are defined for the detection target change periods, detection target change intervals, and detection target change quantities, and the corresponding abnormal risk level is determined.
2. The method according to claim 1, characterized in that, The handling methods include not taking any action and reporting an alarm. The alarm reporting includes generating and reporting an alarm report; The alarm report includes the device name, device type, device access time, and corresponding abnormal risk level of the changed detection object.
3. The method according to claim 1, characterized in that, The hardware asset dynamic change anomaly detection baseline includes multiple anomaly dimensions. The anomaly dimensions include at least the detection object, the importance of the detection object, the period of change of the detection object, the time interval of change of the detection object, and the number of changes of the detection object. Each set of anomaly dimension parameters corresponds to an anomaly risk level. The detection object is a type of equipment or a combination of multiple types of equipment.
4. The method according to claim 2, characterized in that, Also includes: The baseline for detecting abnormal dynamic changes in the hardware assets is maintained regularly based on the alarm reports.
5. The method according to claim 2, characterized in that, The items in the hardware asset list also include: device ID and device model; The alarm report also includes: the device ID and device model before the change, the device ID and device model after the change, and the abnormal dimension parameters in the hardware asset dynamic change anomaly detection baseline corresponding to the detected object that has changed.
6. The method according to claim 2, characterized in that, The disposal method also includes blocking the corresponding equipment.
7. The method according to claim 1, characterized in that, The method further includes: The initial hardware asset list is updated based on the latest hardware asset list.
8. An abnormal attack alarm device, characterized in that, To implement the method as described in any one of claims 1-7 above, comprising: An initialization module is used to obtain an initial hardware asset list; the items in the hardware asset list include at least the device name, device type, and device access time; The baseline determination module is used to determine the baseline for detecting abnormal dynamic changes in hardware assets; The configuration module is used to configure detection parameters and alarm policies; the detection parameters include the type of detection equipment, the detection period, and the detection frequency; the alarm policies include alarm conditions and corresponding handling methods, and the alarm conditions correspond to the abnormal risk level. The acquisition module is used to acquire the latest hardware asset list according to the configured detection parameters; The comparison module is used to identify devices that have changed based on the initial hardware asset list and the latest hardware asset list; The risk determination module is used to determine the current hardware asset anomaly risk level based on the changed equipment and the dynamic change anomaly detection baseline of the hardware asset. The handling module is used to execute the corresponding handling method based on the current hardware asset anomaly risk level and the alarm policy.
9. An electronic device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the method as described in any one of claims 1-7.
10. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed in the computer, it causes the computer to perform the method of any one of claims 1-7.
Citation Information
Patent Citations
Safety data acquisition and anomaly detection method and system facing industrial control network
CN105959144A
Network asset management method and device, equipment and storage medium
CN114500024A
