Security detection processing method and related equipment

By obtaining the device's operating program and input method security detection parameters, evaluating the probability of remote operation and executing corresponding strategies, it solves the problem that existing anti-virus software cannot effectively prevent illegal remote control and improves the security of the device.

CN118659890APending Publication Date: 2024-09-17MASHANG CONSUMER FINANCE CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410020825.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-04
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing anti-virus software cannot prevent illegal attackers from remotely controlling user equipment based on the actual situation of user equipment, and cannot identify emerging viruses, which increases the risk of illegal attackers remotely controlling user equipment.

Method used

By obtaining the running program security detection parameters and input method security detection parameters of the device to be detected, the probability of the device being remotely operated is calculated, and security protection strategies are implemented based on this probability, including popping up security risk notification pop-ups or intercepting business operations, to improve the device's Security.

Benefits of technology

It achieves accurate risk assessment and targeted security protection of the equipment to be tested, improves the security of the equipment and prevents illegal remote control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118659890A
    Figure CN118659890A
Patent Text Reader

Abstract

The invention provides a safety detection processing method and related device.The safety detection processing method comprises the steps that N safety detection parameters of to-be-detected equipment are obtained, the N safety detection parameters at least comprise running program safety detection parameters and input method safety detection parameters, N safety detection results are obtained based on the N safety detection parameters, and the N safety detection results are sent to the to-be-detected equipment; and based on the N security detection results, determining the probability that the to-be-detected device is remotely operated, and based on the probability that the to-be-detected device is remotely operated, executing a security protection strategy for the to-be-detected device. Through the method and the device, the probability that the to-be-detected equipment is remotely operated can be accurately predicted, so that the safety degree of the to-be-detected equipment is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of security detection technology, and in particular to a security detection processing method and related equipment. Background Art

[0002] With the development of computer technology, there are more and more cases where illegal attackers remotely control user devices to achieve online transfers that are not in accordance with the user's subjective will. In related technologies, the way to prevent illegal attackers from remotely controlling user devices is to use third-party antivirus software on the user's terminal to detect whether the terminal used by the user is infected with a virus, thereby preventing illegal attackers from remotely controlling the user's device. Summary of the invention

[0003] The embodiments of the present application provide a security detection processing method and related equipment, which can accurately predict the probability of a device to be detected being remotely operated, thereby improving the security level of the device to be detected.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] The present application provides a security detection processing method, including:

[0006] Acquire N security detection parameters of the device to be detected, wherein the N security detection parameters at least include a running program security detection parameter and an input method security detection parameter;

[0007] Based on the N security detection parameters, N security detection results are obtained, and based on the N security detection results, a probability that the device to be detected is remotely operated is determined;

[0008] Based on the probability that the device to be detected is remotely operated, a security protection strategy for the device to be detected is executed.

[0009] The present application provides a security detection and processing device, including:

[0010] A parameter acquisition module, used to acquire N security detection parameters of the device to be detected, wherein the N security detection parameters at least include a running program security detection parameter and an input method security detection parameter;

[0011] A security detection module, used to obtain N security detection results based on the N security detection parameters, and determine the probability that the device to be detected is remotely operated based on the N security detection results;

[0012] The security protection module is used to execute a security protection strategy for the device to be detected based on the probability that the device to be detected is remotely operated.

[0013] An embodiment of the present application provides an electronic device, including:

[0014] A memory for storing executable instructions;

[0015] The processor is used to implement the security detection processing method provided in the embodiment of the present application when executing the executable instructions stored in the memory.

[0016] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute and implement the security detection processing method provided in the embodiment of the present application.

[0017] An embodiment of the present application provides a computer program product, including computer executable instructions, which, when executed by a processor, implement the security detection processing method provided in the embodiment of the present application.

[0018] The embodiments of the present application have the following beneficial effects:

[0019] Through the embodiment of the present application, N security detection parameters of the device to be detected are obtained, and the N security detection parameters include at least running program security detection parameters and input method security detection parameters; based on the N security detection parameters, N security detection results are obtained, and based on the N security detection results, the probability of the device to be detected being remotely operated is determined; based on the probability of the device to be detected being remotely operated, a security protection strategy for the device to be detected is executed. The security detection results obtained based on the running program security detection parameters and the input method security detection parameters can characterize the security risks faced by the device from the running program dimension and the input method dimension respectively, so the security protection strategy determined based on the security detection results of at least the above two dimensions can improve the security level of the device to be detected. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] Figure 1 It is a schematic diagram of the architecture of the security detection and processing system provided in the embodiment of the present application;

[0021] Figure 2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application;

[0022] Figure 3 It is a flowchart of a security detection and processing method provided in an embodiment of the present application;

[0023] Figure 4 It is an implementation flow chart of the security detection and processing method provided in the embodiment of the present application. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.

[0025] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it will be understood that “some embodiments” may be the same subset or different subsets of all possible embodiments and may be combined with each other without conflict.

[0026] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described here can be implemented in an order other than that illustrated or described here.

[0027] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0028] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.

[0029] 1) Accessibility Service (hereinafter referred to as automatic running program): Accessibility Service is a set of system-level application programming interfaces that can simulate operations. After the user agrees that the application obtains the permission of Accessibility Service, it can simulate operations to control the user's mobile phone. Accessibility Service is widely used in applications such as grabbing red envelopes, automatic replies, and one-click permission acquisition.

[0030] 2) Identity document (ID): Identity number. Also called a serial number or account number, it is a relatively unique code in a system, equivalent to an "ID card". In a specific thing, the identity number is generally unchanged. As for what is used to identify the thing, it is determined by the rules set by the designer himself.

[0031] 3) Remote operation application list: A code list of remote operation application information maintained by the server, which is sent to the application client through the server and is used by the client side to match the remote operation application.

[0032] 4) Android application package name: In Android, packageName is a unique identification string for an application. It is usually named in reverse domain name to ensure global uniqueness of the package name.

[0033] 5) A package name usually consists of three parts, but can be more, such as com.example.appname. The three parts are separated by dots. com: indicates that this is a package name prefix of a commercial organization, not an individual or other type of organization. Example is the domain name of the commercial organization (or the name representing the organization). The domain name of the organization, such as the company name, needs to be manually entered here to ensure global uniqueness. Appname is the application name, which is the specific identifier of the application.

[0034] In the related art, the method of preventing illegal attackers from remotely controlling user devices is to detect whether the terminal used by the user is infected by a virus through the third-party antivirus software of the terminal used by the user, thereby preventing illegal attackers from remotely controlling the user device. Although this method can prevent illegal attackers from remotely controlling user devices to a certain extent, the antivirus software cannot prevent illegal attackers from remotely controlling user devices according to the actual situation of the user device, and the antivirus software cannot identify newly emerging viruses, which increases the risk of illegal attackers remotely controlling user devices.

[0035] Based on this, the present application provides a security detection processing method, which can accurately predict the probability of a device to be detected being remotely operated, thereby improving the security level of the device to be detected.

[0036] See also Figure 1 , Figure 1 It is a schematic diagram of the architecture of the security detection and processing system 100 provided in an embodiment of the present application. To support a financial application, the terminal 400 is connected to the server 200 via the network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.

[0037] Terminal 400 is used to display the interface of the device to be detected in the graphical interface 410, so that the user can execute business in terminal 400 (device to be detected) through the graphical interface 410, obtain N security detection parameters of the device to be detected, the N security detection parameters at least include running program security detection parameters and input method security detection parameters, obtain N security detection results based on the N security detection parameters, and determine the probability of the device to be detected being remotely operated based on the N security detection results, and execute a security protection strategy for the device to be detected based on the probability of the device to be detected being remotely operated.

[0038] The server 200 is used to, in response to the device to be detected determining that the probability of the device to be detected being remotely operated is higher than a security risk threshold, receive the security detection result transmitted by the device through the network 300, so that the server intercepts and processes the business operation performed by the device to be detected based on the security protection policy for the device to be detected.

[0039] In some embodiments, the server 200 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms. The terminal may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, a car terminal, etc., but is not limited thereto. The terminal and the server may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.

[0040] The following describes an exemplary application of an electronic device for implementing a security detection processing method provided by an embodiment of the present application. The electronic device in the embodiment of the present application may be a server or a terminal. The following describes an exemplary application when the electronic device for implementing a security detection processing method is implemented as a server.

[0041] See also Figure 2 , Figure 2 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application, Figure 2 The electronic device 500 shown may be Figure 1 The server 200 or the terminal 400 in Figure 2 The electronic device 500 shown includes: at least one processor 410, a memory 450 and at least one network interface 420. The various components in the electronic device 500 are coupled together via a bus system 440. It is understood that the bus system 440 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 440 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 440 is not described in detail. Figure 2 Various buses are labeled as bus system 440 .

[0042] Processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0043] The user interface 430 includes one or more output devices 431 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.

[0044] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices that are physically remote from the processor 410.

[0045] The memory 450 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.

[0046] In some embodiments, memory 450 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.

[0047] Operating system 451, including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;

[0048] A network communication module 452, used to reach other electronic devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 include: Bluetooth, Wireless Compatibility Certification (WiFi), and Universal Serial Bus (USB), etc.;

[0049] a presentation module 453 for enabling presentation of information via one or more output devices 431 (e.g., display screen, speaker, etc.) associated with the user interface 430 (e.g., a user interface for operating peripherals and displaying content and information);

[0050] The input processing module 454 is used to detect one or more user inputs or interactions from one of the one or more input devices 432 and translate the detected inputs or interactions.

[0051] In some embodiments, the device provided in the embodiments of the present application can be implemented in software. Figure 2 The security detection processing device 455 stored in the memory 450 is shown, which can be software in the form of a program and a plug-in, etc., including the following software modules: a parameter acquisition module 4551, a security detection module 4552 and a security protection module 4553. These modules are logical, so they can be arbitrarily combined or further split according to the functions implemented. The functions of each module will be explained below.

[0052] In other embodiments, the device provided in the embodiments of the present application can be implemented in hardware. As an example, the device provided in the embodiments of the present application can be a processor in the form of a hardware decoding processor, which is programmed to execute the security detection processing method provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor can adopt one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field programmable gate arrays (FPGAs) or other electronic components.

[0053] The security detection and processing method provided in the embodiments of the present application will be described in conjunction with the exemplary application and implementation of the electronic device provided in the embodiments of the present application.

[0054] See also Figure 3 , Figure 3 is a flowchart of the security detection processing method provided in the embodiment of the present application, which will be combined with Figure 3 The steps shown are used for illustration. The security detection processing method provided in the embodiment of the present application can be implemented by a server or a terminal alone, or by a server and a terminal in collaboration. The following will be described using the example of implementation alone in a terminal.

[0055] In step 101, N security detection parameters of a device to be detected are obtained, and the N security detection parameters at least include running program security detection parameters and input method security detection parameters.

[0056] In actual applications, when a user accesses a device at a terminal to perform a business, in order to ensure the security of the business execution process, it is necessary to perform a security check on the device. In an embodiment of the present application, the device can be security checked through at least two dimensions. The security detection processing process provided by the embodiment of the present application is described in detail below.

[0057] Before performing the security check process, the triggering timing of the security check process provided by the embodiment of the present application is explained first. In the embodiment of the present application, the security check process can be triggered when the home page of the client running in the device is initialized, or when the user switches to the home page of the client. The client here can be a financial service client, and the specific security check process triggering timing can be set according to actual conditions.

[0058] After determining the security detection processing of the triggered device, the terminal can obtain N security detection parameters of the device to be detected. The N security detection parameters include at least running program security detection parameters and input method security detection parameters. They can also include push message security detection parameters and display security detection parameters. The N here represent N different dimensions.

[0059] As an example, the terminal may obtain N security detection parameters by reading parameters in the device to be detected after being authorized by the user, thereby obtaining the N security detection parameters.

[0060] As an example, in the application embodiment, when the terminal obtains the running program security detection parameters and the input method security detection parameters, it can also obtain the display security detection parameters and the push message security parameters.

[0061] In step 102, based on N security detection parameters, N security detection results are obtained, and based on the N security detection results, the probability that the device to be detected is remotely operated is determined.

[0062] As an example, the dimensions in which the terminal performs security detection processing on the device to be detected may include the following dimensions:

[0063] 1) Based on the running program safety detection parameters, an automatic running program safety detection process is performed on the device to be detected to obtain an automatic running program safety detection result, that is, a safety detection process is performed on the device in the dimension of automatic running program safety detection;

[0064] 2) Based on the input method security detection parameters, perform input method security detection on the device to be detected to obtain the input method security detection result, that is, perform input method security detection on the device;

[0065] 3) Performing display safety detection processing on the device to be detected based on the display safety detection parameters to obtain a display safety detection result, that is, performing display-dimensional safety detection processing on the device;

[0066] 4) Based on the push message security detection parameters, push message security detection is performed on the device to be detected to obtain a push message security detection result, that is, security detection is performed on the device in the push message dimension.

[0067] In some embodiments, the security detection parameters include running program security detection parameters. The automatic running program security detection result in step 102 is obtained through the following technical solution: according to the running program security detection parameters, determine the current automatic running program of the device to be detected, and based on a preset automatic running program blacklist, determine whether there is a target automatic running program in the automatic running program, the target automatic running program is an automatic running program in the automatic running program blacklist, if the target automatic running program exists in the automatic running program, then generate a first security detection result, if the target automatic running program does not exist in the automatic running program, then generate a second security detection result.

[0068] As an example, first, determine the automatic running program currently running on the device to be tested, and then determine whether there is a blacklisted program in the running automatic running program. If so, it is determined that there is a security risk (first security detection result); if not, it can be determined that there is no security risk (second security detection result).

[0069] As an example, if the device to be detected is currently running an automatic running program A, and the blacklist includes the automatic running program A and the automatic running program B, it is determined that the device to be detected currently has a security risk.

[0070] As an example, the automatic running program blacklist may be a blacklist of automatic running programs with high hidden dangers, and the blacklist may also include the hidden danger level of each automatic running program. For example, the automatic running program blacklist may record the following content: "Program A (1)", "Program B (2)", "Program C (1)", where the number in () is the hidden danger level corresponding to the automatic running program, and the higher the number, the higher the hidden danger level, and the higher the hidden danger level, the greater the hidden danger.

[0071] As an example, in actual applications, the automatic running program blacklist can be a list maintained by the terminal or a list maintained by the server. When the automatic running program blacklist is an automatic running program blacklist maintained by the server, each time a security check is performed, the server can send the latest automatic running program blacklist maintained by the server to the terminal for security check processing.

[0072] In some embodiments, the above-mentioned determination of whether there is a target automatic running program in the automatic running program can be achieved by the following technical scheme: if there is an intersection between the automatic running program and the automatic running program included in the automatic running program blacklist, it is determined that there is a target automatic running program in the automatic running program; if there is no intersection between the automatic running program and the automatic running program included in the automatic running program blacklist, keyword detection is performed on the automatic running program to obtain a keyword detection result; when the keyword detection result indicates that the target keyword exists in the automatic running program, the target automatic running program exists in the automatic running program; when the keyword detection result indicates that the target keyword does not exist in the automatic running program, the target automatic running program does not exist in the automatic running program.

[0073] As an example, through the getEnabledAccessibilityServiceList method of AccessibilityManager in Android, pass in the AccessibilityServiceInfo.FEEDBACK_ALL_MASK parameter (running program security detection parameter) to obtain the collection of all currently enabled automatic running programs.

[0074] Traverse the set of automatically running programs to determine whether the packageName of each automatically running program is in the automatically running program blacklist. If the package name of the automatically running program is in the automatically running program blacklist, generate a first security detection result with a potential security risk.

[0075] If the terminal determines that the current automatic running program has no intersection with the automatic running program blacklist, it can perform keyword detection on the automatic running program to determine whether there is a target keyword in the automatic running program. If so, the automatic running program is determined to be the target running program, otherwise the automatic running program is not the target running program.

[0076] In some embodiments, the above-mentioned keyword detection of the automatically running program to obtain the keyword detection result can be achieved through the following technical solution: obtain the description information corresponding to the automatically running program, extract the keywords in the description information as the keywords to be confirmed, and compare the keywords to be confirmed based on the target keywords to obtain the keyword detection result.

[0077] Call the loadDescription method of each automatically running program to obtain description information, and determine whether the description information contains keywords such as "remote operation" and "Remote" (target keywords). If the target keyword exists in the description information of the automatically running program, the automatically running program is determined to be a target running program, and a first security detection result with potential security risks can be generated.

[0078] As an example, the terminal may extract the to-be-confirmed keyword in the description information of the automatically-running program, and obtain the keyword detection result by comparing the to-be-confirmed keyword with the target keyword.

[0079] As an example, the automatic running program A is not an automatic running program included in the automatic running program blacklist. The description information of the automatic running program A is: "Word A, word B, word C, word D, word E.", and the target keyword is word C. Then the keyword detection result of the automatic running program A indicates that the automatic running program includes the target keyword.

[0080] In actual applications, the target keyword may be set by the maintenance personnel of the device to be detected or actively set by the user. The target keyword may be a keyword related to remote control, such as "remote operation" and "Remote".

[0081] In some embodiments, if the security detection parameter is an input method security detection parameter, the determination of the security detection result in step 102 is achieved through the following technical solution: according to the input method security detection parameter, determine the first input method set installed on the device to be detected, determine whether there is an intersection between the preset input method blacklist and the first input method set, and if there is no intersection between the preset input method blacklist and the first input method set, generate a second security detection result.

[0082] As an example, the device obtains the current input method list (the first input method set installed on the device to be detected) through the getInputMethodList method of the InputMethodManager object in Android. The input method security detection parameters here are the relevant parameters of the InputMethodManager object and the relevant parameters of the getInputMethodList method. The first input method set installed on the device to be detected is traversed, and the device determines whether the packageName (input method application package name) of each Item included in the first input method set installed on the device to be detected is in the preset input method blacklist, which can be packaged and built-in, or sent down by the server.

[0083] As an example, the terminal obtains the input method installed on the device to be detected. If it is determined that the installed input method is not in the input method blacklist, it is determined that there is no security risk in the device to be detected (second security detection result).

[0084] As an example, the input method blacklist may be a blacklist of input methods with high hidden dangers, and the blacklist may also include the hidden danger level of each input method. For example, the input method blacklist may record the following content: "Input method A (3)", "Input method B (1)", "Input method C (1)", where the number in () is the hidden danger level corresponding to the input method, and the higher the number, the higher the hidden danger level, and the higher the hidden danger level, the greater the hidden danger.

[0085] In actual applications, when it is determined that the input methods installed on the device to be tested include input methods in the input method blacklist, when the potential risk value of the client running on the device is higher than the potential risk threshold, the existence of the security risk is directly taken as the security detection result (the first security detection result); when the potential risk value of the client running on the device is not higher than the potential risk threshold, further security detection is performed.

[0086] In some embodiments, if there is an intersection between the preset input method blacklist and the first input method set, the target input method program is determined based on the intersection, the input method program loaded on the device to be detected is obtained, and the second input method set is obtained (consisting of the input method programs loaded on the device to be detected), and the input method security detection result is determined based on the target input method program and the second input method set.

[0087] As an example, if there is an input method in the input method blacklist among the installed input methods, the input method program loaded by the device to be detected is determined, and then the loaded input method program is security checked.

[0088] In some embodiments, the above-mentioned determination of the input method security detection result based on the target input method program and the second input method set can be achieved through the following technical scheme: when the target input method program is included in the second input method set, the input method program run by the device to be detected is obtained, and when the input method program run by the device to be detected is the same input method program as the target input method program, a first security detection result is generated; when the input method program run by the device to be detected is not the same input method program as the target input method program, a second security detection result is generated.

[0089] As an example, the input method program loaded by the device to be detected (the second input method set) is obtained through the getEnableInputMethodList method of the InputMethodManager object. When the input method program loaded by the device to be detected includes the above-mentioned target input method program, it is determined whether the target input method program is enabled. Through the Settings.Secure.getString static method provided by the system, the ContentResolver object of the current context and the Settings.Secure.DEFAULT_INPUT_METHOD constant string parameter are passed in to obtain the input method program running on the device to be detected, and it is determined whether the id of the running input method program is the same as the id of the target input method program. If they are the same, a first security detection result is generated.

[0090] As an example, when the installed input method program includes an input method in the input method blacklist, it is determined whether the input method program loaded by the device to be detected includes a target input method program in the installed input method programs; when the input method program loaded by the device to be detected includes a target input method program in the installed input method programs, it is determined whether the currently running input method includes the target input method program; if the currently running input method includes the target input method program, it is determined that there is a security risk in the device to be detected; otherwise, it is determined that there is no security risk in the device to be detected.

[0091] As an example, the input methods installed on the device to be detected include input method A, input method B, and input method C, and the input method blacklist includes input method A and input method D. Since input method A installed on the device to be detected is an input method in the input method blacklist, the input method loaded on the device to be detected is obtained, and the input methods loaded on the device to be detected are input method A and input method B. Since input method A loaded on the device to be detected is an input method in the input method blacklist, the input method currently running on the device to be detected is obtained, and input method B is currently running on the device to be detected. Input method B is not an input method in the input method blacklist, and it is determined that there is no security risk on the device to be detected.

[0092] As an example, the input method installed on the device to be detected refers to the input method installed in the device to be detected through an installation package or the like, the input method loaded on the device to be detected refers to the input method program that is installed and added to the input method candidate list through the setting interface in the terminal, and the input method that is running on the device to be detected refers to the input method that is currently being used by the device to be detected.

[0093] In some embodiments, if the security detection parameter is a display security detection parameter, the security detection result is obtained through the following technical solution: according to the display security detection parameter, the display data of the device to be detected is determined, and when the display data indicates that the display of the device to be detected is a non-main display, the removal time of the non-main display is obtained, and when the removal time corresponding to the non-main display is empty, a first security detection result is generated, and when the removal time corresponding to the non-main display is not empty, a second security detection result is generated.

[0094] The following describes the process of obtaining the display data of the device to be detected: listen by implementing the internal DisplayListener interface of DisplayManager in Android, and listen to the changes of the current display by implementing onDisplayAdded and onDisplayRemoved methods. When the monitored displayId is not equal to Display.DEFAULT_DISPLAY (primary display), it is recorded in the Map collection (non-primary display data) variable (recorded as: suspiciousDisplayInfos), and only the display ID (displayId) and the time of adding / removing are recorded. The display ID (displayId) and the time of adding / removing are both display data. The display safety detection parameters are the relevant parameters of the DisplayManager object, onDisplayAdded and onDisplayRemoved methods.

[0095] As an example, the terminal obtains display data of whether the display of the device to be detected is a non-main display, and determines whether the data includes the removal time of the non-main display. If the display of the device to be detected is a non-main display and does not include the removal time of the non-main display, it indicates that the device to be detected uses a non-main display and the non-main display has not been removed, then it is determined that the device to be detected is in a screen sharing state.

[0096] As an example, the display security detection parameters of the device to be detected represent the existence of access data of non-main display A and non-main display B, and there is a removal time of non-main display A, but no removal time of non-main display B, which indicates that the device to be detected is currently using non-main display B, and it is determined that the device to be detected is currently in screen sharing state.

[0097] As an example, traverse the suspiciousDisplayInfos Map collection in Android to determine the Value object (remembered as suspiciousDisplayInfo) of each Item in the collection.

[0098] Determine whether suspiciousDisplayInfo has a time to remove the display. If there is no removal time, it means that a non-primary display currently exists and is in a screen sharing state. If there is a removal time, it means that the corresponding non-primary display has been removed and is not in a screen sharing state.

[0099] In some embodiments, if the security detection parameters also include push message security detection parameters, the security detection result is achieved through the following technical solution: according to the push message security detection parameters, determine the push message program currently running on the device to be detected, and based on a preset push message program blacklist, determine whether there is a target push message program in the push message program, the target push message program is a push message program in the push message program blacklist, if the target push message program exists in the push message program, a first security detection result is generated, if the target push message program does not exist in the push message program, a second security detection result is generated.

[0100] As an example, through the Settings.Secure.getString static method in Android, pass in the ContentResolver object of the current context and the "enabled_notification_listeners" string parameter to obtain the string of the application list information of the current push message. The device splits the string by ':', then traverses the set of split strings, and uses the ComponentName.unflattenFromString static method provided by the system to parse the package name of the application (denoted as: packageName). Determine whether the packageName (application package name of the push message program) of each push message program is in the push message program blacklist. The blacklist can be built-in or issued by the server. If it is determined that a push message program is in the push message blacklist, a first security detection result is generated that indicates a security risk. If not, a second security detection result is generated that indicates that there is no security risk.

[0101] As an example, first, determine the push message program currently running on the device to be tested, and then determine whether there is a push message program in the push message blacklist among the running push message programs. If so, it is determined that there is a security risk (first security detection result); if not, it can be determined that there is no security risk (second security detection result).

[0102] As an example, the device to be detected is currently running push message program A, and the blacklist includes push message program A and push message program B, then it is determined that the device to be detected currently has a security risk.

[0103] As an example, the push message program blacklist may be a blacklist of push message programs with high hidden dangers, and the blacklist may also include the hidden danger level of each push message program. For example, the push message program blacklist may record the following content: "push message program A (1)", "push message program B (2)", "push message program C (1)", where the number in () is the hidden danger level corresponding to the push message program.

[0104] After determining the security detection results of N dimensions, the probability that the device to be detected is remotely operated can be determined.

[0105] The following describes the process of determining the probability that the device to be detected is remotely operated.

[0106] In some embodiments, the security detection results of N dimensions include automatic program running security detection results, input method security detection results, display security detection results and push message security detection results. In step 103, the probability of the device to be detected being remotely operated is determined based on the security detection results of N dimensions. This can be achieved by the following technical solution: mapping processing is performed on the automatic program running security detection results, the input method security detection results, the display security detection results and the push message security detection results, respectively, to obtain a first sub-probability corresponding to the automatic program running security detection result, a first sub-probability corresponding to the input method security detection result, a first sub-probability corresponding to the display security detection result and a first sub-probability corresponding to the push message security detection result; the first sub-probability corresponding to the automatic program running security detection result, the first sub-probability corresponding to the input method security detection result, the first sub-probability corresponding to the display security detection result and the first sub-probability corresponding to the push message security detection result are fused to obtain the probability of the device to be detected being remotely operated.

[0107] As an example, the terminal determines the automatic running program security detection result, the input method security detection result, the first sub-probability of the corresponding display security detection result and the sub-probability corresponding to the push message security detection result, and integrates the sub-probabilities of each dimension to obtain the probability that the device to be detected is remotely operated.

[0108] For example, the first sub-probability corresponding to the automatic running program security detection result is 0.2, the first sub-probability corresponding to the input method security detection result is 0.3, the first sub-probability corresponding to the display security detection result is 0.1, and the first sub-probability corresponding to the push message security detection result is 0.1. The probability that the device to be detected is remotely operated can be the sum of the first sub-probabilities of each dimension, which is 0.7.

[0109] In practical applications, the probability of the device to be detected being remotely operated can also be characterized by scoring. For example, the score corresponding to the automatic program safety detection result is 20, the score corresponding to the input method safety detection result is 30, the score corresponding to the first sub-probability of the display safety detection result is 10, and the score corresponding to the push message safety detection result is 30. The comprehensive probability can be the sum of the scores of each dimension, and the probability of the device to be detected being remotely operated is 90%. The score of each dimension can be set manually, or it can be determined according to the hidden danger level of each program recorded in the blacklist of each dimension. For example, the automatic program blacklist can record the following content: "Program A (1)", "Program B (2)", "Program C (1)" () The numbers in it are the hidden danger levels corresponding to the automatic program. If the device to be detected includes program A on the automatic program blacklist, the score corresponding to the automatic program safety detection result can be 10. If the device to be detected includes program B on the automatic program blacklist, the score corresponding to the automatic program safety detection result can be 20. The specific score can be set according to the actual situation and is not specifically limited here.

[0110] The above is a process of directly fusing the first sub-probability of the corresponding automatic control program security detection result, the first sub-probability of the corresponding input method security detection result, the first sub-probability of the corresponding display security detection result, and the first sub-probability of the corresponding push message security detection result through mathematical operations. The following introduces another method of fusing the first sub-probability of the corresponding automatic control program security detection result, the first sub-probability of the corresponding input method security detection result, the first sub-probability of the corresponding display security detection result, and the corresponding push message security detection result.

[0111] In some embodiments, the first sub-probability corresponding to the automatic control program security detection result, the first sub-probability corresponding to the input method security detection result, and the corresponding push message security detection result can be first fused to obtain a first comprehensive probability. As an example, the first sub-probability corresponding to the automatic running program security detection result is 0.2, the first sub-probability corresponding to the input method security detection result is 0.3, and the first sub-probability corresponding to the push message security detection result is 0.1. The first comprehensive probability can be the sum of the first sub-probabilities of each dimension, which is 0.6.

[0112] Next, determine whether the first comprehensive probability is less than the first hidden danger threshold. When the first comprehensive probability is not less than the first hidden danger threshold, use the first comprehensive probability as the probability that the device to be detected is remotely operated; when the first comprehensive probability is less than the first hidden danger threshold and the device to be detected is not running an automatic operation program, use the first comprehensive probability as the probability that the device to be detected is remotely operated; when the first comprehensive probability is less than the first hidden danger threshold and the device to be detected is running an automatic operation program, map the display detection result to obtain a first sub-probability of the corresponding display safety detection result, and use the first sub-probability of the corresponding display safety detection result to update the first comprehensive probability; use the updated first comprehensive probability as the probability that the device to be detected is remotely operated.

[0113] As an example, when the first comprehensive probability is not less than the first hidden danger threshold, the first comprehensive probability is used as the probability that the device to be detected is remotely operated, which indicates that it can be judged that the device to be detected is not in a safe state through the automatic running program security detection results, the input method security detection results and the push message security detection results. Therefore, the first comprehensive probability is directly used as the probability that the device to be detected is remotely operated.

[0114] Since the first comprehensive probability is the fusion result of the security detection results of the three dimensions of automatic program running security detection, input method security detection and push message security detection, in order to further improve the accuracy of the security detection results, a secondary security detection can be performed on the device to be detected by combining the display security detection dimension and the automatic program running security detection dimension.

[0115] In actual applications, when a device is running an automatic running program and the device to be detected is in a screen sharing state, it can be considered that the device to be detected is in a high-risk state. Therefore, when it is determined that the device to be detected is running an automatic running program, it can be judged whether the device to be detected is in a screen sharing state, and then whether the device to be detected is in a safe state.

[0116] As an example, when the first comprehensive probability is less than the first hidden danger threshold, and the device to be detected does not run the automatic operation program, the first comprehensive probability can be used as the probability that the device to be detected is remotely operated. The value of the first hidden danger threshold can be an empirical value set manually, or it can be a value calculated based on historical data. For example, if the first hidden danger threshold is 0.8, the first comprehensive probability is 0.6, and the device to be detected does not run the automatic operation program, then 0.6 is used as the final probability that the device to be detected is remotely operated.

[0117] Optionally, when the first comprehensive probability is less than the first hidden danger threshold and the device to be detected is running an automatic operation program, the display safety detection result is mapped to obtain a first sub-probability corresponding to the display safety detection result, and the first sub-probability corresponding to the display safety detection result is used to update the first comprehensive probability, and the updated probability is used as the probability that the device to be detected is remotely operated.

[0118] As an example, the first hidden danger threshold is 0.7, and the first comprehensive probability is 0.5. At this time, if the device to be detected is running an automatic running program, it is necessary to map the display security detection result to obtain the first sub-probability of the corresponding display security detection result, and use the first sub-probability of the corresponding display security detection result as the final probability that the device to be detected is remotely operated. For example, if the device to be detected is in a screen sharing state, it is determined that the device to be detected is in a high-risk state, and the first sub-probability of the corresponding display security detection result is set to 1. If the device to be detected is not in a screen sharing state, it is considered that the device to be detected is in a safe state, and the first sub-probability of the corresponding display security detection result is set to 0. When the first comprehensive probability is less than the first hidden danger threshold, and the device to be detected is running an automatic running program, the first sub-probability of the corresponding display security detection result is used as the updated first comprehensive probability, and the updated first comprehensive probability is used as the probability that the device to be detected is remotely operated. The reason for doing this is that in the process of actually implementing the solution provided in the embodiment of the present application, it is found that when the device to be detected is in a high-risk state, the device to be detected is often in a screen sharing state. Therefore, when the security detection results of the three dimensions of the automatic running program security detection dimension, the input method security detection dimension, and the push message security detection dimension are combined to characterize that the device is safe, the device to be detected is further judged by combining the display security detection dimension for a second time (judging whether the device to be detected is in a safe state). By adding a judgment process and adding a security detection dimension, it is possible to further provide security for the device to be detected, thereby achieving the technical effect of improving the safety level of the device to be detected.

[0119] It should be noted that, if the screen is not in a shared state, the unupdated first comprehensive probability may also be used as the probability that the device to be detected is remotely operated.

[0120] As an example, if the finally obtained probability that the device to be detected is remotely operated is less than the second hidden danger threshold, it is determined that the device to be detected is in a safe state, and 0 can be set as the probability that the device to be detected is remotely operated.

[0121] After determining that the first comprehensive probability is less than the first hidden danger threshold, it is determined whether the device to be detected allows an automatic running program. If the device to be detected runs an automatic running program, the first sub-probability of the corresponding display safety detection result is used as the updated first comprehensive probability.

[0122] It can be seen that by combining the security detection results of multiple dimensions, the accuracy of the probability of the detected device being remotely operated is improved, thereby improving the accuracy of subsequent security protection strategies and ensuring the security of business execution.

[0123] In step 103, based on the probability that the device to be detected is remotely operated, a security protection strategy for the device to be detected is executed.

[0124] After the probability that the device to be detected is remotely operated is obtained, a corresponding security protection strategy may be executed based on the value of the probability that the device to be detected is remotely operated.

[0125] The process of implementing security protection strategies is described in detail below.

[0126] In some embodiments, in step 103, based on the probability that the device to be detected is remotely operated, a security protection strategy for the device to be detected is executed, which can be achieved through the following technical solutions: when it is determined that the probability that the device to be detected is remotely operated exceeds a second threshold, a pop-up window for notifying security risks is popped up in the device to be detected, or when it is determined that the probability that the device to be detected is remotely operated exceeds the second threshold, the security detection results of N dimensions are uploaded to the server, so that the server intercepts and processes the business operations performed by the device to be detected.

[0127] As an example, two security protection strategies are provided in the embodiment of the present application. The first is that when the probability of the device to be detected being remotely operated exceeds the second threshold, the device pops up a security risk pop-up window to the user to inform the user of the potential danger, so that the user can determine whether to continue to perform the business according to the pop-up window. The second is that when the probability of the device to be detected being remotely operated exceeds the second threshold, the security detection results of each dimension can be uploaded to the server, so that when the user's business execution reaches the key step, the server will intercept it and prevent the user from continuing to perform the business. In actual applications, the security protection strategy can be one of the above-mentioned security protection strategies, or it can be both of the above-mentioned strategies. The execution of the specific security protection strategy can be set according to the actual situation, and no specific limitation is made here.

[0128] When it is determined that the probability of the device to be detected being remotely operated is 0, the operator of each automatic running program included in the set of automatic running programs (as the first operator), the operator of each input method program included in the first input method set (as the second operator), and the operator of each push message program included in the set of push message programs (as the third operator) can be determined. When at least two of the first operator, the second operator, and the third operator are the same, it is determined that at least two of the automatic running program, input method program, and push message program corresponding to the device to be detected are provided by the same operator, it is determined that the device to be detected may have security risks, and the corresponding security protection strategy is executed.

[0129] For example, the automatic running program corresponding to the device is provided by Company A, the input method program corresponding to the device is provided by Company A, and the push message program corresponding to the device is provided by Company B. It can be seen that the automatic running program and input method program corresponding to the device are provided by the same company, which may pose a security risk.

[0130] In recent years, fraud in the financial credit field has caused property losses to users, and has also caused great public opinion risks and asset losses to companies. Fraudsters induce users to download and install remote operation software, and after users enable permissions, fraudsters directly remotely control users' mobile devices to perform financial operations, which poses great risks and causes losses to users' property and company assets. At present, there is no effective technical solution to deal with this type of fraud.

[0131] The embodiment of the present application mainly performs real-time detection on the user's mobile device to see if it is suspected of being remotely controlled during the process of the user using the App, and determines whether there is a risk of remote control by detecting changes in the display, automatically running programs, remote input methods, and push message monitoring services. The degree of the risk is then determined based on the detection results to determine whether there is currently remote control, so as to determine whether the user's operation needs to be blocked. The risk can be notified through a pop-up window in the local user interface or through server-side tags and business-layer interception to prevent the occurrence of the risk.

[0132] Combine the following Figure 4 The implementation method of the security detection and processing method provided in the embodiment of the present application is introduced in the actual application scenario.

[0133] In recent years, the number of cases involving online security issues has been increasing. Even though there are many ways to deal with online security issues, the growth momentum of online security issues has not been effectively curbed. The situation of online security issues in the financial credit field is particularly severe. Online security issues in this field often cause resource losses to users, and at the same time bring greater public opinion risks and resource losses to enterprises. Now the means of attack of illegal attackers may be to guide users to download and install remote operation software. After the user opens the permission, the illegal attacker directly remotely operates the user's mobile device to perform financial-related operations, thereby causing resource losses to the user. At present, there is no effective technical solution to deal with this type of online attack methods, resulting in online security issues in this scenario becoming more and more common.

[0134] Based on this, the following Figure 4 The implementation method of the security detection and processing method provided in the embodiment of the present application is introduced in the actual application scenario.

[0135] Figure 4 It is an implementation flow chart of the security detection and processing method provided in the embodiment of the present application.

[0136] In step 201, the user activates the device.

[0137] In step 202, the device starts screen display monitoring.

[0138] After the device application is started, display monitoring is enabled first. The main purpose is to monitor display changes and determine whether there are suspicious operations such as screen sharing.

[0139] In step 203, the device records the display ID change status.

[0140] The device listens by implementing the internal DisplayListener interface of DisplayManager in Android, and monitors changes in the current display by implementing the onDisplayAdded and onDisplayRemoved methods. When the monitored displayId is not equal to Display.DEFAULT_DISPLAY (primary display), it is recorded in the Map collection (non-primary display data) variable (recorded as: suspiciousDisplayInfos), and only the display ID (displayId) and the time of addition / removal are recorded.

[0141] In step 204, each page switch of the device triggers a security check.

[0142] The security detection is triggered when the page is switched or the device page is entered for the first time. For example, the user enters the home page -> login page -> login operation -> credit face recognition page -> two-factor page -> credit investigation page -> credit review page -> withdrawal page. The detection can be triggered when the user enters different pages. The specific scenario can be set according to the actual business performed.

[0143] In step 205, the device detects whether its own page is remotely operated.

[0144] The device detects whether its own page is remotely operated through the following steps 2051 to 2054.

[0145] In step 2051, the device detects changes in the display.

[0146] The device traverses the suspectedDisplayInfos Map collection in Android to determine the Value object (recorded as suspectedDisplayInfo) of each Item in the collection.

[0147] The device determines whether the suspiciousDisplayInfo has a time to remove the display. If there is no removal time, it means that there are other virtual displays (non-primary displays) at present. If there is a removal time, it means that the corresponding virtual display has been removed. If there is no removal time, it means that other virtual displays are still working and screen sharing is possible. After the suspiciousDisplayInfos Map set traversal is completed, the device determines whether there is screen sharing in the local record. If so, the screen sharing label is marked as true (recorded as: screenShareFlag).

[0148] In step 2052, the device detects whether there is any suspicious accessibility service (automatically running program).

[0149] The device passes the AccessibilityServiceInfo.FEEDBACK_ALL_MASK parameter through the getEnabledAccessibilityServiceList method of AccessibilityManager in Android to obtain the set of all currently enabled accessibility services and record the number of the set (recorded as: accessibilityCount).

[0150] The device traverses the accessibility service collection and determines whether the packageName (accessibility service application) of each Item is in the remote operation application list (automatically run program blacklist).

[0151] The device calls the loadDescription method (description information) of each Item to determine whether the description information contains the keywords "remote operation" and "Remote" (target keywords) (mark the items that meet the requirements for uploading to the server to update the remote operation application list).

[0152] If there is an Item in the remote control application list, or the target keyword exists in the description information of the Item, the device marks the tag of the remote control operation service in the local record as true (recorded as: remoteControlFlag).

[0153] In step 2053, the device detects whether there is any suspicious input method.

[0154] The device obtains the current input method list (first input method set) through the getInputMethodList method of the InputMethodManager object in Android. After traversing the first input method set, the device determines whether the packageName (input method application package name) of each Item included in the first input method set is in the remote operation application list (input method blacklist) (the blacklist can be built-in or sent by the server).

[0155] The device obtains the currently enabled input method list (the second input method set) through the getEnableInputMethodList method of the InputMethodManager object in Android, and determines whether the current input method (target input method program) application is enabled.

[0156] The device uses the Settings.Secure.getString static method in Android to pass in the ContentResolver object of the current context and the Settings.Secure.DEFAULT_INPUT_METHOD constant string parameter to obtain the id of the currently running input method application and determine whether the id is the same as the id of the current item.

[0157] When the currently running input method is the same as the Item, the device marks the tag of the remote control input method stored in the local record as true (recorded as: remoteInputFlag).

[0158] When the device determines that the tag of remoteControlFlag is false, it determines whether the prefix of the package name of the accessibility service in the accessibility service set is the same as that of the (input method service set or push message). If they are the same, the accessibility service is added to the accessibility service risk list.

[0159] The device may determine whether the prefixes are the same by: determining whether the first three parts or the first two parts of the package name are the same (for example, all application prefixes of company A are com.A.XXX, so the same first few parts of information indicate that the accessibility services, input methods, etc. are from the same company, or a combination).

[0160] After the device has traversed the accessibility service set, it will add the accessibility service set marked with the "remote operation" and "Remote" keywords to the remote operation application list. Finally, the remote operation potential application set will be uploaded to the server. After further manual analysis, it will be determined whether to remove it from the remote operation application list.

[0161] The manual analysis process can be as follows: the staff can analyze whether the reported remote operation application set is a remote operation application based on the application name, application market or other channels, and application introduction or installed application, and if so, add it to the remote operation application list.

[0162] The above analysis is also performed on applications whose loadDescription contains the keywords "remote operation" and "Remote" (not limited to these two keywords, such as: remote, control, telnet, etc.) to determine whether to add them to the remote operation application list.

[0163] In step 2054, the device detects whether there is a push message listening program.

[0164] The device uses the Settings.Secure.getString static method in Android to pass in the ContentResolver object of the current context and the "enabled_notification_listeners" string parameter to obtain the application list information string of the current push message listener.

[0165] The device splits the string by ':', then traverses the string set after the split, and uses the ComponentName.unflattenFromString static method provided by the system to parse the application package name (denoted as: packageName).

[0166] The device determines whether the packageName (push message listening application package name) of each Item is in the remote operation application list (message listening program risk list) (the list set can be packaged built-in or sent by the server).

[0167] If the device determines that there is an item in the message listener risk list, the device marks the tag of the remote operation push message listening service recorded locally as true (recorded as: listenerPushFlag).

[0168] In step 206 , the device determines whether it is being remotely controlled.

[0169] The device determines the local tag and returns the corresponding score based on the current tag. When the sum of the scores is greater than or equal to 60 points, there is a risk of remote control.

[0170] i. When the remoteControlFlag tag is true, 60 points are awarded.

[0171] ii. When the remoteInputFlag tag is true, 20 points are awarded.

[0172] iii. When the listenerPushFlag tag is true, 10 points are awarded.

[0173] When it is determined that the score is less than 60, step 207 is executed, or when the device determines that the sum of the scores is less than 60, the device determines that the screenShareFlag tag is true, and the accessibilityCount number is greater than or equal to 1, step 207 is executed, otherwise step 208 is executed.

[0174] Choose local tag calculation or server-side tag calculation based on the actual business scenario.

[0175] In step 207, the device performs a risk control operation.

[0176] The device pops up a hidden danger notification pop-up window in the local application to remind the user of the hidden danger. The user can close the pop-up window and continue the operation.

[0177] The device uploads the locally recorded tag data to the server in real time for storage, and makes policy judgments and intercepts business when key businesses (such as credit granting, cash withdrawal, etc.) are triggered.

[0178] The interception logic is described as follows: According to the tag data reported by the front-end, variable calculation is performed when the specified scenario (such as credit authorization, withdrawal, etc.) is triggered, and real-time judgment is made according to the local tag judgment logic. The result of whether the device is remotely controlled is returned in milliseconds. After the back-end obtains the result of whether the device is remotely controlled, the back-end can reject the corresponding business or return the corresponding confirmation information to the front-end. The user confirms the known hidden dangers and chooses to continue or close (the user's selected behavior operation is recorded and stored on the server).

[0179] The adjustment judgment logic is described as follows: According to the user's hidden danger pop-up window selection operation, the accuracy of the label judgment threshold calculation rule is analyzed. The calculation accuracy can be tested and verified through AB diversion, so as to optimize the calculation rules in time.

[0180] In step 208, the process ends.

[0181] The following is a description of an exemplary structure of the security detection processing device 455 provided in the embodiment of the present application implemented as a software module. In some embodiments, Figure 2 As shown, the software modules stored in the security detection processing device 455 of the memory 455 may include: a parameter acquisition module 4551, used to obtain N security detection parameters of the device to be detected, and the N security detection parameters at least include running program security detection parameters and input method security detection parameters; a security detection module 4552, used to obtain N security detection results based on the N security detection parameters, and determine the probability that the device to be detected is remotely operated based on the N security detection results; a security protection module 4553, used to execute a security protection strategy for the device to be detected based on the probability that the device to be detected is remotely operated.

[0182] In some embodiments, the security detection module 4552 is also used to determine the current automatic running program of the device to be detected based on the running program security detection parameters; based on a preset automatic running program blacklist, determine whether there is a target automatic running program in the automatic running program, and the target automatic running program is an automatic running program in the automatic running program blacklist; if the target automatic running program exists in the automatic running program, generate a first security detection result; if the target automatic running program does not exist in the automatic running program, generate a second security detection result.

[0183] In some embodiments, the security detection module 4552 is also used to, if there is an intersection between the automatic running program and the automatic running program included in the automatic running program blacklist, determine that the target automatic running program exists in the automatic running program; if there is no intersection between the automatic running program and the automatic running program included in the automatic running program blacklist, perform keyword detection on the automatic running program set to obtain a keyword detection result; when the keyword detection result indicates that the automatic running program has a target keyword match, the target automatic running program exists in the automatic running program; when the keyword detection result indicates that the automatic running program does not have the target keyword, the target automatic running program does not exist in the automatic running program.

[0184] In some embodiments, the security detection module 4552 is also used to obtain the description information corresponding to the automatically running program; extract the keywords in the description information as the keywords to be confirmed; compare the keywords to be confirmed based on the target keywords to obtain the keyword detection results.

[0185] In some embodiments, the security detection module 4552 is also used to determine the first input method set installed on the device to be detected based on the input method security detection parameters; determine whether there is an intersection between the preset input method blacklist and the first input method set; if there is no intersection between the preset input method blacklist and the first input method set, generate a second security detection result.

[0186] In some embodiments, the security detection module 4552 is also used to, if there is an intersection between the preset input method blacklist and the first input method set, determine the target input method program according to the intersection; obtain the input method program loaded on the device to be detected to obtain the second input method set; and determine the input method security detection result based on the target input method program and the second input method set.

[0187] In some embodiments, the security detection module 4552 is also used to, when the target input method program is included in the second input method set, obtain the input method program run by the device to be detected; when the input method program run by the device to be detected is the same input method program as the target input method program, generate a first security detection result; when the input method program run by the device to be detected is not the same input method program as the target input method program, generate a second security detection result.

[0188] In some embodiments, the security detection module 4552 is also used to determine the display data of the device to be detected based on the display security detection parameters; when the display data indicates that the display of the device to be detected is a non-main display, obtain the removal time of the non-main display; when the removal time corresponding to the non-main display is empty, generate a first security detection result; when the removal time corresponding to the non-main display is not empty, generate a second security detection result.

[0189] In some embodiments, the security detection module 4552 is also used to determine the push message program currently running on the device to be detected based on the push message security detection parameters; based on a preset push message program blacklist, determine whether there is a target push message program in the push message program, and the target push message program is a push message program in the push message program blacklist; if the target push message program exists in the push message program, a first security detection result is generated; if the target push message program does not exist in the push message program, a second security detection result is generated.

[0190] In some embodiments, the security protection module 4553 is also used to perform mapping processing on the automatic running program security detection result, the input method security detection result, the display security detection result and the push message security detection result, respectively, to obtain a first sub-probability corresponding to the automatic running program security detection result, a first sub-probability corresponding to the input method security detection result, a first sub-probability corresponding to the display security detection result and a first sub-probability corresponding to the push message security detection result; and to perform fusion processing on the first sub-probability corresponding to the automatic control program security detection result, the first sub-probability corresponding to the input method security detection result, the first sub-probability corresponding to the display security detection result and the first sub-probability corresponding to the push message security detection result to obtain the probability that the device to be detected is remotely operated.

[0191] The embodiment of the present application provides a computer program product, which includes computer executable instructions, and the computer executable instructions are stored in a computer readable storage medium. The processor of the electronic device reads the computer executable instructions from the computer readable storage medium, and the processor executes the computer executable instructions, so that the electronic device performs the security detection processing method described in the embodiment of the present application.

[0192] The embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, the processor will be caused to execute the security detection processing method provided by the embodiment of the present application, for example, Figure 3 The security detection processing method is shown.

[0193] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.

[0194] In some embodiments, computer executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine or other unit suitable for use in a computing environment.

[0195] As an example, computer-executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file storing other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).

[0196] As an example, computer executable instructions may be deployed to be executed on one electronic device, or on multiple electronic devices located at one site, or on multiple electronic devices distributed at multiple sites and interconnected by a communication network.

[0197] In summary, through the embodiments of the present application, N security detection parameters of the device to be detected are obtained, and the N security detection parameters include at least running program security detection parameters and input method security detection parameters; based on the N security detection parameters, N security detection results are obtained, and based on the N security detection results, the probability that the device to be detected is remotely operated is determined; based on the probability that the device to be detected is remotely operated, a security protection strategy for the device to be detected is executed. The security detection results obtained based on the running program security detection parameters and the input method security detection parameters can characterize the security risks faced by the device from the running program dimension and the input method dimension respectively, so the security protection strategy determined based on the security detection results of at least the above two dimensions can improve the security level of the device to be detected.

[0198] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.

Claims

1. A security detection and processing method, It is characterized in that The method comprises: Obtaining N security detection parameters of the device to be detected, wherein the N security detection parameters at least include a running program security detection parameter and an input method security detection parameter; Based on the N security detection parameters, N security detection results are obtained, and based on the N security detection results, a probability that the device to be detected is remotely operated is determined; Based on the probability that the device to be detected is remotely operated, a security protection strategy for the device to be detected is executed.

2. The method according to claim 1, It is characterized in that If the safety detection parameter is the running program safety detection parameter, the process of determining the safety detection result includes the following steps: Determining the current automatic running program of the device to be tested according to the running program safety detection parameter; Based on a preset blacklist of automatically running programs, determining whether there is a target automatically running program in the automatically running programs, the target automatically running program being an automatically running program in the blacklist of automatically running programs; If the target automatic running program exists in the automatic running program, generating a first safety detection result; If the target automatic running program does not exist in the automatic running programs, a second safety detection result is generated.

3. The method according to claim 2, It is characterized in that The determining whether a target automatic running program exists in the automatic running programs includes: If the automatic running program and the automatic running programs included in the automatic running program blacklist have an intersection, determining that the target automatic running program exists in the automatic running program; If there is no intersection between the automatic running program and the automatic running programs included in the automatic running program blacklist, performing keyword detection on the automatic running program to obtain a keyword detection result; When the keyword detection result indicates that the automatic running program has the target keyword, then the target automatic running program exists in the automatic running program; When the keyword detection result indicates that the automatic running program does not have the target keyword, the target automatic running program does not exist in the automatic running program.

4. The method according to claim 3, It is characterized in that The step of performing keyword detection on the automatically running program to obtain a keyword detection result includes: Obtaining description information corresponding to the automatically running program; Extracting keywords from the description information as keywords to be confirmed; The keyword to be confirmed is compared based on the target keyword to obtain the keyword detection result.

5. The method according to claim 1, It is characterized in that If the security detection parameter is the input method security detection parameter, the process of determining the security detection result includes the following steps: Determining a first input method set installed on the device to be detected according to the input method security detection parameter; Determine whether there is an intersection between a preset input method blacklist and the first input method set; If there is no intersection between the preset input method blacklist and the first input method set, a second security detection result is generated.

6. The method according to claim 5, It is characterized in that The method further comprises: If the preset input method blacklist and the input method set have an intersection, determining a target input method program according to the intersection; Acquire the input method program loaded by the device to be detected to obtain a second input method set; The input method security detection result is determined based on the target input method program and the second input method set.

7. The method according to claim 6, It is characterized in that The step of determining the input method security detection result based on the target input method program and the second input method set includes: When the target input method program is included in the second input method set, obtaining the input method program running on the device to be detected; In the case where the input method program running on the device to be detected is the same as the target input method program, generating a first security detection result; In a case where the input method program running on the device to be detected is not the same as the target input method program, a second security detection result is generated.

8. The method according to claim 1, It is characterized in that The safety detection parameters also include display safety detection parameters, and the process of determining the safety detection result includes the following steps: Determining display data of the device to be detected according to the display safety detection parameters; When the display data indicates that the display of the device to be detected is a non-primary display, obtaining a removal time of the non-primary display; When the removal time corresponding to the non-primary display is empty, generating a first security detection result; When the removal time corresponding to the non-primary display is not empty, a second security detection result is generated.

9. The method according to claim 1, It is characterized in that The security detection parameters also include push message security detection parameters, and the process of determining the security detection result includes the following steps: Determining the push message program currently running on the device to be detected according to the push message security detection parameter; Based on a preset push message program blacklist, determining whether there is a target push message program in the push message program, the target push message program being a push message program in the push message program blacklist; If the target push message program exists in the push message program, generating a first security detection result; If the target push message program does not exist in the push message program, a second security detection result is generated.

10. The method according to any one of claims 1 to 9, It is characterized in that The N-dimensional security detection results include automatic running program security detection results, input method security detection results, display security detection results and push message security detection results; The determining, based on the security detection results of the N dimensions, the probability that the device to be detected is remotely operated includes: Performing mapping processing on the automatic running program security detection result, the input method security detection result, the display security detection result, and the push message security detection result, respectively, to obtain a first sub-probability corresponding to the automatic running program security detection result, a first sub-probability corresponding to the input method security detection result, a first sub-probability corresponding to the display security detection result, and a first sub-probability corresponding to the push message security detection result; The first sub-probability corresponding to the automatic control program security detection result, the first sub-probability corresponding to the input method security detection result, the first sub-probability corresponding to the display security detection result, and the first sub-probability corresponding to the push message security detection result are fused to obtain the probability that the device to be detected is remotely operated.

11. An electronic device, It is characterized in that The electronic device comprises: A memory for storing executable instructions; A processor, configured to implement the security detection processing method according to any one of claims 1 to 10 when executing the executable instructions or computer program stored in the memory.

12. A computer-readable storage medium storing executable instructions or computer programs, It is characterized in that When the executable instructions are executed by the processor, the security detection processing method according to any one of claims 1 to 10 is implemented.

Citation Information

Cited By

  • Remote control security detection method and device, terminal equipment and storage medium

    CN121770859A