An abnormal application software acquisition system based on application software active behavior

Through the abnormal application software acquisition system based on the active behavior of application software, the activity level and activity rate list are used to identify and monitor abnormal application software, which solves the problems of low malicious code detection efficiency and difficult status prediction in the existing technology, and improves security and Monitor accuracy.

CN114595456BActive Publication Date: 2024-10-25HANGZHOU YUNSHEN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210265529.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-17
Publication Date
2024-10-25
Estimated Expiration
2042-03-17

AI Technical Summary

Technical Problem

Existing technology cannot effectively and timely detect malicious code that has been hidden through polymorphism, packing, deformation, anti-tracking and other technologies, resulting in low efficiency in identifying malicious application software and making it difficult to predict the development status of application software.

Method used

Through the abnormal application software acquisition system based on the active behavior of the application software, the application ID and activity times recorded in the database are used to construct an activity and activity rate list, set thresholds to identify abnormal application software, and determine the activity through different time windows. Status change trends of application software.

Benefits of technology

It improves the efficiency of identifying malicious application software, reduces the risk of users installing or using abnormal application software, enhances security, and avoids omissions or errors in judgment through monitoring and analysis, enabling accurate prediction and monitoring of application software status changes. .

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114595456B_ABST
    Figure CN114595456B_ABST
Patent Text Reader

Abstract

The present invention relates to an abnormal application software acquisition system based on application software active behavior, including a database, a processor and a memory storing a computer program, wherein the database includes an application software ID and the number of active times corresponding to the application software ID, and when the computer program is executed by the processor, the following steps are implemented: according to the target application software ID, a target active times list is acquired, and based on the target active times list, the corresponding target activity and the corresponding target activity list are acquired; according to the target activity list, a corresponding target activity rate list is acquired; the target activity rate list is traversed and based on the target activity rate, the target activity corresponding to the maximum target activity rate is used as the target activity threshold; based on the target activity and the target activity threshold, the target application is determined to be an abnormal application software. The present invention can identify application software with malicious code, improve recognition efficiency and predict the development status of application software.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of application software processing technology, and in particular to an abnormal application software acquisition system based on the active behavior of application software. Background Technology

[0002] With the continuous development of information technology and the widespread application of information technology in the national economy and national defense, computer application systems occupy a fundamental supporting position in the economy and national defense. Their security has become crucial to determining economic and national defense security; damage to computer application systems can lead to catastrophic consequences. As an important part of computer application system security protection, current traditional computer protection software based on malicious code behavior matching cannot detect malicious code that has undergone polymorphism, packing, polymorphism, anti-tracking, and other hiding techniques in a timely manner.

[0003] Currently, methods for identifying malicious application software include: 1) manually identifying applications containing malicious code, but this is too inefficient and cannot identify a large number of applications; 2) identifying applications containing malicious code based on APKs that are the same as or similar to those containing malicious code, which requires analyzing each APK, has generally low efficiency, and cannot promptly alert users, thus failing to determine the development status of the application software. Therefore, how to identify applications containing malicious code, improve identification efficiency, and predict the development status of application software has become an urgent technical problem to be solved. Summary of the Invention

[0004] The purpose of this invention is to provide an abnormal application software acquisition system based on application software activity behavior, which can identify application software with malicious code, improve identification efficiency, and predict the development status of application software.

[0005] This invention provides a system for acquiring abnormal application software based on application software activity behavior. The system includes a database, a processor, and a memory storing computer programs. The database includes application software IDs and the number of times each application software ID is active. When the computer program is executed by the processor, the following steps are implemented:

[0006] S100. Based on the target application software ID, retrieve a list of target activity counts corresponding to the target application software IDs within N target time windows from the database, and construct a target dataset D = (D1, D2, D3, ..., D...). N ), D i It refers to the list of target active counts within the i-th target time window, where i = 1...N, and N is the number of target time windows;

[0007] S200, based on Di Obtain the target activity level F corresponding to the target application software ID. i And according to F i Construct a target activity list F = (F1, F2, F3, ..., F...) corresponding to the target application software ID. N );

[0008] S300. Based on F, obtain the target activity rate list K = (K1, K2, K3, ..., K...) corresponding to the target application software ID. N ), K i Meets the following conditions:

[0009] T0 is the label difference between adjacent target time window label values;

[0010] S400, Traverse K and when K i When the target activity rate is greater than 0, the target activity level corresponding to the maximum target activity rate is taken as the target activity level threshold F0.

[0011] S500, traverse F and F i If the value is less than or equal to F0, the target application software is determined to be an abnormal application software.

[0012] Compared with existing technologies, this invention has significant advantages and beneficial effects. Through the above technical solution, the abnormal application software acquisition system based on application software activity behavior provided by this invention achieves considerable technological advancement and practicality, and has broad industrial application value. It possesses at least the following advantages:

[0013] This invention relates to an abnormal application software acquisition system based on application software activity behavior. By using the application software ID and the corresponding number of activity times in the system, the activity level of the application software within a preset time window can be determined as a threshold. This system can accurately identify abnormal applications, reduce the installation or use of abnormal applications by users, and improve user security.

[0014] At the same time, based on the activity level of the application software, the activity rate of the application software can be determined. By using the activity rate of the application software, the trend of the application software's change over a certain period of time can be obtained. This is beneficial for third parties or users to analyze the application software. On the one hand, abnormal application software can be identified based on the trend of the application software's change, avoiding omissions or errors in the judgment of application software. On the other hand, it can realize the monitoring of application software, which is conducive to providing security prompts to users.

[0015] Furthermore, by calculating the activity levels corresponding to different time windows, the optimal number of active applications can be determined, improving the accuracy of activity level determination. This, in turn, improves the accuracy of identifying application anomalies and inferring application status trends, which is beneficial for third-party monitoring and user security.

[0016] The above description is merely an overview of the technical solution of the present invention. In order to better understand the technical means of the present invention and to implement it in accordance with the contents of the specification, and to make the above and other objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0017] Figure 1 A flowchart of the execution steps of an abnormal application software acquisition system based on application software active behavior is provided for an embodiment of the present invention;

[0018] Figure 2 A flowchart illustrating the execution steps of another abnormal application software acquisition system based on application software activity behavior, provided as an embodiment of the present invention.

[0019] Figure 3 A flowchart illustrating the execution steps of another abnormal application software acquisition system based on application software activity behavior, provided as an embodiment of the present invention. Detailed Implementation

[0020] To further illustrate the technical means and effects adopted by the present invention to achieve the intended purpose, the following detailed description, in conjunction with the accompanying drawings and preferred embodiments, describes in detail the specific implementation and effects of an abnormal application software acquisition system based on application software active behavior proposed in accordance with the present invention.

[0021] Example

[0022] This embodiment provides a system for obtaining abnormal application software based on application software activity behavior. The system includes a database, a processor, and a memory storing computer programs. The database includes application software IDs and the number of activity times corresponding to the application software IDs. When the computer program is executed by the processor, the following steps are implemented: Figure 1 As shown:

[0023] S100. Based on the target application software ID, retrieve a list of target activity counts corresponding to the target application software IDs within N target time windows from the database, and construct a target dataset D = (D1, D2, D3, ..., D...). N ), D i It refers to the list of target active counts within the i-th target time window, where i = 1...N, and N is the number of target time windows.

[0024] Specifically, the application software ID refers to the unique identifier of the application software.

[0025] Specifically, the active count includes one or more combinations of the following: the number of times the application software is installed, the number of times the application software uploads information, the number of times the application software is launched, and the number of times the application software is closed. Preferably, the active count includes the number of times the application software is installed, the number of times the application software uploads information, the number of times the application software is launched, and the number of times the application software is closed. This can be understood as: when any application software executes any one of the instructions of installation, information upload, launch, and shutdown, an active count is added. This can accurately obtain the active count of the application software and avoid some omissions or errors.

[0026] Specifically, the target time window corresponding to D1 < the target time window corresponding to D2 < the target time window corresponding to D3 < ... < D N The corresponding target time window, and the time interval between adjacent target time windows is consistent.

[0027] S200, based on D i Obtain the target activity level F corresponding to the target application software ID. i And according to F i Construct a target activity list F = (F1, F2, F3, ..., F...) corresponding to the target application software ID. N ).

[0028] Specifically, F i This can be understood as the target activity level within the i-th target time window, and F i The corresponding target time window marker value is T i And so on, where T1 < T2 < T3 < ... < T N The label difference T0 between adjacent target time window label values ​​is consistent.

[0029] Specifically, step S200 also includes the following steps to determine F. i :

[0030] S201. Based on the target application software ID, retrieve from the database a list D of target activity counts corresponding to the target application software ID within any target time window. i =(D i1 D i2 D i3 , ..., D iM ), D ij This refers to the number of active events at the j-th target time node, where j = 1...M, and M is the number of target time nodes.

[0031] S203, Based on D i To obtain the target activity level F of the target application software i , of which F i Meets the following conditions:

[0032] Among them, a i0 b i0 and c i0 All of these are target parameters.

[0033] Specifically, D i1 Corresponding time node < D i2 Corresponding time node < D i3 The corresponding time point <... < D iM The corresponding time nodes, and the time intervals between adjacent time nodes are consistent.

[0034] Preferably, step S203 also includes the following steps to determine the target parameters:

[0035] According to D i Obtain the intermediate value H(D) of the target application software. ij ), where H(D) ij It meets the following conditions:

[0036] H() is a preset function;

[0037] According to H(D) ij ), get a i0 b i0 and c i0 ,in, and

[0038] S300. Based on F, obtain the target activity rate list K = (K1, K2, K3, ..., K...) corresponding to the target application software ID. N ), where K i This can be understood as the target activity rate corresponding to the target application software ID in the i-th target time window, K. i Meets the following conditions:

[0039]

[0040] S400, Traverse K and when K iWhen the value is greater than 0, the target activity level corresponding to the maximum target activity rate is taken as the target activity level threshold F0. This can be further understood as: when traversing K and there are several maximum target activity rates in K, the target activity level corresponding to the first maximum target activity rate in the sorting of K is taken as the target activity level threshold. This can accurately determine the activity level threshold, which is helpful for determining abnormal application software and the current development status of application software based on activity level.

[0041] S500, traverse F and F i If the value is less than or equal to F0, the target application software is determined to be an abnormal application software.

[0042] Specifically, the abnormal application software refers to application software containing malicious code or other unconventional code.

[0043] In the above embodiments, by using the application software ID and the corresponding number of active times in the system, the activity level of the application software within a preset time window can be determined as a threshold. This can accurately identify abnormal application software, reduce the installation or use of abnormal application software by users, and improve user security.

[0044] In one specific embodiment, when the computer program is executed by the processor, the following steps are further implemented, wherein steps S100-S500 can be referred to the specific implementation methods in the above embodiments, and will not be repeated here. Other steps are as follows: Figure 2 As shown:

[0045] S600, Obtain the degree of change R corresponding to the target application software ID = (R1, R2, R3, ..., R... N ), and iterate through F and F i ≤F0 and R i When R > 0, the state of the target application software is unknown. i This can be understood as the degree of change corresponding to the target application software ID in the i-th target time window, where R i Meets the following conditions:

[0046]

[0047] Specifically, the unknown state refers to the trend state of the target application software that cannot be determined.

[0048] S700, when F i When >F0, R i The status of the target application software is determined by comparing it with the key values ​​of sample application software within all key time windows.

[0049] Specifically, in step S700, the method further includes the following steps:

[0050] S701. Based on the target time window corresponding to F0, each target time window between the first target time window and the target time window corresponding to F0 is taken as a key time window, and the degree of change of all sample application software in each key time window is obtained to construct an intermediate data list. Based on all intermediate data lists, an intermediate dataset is constructed.

[0051] S703. Based on the intermediate dataset Q = (Q1, Q2, Q3, ..., Q... s ), Q t This refers to the intermediate data list corresponding to the t-th critical time window, where t = 1...s, and s is the number of critical time windows. Q is obtained from this list. t =(Q t1 Q t2 Q t3 Q tz ), where Q tr This refers to the degree of change in the application software in the r-th sample, based on Q. t Determine the specified degree of change corresponding to the t-th key time window. in, Meets the following conditions:

[0052]

[0053] S705, when At that time, the target application software is in an unchanged state;

[0054] S707, when At that time, the target application software is in the add state.

[0055] Furthermore, the increasing states include a steady increase, a gradual increase, and a rapid increase; wherein, step S707 further includes the following steps:

[0056] when At that time, the target application software is in a flat increase state;

[0057] when At that time, the target application software is in a slowly increasing state;

[0058] when At that time, the target application software is in a state of increasing activity.

[0059] Specifically, the sample application software is the application software other than the target application software among all application software in the database.

[0060] Specifically, the degree of change Q of any sample application software tr The degree of change R compared to the target application software can be adopted. iThe same method is used to determine this, so it will not be repeated here.

[0061] Specifically, the key time window corresponding to Q1 < the key time window corresponding to Q2 < the key time window corresponding to Q3 < ... < Q s The corresponding key time windows, where the time interval between adjacent key time windows is consistent.

[0062] Specifically, when the target application software is in a slow increase state or a sudden increase state, the target application software is also determined to be an abnormal application software.

[0063] In the above embodiments, the activity rate of the application software is determined based on the activity level of the application software. The activity rate of the application software is used to obtain the trend of the application software's changes over a certain period of time. This is beneficial for third parties or users to analyze the application software. On the one hand, abnormal application software can be identified based on the trend of the application software's changes, avoiding omissions or errors in the judgment of application software. On the other hand, it can realize the monitoring of application software, which is conducive to providing security prompts to users.

[0064] In another specific embodiment, prior to step S100, the method further includes the following steps, such as... Figure 3 As shown:

[0065] S1. Based on the target application software ID, retrieve the list A = (A1, A2, A3, ..., A...) of the first active counts within the first time window from the database. p ), A q This refers to the number of active users of the target application software corresponding to the qth first-type time node, i = 1...p, where p is the number of first-type time nodes. Based on A, the first-type activity level corresponding to the target application software ID is determined.

[0066] S2. Based on the target application software ID, retrieve m lists of second-activity counts within the second type of time window from the database, and construct a second-activity count set B = (B1, B2, B3, ..., B...). m ), x = 1...m, where m is the number of second-type time windows, where B x This refers to the list of the second most active times within the y-th second-type time window, and obtaining B. x = (B x1 B x2 B x3 , ..., B xn ), where B xy This refers to the number of active users of the target application software corresponding to the y-th second-category time node in the second active user count list, where y = 1...n, and n is the number of second-category time nodes, based on B. xThe second type of activity corresponding to the target application software ID was determined.

[0067] S3, based on and all Build an intermediate activity list

[0068] S4, iterate through F and if each When this happens, the first type of time window is determined as the target time window;

[0069] S5, when When that happens, the second type of time window is determined as the target time window.

[0070] Specifically, the first type of time node corresponding to A1 < the first type of time node corresponding to A2 < the first type of time node corresponding to A3 < ... < A p The corresponding first type of time node, the first type of time window ranges from 7 to 15 days; preferably, the first type of time window is 7 days, wherein the first type of time node refers to a single first time slice within the first type of time window, wherein the first time slice ranges from 1 to 2 days, preferably, the first time slice is 1 day.

[0071] Specifically, the second type of time window corresponding to B1 < the second type of time window corresponding to B2 < the second type of time window corresponding to B3 < ... < B m The corresponding second type of time window has a range of 1 to 2 months. Preferred, the first type of time window has a range of 1 month. The second type of time node refers to a single second time slice within the second time window. The second time slice has a range of 5 to 7 days. Preferred, the second time slice has a range of 5 days.

[0072] Specifically, and The acquisition method and the target activity level F of the target application software i The same method will be used, so I will not repeat it here.

[0073] The above embodiments can determine the optimal number of active applications by calculating the activity level corresponding to different time windows, thereby improving the accuracy of activity level determination. This, in turn, improves the accuracy of identifying application software anomalies and the accuracy of inferring application software status change trends, which is beneficial for third-party monitoring and user security.

[0074] This embodiment provides an abnormal application software acquisition system based on application software activity behavior. By using the application software ID and the corresponding number of activity times in the system, the activity level of the application software within a preset time window can be determined as a threshold, which can accurately identify abnormal application software, reduce the installation or use of abnormal application software by users, and improve user security.

[0075] At the same time, based on the activity level of the application software, the activity rate of the application software can be determined. By using the activity rate of the application software, the trend of the application software's change over a certain period of time can be obtained. This is beneficial for third parties or users to analyze the application software. On the one hand, abnormal application software can be identified based on the trend of the application software's change, avoiding omissions or errors in the judgment of application software. On the other hand, it can realize the monitoring of application software, which is conducive to providing security prompts to users.

[0076] Furthermore, by calculating the activity levels corresponding to different time windows, the optimal number of active applications can be determined, improving the accuracy of activity level determination. This, in turn, improves the accuracy of identifying application anomalies and inferring application status trends, which is beneficial for third-party monitoring and user security.

[0077] The above description is merely a preferred embodiment of the present invention and is not intended to limit the present invention in any way. Although the present invention has been disclosed above with reference to preferred embodiments, it is not intended to limit the present invention. Any person skilled in the art can make some modifications or alterations to the above-disclosed technical content to create equivalent embodiments without departing from the scope of the present invention. Any simple modifications, equivalent changes, and alterations made to the above embodiments based on the technical essence of the present invention without departing from the scope of the present invention shall still fall within the scope of the present invention.

Claims

1. A system for acquiring abnormal application software based on active behavior of application software, characterized in that: The system comprises: a database, a processor and a memory storing a computer program, wherein the database comprises an application software ID and the number of active times corresponding to the application software ID. When the computer program is executed by the processor, the following steps are implemented: S100, according to the target application software ID, obtain the target active times list corresponding to the target application software ID in N target time windows from the database, and construct a target data set D=(D1, D2, D3, ..., D N ), D i It refers to the list of target activity times in the i-th target time window, i = 1...N, N is the number of target time windows; S200, based on D i , get the target activity F corresponding to the target application software ID i , and according to F i , construct a target activity list F corresponding to the target application software ID = (F1, F2, F3, ..., F N ); S300, according to F, obtain the target activity rate list K corresponding to the target application software ID = (K1, K2, K3, ..., K N ), K i Meet the following conditions: T0 is the mark difference between the mark values ​​of adjacent target time windows; S400, traverse K and when K i > 0, the target activity corresponding to the maximum target activity rate is taken as the target activity threshold F0; S500, traverse F and F i ≤F0, the target application software is determined to be an abnormal application software.

2. The abnormal application software acquisition system based on application software active behavior according to claim 1 is characterized in that: In step S200, the following steps are also included to determine F i : S201, according to the target application software ID, obtain the target active number list D corresponding to the target application software ID in any target time window from the database i =(D i1 , D i2 , D i3 , ..., D iM ), D ij It refers to the number of active times of the jth target time node, j=1…M, M is the number of target time nodes; S203, based on D i , get the target activity F of the target application software i , where F i Meet the following conditions: Among them, a i0 , b i0 and c i0 These are target parameters.

3. The abnormal application software acquisition system based on application software active behavior according to claim 2 is characterized in that: In step S203, the target parameters are determined by the following steps: According to D i , obtain the intermediate value H(D ij ), where H(D ij ) meets the following conditions: Among them, H() is a preset function; According to H(D ij ), get a i0 , b i0 and c i0 ,in, 4. The abnormal application software acquisition system based on application software active behavior according to claim 1 is characterized in that: The target time window corresponding to D1 is less than the target time window corresponding to D2 and less than the target time window corresponding to D3. N The corresponding target time windows, and the time intervals between adjacent target time windows are consistent.

5. The abnormal application software acquisition system based on application software active behavior according to claim 1 is characterized in that: D i1 The corresponding time node is <D i2 The corresponding time node is <D i3 The corresponding time node is <……<D iM The corresponding time nodes, and the time intervals between adjacent time nodes are consistent.

6. The abnormal application software acquisition system based on application software active behavior according to claim 1 is characterized in that: In step S400, when K is traversed and there are several maximum target activity rates in K, the target activity corresponding to the first maximum target activity rate in the sort of K is used as the target activity threshold.

7. The abnormal application software acquisition system based on application software active behavior according to claim 1 is characterized in that: The abnormal application software is an application software having malicious codes or other unconventional codes.

8. The abnormal application software acquisition system based on application software active behavior according to claim 1 is characterized in that: The active times include one or a combination of the number of times the application software is installed, the number of times the application software uploads information, the number of times the application software is started, and the number of times the application software is started.