Security detection method and device, nonvolatile storage medium and electronic equipment
By monitoring and scoring access behavior on the front end, and processing it based on the server-side scoring results, the problem of the front-end page security detection process on the computing pressure of the server is solved, security detection is implemented on the front end, and the computing pressure on the server is reduced.
Patent Information
- Application Number
- CN202410764701.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-13
- Publication Date
- 2024-10-01
AI Technical Summary
In the existing technology, the security detection process of the front-end page is only performed on the server side, which results in great computing pressure on the server and lacks an effective solution.
By monitoring the behavioral data of target objects who visit the website to be detected on the front end, scoring their behavioral attributes, and sending the IP address to the server under preset conditions, combined with the scoring results of the server, targeted processing is implemented to slow down the impact of security detection on the server. computing pressure.
By monitoring risky users on the front end, the cost of access by malicious users is increased, and when the threshold is reached, the server intervenes to perform phased or permanent bans, realizing security detection on the front end and reducing the computing pressure of the security detection process on the server.
Smart Images

Figure CN118740438A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and more specifically, to a security detection method and device, a non-volatile storage medium, and an electronic device. Background Art
[0002] As modern websites become more and more complex, the requirements for website security are also getting higher and higher. Security defenses such as encryption technology, authentication and access control, intrusion detection and prevention systems, vulnerability scanning and management, Distributed Denial of Service (DDoS) attack protection, logging and monitoring, data backup and recovery, etc. are generally performed on the server side.
[0003] In summary, the process of security checking of the front-end page is only performed on the server side, which leads to a high computing pressure on the server.
[0004] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention
[0005] The embodiments of the present application provide a security detection method and device, a non-volatile storage medium, and an electronic device to at least solve the technical problem that in the related technology, the process of performing security detection on the front-end page is only performed on the server side, causing high computing pressure on the server.
[0006] According to one aspect of an embodiment of the present application, a security detection method is provided, comprising: obtaining behavior data of a target object that accesses an activity page corresponding to a website to be detected; scoring the behavior attributes of the target object that accesses the website to be detected based on the behavior data to obtain a first score; scoring the behavior attributes of the target object that accesses the website to be detected based on the relationship between a first network link path and a second network link path of the activity page to obtain a second score, wherein the second network link path is a network link corresponding to a first page, and the first page is a page previous to the activity page; scoring the behavior attributes of the target object that accesses the website to be detected based on form data input by the target object to obtain a third score; scoring the behavior attributes of the target object that accesses the website to be detected based on an interaction rate between the website to be detected and a server to obtain a fourth score; within a preset time period, scoring the Internet Protocol (Internet Protocol) corresponding to the first target object among the target objects that access the activity page The method comprises the following steps: a first target object is a target object whose target score is less than a first preset threshold value, and the target score is the sum of the first score, the second score, the third score and the fourth score. The server is used to determine a first number of IP addresses corresponding to the first target object within a preset time period, and send a first identifier to the client when the first number is greater than the second preset threshold value; receive the first identifier sent by the server, and score the behavior attribute of the target object visiting the website to be detected according to the first identifier to obtain a fifth score; when the target object visits the website to be detected for more than the first preset time period, count the score of the target object, and deal with the target objects within different score ranges according to different preset strategies.
[0007] Optionally, based on the behavior data, scoring the behavior attributes of the target object visiting the website to be detected to obtain a first score, including: monitoring the activity events of the target object in the activity page within a second preset time period, wherein the activity events at least include: mouse activity events, mouse click events, keyboard input events, wherein the mouse activity events at least include: mouse tracks, mouse click events at least include: mouse click frequency within a third preset time period, and keyboard input events at least include: keyboard input frequency within a fourth preset time period; if the mouse track is not detected and the activity page executes a preset behavior, performing a first deduction operation on the target object, wherein the preset behaviors include: jumping, clicking, and scrolling; if the first mouse track is detected In the above case, a second point deduction operation is performed on the target object, wherein the first mouse trajectory is a mouse trajectory whose activity range is smaller than the preset range; in the case that the click frequency of the mouse within a third preset time period is detected to be greater than a third preset threshold, a third point deduction operation is performed on the target object; in the case that the input frequency of the keyboard within a fourth preset time period is detected to be greater than a fourth preset threshold, a fourth point deduction operation is performed on the target object; the moment when the data interface is requested to return data in response to a keyboard input event is determined as the first moment, and the moment when the keyboard input event occurs next time after the first moment is determined as the second moment, and if the time interval between the second moment and the first moment is within the first preset number and within the first preset interval, a fifth point deduction operation is performed on the target object.
[0008] Optionally, based on the relationship between the first network link path and the second network link path of the active page, the behavioral attributes of the target object visiting the website to be detected are scored to obtain a second score, including: if it is determined for a second preset number of consecutive times that there is no preset corresponding relationship between the first network link path and the second network link path, performing a sixth point deduction operation on the target object.
[0009] Optionally, scoring the behavior attribute of the target object visiting the website to be detected according to the form data input by the target object to obtain a third score includes: if it is determined for a third preset number of consecutive times that the form data input by the target object includes a preset tag, and the preset tag includes a preset script code and / or a preset statement, performing a seventh deduction operation on the target object, wherein the preset tag includes: <script>< / script> Tag pair.
[0010] Optionally, based on the interaction rate between the website to be detected and the server, the behavioral attributes of the target object visiting the website to be detected are scored to obtain a fourth score, including: if within the third preset time period, the interaction rate between the website to be detected and the server is greater than the fifth preset threshold, performing an eighth deduction operation on the target object.
[0011] Optionally, before obtaining the first score, the method further includes: obtaining historical data of the website to be detected, dividing the website to be detected into a plurality of different levels according to the historical data, and obtaining scoring strategies for the websites to be detected at the plurality of different levels; after obtaining the first score by scoring the behavioral attributes of the target object visiting the website to be detected according to the behavioral data, the method further includes: processing the first score according to the scoring strategy to obtain a first target score; and scoring the historical data of the website to be detected according to the historical data. After scoring the behavior attributes of the target object of the website to be detected to obtain a second score, the method further includes: processing the second score according to the scoring strategy to obtain a second target score; after scoring the behavior attributes of the target object visiting the website to be detected according to the form data input by the target object to obtain a third score, the method further includes: processing the third score according to the scoring strategy to obtain a third target score; after scoring the behavior attributes of the target object visiting the website to be detected according to the interaction rate between the website to be detected and the server to obtain a fourth score, the method further includes: processing the fourth score according to the scoring strategy to obtain a fourth target score.
[0012] Optionally, according to different preset strategies, target objects within different score ranges are handled, including: enabling a preset fully automatic public Turing test CAPTCHA for distinguishing between computers and humans on the activity page visited by the second target object, and re-scoring the second target object if the second target object passes the CAPTCHA, wherein the second target object is a target object with a score within a first preset score range and has not experienced CAPTCHA; prohibiting the IP address corresponding to the third target object from accessing the website to be detected within a second preset time period, wherein the third target object is a target object that has passed the CAPTCHA and has a score within the first preset score range; prohibiting the IP address corresponding to the fourth target object from accessing the website to be detected within a third preset time period, wherein the fourth target object is a target object that is prohibited from accessing the website to be detected a number of times greater than the first preset number within the second preset time period; prohibiting the IP address corresponding to the fifth target object from accessing the website to be detected within a fourth preset time period, wherein the fifth target object is a target object that is prohibited from accessing the website to be detected a number of times greater than the second preset number within the third preset time period.
[0013] According to another aspect of the embodiment of the present application, a security detection device is also provided, including: an acquisition module, which is used to acquire behavior data of a target object visiting an active page corresponding to a website to be detected; a first determination module, which is used to score the behavior attributes of the target object visiting the website to be detected based on the behavior data to obtain a first score, and to score the behavior attributes of the target object visiting the website to be detected based on the relationship between the first network link path and the second network link path of the active page to obtain a second score, wherein the second network link path is a network link corresponding to the first page, and the first page is a page previous to the active page; a second determination module, which is used to score the behavior attributes of the target object visiting the website to be detected based on form data input by the target object to obtain a third score, and to score the behavior attributes of the target object visiting the website to be detected based on the interaction rate between the website to be detected and the server to obtain a third score. A sending module is used to send the Internet Protocol IP address corresponding to the first target object among the target objects that visit the activity page to the server within a preset time period, wherein the first target object is a target object whose target score is less than a first preset threshold value, and the target score is the sum of the first score, the second score, the third score and the fourth score. The server is used to determine the first number of IP addresses corresponding to the first target object within the preset time period, and send a first identifier to the client when the first number is greater than the second preset threshold value; a third determination module is used to receive the first identifier sent by the server, and score the behavioral attributes of the target object that visits the website to be detected based on the first identifier to obtain a fifth score; a disposal module is used to count the score of the target object when the target object visits the website to be detected for more than the first preset time period, and dispose of the target objects within different score ranges according to different preset strategies.
[0014] According to another aspect of the embodiments of the present application, a non-volatile storage medium is further provided, the storage medium including a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above security detection method.
[0015] According to another aspect of the embodiments of the present application, there is further provided an electronic device, including: a memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the above security detection method is executed when the program is running.
[0016] According to yet another aspect of the embodiments of the present application, a computer program is further provided, wherein the above security detection method is implemented when the computer program is executed by a processor.
[0017] According to another aspect of the embodiments of the present application, a computer program product is also provided, the computer program product comprising a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and the computer program implements the above security detection method when executed by a processor.
[0018] In an embodiment of the present application, the behavior data of the target object accessing the active page corresponding to the website to be detected is obtained; according to the behavior data, the behavior attribute of the target object accessing the website to be detected is scored to obtain a first score; according to the relationship between the first network link path and the second network link path of the active page, the behavior attribute of the target object accessing the website to be detected is scored to obtain a second score, wherein the second network link path is a network link corresponding to the first page, and the first page is the previous page of the active page; according to the form data input by the target object, the behavior attribute of the target object accessing the website to be detected is scored to obtain a third score; according to the interaction rate between the website to be detected and the server, the behavior attribute of the target object accessing the website to be detected is scored to obtain a fourth score; within a preset time, the Internet Protocol IP address corresponding to the first target object among the target objects accessing the active page is sent to the server, wherein the first target object is a target object whose target score is less than a first preset threshold, and the target scores are the first score, the second score, the third score and the fourth score. The sum of the four scores is used by the server to determine the first number of IP addresses corresponding to the first target object within a preset time period, and send a first identifier to the client when the first number is greater than a second preset threshold value; receive the first identifier sent by the server, and score the behavioral attributes of the target object that visits the website to be detected based on the first identifier to obtain a fifth score; when the target object visits the website to be detected for more than the first preset time period, count the score of the target object, and deal with the target objects within different score ranges according to different preset strategies. By monitoring risky users at the front end, the risky users are first processed at the front end to increase the cost of malicious access by malicious users, and a threshold is set. After the threshold is reached, the server intervenes to perform phased or permanent bans on the account, thereby achieving the purpose of performing security detection at the front end, thereby achieving the technical effect of reducing the computing pressure of the security detection process on the server, and further solving the technical problem that in the related technology, the process of performing security detection on the front-end page is only performed on the server, resulting in a large computing pressure on the server. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:
[0020] Figure 1 is a flow chart of a security detection method according to an embodiment of the present application;
[0021] Figure 2 is a structural diagram of a safety detection device according to an embodiment of the present application;
[0022] Figure 3 It is a hardware structure block diagram of a computer terminal according to a security detection method of an embodiment of the present application. DETAILED DESCRIPTION
[0023] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.
[0024] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0025] According to an embodiment of the present application, a method embodiment of a security detection method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0026] Figure 1 is a flow chart of a security detection method according to an embodiment of the present application, such as Figure 1 As shown, the method comprises the following steps:
[0027] Step S101, obtaining behavior data of a target object that visits an activity page corresponding to a website to be detected.
[0028] The target objects include but are not limited to: users.
[0029] For example, the behavior data of the target object includes: 1. Visit time: the specific time when the user visits the page, including the date and time. 2. Visited page: the specific page or page path visited by the user. 3. Visit source: the source from which the user visits the page, such as search engines, social media, advertisements, etc. 4. Visit device: the type of device used by the user to visit the page, such as mobile phones, tablets, laptops, etc. 5. Visit behavior: the specific behavior of the user on the page, such as clicking a link, filling out a form, watching a video, etc. 6. Visit duration: the length of time the user stays on the page.
[0030] Step S102, based on the behavior data, scoring the behavior attributes of the target object visiting the website to be detected to obtain a first score, and based on the relationship between the first network link path and the second network link path of the active page, scoring the behavior attributes of the target object visiting the website to be detected to obtain a second score, wherein the second network link path is the network link corresponding to the first page, and the first page is the previous page of the active page.
[0031] Step S103, scoring the behavior attributes of the target object visiting the website to be detected according to the form data input by the target object to obtain a third score, and scoring the behavior attributes of the target object visiting the website to be detected according to the interaction rate between the website to be detected and the server to obtain a fourth score.
[0032] Among them, the form data entered by the user refers to the information provided by the user through the form input interface of a web page or application. Forms are usually used to collect user data, such as registration, login, search, or submit feedback. Form data can include text input, selection boxes, check boxes, radio buttons, etc. Form data types include but are not limited to the following: 1. Text Box: Allows users to enter text, such as username, password, etc. 2. Single-line Text Box: Similar to a text box, but usually limits input to a single line of text. 3. Multi-line Text Box: Allows users to enter multiple lines of text, such as comments or descriptions. 4. Dropdown Menu: Provides a series of options, and users can select one of them. 5. Checkboxes: Allow users to select one or more options, usually used for preference settings. 6. Radio Buttons: Similar to a check box, but only one option can be selected at a time. 7. Date Picker: Allows users to select a date, usually used for event scheduling or birthdays. 8. File Upload: allows users to upload files, such as pictures, documents, etc. 9. Button: used to submit forms or perform specific operations.
[0033] Step S104, within a preset time length, the IP address corresponding to the first target object among the target objects that visit the activity page is sent to the server, wherein the first target object is a target object whose target score is less than a first preset threshold, and the target score is the sum of the first score, the second score, the third score and the fourth score. The server is used to determine a first number of IP addresses corresponding to the first target object within the preset time length, and send a first identifier to the client when the first number is greater than the second preset threshold.
[0034] It is understandable that when the deduction score is within the preset range, the user's IP address must be carried every time the client communicates with the server.
[0035] Step S105: receiving the first identifier sent by the server, and scoring the behavior attribute of the target object visiting the website to be detected according to the first identifier to obtain a fifth score.
[0036] Step S106, when the target object visits the website to be detected for more than a first preset time, the score of the target object is counted, and target objects within different score ranges are handled according to different preset strategies.
[0037] According to the above steps, the behavior data of the target object visiting the active page corresponding to the website to be detected is obtained; according to the behavior data, the behavior attributes of the target object visiting the website to be detected are scored to obtain a first score; according to the relationship between the first network link path and the second network link path of the active page, the behavior attributes of the target object visiting the website to be detected are scored to obtain a second score, wherein the second network link path is a network link corresponding to the first page, and the first page is the previous page of the active page; according to the form data input by the target object, the behavior attributes of the target object visiting the website to be detected are scored to obtain a third score; according to the interaction rate between the website to be detected and the server, the behavior attributes of the target object visiting the website to be detected are scored to obtain a fourth score; within a preset time, the Internet Protocol IP address corresponding to the first target object among the target objects visiting the active page is sent to the server, wherein the first target object is a target object whose target score is less than a first preset threshold. The target object, the target score is the sum of the first score, the second score, the third score and the fourth score. The server is used to determine the first number of IP addresses corresponding to the first target object within a preset time period, and send a first identifier to the client when the first number is greater than the second preset threshold value; receive the first identifier sent by the server, and score the behavioral attribute of the target object visiting the website to be detected according to the first identifier to obtain a fifth score; when the target object visits the website to be detected for more than the first preset time, count the score of the target object, and deal with the target objects within different score ranges according to different preset strategies. By monitoring risky users at the front end, the risky users are first processed at the front end to increase the cost of malicious access by malicious users, set a threshold, and then the server intervenes to perform phased or permanent bans on the account after the threshold is reached, thereby achieving the purpose of performing security detection at the front end, thereby achieving the technical effect of reducing the computing pressure of the security detection process on the server.
[0038] Preferably, an initial score is assigned to the user who logs into the website to be detected. Exemplarily, the initial score is 10 points.
[0039] According to some optional embodiments of the present application, in step S102, scoring the behavior attribute of the target object visiting the website to be detected according to the behavior data to obtain the first score can be achieved by the following method:
[0040] Step S1021, monitor the activity events of the target object in the activity page within the second preset time length, wherein the activity events include at least: mouse activity events, mouse click events, keyboard input events, wherein the mouse activity events include at least: mouse tracks, the mouse click events include at least: the mouse click frequency within the third preset time length, and the keyboard input events include at least: the keyboard input frequency within the fourth preset time length.
[0041] For example, you can monitor the user's activity events in the active page through the `mousemove` event in JavaScript (JS), where the `mousemove` event in JS is triggered when the mouse pointer moves over an element. When the mouse pointer moves over an element in the page, the browser will continuously trigger the `mousemove` event. This allows developers to implement some mouse position-based functions, such as tracking the mouse position, implementing custom drag operations, etc.
[0042] Step S1022, when the mouse track is not detected and the active page performs a preset behavior, a first point deduction operation is performed on the target object, wherein the preset behavior includes: jump, click, and scroll.
[0043] For example, when the mouse track is not detected and the active page performs a jump, the first point deduction operation is performed, that is, 1 point is deducted, or when the mouse track is not detected and the active page performs a click, 1 point is deducted.
[0044] Step S1023, when the first mouse track is detected, performing a second point deduction operation on the target object, wherein the first mouse track is a mouse track whose activity range is smaller than a preset range.
[0045] Specifically, if the mouse trajectory is detected but the mouse trajectory is too average, a second point deduction operation is performed, for example, 1 point is deducted.
[0046] Step S1024: When it is detected that the click frequency of the mouse within the third preset time period is greater than the third preset threshold, a third point deduction operation is performed on the target object.
[0047] In other words, if the mouse track is detected, but the click frequency is too high, the third deduction operation is performed, for example, 1 point is deducted. In addition, if the mouse track is detected, but the interval of the mouse click event is too average, the third deduction operation can also be performed.
[0048] Step S1025, when it is monitored that the keyboard input frequency within a fourth preset time period is greater than a fourth preset threshold, a fourth point deduction operation is performed on the target object.
[0049] In other words, if a keyboard input event is detected but the input frequency is too high, the fourth point deduction operation is performed, for example, 1 point is deducted.
[0050] Step S1026, determine the moment when the data interface is requested to return data in response to the keyboard input event as the first moment, and determine the moment when the keyboard input event occurs next time after the first moment as the second moment. If the time interval between the second moment and the first moment is within the first preset number of times and within the first preset interval, perform the fifth point deduction operation on the target object.
[0051] For example, starting from the moment when the keyboard completes the input event and the data interface is requested to return data, if the time interval between the moment when the data is returned for more than 5 consecutive times and the moment when the keyboard completes the input event next time is too even, the fifth point deduction operation is performed, for example, 0.5 points are deducted. The fifth point deduction operation can be repeatedly performed.
[0052] According to some other optional embodiments of the present application, in step S102, scoring the behavior attribute of the target object accessing the website to be detected according to the relationship between the first network link path and the second network link path of the active page to obtain the second score can be achieved by the following method:
[0053] If it is determined that there is no preset corresponding relationship between the first network link path and the second network link path for a second preset number of times in a row, a sixth point deduction operation is performed on the target object.
[0054] For example, to monitor the browser Uniform Resource Locator (URL) path, use `document.referrer` to get the previous URL of the current URL path. Among them, `document.referrer` is a JavaScript property that returns a string indicating the reference source of the currently loaded page. In other words, it is used to show which page the user clicked a link or submitted a form to reach the current page. `document.referrer` only provides the URL of the referring page, but does not provide any information about the user's activities on the referring page.
[0055] Generally speaking, the details page is displayed through the URL with a plain text or encrypted ID, while the list page is not. For example, the list page URL is https: / / a.list, and the details page URL is https: / / a.list?id=1. You can get the previous URL to determine whether you jump from the list page to the details page. However, if the previous URL is found to be mismatched for more than 5 consecutive times on certain pages (you can freely select the pages to be monitored according to your needs), the sixth point deduction operation will be performed, such as deducting 0.5 points.
[0056] According to the form data input by the target object, the behavior attribute of the target object visiting the website to be detected is scored in step S103 to obtain a third score, which can be achieved by the following method:
[0057] If it is determined for the third consecutive preset number of times that the form data input by the target object includes a preset tag, and the preset tag includes a preset script code and / or a preset statement, a seventh point deduction operation is performed on the target object, wherein the preset tag includes: <script>< / script> Tag pair.
[0058] Specifically, the form input content is monitored. If a user enters a message with <script>< / script> If there is a tag pair, and there is JS code or SQL statement in the tag pair (based on SQL keyword monitoring), the user will be included in the key monitoring, and all subsequent behaviors that will lead to point deductions will be doubled.
[0059] According to the interaction rate between the website to be detected and the server, the behavior attribute of the target object accessing the website to be detected is scored to obtain a fourth score, which can be achieved by the following method:
[0060] If within the third preset time period, the interaction rate between the website to be detected and the server is greater than the fifth preset threshold, an eighth point deduction operation is performed on the target object.
[0061] Specifically, an interaction rate threshold is set to monitor the interaction rate between the client and the server, and if the interaction rate exceeds the preset interaction rate threshold, an eighth deduction operation is performed, such as deducting 1 point, and the score is accumulated. The eighth deduction operation can be repeatedly performed.
[0062] As some optional embodiments of the present application, in step S102, before scoring the behavior attributes of the target object visiting the website to be detected based on the behavior data and obtaining the first score, the following steps may also be performed:
[0063] The historical data of the websites to be detected are obtained, the websites to be detected are divided into a plurality of different levels according to the historical data, and scoring strategies for the websites to be detected of the plurality of different levels are obtained.
[0064] Exemplarily, historical data includes but is not limited to: access source, access device, access behavior, and access duration. Multiple different levels, such as: low level, medium level, and high level. Scoring strategy, for example: users corresponding to low-level websites to be detected are deducted based on a coefficient of 0.5; users corresponding to medium-level websites to be detected are deducted based on a coefficient of 1; users corresponding to high-level websites to be detected are deducted based on a coefficient of 2.
[0065] According to the behavior data, the behavior attributes of the target object visiting the website to be detected are scored. After the first score is obtained, the following steps can be performed:
[0066] According to the scoring strategy, the first score is processed to obtain a first target score;
[0067] According to the relationship between the first network link path and the second network link path of the activity page, the behavior attribute of the target object visiting the website to be detected is scored. After the second score is obtained, the following steps may be performed:
[0068] The second score is processed according to the scoring strategy to obtain a second target score.
[0069] According to the form data input by the target object, the behavior attribute of the target object visiting the website to be detected is scored. After the third score is obtained, the following steps can be performed:
[0070] The third score is processed according to the scoring strategy to obtain a third target score.
[0071] According to the interaction rate between the website to be detected and the server, the behavior attribute of the target object accessing the website to be detected is scored. After the fourth score is obtained, the following steps may be performed:
[0072] According to the scoring strategy, the fourth score is processed to obtain a fourth target score.
[0073] In some optional embodiments of the present application, target objects within different score ranges are processed according to different preset strategies, including:
[0074] A preset CAPTCHA, a public Turing test for automatically distinguishing between computers and humans, is enabled on the activity page visited by the second target object. If the second target object passes the CAPTCHA, the second target object is re-scored, wherein the second target object is a target object whose score is within the first preset score range and has not experienced the CAPTCHA.
[0075] CAPTCHA (Completely Automated Public Turing test to tell Computers and Humans Apart) is an automated test used to verify whether a user is human. It is mainly used to distinguish between real users and automated programs, such as robots or malware. CAPTCHA technology usually involves users needing to solve some simple visual or logical problems to prove that they are human.
[0076] The IP address corresponding to the third target object is prohibited from accessing the website to be detected within a second preset time period, wherein the third target object is a target object that passes CAPTCHA and has a score within a first preset score range.
[0077] The IP address corresponding to the fourth target object is prohibited from accessing the website to be detected within the third preset time period, wherein the fourth target object is a target object whose number of prohibited accesses to the website to be detected is greater than the first preset number within the second preset time period.
[0078] The IP address corresponding to the fifth target object is prohibited from accessing the website to be detected within a fourth preset time period, wherein the fifth target object is a target object that is prohibited from accessing the website to be detected a number of times greater than a second preset number of times within the third preset time period.
[0079] For example, according to different preset strategies, the target objects within different score ranges can be processed, which can also be achieved through the following methods:
[0080] Step S1: For users whose accumulated points are deducted up to 4 points, CAPTCHA is enabled on the front end for verification. If the verification is passed, the points are reset to zero.
[0081] Step S2: If the accumulated points deducted after clearing continue to reach 4 points, CAPTCHA is enabled again for verification.
[0082] Step S3: For users whose accumulated points deducted reach 10 points, the server will block the user or the IP corresponding to the user for 30 minutes.
[0083] Step S4: For a user who has been banned three times in step S3, if he meets the ban conditions again, he will be banned for 24 hours.
[0084] Step S5: For a user who has been banned three times cumulatively in step S4, if he meets the ban conditions again, he will be banned permanently.
[0085] In summary, by detecting abnormal users, the application can reduce the risk of unauthorized access, data leakage and abnormal attacks. This helps to protect the website's sensitive information and user data. In addition, abnormal users may consume a large amount of server resources, causing normal users to access slower. By detecting and blocking abnormal users, you can ensure that resources are used more efficiently.
[0086] Figure 2 is a structural diagram of a safety detection device according to an embodiment of the present application, such as Figure 2 As shown, the device comprises:
[0087] The acquisition module 21 is used to acquire the behavior data of the target object who visits the activity page corresponding to the website to be detected.
[0088] The first determination module 22 is used to score the behavior attributes of the target object visiting the website to be detected based on the behavior data to obtain a first score, and to score the behavior attributes of the target object visiting the website to be detected based on the relationship between the first network link path and the second network link path of the active page to obtain a second score, wherein the second network link path is the network link corresponding to the first page, and the first page is the previous page of the active page.
[0089] The second determination module 23 is used to score the behavior attributes of the target object visiting the website to be detected according to the form data input by the target object to obtain a third score, and to score the behavior attributes of the target object visiting the website to be detected according to the interaction rate between the website to be detected and the server to obtain a fourth score.
[0090] The sending module 24 is used to send the Internet Protocol IP address corresponding to the first target object among the target objects visiting the activity page to the server within a preset time period, wherein the first target object is a target object whose target score is less than a first preset threshold, and the target score is the sum of the first score, the second score, the third score and the fourth score. The server is used to determine a first number of IP addresses corresponding to the first target object within the preset time period, and send a first identifier to the client when the first number is greater than the second preset threshold.
[0091] The third determination module 25 is used to receive the first identification sent by the server, and score the behavior attribute of the target object visiting the website to be detected according to the first identification to obtain a fifth score.
[0092] The handling module 26 is used to count the scores of the target objects when the target objects visit the website to be detected for more than a first preset time, and handle the target objects within different score ranges according to different preset strategies.
[0093] Optionally, based on the behavior data, scoring the behavior attributes of the target object visiting the website to be detected to obtain a first score, including: monitoring the activity events of the target object in the activity page within a second preset time period, wherein the activity events at least include: mouse activity events, mouse click events, keyboard input events, wherein the mouse activity events at least include: mouse tracks, mouse click events at least include: mouse click frequency within a third preset time period, and keyboard input events at least include: keyboard input frequency within a fourth preset time period; if the mouse track is not detected and the activity page executes a preset behavior, performing a first deduction operation on the target object, wherein the preset behaviors include: jumping, clicking, and scrolling; if the first mouse track is detected In the above case, a second point deduction operation is performed on the target object, wherein the first mouse trajectory is a mouse trajectory whose activity range is smaller than the preset range; in the case that the click frequency of the mouse within a third preset time period is detected to be greater than a third preset threshold, a third point deduction operation is performed on the target object; in the case that the input frequency of the keyboard within a fourth preset time period is detected to be greater than a fourth preset threshold, a fourth point deduction operation is performed on the target object; the moment when the data interface is requested to return data in response to a keyboard input event is determined as the first moment, and the moment when the keyboard input event occurs next time after the first moment is determined as the second moment, and if the time interval between the second moment and the first moment is within the first preset number and within the first preset interval, a fifth point deduction operation is performed on the target object.
[0094] Optionally, based on the relationship between the first network link path and the second network link path of the active page, the behavioral attributes of the target object visiting the website to be detected are scored to obtain a second score, including: if it is determined for a second preset number of consecutive times that there is no preset corresponding relationship between the first network link path and the second network link path, performing a sixth point deduction operation on the target object.
[0095] Optionally, scoring the behavior attribute of the target object visiting the website to be detected according to the form data input by the target object to obtain a third score includes: if it is determined for a third preset number of consecutive times that the form data input by the target object includes a preset tag, and the preset tag includes a preset script code and / or a preset statement, performing a seventh deduction operation on the target object, wherein the preset tag includes: <script>< / script> Tag pair.
[0096] Optionally, based on the interaction rate between the website to be detected and the server, the behavioral attributes of the target object visiting the website to be detected are scored to obtain a fourth score, including: if within the third preset time period, the interaction rate between the website to be detected and the server is greater than the fifth preset threshold, performing an eighth deduction operation on the target object.
[0097] Optionally, before obtaining the first score, scoring the behavior attributes of the target object visiting the website to be detected based on the behavior data, the method further includes: obtaining historical data of the website to be detected, dividing the website to be detected into multiple different levels based on the historical data, and obtaining scoring strategies for the multiple different levels of websites to be detected; after scoring the behavior attributes of the target object visiting the website to be detected based on the behavior data and obtaining the first score, the method further includes: processing the first score according to the scoring strategy to obtain a first target score; and scoring the behavior attributes of the target object visiting the website to be detected based on the relationship between the first network link path and the second network link path of the active page. After scoring the behavior attributes of the target object of the website to obtain a second score, the method further includes: processing the second score according to the scoring strategy to obtain a second target score; after scoring the behavior attributes of the target object visiting the website to be detected according to the form data input by the target object to obtain a third score, the method further includes: processing the third score according to the scoring strategy to obtain a third target score; after scoring the behavior attributes of the target object visiting the website to be detected according to the interaction rate between the website to be detected and the server to obtain a fourth score, the method further includes: processing the fourth score according to the scoring strategy to obtain a fourth target score.
[0098] Optionally, according to different preset strategies, target objects within different score ranges are handled, including: enabling a preset fully automatic public Turing test CAPTCHA for distinguishing between computers and humans on the activity page visited by the second target object, and re-scoring the second target object if the second target object passes the CAPTCHA, wherein the second target object is a target object with a score within a first preset score range and has not experienced CAPTCHA; prohibiting the IP address corresponding to the third target object from accessing the website to be detected within a second preset time period, wherein the third target object is a target object that has passed the CAPTCHA and has a score within the first preset score range; prohibiting the IP address corresponding to the fourth target object from accessing the website to be detected within a third preset time period, wherein the fourth target object is a target object that is prohibited from accessing the website to be detected a number of times greater than the first preset number within the second preset time period; prohibiting the IP address corresponding to the fifth target object from accessing the website to be detected within a fourth preset time period, wherein the fifth target object is a target object that is prohibited from accessing the website to be detected a number of times greater than the second preset number within the third preset time period.
[0099] It should be noted that the above Figure 2 The modules in the embodiment may be program modules (e.g., a set of program instructions for implementing a specific function) or hardware modules. For the latter, they may be expressed in the following forms, but are not limited thereto: the expression form of the above modules is a processor, or the functions of the above modules are implemented by a processor.
[0100] It should be noted that Figure 2 The preferred implementation of the illustrated embodiment can be found in Figure 1 The relevant description of the illustrated embodiment will not be repeated here.
[0101] Figure 3 FIG. 1 shows a hardware structure block diagram of a computer terminal for implementing a security detection method. Figure 3 As shown, the computer terminal 30 may include one or more (302a, 302b, ..., 302n are used to illustrate) processors 302 (the processor 302 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory 304 for storing data, and a transmission module 306 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the BUS bus), a network interface, a power supply and / or a camera. It can be understood by those skilled in the art that Figure 3 The structure shown is only for illustration and does not limit the structure of the above electronic device. Figure 3 More or fewer components as shown, or with Figure 3 Different configurations are shown.
[0102] It should be noted that the one or more processors 302 and / or other data processing circuits described above may generally be referred to herein as "data processing circuits". The data processing circuits may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be incorporated in whole or in part into any of the other components in the computer terminal 30. As described in the embodiments of the present application, the data processing circuit acts as a processor control (e.g., selection of a variable resistor terminal path connected to an interface).
[0103] The memory 304 can be used to store software programs and modules of application software, such as program instructions / data storage devices corresponding to the security detection method in the embodiment of the present application. The processor 302 executes various functional applications and data processing by running the software programs and modules stored in the memory 304, that is, realizing the above-mentioned security detection method. The memory 304 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 304 may further include a memory remotely arranged relative to the processor 302, and these remote memories may be connected to the computer terminal 30 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0104] The transmission module 306 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the computer terminal 30. In one example, the transmission module 306 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission module 306 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0105] The display may be, for example, a touch screen liquid crystal display (LCD), which may enable the target object to interact with the target object interface of the computer terminal 30 .
[0106] It should be noted that, in some optional embodiments, the above Figure 3 The computer terminal shown may include hardware elements (including circuits), software elements (including computer code stored on a computer-readable medium), or a combination of hardware elements and software elements. It should be noted that Figure 3 This is merely one example of a particular embodiment and is intended to illustrate the types of components that may be present in the computer terminal described above.
[0107] It should be noted that Figure 3 The computer terminal shown is used to execute Figure 1 The security detection method shown, therefore the relevant explanations in the execution method of the above command are also applicable to the electronic device and will not be repeated here.
[0108] An embodiment of the present application further provides a non-volatile storage medium, which includes a stored program, wherein when the program is running, the device where the storage medium is located is controlled to execute the above security detection method.
[0109] A program for a non-volatile storage medium to perform the following functions: obtaining behavior data of a target object that accesses an active page corresponding to a website to be detected; scoring the behavior attributes of the target object that accesses the website to be detected based on the behavior data to obtain a first score; scoring the behavior attributes of the target object that accesses the website to be detected based on the relationship between a first network link path and a second network link path of the active page to obtain a second score, wherein the second network link path is a network link corresponding to a first page, and the first page is a page previous to the active page; scoring the behavior attributes of the target object that accesses the website to be detected based on form data input by the target object to obtain a third score; scoring the behavior attributes of the target object that accesses the website to be detected based on an interaction rate between the website to be detected and a server to obtain a fourth score; in a preset Within the time period, the Internet Protocol IP address corresponding to the first target object among the target objects that visit the activity page is sent to the server, wherein the first target object is a target object whose target score is less than a first preset threshold, and the target score is the sum of the first score, the second score, the third score and the fourth score. The server is used to determine a first number of IP addresses corresponding to the first target object within the preset time period, and send a first identifier to the client when the first number is greater than the second preset threshold; receive the first identifier sent by the server, and score the behavior attribute of the target object that visits the website to be detected based on the first identifier to obtain a fifth score; when the target object visits the website to be detected for more than the first preset time period, count the score of the target object, and deal with the target objects within different score ranges according to different preset strategies.
[0110] An embodiment of the present application further provides an electronic device, including: a memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the above security detection method is executed when the program is running.
[0111] The processor is used to run a program that performs the following functions: obtaining behavior data of a target object that visits an active page corresponding to a website to be detected; scoring the behavior attributes of the target object that visits the website to be detected based on the behavior data to obtain a first score; scoring the behavior attributes of the target object that visits the website to be detected based on a relationship between a first network link path and a second network link path of the active page to obtain a second score, wherein the second network link path is a network link corresponding to a first page, and the first page is a page previous to the active page; scoring the behavior attributes of the target object that visits the website to be detected based on form data input by the target object to obtain a third score; scoring the behavior attributes of the target object that visits the website to be detected based on an interaction rate between the website to be detected and a server to obtain a fourth score; at a preset time The server determines the first number of IP addresses corresponding to the first target object in the preset time length, and sends a first identifier to the client when the first number is greater than the second preset threshold value; receives the first identifier sent by the server, and scores the behavior attributes of the target object visiting the website to be detected based on the first identifier to obtain a fifth score; and when the target object visits the website to be detected for more than the first preset time length, counts the score of the target object, and handles the target objects within different score ranges according to different preset strategies.
[0112] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.
[0113] In the above embodiments of the present application, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, please refer to the relevant description of other embodiments.
[0114] In the above-mentioned embodiments of the present application, the collected information is information and data authorized by the target object or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary protection measures, do not violate public order and good morals, and provide corresponding operation entrances for the target object to choose to authorize or refuse.
[0115] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0116] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0117] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0118] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or optical disk, etc. Various media that can store program codes.
[0119] The above is only a preferred implementation of the present application. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the scope of protection of the present application.
Claims
1. A safety detection method, characterized in that: include: Obtaining behavior data of the target object who visits the activity page corresponding to the website to be detected; Scoring the behavior attribute of the target object visiting the website to be detected according to the behavior data to obtain a first score, and scoring the behavior attribute of the target object visiting the website to be detected according to the relationship between the first network link path and the second network link path of the active page to obtain a second score, wherein the second network link path is a network link corresponding to a first page, and the first page is a page previous to the active page; Scoring the behavior attribute of the target object visiting the website to be detected according to the form data input by the target object to obtain a third score, and scoring the behavior attribute of the target object visiting the website to be detected according to the interaction rate between the website to be detected and the server to obtain a fourth score; Within a preset time length, an Internet Protocol IP address corresponding to a first target object among the target objects accessing the activity page is sent to a server, wherein the first target object is a target object whose target score is less than a first preset threshold, and the target score is the sum of the first score, the second score, the third score, and the fourth score, and the server is used to determine a first number of IP addresses corresponding to the first target object within the preset time length, and send a first identifier to the client when the first number is greater than a second preset threshold; receiving the first identifier sent by the server, and scoring the behavior attribute of the target object visiting the website to be detected according to the first identifier to obtain a fifth score; In the case that the target object visits the website to be detected for more than a first preset time, the score of the target object is counted, and target objects within different score ranges are handled according to different preset strategies.
2. The method according to claim 1, characterized in that Scoring the behavior attribute of the target object visiting the website to be detected according to the behavior data to obtain a first score includes: Monitoring the activity events of the target object in the activity page within a second preset time period, wherein the activity events include at least: mouse activity events, mouse click events, and keyboard input events, wherein the mouse activity events include at least: mouse tracks, the mouse click events include at least: the click frequency of the mouse within a third preset time period, and the keyboard input events include at least: the input frequency of the keyboard within a fourth preset time period; When the mouse track is not detected and the active page performs a preset behavior, performing a first point deduction operation on the target object, wherein the preset behavior includes: jumping, clicking, and scrolling; In the case of detecting a first mouse track, performing a second point deduction operation on the target object, wherein the first mouse track is a mouse track whose activity range is smaller than a preset range; When it is detected that the click frequency of the mouse within a third preset time period is greater than a third preset threshold, performing a third point deduction operation on the target object; When it is detected that the input frequency of the keyboard within a fourth preset time period is greater than a fourth preset threshold, performing a fourth point deduction operation on the target object; The moment when the data interface is requested to return data in response to the keyboard input event is determined as the first moment, and the moment when the keyboard input event occurs next time after the first moment is determined as the second moment. If the time interval between the second moment and the first moment is within a first preset number of times and is within a first preset interval, the fifth point deduction operation is performed on the target object.
3. The method according to claim 1 or 2, characterized in that: Scoring the behavior attribute of the target object accessing the website to be detected according to the relationship between the first network link path and the second network link path of the activity page to obtain a second score includes: If it is determined that there is no preset corresponding relationship between the first network link path and the second network link path for a second preset number of times in a row, a sixth point deduction operation is performed on the target object.
4. The method according to claim 1, characterized in that: Scoring the behavior attribute of the target object visiting the website to be detected according to the form data input by the target object to obtain a third score includes: If it is determined for the third consecutive preset number of times that the form data input by the target object includes a preset tag, and the preset tag includes a preset script code and / or a preset statement, a seventh point deduction operation is performed on the target object, wherein the preset tag includes: <script>< / script> Tag pair.
5. The method according to claim 1 or 4, characterized in that: Scoring the behavior attribute of the target object accessing the website to be detected according to the interaction rate between the website to be detected and the server to obtain a fourth score includes: If within the third preset time period, the interaction rate between the website to be detected and the server is greater than the fifth preset threshold, an eighth point deduction operation is performed on the target object.
6. The method according to claim 1, characterized in that Scoring the behavior attribute of the target object visiting the website to be detected according to the behavior data, before obtaining the first score, the method further includes: Acquire historical data of the website to be detected, classify the website to be detected into a plurality of different levels according to the historical data, and acquire scoring strategies for the websites to be detected of the plurality of different levels; Scoring the behavior attributes of the target object visiting the website to be detected according to the behavior data, after obtaining a first score, the method further includes: According to the scoring strategy, the first score is processed to obtain a first target score; According to the relationship between the first network link path and the second network link path of the activity page, scoring the behavior attribute of the target object visiting the website to be detected, after obtaining the second score, the method further includes: According to the scoring strategy, the second score is processed to obtain a second target score; After scoring the behavior attribute of the target object visiting the website to be detected according to the form data input by the target object and obtaining the third score, the method further includes: Processing the third score according to the scoring strategy to obtain a third target score; According to the interaction rate between the website to be detected and the server, scoring the behavior attribute of the target object accessing the website to be detected, after obtaining the fourth score, the method further includes: The fourth score is processed according to the scoring strategy to obtain a fourth target score.
7. The method according to claim 1, characterized in that According to different preset strategies, target objects within different score ranges are handled, including: Enable a preset fully automatic public Turing test CAPTCHA to distinguish between computers and humans on the activity page visited by the second target object, and if the second target object passes the CAPTCHA, re-score the second target object, wherein the second target object is a target object with a score within a first preset score range and has not experienced the CAPTCHA; prohibiting an IP address corresponding to a third target object from accessing the website to be detected within a second preset time period, wherein the third target object is a target object that passes the CAPTCHA and has a score within the first preset score range; prohibiting an IP address corresponding to a fourth target object from accessing the website to be detected within a third preset time period, wherein the fourth target object is a target object whose number of prohibited accesses to the website to be detected is greater than the first preset number of times within the second preset time period; The IP address corresponding to the fifth target object is prohibited from accessing the website to be detected within a fourth preset time period, wherein the fifth target object is a target object that is prohibited from accessing the website to be detected a number of times greater than a second preset number of times within a third preset time period.
8. A safety detection device, characterized in that: include: An acquisition module is used to acquire the behavior data of the target object who visits the activity page corresponding to the website to be detected; A first determination module is used to score the behavior attribute of the target object visiting the website to be detected according to the behavior data to obtain a first score, and to score the behavior attribute of the target object visiting the website to be detected according to the relationship between the first network link path and the second network link path of the active page to obtain a second score, wherein the second network link path is a network link corresponding to a first page, and the first page is a page previous to the active page; A second determination module is used to score the behavior attribute of the target object visiting the website to be detected according to the form data input by the target object to obtain a third score, and to score the behavior attribute of the target object visiting the website to be detected according to the interaction rate between the website to be detected and the server to obtain a fourth score; a sending module, configured to send, within a preset time period, to a server an Internet Protocol IP address corresponding to a first target object among target objects accessing the activity page, wherein the first target object is a target object whose target score is less than a first preset threshold, and the target score is the sum of the first score, the second score, the third score, and the fourth score; the server is configured to determine a first number of IP addresses corresponding to the first target object within the preset time period, and send a first identifier to the client when the first number is greater than a second preset threshold; a third determination module, configured to receive the first identifier sent by the server, and score the behavior attribute of the target object visiting the website to be detected according to the first identifier to obtain a fifth score; The processing module is used to count the score of the target object when the target object visits the website to be detected for more than a first preset time, and to process the target objects within different score ranges according to different preset strategies.
9. A non-volatile storage medium, characterized in that: The non-volatile storage medium includes a stored program, wherein when the program is running, the device where the non-volatile storage medium is located is controlled to execute the security detection method according to any one of claims 1 to 7.
10. An electronic device, characterized in that: include: A memory and a processor, wherein the processor is used to run a program stored in the memory, wherein the program executes the security detection method described in any one of claims 1 to 7 when running.
11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the security detection method according to any one of claims 1 to 7 is implemented.
