Method, device, equipment and medium for protecting and controlling mobile storage device
By evaluating the reputation of mobile storage devices and formulating protection strategies, the problem of insufficient protection capabilities of mobile storage devices is solved and more efficient security protection is achieved.
Patent Information
- Application Number
- CN202110725664.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-06-29
- Publication Date
- 2024-08-20
- Estimated Expiration
- 2041-06-29
AI Technical Summary
The existing technology has low protection capabilities for mobile storage devices and cannot effectively prevent malicious attackers from attacking client devices through virus files.
The server performs a reputation assessment on the mobile storage device connected to the client, determines the protection control strategy based on the assessment results, and implements corresponding protection measures on the client, including access prohibition, file copy control, etc.
It improves the protection capabilities of mobile storage devices, achieves security effects that cannot be achieved by virus scanning alone, and enhances the security of client devices.
Smart Images

Figure CN113282922B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a method, device, equipment and medium for performing protection control on a mobile storage device. Background Art
[0002] Using mobile storage devices to copy and store files is already a very common application scenario. However, malicious attackers often use mobile storage devices to attack client devices connected to the mobile storage devices. For example, a virus file is stored in the mobile storage device, and after the mobile storage device is connected to the client device, the virus file is implanted into the client device, thereby launching an attack on the client device.
[0003] In the related art, when a client device detects that a mobile storage device is connected, the mobile storage device is scanned, and if a virus file is found, the virus file is deleted to protect the security of the client device. Summary of the invention
[0004] In view of the problem of low protection capability of mobile storage devices, embodiments of the present invention provide a method, apparatus, device and medium for performing protection control on mobile storage devices, which can improve the protection capability of mobile storage devices.
[0005] In a first aspect, an embodiment of the present invention provides a method for protecting and controlling a mobile storage device, which is applied to a server and includes:
[0006] Receiving device characteristic information sent by an external client; the device characteristic information is acquired and sent by the client when the client detects that a mobile storage device is connected to the client;
[0007] Determining at least one reference feature based on the device feature information;
[0008] Performing a reputation evaluation on the mobile storage device according to the at least one reference feature;
[0009] Determine the corresponding protection and control strategy based on the credit evaluation results;
[0010] The protection control policy is sent to the client, so that the client performs protection control on the mobile storage device using the protection control policy.
[0011] Preferably, the performing reputation evaluation on the mobile storage device according to the at least one reference feature comprises:
[0012] respectively determining a calculated value of a target reference feature in the at least one reference feature;
[0013] Determining an abnormality index of the target reference feature according to a calculated value of the target reference feature and a preset standard boundary value;
[0014] The reputation evaluation value of the mobile storage device is calculated according to the abnormality index of the target reference feature.
[0015] Preferably, there are multiple standard boundary values, and the multiple standard boundary values form at least two reference intervals, and each reference interval corresponds to an abnormality index;
[0016] The step of determining the abnormality index of the target reference feature according to the calculated value of the target reference feature and a preset standard boundary value includes:
[0017] Determining a target reference interval corresponding to the calculated value of the target reference feature;
[0018] The abnormality index corresponding to the target reference interval is determined as the abnormality index of the target reference feature.
[0019] Preferably, the standard boundary value is one;
[0020] The step of determining the abnormality index of the target reference feature according to the calculated value of the target reference feature and a preset standard boundary value includes:
[0021] Comparing the calculated value of the target reference feature with the standard boundary value;
[0022] If the comparison result meets the preset abnormal condition, the difference between the calculated value of the target reference feature and the standard boundary value is calculated, and the abnormal index of the target reference feature is calculated according to the difference;
[0023] If the comparison result does not satisfy the abnormal condition, the set value is used as the abnormal index of the target reference feature.
[0024] Preferably, the calculating the reputation evaluation value of the mobile storage device according to the abnormality index of the target reference feature includes:
[0025] Determining a total credit assessment value;
[0026] Determining a weight value of the target reference feature;
[0027] Calculating the product of the weight value of the target reference feature, the abnormality index of the target reference feature and the total value of the credit evaluation;
[0028] The product is used to obtain a reputation evaluation value of the mobile storage device.
[0029] Preferably, after sending the protection control policy to the client, the method further includes:
[0030] receiving a data interaction behavior between the client and the mobile storage device; the data interaction behavior is detected and sent by the client during the execution of the protection control;
[0031] According to the data interaction behavior, the current reputation evaluation value of the mobile storage device is updated.
[0032] Preferably, after the reputation evaluation value of the mobile storage device is updated, the method further includes:
[0033] When the updated reputation evaluation value meets the ejection condition, a forced ejection instruction is sent to the client, so that the client ejects the mobile storage device by force.
[0034] In a second aspect, an embodiment of the present invention further provides a device for performing protection control on a mobile storage device, located at a server, and comprising:
[0035] A receiving unit, used to receive device characteristic information sent by an external client; the device characteristic information is acquired and sent by the client when the client detects that a mobile storage device is connected to the client;
[0036] a reference feature determination unit, configured to determine at least one reference feature according to the device feature information;
[0037] a reputation evaluation unit, configured to perform a reputation evaluation on the mobile storage device according to the at least one reference feature;
[0038] A strategy determination unit, used to determine a corresponding protection control strategy according to the reputation evaluation result;
[0039] The sending unit is used to send the protection control policy to the client, so that the client uses the protection control policy to perform protection control on the mobile storage device.
[0040] In a third aspect, an embodiment of the present invention further provides a computing device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method described in any embodiment of this specification is implemented.
[0041] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, enables the computer to execute the method described in any embodiment of this specification.
[0042] The embodiments of the present invention provide a method, apparatus, device and medium for performing protection control on a mobile storage device. The server performs a reputation evaluation on the mobile storage device connected to the client. According to different reputation evaluation results, the client can use different protection control strategies to perform protection control on mobile storage devices with different reputations, thereby achieving a protection effect that cannot be achieved by virus scanning alone, and improving the protection capability of the mobile storage device. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 It is a flow chart of a method for protecting and controlling a mobile storage device provided by an embodiment of the present invention;
[0045] Figure 2 is a flow chart of a reputation evaluation method provided by an embodiment of the present invention;
[0046] Figure 3 This is a flow chart of a method for calculating a reputation evaluation value provided by an embodiment of the present invention;
[0047] Figure 4 is a hardware architecture diagram of a computing device provided by an embodiment of the present invention;
[0048] Figure 5 It is a structural diagram of a device for performing protection control on a mobile storage device provided by an embodiment of the present invention;
[0049] Figure 6 It is a structural diagram of another device for performing protection control on a mobile storage device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.
[0051] As mentioned above, a malicious attacker may store virus files in a mobile storage device, and when the mobile storage device is connected to the client device, the virus files are implanted into the client device, thereby launching an attack on the client device. In the related art, when the client device detects that a mobile storage device is connected, it will scan the mobile storage device to detect whether there are virus files stored in the mobile storage device. If a virus file is found, the virus file is first deleted, and then data is copied between the mobile storage device and the client device. However, the client device can only detect known viruses, and has limited defense capabilities against unknown viruses. Therefore, the existing technology has low protection capabilities for mobile storage devices.
[0052] To ensure the security of client devices after mobile storage devices are connected to them and to improve the protection capabilities of mobile storage devices, you can consider conducting a reputation assessment on mobile storage devices and implementing different protection control strategies for mobile storage devices based on the reputation assessment results to achieve a protection effect that cannot be achieved by virus scanning alone.
[0053] The specific implementation of the above concept is described below.
[0054] Please refer to Figure 1 The embodiment of the present invention provides a method for protecting and controlling a mobile storage device, which is applied to a server. The method includes:
[0055] Step 100, receiving device characteristic information sent by an external client; the device characteristic information is acquired and sent by the client when detecting that a mobile storage device is connected to the client.
[0056] Step 102: Determine at least one reference feature based on the device feature information.
[0057] Step 104: Perform a reputation evaluation on the mobile storage device based on the at least one reference feature.
[0058] Step 106: Determine a corresponding protection control strategy based on the reputation evaluation result.
[0059] Step 108: Send the protection control policy to the client, so that the client uses the protection control policy to perform protection control on the mobile storage device.
[0060] In the embodiment of the present invention, the server performs a reputation evaluation on the mobile storage device connected to the client. According to different reputation evaluation results, the client can use different protection control strategies to perform protection control on mobile storage devices with different reputations, thereby achieving a protection effect that cannot be achieved by virus scanning alone, and improving the protection capability of the mobile storage device.
[0061] Described below Figure 1 How the various steps are performed.
[0062] First, with respect to step 100, device characteristic information sent by an external client is received; the device characteristic information is acquired and sent by the client when the client detects that a mobile storage device is connected to the client.
[0063] The client can be used to sense access events of the peripheral interface. When a mobile storage device is detected to be connected to the peripheral interface, the client can obtain device feature information and send the device feature information to the server, which will perform a reputation assessment on the mobile storage device.
[0064] In one embodiment of the present invention, the device characteristic information may include one or more of the following: client device attribute information, mobile storage device attribute information, and storage information of the mobile storage device.
[0065] The client device attribute information may include: one or more of name, type, brand and ID. The mobile storage device attribute information may include: one or more of access time, name, type, brand and ID. The storage information of the mobile storage device may include: whether the mobile storage device contains viruses and virus features when the virus is contained, whether the mobile storage device contains abnormal files and abnormal file features when the abnormal files are contained, etc.
[0066] Then, for step 102, at least one reference feature is determined according to the device feature information.
[0067] In one embodiment of the present invention, in order to improve the accuracy of reputation evaluation of mobile storage devices, the device feature information may be analyzed at least in the following dimensions to obtain at least one reference feature:
[0068] Dimension 1: Client historical information.
[0069] In this dimension, the reference features that can be determined may include: the historical number of times the client accesses the mobile storage device and the historical number of times the client accesses other mobile storage devices.
[0070] In one embodiment of the present invention, each time the server receives the device characteristic information reported by the client, the server stores the access relationship between the client and the mobile storage device according to the client device attribute information and the mobile storage device attribute information.
[0071] After the server receives the device characteristic information reported by the client this time, it can determine whether the access relationship of the client to the mobile storage device is stored, and whether the access relationship of the client to other mobile storage devices is stored according to the client device attribute information and the mobile storage device attribute information; if it is determined that the access relationship of the client to the mobile storage device is stored, the number of accesses is further determined; if it is determined that the access relationship of the client to the mobile storage device is not stored, the historical number of times the client has accessed the mobile storage device is determined to be 0. If it is determined that the access relationship of the client to other mobile storage devices is stored, the number of accesses is further determined; if it is determined that the access relationship of the client to other mobile storage devices is not stored, the historical number of times the client has accessed other mobile storage devices is determined to be 0.
[0072] Dimension 2: Historical information of mobile storage devices.
[0073] In this dimension, the reference features that can be determined may include: the historical number of times the mobile storage device accesses other clients.
[0074] In one embodiment of the present invention, the historical number of times the mobile storage device has accessed other clients can also be determined by the storage information in the server. After the server receives the device feature information reported by the client, it can determine whether the access relationship of the mobile storage device accessing other clients is stored according to the client device attribute information and the mobile storage device attribute information. If it is determined that the access relationship of the mobile storage device accessing other clients is stored, the number of accesses is further determined; if it is determined that the access relationship of the mobile storage device accessing other clients is not stored, the historical number of times the mobile storage device accesses other clients is determined to be 0.
[0075] Dimension three: current information of mobile storage devices.
[0076] Under this dimension, the reference features that can be determined may include: whether the mobile storage device stores virus files, the types of virus files stored in the mobile storage device, whether the mobile storage device stores abnormal files, the types of abnormal files stored in the mobile storage device, and the degree of match between the identification type and the actual type of the mobile storage device.
[0077] In one embodiment of the present invention, if a virus file is stored in the mobile storage device, the type of the virus file can be further determined, such as the virus format, etc. If an abnormal file is stored in the mobile storage device, the type of the abnormal file can be further determined, such as whether the abnormal file is an unknown executable program, the program language is a non-universal language, whether it is a file that does not appear on the blacklist and the whitelist, etc.
[0078] In one embodiment of the present invention, the actual type of the mobile storage device can also be identified, and the representation type of the mobile storage device can be obtained to determine whether the identification type of the mobile storage device matches the actual type. For example, if the actual type of the mobile storage device identified is a device with a storage function, but the identification type of the mobile storage device is a keyboard or a mouse, it can be determined that the identification type of the mobile storage device does not match the actual type.
[0079] Next, with respect to step 104 , a reputation evaluation is performed on the mobile storage device based on the at least one reference feature.
[0080] In one embodiment of the present invention, in order to accurately obtain the reputation evaluation result of the mobile storage device, please refer to Figure 2 , this step 104 can be performed in at least one of the following ways:
[0081] Step 200, respectively determine the operation value of the target reference feature in the at least one reference feature.
[0082] In one embodiment of the present invention, if the reference feature obtained in step 102 is of numerical type, the numerical value can be directly determined as the operation value of the reference feature. For example, if the reference feature obtained in step 102 is the historical number of times the client accesses the mobile storage device, then the historical number of times is directly determined as the operation value. If the reference feature obtained in step 102 is of content type, the content can be quantified to obtain the operation value of the reference feature. For example, if the reference feature obtained in step 102 is that a virus file is stored in the mobile storage device, then the operation value of the reference feature can be 1, and if no virus file is stored in the mobile storage device, then the operation value of the reference feature can be 0.
[0083] Step 202: determining an abnormality index of the target reference feature according to the calculated value of the target reference feature and a preset standard boundary value.
[0084] In one embodiment of the present invention, different determination methods may be used when determining abnormality indexes for different target reference features. When the determination methods are different, the number of standard boundary values may be different. Specifically, the number of standard boundary values may correspond to at least the following two situations:
[0085] Case A: There are multiple standard boundary values.
[0086] Case B: The standard boundary value is one.
[0087] The following describes the method of determining the abnormality index for the above two situations respectively.
[0088] In the case of case A, multiple standard boundary values form at least two reference intervals, and each reference interval corresponds to an abnormality index. For example, two standard boundary values form three reference intervals, namely:
[0089] The reference interval 1 is (0, standard boundary value 1), and the abnormality index is A;
[0090] Reference interval 2 is [standard boundary value 1, standard boundary value 2], and the abnormality index is B;
[0091] The reference interval 3 is (standard boundary value 2, +∞), and the abnormality index is C.
[0092] Then, this step 202 may include: determining a target reference interval corresponding to the calculated value of the target reference feature; and determining an abnormality index corresponding to the target reference interval as the abnormality index of the target reference feature.
[0093] In this case A, by using the correspondence between the reference interval and the anomaly index, the corresponding reference interval can be determined according to the target reference feature, so that the anomaly index can be quickly determined, thereby improving the speed of credit assessment.
[0094] In the corresponding situation B, this step 202 may include: comparing the calculated value of the target reference feature with the standard boundary value; if the comparison result meets the pre-set abnormal condition, calculating the difference between the calculated value of the target reference feature and the standard boundary value, and obtaining the abnormal index of the target reference feature based on the difference; if the comparison result does not meet the abnormal condition, using the set value as the abnormal index of the target reference feature.
[0095] In one embodiment of the present invention, the abnormal conditions corresponding to different reference features may be different. For example, the target reference feature is the historical number of times the client accesses the mobile storage device. The more historical times, the lower the abnormality. For the target reference feature, it can be set that when the comparison result is that the operation value of the target reference feature is less than the standard boundary value, it is determined that the abnormal condition is met. For another example, the target reference feature is the type of abnormal file stored in the mobile storage device. When the quantized operation value of the type of the abnormal file is higher, it indicates that the abnormality is higher. For the target reference feature, it can be set that when the comparison result is that the operation value of the target reference feature is greater than the standard boundary value, it is determined that the abnormal condition is met. In this way, when determining the abnormal index for different reference features, the determination result of the abnormal index can be made more accurate.
[0096] In one embodiment of the present invention, when calculating the abnormality index of the target reference feature according to the difference in step 202, the abnormality index can be calculated by the following formula (1):
[0097]
[0098] Among them, Q i The abnormality index used to characterize the i-th target reference feature among n target reference features, where n is an integer not less than 1; q i1 It is used to represent the standard boundary value pre-set for the i-th target reference feature; q i A is the calculation value used to characterize the i-th target reference feature; i A constant used to characterize the i-th reference feature.
[0099] By using the above calculation formula to calculate the anomaly index, the distance between the calculated value and the standard boundary value (i.e., the difference between the two) is taken into account, and the difference between the standard boundary value and the constant is used as the reference value. The distance between the calculated value and the standard boundary value is divided by the reference value to accurately obtain the anomaly index of the target reference feature. In addition, the values of each parameter in the calculation formula are relatively easy to obtain, and the anomaly index can be quickly calculated by substituting them into the above calculation formula, and the calculation speed is relatively fast.
[0100] The above calculation formula is only one embodiment of the present invention. In addition to using the above calculation formula to calculate the abnormality index of the target reference feature, other calculation formulas can also be used for calculation, or the difference can be directly used as the abnormality index of the target reference feature.
[0101] Step 204: Calculate the reputation evaluation value of the mobile storage device according to the abnormality index of the target reference feature.
[0102] In one embodiment of the present invention, please refer to Figure 3, the reputation evaluation value of the mobile storage device can be calculated in at least one of the following ways:
[0103] Step 300, determining the total credit evaluation value.
[0104] The total credit evaluation value may be a score corresponding to when the mobile storage device has no abnormality. For example, taking the full score as an example, the total credit evaluation value may be a full score of 100 points.
[0105] Step 302: determine the weight value of the target reference feature.
[0106] Since different reference features have different effects on the reputation of the mobile storage device, different weight values may be set for different reference features, thereby making the reputation evaluation result more accurate.
[0107] Step 304: Calculate the product of the weight value of the target reference feature, the abnormality index of the target reference feature and the total credit evaluation value.
[0108] Step 306: Use the product to obtain a reputation evaluation value of the mobile storage device.
[0109] In one embodiment of the present invention, when the product is used to obtain the reputation evaluation value of the mobile storage device, it can at least be calculated using the following formula (2):
[0110]
[0111] Among them, V is used to represent the reputation evaluation value of the mobile storage device, M is used to represent the total reputation evaluation value, and Q i The abnormal index used to characterize the i-th target reference feature among n target reference features, where n is an integer not less than 1; ω i The weight value used to characterize the i-th target reference feature.
[0112] The above formula (2) takes into account the product of the total credit evaluation value, the weight value of the target reference feature, and the abnormal index of the target reference feature. This product can be used as the credit value corresponding to the target reference feature. In the above formula (2), taking the nth root of the product of each abnormal index and calculating the sum of each abnormal index are both to balance the abnormal index, so that the credit evaluation value calculated using the above formula (2) is more accurate. After obtaining the parameter value of each parameter in the above formula (2), it can be substituted into the formula to quickly calculate the credit evaluation value of the mobile storage device.
[0113] It should be noted that in step 306, in addition to using the above formula (2) to calculate the reputation evaluation value of the mobile storage device, other methods can also be used for calculation, such as dividing the sum of the products corresponding to each target reference feature by n to obtain the reputation evaluation value.
[0114] In this step 204, in addition to the above Figure 3 In addition to calculating the reputation evaluation value of the mobile storage device in the manner shown, other calculation methods may be used. For example, the other calculation methods may include: determining a total reputation evaluation value; determining a basic score set for the target reference feature; calculating the product of the basic score of the target reference feature and the abnormality index of the target reference feature; adding the products of n target reference features to obtain a calculated sum, and determining the difference between the total reputation evaluation value and the calculated sum as the reputation evaluation value of the mobile storage device.
[0115] Continuing with step 106, a corresponding protection control strategy is determined according to the reputation evaluation result.
[0116] In one embodiment of the present invention, different protection control strategies can be set in advance for different reputation evaluation results. The protection control strategies may include the following contents: prohibiting the mobile storage device from accessing the client, only allowing files to be copied from the mobile storage device to the client, prohibiting the running of files in the mobile storage device, etc.
[0117] Finally, with respect to step 108, the protection control policy is sent to the client, so that the client performs protection control on the mobile storage device using the protection control policy.
[0118] After receiving the protection control policy sent by the server, the client responds to the access of the mobile storage device using the protection control policy, and performs protection control on the mobile storage device using the protection control policy after allowing the mobile storage device to access. For example, if the protection control policy prohibits the access of files in the mobile storage device, the client allows the access of the mobile storage device and detects the data interaction between the mobile storage device and the client in real time. When it is detected that the data interaction behavior is to run the files stored in the mobile storage device on the client, the client refuses to execute the data interaction behavior.
[0119] In one embodiment of the present invention, in order to further ensure the security of the client after the mobile storage device is connected to the client, the data interaction behavior between the client and the mobile storage device can be detected, and then the detected data interaction behavior can be reported to the server.
[0120] The strategies for reporting data interaction behaviors may include at least the following two:
[0121] The first reporting strategy: report each time a data interaction behavior is detected.
[0122] The second reporting strategy: only report data interaction behaviors that are sensitive interaction behaviors.
[0123] In the second reporting strategy, the client pre-stores the characteristics of sensitive interaction behaviors. When it is detected that the characteristics of the data interaction behaviors are the same as the characteristics of the sensitive interaction behaviors, it is determined that the data interaction behaviors belong to sensitive interaction behaviors, and the data interaction behaviors are reported to the server.
[0124] Regardless of the first reporting strategy or the second reporting strategy, the client can respond to the data interaction behavior, and the response content is to allow the data interaction behavior to be executed or to refuse to execute the data interaction behavior.
[0125] After the server receives the data interaction behavior reported by the client, the server evaluates the risk of the data interaction behavior to update the reputation evaluation value.
[0126] Specifically, the reputation evaluation value may be updated in at least one of the following ways: determining the risk level of the data interaction behavior; determining a risk coefficient corresponding to the risk level; and updating the current reputation evaluation value of the mobile storage device according to the risk coefficient.
[0127] Among them, if the data interaction behavior is the first interaction behavior after the mobile storage device is connected to the client, then the current reputation evaluation value of the mobile storage device is the reputation evaluation value calculated in step 204; if the data interaction behavior is not the first interaction behavior after the mobile storage device is connected to the client, then the current reputation evaluation value of the mobile storage device is the reputation evaluation value obtained after the last data interaction behavior is updated.
[0128] When the current reputation evaluation value of the mobile storage device is updated according to the risk coefficient, the product of the risk coefficient and the current reputation evaluation value of the mobile storage device can be determined as the updated reputation evaluation value. In this way, the reputation evaluation value can be updated quickly.
[0129] It should be noted that if the data interaction behavior does not pose a risk, such as normal data copying behavior, then the risk coefficient of the risk level corresponding to the data interaction behavior can be 1, and the updated reputation evaluation value is the same as the reputation evaluation value before the update. If the data interaction behavior poses a risk, for example, the data copying behavior is generated without detecting the manually input copy instruction; for example, copying a sensitive file to a client or a mobile storage device, where when the characteristics of the copied file are the same as the characteristics of a pre-set sensitive file, the copied file is determined to be a sensitive file; for example, running an abnormal program file in a mobile storage device, etc.; then the risk coefficient of the risk level corresponding to the data interaction behavior can be less than 1, and the updated reputation evaluation value is less than the reputation evaluation value before the update.
[0130] In a real-time example of the present invention, after the reputation evaluation value of the mobile storage device is updated, the method may further include: when the updated reputation evaluation value meets the ejection condition, sending a forced ejection instruction to the client, so that the client ejects the mobile storage device by force.
[0131] For example, if the updated reputation evaluation value is less than the set score, it is determined that the updated reputation evaluation value meets the ejection condition. When the reputation evaluation value of the mobile storage device gradually decreases to meet the ejection condition, it indicates that the risk of the mobile storage device is extremely high. If the data interaction between the mobile storage device and the client is continued, it will bring a high risk to the security of the client. Therefore, in order to ensure the security of the client, a forced eject instruction can be sent to the client to force the client to eject the mobile storage device.
[0132] like Figure 4 , Figure 5 As shown, an embodiment of the present invention provides a device for protecting and controlling a mobile storage device. The device embodiment can be implemented by software, or by hardware or a combination of software and hardware. From the hardware level, Figure 4 As shown, a hardware architecture diagram of a computing device where an apparatus for protecting and controlling a mobile storage device provided by an embodiment of the present invention is located is shown. Figure 4 In addition to the processor, memory, network interface, and non-volatile memory shown in the figure, the computing device in which the device is located in the embodiment may also generally include other hardware, such as a forwarding chip responsible for processing messages, etc. Taking software implementation as an example, Figure 5 As shown, as a device in a logical sense, the CPU of the computing device in which it is located reads the corresponding computer program in the non-volatile memory into the memory and runs it. This embodiment provides a device for protecting and controlling a mobile storage device, located at the server end, including:
[0133] The receiving unit 501 is used to receive device characteristic information sent by an external client; the device characteristic information is acquired and sent by the client when the client detects that a mobile storage device is connected to the client;
[0134] A reference feature determination unit 502, configured to determine at least one reference feature according to the device feature information;
[0135] A reputation evaluation unit 503, configured to perform a reputation evaluation on the mobile storage device according to the at least one reference feature;
[0136] A strategy determination unit 504, configured to determine a corresponding protection control strategy according to the reputation evaluation result;
[0137] The sending unit 505 is used to send the protection control policy to the client, so that the client uses the protection control policy to perform protection control on the mobile storage device.
[0138] In one embodiment of the present invention, the credibility evaluation unit 503 is specifically used to respectively determine the operation value of the target reference feature in the at least one reference feature; determine the abnormality index of the target reference feature according to the operation value of the target reference feature and a pre-set standard boundary value; and calculate the credibility evaluation value of the mobile storage device according to the abnormality index of the target reference feature.
[0139] In one embodiment of the present invention, the standard boundary value is multiple, and the multiple standard boundary values form at least two reference intervals, and each reference interval corresponds to an abnormality index;
[0140] The credibility evaluation unit 503, when determining the abnormality index of the target reference feature based on the calculated value of the target reference feature and a pre-set standard boundary value, is specifically used to determine the target reference interval corresponding to the calculated value of the target reference feature; and determine the abnormality index corresponding to the target reference interval as the abnormality index of the target reference feature.
[0141] In one embodiment of the present invention, the standard boundary value is one;
[0142] The credibility evaluation unit 503, when determining the abnormality index of the target reference feature based on the operation value of the target reference feature and a pre-set standard boundary value, is specifically used to compare the operation value of the target reference feature with the size of the standard boundary value; if the comparison result meets the pre-set abnormal condition, the difference between the operation value of the target reference feature and the standard boundary value is calculated, and the abnormality index of the target reference feature is calculated according to the difference; if the comparison result does not meet the abnormal condition, the set value is used as the abnormality index of the target reference feature.
[0143] In one embodiment of the present invention, the reputation evaluation unit 503, when executing the calculation of the reputation evaluation value of the mobile storage device based on the abnormality index of the target reference feature, is specifically used to determine the total reputation evaluation value; determine the weight value of the target reference feature; calculate the product of the weight value of the target reference feature, the abnormality index of the target reference feature and the total reputation evaluation value; and use the product to obtain the reputation evaluation value of the mobile storage device.
[0144] In one embodiment of the present invention, the receiving unit 501 is further used to receive a data interaction behavior between the client and the mobile storage device; the data interaction behavior is detected and sent by the client during the execution of the protection control;
[0145] Please refer to Figure 6 The device for performing protection control on a mobile storage device may also include:
[0146] The updating unit 506 is used to update the current reputation evaluation value of the mobile storage device according to the data interaction behavior.
[0147] In one embodiment of the present invention, the sending unit 505 is further configured to send a forced eject instruction to the client when the updated reputation evaluation value meets an eject condition, so that the client ejects the mobile storage device by force.
[0148] It is to be understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on a device for performing protection control on a mobile storage device. In other embodiments of the present invention, a device for performing protection control on a mobile storage device may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.
[0149] The information interaction, execution process and other contents between the modules in the above-mentioned device are based on the same concept as the embodiment of the method of the present invention. For the specific contents, please refer to the description in the embodiment of the method of the present invention, and no further description is given here.
[0150] An embodiment of the present invention further provides a computing device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, a method for protecting and controlling a mobile storage device in any embodiment of the present invention is implemented.
[0151] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the processor executes a method for protecting and controlling a mobile storage device in any embodiment of the present invention.
[0152] Specifically, a system or device equipped with a storage medium can be provided, on which software program code that implements the functions of any of the above-mentioned embodiments is stored, and a computer (or CPU or MPU) of the system or device can be enabled to read and execute the program code stored in the storage medium.
[0153] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
[0154] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer via a communication network.
[0155] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.
[0156] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or written to a memory provided in an expansion module connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or expansion module is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.
[0157] Each embodiment of the present invention has at least the following beneficial effects:
[0158] 1. In one embodiment of the present invention, the server performs a reputation evaluation on the mobile storage device connected to the client. According to different reputation evaluation results, the client can use different protection control strategies to perform protection control on mobile storage devices with different reputations, thereby achieving a protection effect that cannot be achieved by virus scanning alone, and improving the protection capability of the mobile storage device.
[0159] 2. In one embodiment of the present invention, by performing analysis on multiple dimensions such as client historical information, mobile storage device historical information, and mobile storage device current information to obtain at least one reference feature, when the reputation evaluation of the mobile storage device is calculated using the at least one reference feature, the accuracy of the reputation evaluation can be improved.
[0160] 3. In one embodiment of the present invention, the abnormality index of the target reference feature is determined by the calculated value of the target reference feature and the set standard boundary value. When there are multiple standard boundary values, the target reference interval corresponding to the calculated value of the target reference feature is determined by the correspondence between the reference interval and the abnormality index, and then the abnormality index of the target reference feature can be quickly determined, thereby improving the speed of determining the credit evaluation value.
[0161] 4. In one embodiment of the present invention, since different reference features have different effects on the reputation of the mobile storage device, different weight values can be set for different reference features, so that the reputation evaluation result can be more accurate.
[0162] 5. In one embodiment of the present invention, the abnormality index of the target reference feature is determined by the calculated value of the target reference feature and the set standard boundary value. When the standard boundary value is one, the abnormality index is calculated using a calculation formula. Not only the distance between the calculated value and the standard boundary value (i.e., the difference between the two) is taken into account, but also the difference between the standard boundary value and the constant is used as a reference value. The distance between the calculated value and the standard boundary value is divided by the reference value to accurately obtain the abnormality index of the target reference feature. Moreover, the values of each parameter in the calculation formula are relatively easy to obtain. Substituting the values of each parameter into the calculation formula can quickly calculate the abnormality index, and the calculation speed is relatively fast.
[0163] 6. In one embodiment of the present invention, when the current reputation evaluation value of the mobile storage device is updated according to the risk factor, the product of the risk factor and the current reputation evaluation value of the mobile storage device can be determined as the updated reputation evaluation value. In this way, the reputation evaluation value can be updated quickly.
[0164] 7. In one embodiment of the present invention, when the updated reputation evaluation value meets the ejection condition, a forced ejection instruction is sent to the client so that the client ejects the mobile storage device, thereby ensuring the safety of the client.
[0165] It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical factors in the process, method, article or equipment including the elements.
[0166] A person of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, and the aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk, etc., various media that can store program codes.
[0167] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for protecting and controlling a mobile storage device, applied to a server, characterized in that: include: Receive device feature information sent by external clients; The device characteristic information is acquired and sent by the client when the client detects that the mobile storage device is connected to the client; Determining at least one reference feature according to the device feature information; Performing a reputation evaluation on the mobile storage device according to the at least one reference feature; Determine the corresponding protection and control strategy based on the credit evaluation results; Sending the protection control policy to the client, so that the client performs protection control on the mobile storage device using the protection control policy; The step of performing reputation evaluation on the mobile storage device according to the at least one reference feature comprises: respectively determining a calculated value of a target reference feature in the at least one reference feature; Determining an abnormality index of the target reference feature according to a calculated value of the target reference feature and a preset standard boundary value; Calculating a reputation evaluation value of the mobile storage device according to an abnormality index of the target reference feature; The step of calculating the reputation evaluation value of the mobile storage device according to the abnormality index of the target reference feature includes: Determining a total credit assessment value; Determining a weight value of the target reference feature; Calculating the product of the weight value of the target reference feature, the abnormality index of the target reference feature and the total value of the reputation evaluation; Using the product to obtain a reputation evaluation value of the mobile storage device; The reputation evaluation value is calculated by the following formula: Among them, V is used to represent the reputation evaluation value of the mobile storage device, M is used to represent the total reputation evaluation value, and Q i The abnormal index used to characterize the i-th target reference feature among n target reference features, where n is an integer not less than 1; ω i The weight value used to characterize the i-th target reference feature.
2. The method according to claim 1, characterized in that There are multiple standard boundary values, and the multiple standard boundary values form at least two reference intervals, and each reference interval corresponds to an abnormality index; The step of determining the abnormality index of the target reference feature according to the calculated value of the target reference feature and a preset standard boundary value includes: Determining a target reference interval corresponding to the calculated value of the target reference feature; The abnormality index corresponding to the target reference interval is determined as the abnormality index of the target reference feature.
3. The method according to claim 1, characterized in that The standard boundary value is one; The step of determining the abnormality index of the target reference feature according to the calculated value of the target reference feature and a preset standard boundary value includes: Comparing the calculated value of the target reference feature with the standard boundary value; If the comparison result meets the preset abnormal condition, the difference between the calculated value of the target reference feature and the standard boundary value is calculated, and the abnormal index of the target reference feature is calculated according to the difference; If the comparison result does not satisfy the abnormal condition, the set value is used as the abnormal index of the target reference feature.
4. The method according to any one of claims 1 to 3, characterized in that: After sending the protection control policy to the client, the method further includes: receiving a data interaction behavior between the client and the mobile storage device; the data interaction behavior is detected and sent by the client during the execution of the protection control; According to the data interaction behavior, the current reputation evaluation value of the mobile storage device is updated.
5. The method according to claim 4, characterized in that After the reputation evaluation value of the mobile storage device is updated, the method further includes: When the updated reputation evaluation value meets the ejection condition, a forced ejection instruction is sent to the client, so that the client ejects the mobile storage device by force.
6. A device for protecting and controlling a mobile storage device, located at a server end, characterized in that: include: A receiving unit, used to receive device characteristic information sent by an external client; The device characteristic information is acquired and sent by the client when the client detects that the mobile storage device is connected to the client; a reference feature determination unit, configured to determine at least one reference feature according to the device feature information; a reputation evaluation unit, configured to perform a reputation evaluation on the mobile storage device according to the at least one reference feature; A strategy determination unit, used to determine a corresponding protection control strategy according to the reputation evaluation result; A sending unit, configured to send the protection control strategy to the client, so that the client performs protection control on the mobile storage device using the protection control strategy; The reputation evaluation unit is specifically used to determine the operation value of the target reference feature in the at least one reference feature respectively; determine the abnormality index of the target reference feature according to the operation value of the target reference feature and a preset standard boundary value; calculate the reputation evaluation value of the mobile storage device according to the abnormality index of the target reference feature; The reputation evaluation unit is used to determine a total reputation evaluation value when calculating the reputation evaluation value of the mobile storage device according to the abnormality index of the target reference feature; and determine a weight value of the target reference feature; Calculate the product of the weight value of the target reference feature, the abnormal index of the target reference feature and the total value of the reputation evaluation; use the product to obtain the reputation evaluation value of the mobile storage device; the reputation evaluation value is calculated by the following formula: Among them, V is used to represent the reputation evaluation value of the mobile storage device, M is used to represent the total reputation evaluation value, and Q i The abnormal index used to characterize the i-th target reference feature among n target reference features, where n is an integer not less than 1; ω i The weight value used to characterize the i-th target reference feature.
7. A computing device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.
8. A computer-readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to execute the method according to any one of claims 1 to 5.
