Display card firmware security detection method and device

By obtaining the attribute information of the graphics card firmware and BIOS data structure, using the detection model to evaluate the hardware and display performance indicators, the problem of security detection of graphics card firmware is solved, ensuring that it maintains security throughout the life cycle and protects device and user data.

CN119903513AActive Publication Date: 2025-04-29NO 15 INST OF CHINA ELECTRONICS TECH GRP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411969764.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-30
Publication Date
2025-04-29
Estimated Expiration
2044-12-30

AI Technical Summary

Technical Problem

The prior art is difficult to effectively detect and ensure that the graphics card firmware remains secure throughout the life cycle, affecting the security of equipment and user data.

Method used

By obtaining the attribute information of the graphics card firmware, performing Flash chip reading and writing processing, analyzing the BIOS data structure, obtaining physical address information, using the detection model to evaluate the hardware and display performance indicators, and combining weight and membership processing, the security detection results of the graphics card firmware are obtained.

Benefits of technology

The security detection of graphics card firmware is realized to ensure that it works safely and effectively throughout the life cycle, protecting the security of equipment and user data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119903513A_ABST
    Figure CN119903513A_ABST
Patent Text Reader

Abstract

The invention discloses a graphics card firmware security detection method and device. The method comprises the steps of obtaining attribute information of computer equipment where graphics card firmware is located; according to the attribute information, carrying out graphics card Flash chip read-write processing on the graphics card firmware to obtain graphics card firmware physical address information; according to the physical address information of the graphics card firmware, analyzing a BIOS data structure of the graphics card firmware to obtain graphics card BIOS mirror image position information; according to the display card BIOS mirror image position information, safety detection is conducted on the display card firmware, a display card firmware performance evaluation index set is obtained, and the display card firmware performance evaluation index set comprises a hardware performance evaluation index and a display performance evaluation index. And processing the graphics card firmware performance evaluation index set to obtain a graphics card firmware security detection result. According to the method, the security detection of the graphics card firmware is effectively realized, and the graphics card firmware is ensured to work safely and effectively in the whole life cycle, so that the security of equipment and user data is protected.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security technology, and in particular to a graphics card firmware security detection method and device. Background Art

[0002] With the continuous development of computer technology, various intelligent control systems and intelligent applications have been seen everywhere in daily life. Communication equipment is mostly composed of firmware such as hard disk firmware, graphics card firmware, and network equipment.

[0003] In the field of cybersecurity, firmware and hardware attacks against hard disk firmware, graphics card firmware, network devices, etc. are on the rise. Attackers are increasingly targeting the firmware and device drivers of hardware components to gain high privileges and persistence. Firmware security testing is the process of ensuring that the firmware can maintain stability and security in the face of various potential threats.

[0004] The security of graphics firmware is critical to the security of the entire system. The goal of graphics firmware security testing is to ensure that the firmware can resist various security threats throughout its life cycle, thereby protecting the security of devices and user data. With the popularization of the Internet of Things and smart devices, graphics firmware security testing has become increasingly important, because graphics firmware security is not only related to the security of the device, but may also affect the privacy of users and the security of the entire network. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a graphics card firmware security detection method and device, the method comprising obtaining attribute information of a computer device where the graphics card firmware is located; performing graphics card Flash chip read and write processing on the graphics card firmware according to the attribute information to obtain the graphics card firmware physical address information; analyzing the BIOS data structure of the graphics card firmware according to the graphics card firmware physical address information to obtain the graphics card BIOS image location information; performing security detection on the graphics card firmware according to the graphics card BIOS image location information to obtain a graphics card firmware performance evaluation index set, the graphics card firmware performance evaluation index set including hardware performance evaluation index and display performance evaluation index. The graphics card firmware performance evaluation index set is processed to obtain a graphics card firmware security detection result. The present invention effectively realizes the security detection of the graphics card firmware, ensuring that the graphics card firmware can work safely and effectively throughout its entire life cycle, thereby protecting the security of the device and user data.

[0006] In order to solve the above technical problems, the first aspect of the embodiment of the present invention discloses a graphics card firmware security detection method, the method comprising:

[0007] S1, performing security detection on the graphics card firmware to obtain a graphics card firmware performance evaluation index set; the graphics card firmware performance evaluation index set includes hardware performance evaluation index and display performance evaluation index;

[0008] S2, processing the graphics card firmware performance evaluation indicator set to obtain a graphics card firmware security detection result.

[0009] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the security detection of the graphics card firmware to obtain a graphics card firmware performance evaluation index set includes:

[0010] S11, obtaining attribute information of the computer device where the graphics card firmware is located;

[0011] S12, performing graphics card Flash chip reading and writing processing on the graphics card firmware according to the attribute information to obtain graphics card firmware physical address information;

[0012] S13, analyzing the BIOS data structure of the graphics card firmware according to the graphics card firmware physical address information to obtain the graphics card BIOS image location information;

[0013] S14, performing security detection on the graphics card firmware according to the graphics card BIOS image location information to obtain a graphics card firmware performance evaluation index set.

[0014] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the security detection of the graphics card firmware is performed according to the graphics card BIOS image location information to obtain a graphics card firmware performance evaluation index set, including:

[0015] S141, using a preset first detection model, performing hardware detection on the graphics card firmware to obtain hardware performance evaluation indicators; the hardware performance evaluation indicators include model information, temperature information, fan speed information, video memory information, core frequency information, memory frequency information and graphics card usage information;

[0016] S142, using a preset second detection model, performing display detection on the graphics card firmware to obtain display performance evaluation indicators; the display performance evaluation indicators include line synchronization information, field synchronization information, graphics rendering performance, image quality information, fluency information, and frame rate information.

[0017] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the processing of the graphics card firmware performance evaluation indicator set to obtain the graphics card firmware security detection result includes:

[0018] S21, processing the hardware performance evaluation index to obtain a hardware performance evaluation index judgment matrix A;

[0019] The expression of the hardware performance evaluation index judgment matrix A is:

[0020]

[0021] In the formula, a ij is the correlation coefficient between the i-th element and the j-th element in the hardware performance evaluation index, i=1,2,…,n,j=1,2,…,n;

[0022] S22, processing the display performance evaluation index to obtain a display performance evaluation index judgment matrix B;

[0023] The expression of the display performance evaluation index judgment matrix B is:

[0024]

[0025] Where b kp To show the correlation coefficient between the kth element and the pth element in the performance evaluation index, k = 1, 2, ..., m, p = 1, 2, ..., m;

[0026] S23, processing the hardware performance evaluation index judgment matrix A and the display performance evaluation index judgment matrix B to obtain a graphics card firmware security detection result.

[0027] As an optional implementation manner, in the first aspect of the embodiment of the present invention, the processing of the hardware performance evaluation index judgment matrix A and the display performance evaluation index judgment matrix B to obtain a graphics card firmware security detection result includes:

[0028] S231, processing the hardware performance evaluation index judgment matrix A to obtain the hardware performance evaluation index weight w a ;

[0029] S232, processing the display performance evaluation index judgment matrix B to obtain the display performance evaluation index weight w b ;

[0030] S233, processing the graphics card firmware performance evaluation index set to obtain hardware performance evaluation index membership and display performance evaluation index membership;

[0031] S234, weighting the hardware performance evaluation index w a and the hardware performance evaluation index membership to obtain a hardware performance evaluation result;

[0032] S235: weighting the display performance evaluation index w b and the display performance evaluation index membership degree to obtain a display performance evaluation result;

[0033] S236, integrating the hardware performance evaluation result and the display performance evaluation result to obtain a graphics card firmware security detection result.

[0034] As an optional implementation, in the first aspect of the embodiment of the present invention, the hardware performance evaluation index judgment matrix A is processed to obtain the hardware performance evaluation index weight w a ,include:

[0035] S2311, processing the hardware performance evaluation index judgment matrix A to obtain a benefit matrix A′ of the matrix A;

[0036] The expression of the benefit matrix A′ is:

[0037]

[0038] Among them, f(a ij ) is the i-th row and j-th column element in the benefit matrix A′;

[0039] S2312, solving the benefit matrix A′ to obtain the eigenvalue λ 1 ,λ 2 ,…,λ n , and find the eigenvector e corresponding to the eigenvalue i , i=1,2,…,n;

[0040] S2313, for the feature vector e i Processing is performed to obtain the hardware performance evaluation index weight w a ;

[0041] The hardware performance evaluation index weight w a The expression is:

[0042] w a =[w a1 ,w a1 ,…,w an ]

[0043] where w ai w a The i-th element in w′ ai Normalized to [0,1], we get w ai .

[0044] As an optional implementation, in the first aspect of the embodiment of the present invention, the weight w of the hardware performance evaluation index is a The hardware performance evaluation index membership is processed to obtain a hardware performance evaluation result, including:

[0045] Using the hardware performance evaluation model, the hardware performance evaluation index weight w a The hardware performance evaluation result S is obtained by processing the hardware performance evaluation index membership.1 ;

[0046] The hardware performance evaluation model expression is:

[0047]

[0048] Among them, w aq is the weight vector w a =(w a1 ,w a2 ,...w an ) in the qth element, u q (x) is the qth element in the hardware performance evaluation index membership.

[0049] A second aspect of an embodiment of the present invention discloses a graphics card firmware security detection device, the device comprising:

[0050] An evaluation index acquisition module is used to perform security detection on the graphics card firmware to obtain a graphics card firmware performance evaluation index set; the graphics card firmware performance evaluation index set includes hardware performance evaluation indexes and display performance evaluation indexes;

[0051] The security detection module is used to process the graphics card firmware performance evaluation index set to obtain a graphics card firmware security detection result.

[0052] As an optional implementation, in the second aspect of the embodiment of the present invention, the security detection of the graphics card firmware to obtain a graphics card firmware performance evaluation index set includes:

[0053] S11, obtaining attribute information of the computer device where the graphics card firmware is located;

[0054] S12, performing graphics card Flash chip reading and writing processing on the graphics card firmware according to the attribute information to obtain graphics card firmware physical address information;

[0055] S13, analyzing the BIOS data structure of the graphics card firmware according to the graphics card firmware physical address information to obtain the graphics card BIOS image location information;

[0056] S14, performing security detection on the graphics card firmware according to the graphics card BIOS image location information to obtain a graphics card firmware performance evaluation index set.

[0057] As an optional implementation, in the second aspect of the embodiment of the present invention, the security detection of the graphics card firmware is performed according to the graphics card BIOS image location information to obtain a graphics card firmware performance evaluation index set, including:

[0058] S141, using a preset first detection model, performing hardware detection on the graphics card firmware to obtain hardware performance evaluation indicators; the hardware performance evaluation indicators include model information, temperature information, fan speed information, video memory information, core frequency information, memory frequency information and graphics card usage information;

[0059] S142, using a preset second detection model, performing display detection on the graphics card firmware to obtain display performance evaluation indicators; the display performance evaluation indicators include line synchronization information, field synchronization information, graphics rendering performance, image quality information, fluency information, and frame rate information.

[0060] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the processing of the graphics card firmware performance evaluation indicator set to obtain the graphics card firmware security detection result includes:

[0061] S21, processing the hardware performance evaluation index to obtain a hardware performance evaluation index judgment matrix A;

[0062] The expression of the hardware performance evaluation index judgment matrix A is:

[0063]

[0064] In the formula, a ij is the correlation coefficient between the i-th element and the j-th element in the hardware performance evaluation index, i=1,2,…,n,j=1,2,…,n;

[0065] S22, processing the display performance evaluation index to obtain a display performance evaluation index judgment matrix B;

[0066] The expression of the display performance evaluation index judgment matrix B is:

[0067]

[0068] Where b kp To show the correlation coefficient between the kth element and the pth element in the performance evaluation index, k = 1, 2, ..., m, p = 1, 2, ..., m;

[0069] S23, processing the hardware performance evaluation index judgment matrix A and the display performance evaluation index judgment matrix B to obtain a graphics card firmware security detection result.

[0070] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the processing of the hardware performance evaluation index judgment matrix A and the display performance evaluation index judgment matrix B to obtain a graphics card firmware security detection result includes:

[0071] S231, processing the hardware performance evaluation index judgment matrix A to obtain the hardware performance evaluation index weight w a ;

[0072] S232, processing the display performance evaluation index judgment matrix B to obtain the display performance evaluation index weight w b ;

[0073] S233, processing the graphics card firmware performance evaluation index set to obtain hardware performance evaluation index membership and display performance evaluation index membership;

[0074] S234, weighting the hardware performance evaluation index w a and the hardware performance evaluation index membership to obtain a hardware performance evaluation result;

[0075] S235: weighting the display performance evaluation index w b and the display performance evaluation index membership degree to obtain a display performance evaluation result;

[0076] S236, integrating the hardware performance evaluation result and the display performance evaluation result to obtain a graphics card firmware security detection result.

[0077] As an optional implementation, in the second aspect of the embodiment of the present invention, the hardware performance evaluation index judgment matrix A is processed to obtain the hardware performance evaluation index weight w a ,include:

[0078] S2311, processing the hardware performance evaluation index judgment matrix A to obtain a benefit matrix A′ of the matrix A;

[0079] The expression of the benefit matrix A′ is:

[0080]

[0081] Among them, f(a ij ) is the i-th row and j-th column element in the benefit matrix A′;

[0082] S2312, solving the benefit matrix A′ to obtain the eigenvalue λ 1 ,λ 2 ,…,λ n , and find the eigenvector e corresponding to the eigenvalue i , i=1,2,…,n;

[0083] S2313, for the feature vector e i Processing is performed to obtain the hardware performance evaluation index weight w a ;

[0084] The hardware performance evaluation index weight w a The expression is:

[0085] w a =[w a1 ,w a1 ,…,w an ]

[0086] where w ai w a The i-th element in w′ ai Normalized to [0,1], we get w ai .

[0087] As an optional implementation, in the second aspect of the embodiment of the present invention, the weight w of the hardware performance evaluation index is a The hardware performance evaluation index membership is processed to obtain a hardware performance evaluation result, including:

[0088] Using the hardware performance evaluation model, the hardware performance evaluation index weight w a The hardware performance evaluation result S is obtained by processing the hardware performance evaluation index membership. 1 ;

[0089] The hardware performance evaluation model expression is:

[0090]

[0091] Among them, w aq is the weight vector w a =(w a1 ,w a2 ,...w an ) in the qth element, u q (x) is the qth element in the hardware performance evaluation index membership.

[0092] The third aspect of the present invention discloses another graphics card firmware security detection device, the device comprising:

[0093] A memory storing executable program code;

[0094] a processor coupled to the memory;

[0095] The processor calls the executable program code stored in the memory to execute part or all of the steps in the graphics card firmware security detection method disclosed in the first aspect of the embodiment of the present invention.

[0096] The fourth aspect of the present invention discloses a computer storable medium, which stores computer instructions. When the computer instructions are called, they are used to execute some or all of the steps in the graphics card firmware security detection method disclosed in the first aspect of the embodiment of the present invention.

[0097] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0098] The present invention discloses a graphics card firmware security detection method and device, which obtains the graphics card firmware security detection result by processing the graphics card firmware performance evaluation index set. The present invention effectively realizes the security detection of the graphics card firmware, ensures that the graphics card firmware can work safely and effectively throughout the entire life cycle, thereby protecting the security of the device and user data. BRIEF DESCRIPTION OF THE DRAWINGS

[0099] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0100] Figure 1 It is a flowchart of a graphics card firmware security detection method disclosed in an embodiment of the present invention;

[0101] Figure 2 It is a flowchart of another graphics card firmware security detection method disclosed in an embodiment of the present invention;

[0102] Figure 3 It is a schematic diagram of a graphics card firmware detection process disclosed in an embodiment of the present invention;

[0103] Figure 4 It is a schematic diagram of HOOK int 13h code disclosed in an embodiment of the present invention;

[0104] Figure 5 It is a structural schematic diagram of a graphics card firmware security detection device disclosed in an embodiment of the present invention;

[0105] Figure 6 It is a structural schematic diagram of another graphics card firmware security detection device disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0106] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme 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 only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0107] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.

[0108] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0109] The present invention discloses a graphics card firmware security detection method and device, the method comprising obtaining attribute information of a computer device where the graphics card firmware is located; performing graphics card Flash chip read and write processing on the graphics card firmware according to the attribute information to obtain the graphics card firmware physical address information; analyzing the BIOS data structure of the graphics card firmware according to the graphics card firmware physical address information to obtain the graphics card BIOS image location information; performing security detection on the graphics card firmware according to the graphics card BIOS image location information to obtain a graphics card firmware performance evaluation index set, the graphics card firmware performance evaluation index set including hardware performance evaluation index and display performance evaluation index. The graphics card firmware performance evaluation index set is processed to obtain a graphics card firmware security detection result. The present invention effectively realizes the security detection of the graphics card firmware, ensures that the graphics card firmware can work safely and effectively throughout the entire life cycle, thereby protecting the security of the device and user data. The following are detailed descriptions.

[0110] Embodiment 1

[0111] See also Figure 1 , Figure 1 1 is a flow chart of a graphics card firmware security detection method disclosed in an embodiment of the present invention. Figure 1The graphics card firmware security detection method described is applied to the field of network security technology, and the embodiments of the present invention do not limit it. Figure 1 As shown, the graphics card firmware security detection method may include the following operations:

[0112] S1, performing security detection on the graphics card firmware to obtain a graphics card firmware performance evaluation index set; the graphics card firmware performance evaluation index set includes hardware performance evaluation index and display performance evaluation index;

[0113] S2, processing the graphics card firmware performance evaluation indicator set to obtain a graphics card firmware security detection result.

[0114] Optionally, the performing security detection on the graphics card firmware to obtain a graphics card firmware performance evaluation index set includes:

[0115] S11, obtaining attribute information of the computer device where the graphics card firmware is located;

[0116] S12, performing graphics card Flash chip reading and writing processing on the graphics card firmware according to the attribute information to obtain graphics card firmware physical address information;

[0117] S13, analyzing the BIOS data structure of the graphics card firmware according to the graphics card firmware physical address information to obtain the graphics card BIOS image location information;

[0118] S14, performing security detection on the graphics card firmware according to the graphics card BIOS image location information to obtain a graphics card firmware performance evaluation index set.

[0119] Optionally, the performing security detection on the graphics card firmware according to the graphics card BIOS image location information to obtain a graphics card firmware performance evaluation index set includes:

[0120] S141, using a preset first detection model, performing hardware detection on the graphics card firmware to obtain hardware performance evaluation indicators; the hardware performance evaluation indicators include model information, temperature information, fan speed information, video memory information, core frequency information, memory frequency information and graphics card usage information;

[0121] Optionally, the preset first detection model is 3Dmark, etc. This embodiment uses a test program developed by the user to initialize the COM component library and set various parameters in accordance with the WMI usage specifications in the C language. After successfully connecting to the ROOT\CIMV2 namespace of WMI, the WMI security level is set, and then the WMI request is executed, the Win32_VideoController table is selected, and the corresponding information of the graphics card is retrieved according to the names of the various information that need to be obtained.

[0122] S142, using a preset second detection model, performing display detection on the graphics card firmware to obtain display performance evaluation indicators; the display performance evaluation indicators include line synchronization information, field synchronization information, graphics rendering performance, image quality information, fluency information, and frame rate information.

[0123] Optionally, the preset second detection model is 3Dmark or a dedicated instrument test. This embodiment uses a test program developed by the user, such as using DirectX technology as the underlying user interface to perform a graphics rendering test on a graphics card. The test server software is designed and run on the Windows XP operating system, and the Windows XP system only supports DirectX 9.0 at most, so this program module uses the Direct3D 9.0 interface related to color and drawing in DirectX 9.0 to achieve the rendering of specific images. The header file d3d9.h needs to be included in the source program, and the Microsoft Direct3D SDK external link library file d3d9.lib needs to be added to the project.

[0124] Optionally, the processing the graphics card firmware performance evaluation indicator set to obtain a graphics card firmware security detection result includes:

[0125] S21, processing the hardware performance evaluation index to obtain a hardware performance evaluation index judgment matrix A;

[0126] Specifically, the hardware performance evaluation indicators are comprehensively evaluated, and the evaluation results of model information, temperature information, fan speed information, video memory information, core frequency information, memory frequency information and graphics card usage information are given, and normalized to a value between 0 and 1 to obtain a judgment matrix A;

[0127] The expression of the hardware performance evaluation index judgment matrix A is:

[0128]

[0129] In the formula, a ij is the correlation coefficient between the i-th element and the j-th element in the hardware performance evaluation index, i=1,2,…,n,j=1,2,…,n;

[0130] S22, processing the display performance evaluation index to obtain a display performance evaluation index judgment matrix B;

[0131] Specifically, the display performance evaluation indicators are comprehensively evaluated to give the evaluation results of row synchronization information, field synchronization information, graphics rendering performance, image quality information, fluency information, and frame rate information, and the results are normalized to a value between 0 and 1 to obtain a judgment matrix B;

[0132] The expression of the display performance evaluation index judgment matrix B is:

[0133]

[0134] Where b kp To show the correlation coefficient between the kth element and the pth element in the performance evaluation index, k = 1, 2, ..., m, p = 1, 2, ..., m;

[0135] S23, processing the hardware performance evaluation index judgment matrix A and the display performance evaluation index judgment matrix B to obtain a graphics card firmware security detection result.

[0136] Optionally, the processing of the hardware performance evaluation index judgment matrix A and the display performance evaluation index judgment matrix B to obtain a graphics card firmware security detection result includes:

[0137] S231, processing the hardware performance evaluation index judgment matrix A to obtain the hardware performance evaluation index weight w a ;

[0138] S232, processing the display performance evaluation index judgment matrix B to obtain the display performance evaluation index weight w b ;

[0139] Processing the display performance evaluation index judgment matrix B to obtain a benefit matrix B′ of the matrix B;

[0140] The expression of the benefit matrix B′ is:

[0141]

[0142] Among them, f(b ij ) is the i-th row and j-th column element in the benefit matrix B′, min{B} means finding the minimum value of the matrix B, and max{B} means finding the maximum value of the matrix B;

[0143] S2312, solving the benefit matrix B′ to obtain the eigenvalue λ′ 1 ,λ′ 2 ,…,λ′ n , and find the eigenvector e′ corresponding to the eigenvalue i , i=1,2,…,n;

[0144] S2313, for the feature vector e′ i Processing is performed to obtain the display performance evaluation index weight w b ;

[0145] The display performance evaluation index weight w bThe expression is:

[0146] w b =[w b1 ,w b1 ,…,w bn ]

[0147] where w bi w b The i-th element in w′ bi Normalized to [0,1], we get w bi .

[0148] S233, processing the graphics card firmware performance evaluation index set to obtain hardware performance evaluation index membership and display performance evaluation index membership;

[0149] The hardware performance evaluation index membership includes model information membership, temperature information membership, fan speed information membership, video memory information membership, core frequency information membership, memory frequency information membership and graphics card usage rate information membership;

[0150] The display performance evaluation index membership includes the line synchronization information membership, the field synchronization information membership, the graphics rendering performance membership, the image quality information membership, the smoothness information membership, and the frame rate information membership;

[0151] S234, weighting the hardware performance evaluation index w a and the hardware performance evaluation index membership to obtain a hardware performance evaluation result;

[0152] S235: weighting the display performance evaluation index w b and the display performance evaluation index membership degree to obtain a display performance evaluation result;

[0153] Using the display performance evaluation model, the display performance evaluation index weight w b The display performance evaluation result S is obtained by processing the display performance evaluation index membership degree. 2 ;

[0154] The display performance evaluation model expression is:

[0155]

[0156] Among them, w au is the weight vector w b =(w b1 ,w b2 ,...w bn ), the uth element in u(x) is the u-th element in the display performance evaluation index membership.

[0157] S236, integrating the hardware performance evaluation result and the display performance evaluation result to obtain a graphics card firmware security detection result, including:

[0158] S=S 1 w 1 +S 2 w 2

[0159] Among them, S is the graphics card firmware security detection result, w 1 is the weight of hardware performance evaluation result, w 2 To display the weight of performance evaluation results, w 1 +w 2 =1,w 1 、w 2 By experimental setting;

[0160] Optionally, the hardware performance evaluation index judgment matrix A is processed to obtain the hardware performance evaluation index weight w a ,include:

[0161] S2311, processing the hardware performance evaluation index judgment matrix A to obtain a benefit matrix A′ of the matrix A;

[0162] The expression of the benefit matrix A′ is:

[0163]

[0164] Among them, f(a ij ) is the i-th row and j-th column element in the benefit matrix A′, min{A} means finding the minimum value of the matrix A, and max{A} means finding the maximum value of the matrix A;

[0165] S2312, solving the benefit matrix A′ to obtain the eigenvalue λ 1 ,λ 2 ,…,λ n , and find the eigenvector e corresponding to the eigenvalue i , i = 1, 2, ..., n, n is the number of eigenvectors;

[0166] S2313, for the feature vector e i Processing is performed to obtain the hardware performance evaluation index weight w a ;

[0167] The hardware performance evaluation index weight w a The expression is:

[0168] w a=[w a1 ,w a1 ,…,w an ]

[0169] where w ai w a The i-th element in w′ ai Normalized to [0,1], we get w ai .

[0170] Optionally, the weight w of the hardware performance evaluation index a The hardware performance evaluation index membership is processed to obtain a hardware performance evaluation result, including:

[0171] Using the hardware performance evaluation model, the hardware performance evaluation index weight w a The hardware performance evaluation result S is obtained by processing the hardware performance evaluation index membership. 1 ;

[0172] The hardware performance evaluation model expression is:

[0173]

[0174] Among them, w aq is the weight vector w a =(w a1 ,w a2 ,...w an ) in the qth element, u q (x) is the qth element in the hardware performance evaluation index membership.

[0175] It can be seen that the present invention discloses a graphics card firmware security detection method and device, which obtains the graphics card firmware security detection result by processing the graphics card firmware performance evaluation index set. The present invention effectively realizes the security detection of graphics card firmware, ensures that the graphics card firmware can work safely and effectively throughout the entire life cycle, thereby protecting the security of equipment and user data.

[0176] Embodiment 2

[0177] In this embodiment, after obtaining the hardware performance evaluation index judgment matrix A and the display performance evaluation index judgment matrix B, feature extraction is performed on the matrix A to obtain the first parameter information;

[0178]

[0179] Among them, H 2 is the first parameter information, L is the preset length, j = 1, 2, ..., L, δ jare the singular values ​​of matrix A;

[0180] Perform feature extraction on the matrix B to obtain second parameter information, including:

[0181] Convert the matrix B into a one-dimensional vector x(t) (extract the elements of each row and concatenate them to form a one-dimensional vector);

[0182] Calculate fuzzy parameter information;

[0183]

[0184] Among them, A x (θ, τ) is the fuzzy parameter information, t is the time variable, τ is the displacement variable, θ is the frequency variable corresponding to τ, and * indicates taking the conjugate.

[0185] Performing Hadamard product calculation on the fuzzy parameter information and a preset kernel function to obtain second parameter information;

[0186] The Hadamard product calculation formula is:

[0187]

[0188] Among them, C x is the second parameter information, the integral range is -∞~∞, g(θ,τ) is the preset kernel function, a=0.001,β=50,u,t is the time variable, τ is the time shift variable, Ω is the frequency variable corresponding to u, θ is the frequency variable corresponding to τ;

[0189] Fusing the first parameter information and the second parameter information to obtain fused feature parameter information;

[0190] Acquire first parameter information X and second parameter information Y to be fused;

[0191] Performing feature projection on the cluster feature information X and the cluster feature information Y to obtain projected cluster feature information X' and projected cluster feature information Y';

[0192] The projected cluster feature information X' and the projected cluster feature information Y' are processed to obtain a projection vector a 1 and the projection vector b 1 ;

[0193] The cluster feature information X, cluster feature information Y, and projection vector a 1 and the projection vector b 1 Processing is performed to obtain fusion feature parameter information of cluster feature information X and cluster feature information Y.

[0194] The preset detection model is trained using the fusion feature parameter information to obtain an optimized detection model;

[0195] The preset detection model is: Convolutional Long Short-Term Memory Network (ConvLSTM) combined with LSTM network. ConvLSTM introduces convolution operation on the basis of LSTM, which improves the processing ability of time series data.

[0196] Model structure

[0197] Convolutional Long Short-Term Memory Network (ConvLSTM): ConvLSTM can capture spatiotemporal features more effectively by introducing convolution operations in LSTM units. Its calculation formula is as follows:

[0198] Forget Gate:

[0199]

[0200] f t : Forget gate output, controls the degree of information forgetting; σ: Sigmoid activation function, compresses the output value between 0 and 1; W xf : Input data; x t : Input data at the current moment; W hf : The hidden state of the previous moment; h t-1 The convolution kernel weight associated with the forget gate. W cf :Unit status; c t-1 : The unit state at the last moment, storing the accumulation of past information. f : Bias term of forget gate, helps adjust the output of forget gate.

[0201] Input Gate:

[0202]

[0203] i t : Input gate output, controlling the degree of introduction of new information; W xi : Input data x t The convolution kernel weight associated with the input gate; W hi : The hidden state of the previous moment; h t-1 The convolution kernel weight associated with the input gate; W ci :Unit status c t-1 The weight associated with the input gate; b i : Bias term for input gate.

[0204] Output Gate:

[0205]

[0206] o t: Output gate output, controlling the cell state; c t : How much information is passed to the hidden state; W xo : Input data; x t The convolution kernel weight associated with the output gate; W ho : The hidden state of the previous moment; h t-1 The convolution kernel weight associated with the output gate; W co :Unit status c t The weight associated with the output gate; b o : Bias term for the output gate.

[0207] Unit status update:

[0208]

[0209] c t : The unit state at the current moment; tanh: Hyperbolic tangent function, compressing the value between -1 and 1. W xc : Input data x t Convolution kernel weights associated with the cell state update. W hc : The hidden state of the previous moment; h t-1 Convolution kernel weights associated with unit state updates; b c : Bias term for unit state update.

[0210] Hide status updates:

[0211]

[0212] h t : The hidden state at the current moment.

[0213] o t : The output of the output gate determines the cell state c t How much information is passed to the hidden state.

[0214] The optimized detection model is used to process the hardware performance evaluation index judgment matrix and the display performance evaluation index judgment matrix to be detected, and the graphics card firmware security detection result is obtained.

[0215] Embodiment 3

[0216] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of another graphics card firmware security detection method disclosed in an embodiment of the present invention. Figure 2 The graphics card firmware security detection method described is applied to the field of network security technology, and the embodiments of the present invention do not limit it. Figure 2 As shown, the graphics card firmware security detection method may include the following operations:

[0217] 1. Overall solution:

[0218] Graphics card firmware security detection is to inject customized executable code (file) (first detection model, second detection model) into the graphics card firmware of the target machine after obtaining administrator privileges, and directly parse the executable file during system startup, load it into the memory and execute it. After the target machine's main control code is executed, it triggers a reverse connection to the specified C&C server and accepts instructions. The C&C server can push the upper-layer load code to it, and finally realize security detection. The upper-layer load code is encrypted and sent to the controlled end. The injection method of executable code supports two methods: physical contact burning and software injection on the target machine.

[0219] like Figure 2 The graphics card firmware executable code injection architecture is divided into four modules, namely the graphics card Flash chip reading and writing module, the BIOS image data structure reverse analysis module, the real mode custom code execution module, and the Windows operating system kernel security protection mechanism breakthrough module.

[0220] First, we deeply reverse analyze the official driver and implement the mapping of virtual memory to physical memory in the driver, so that the process can access any physical address space, thereby injecting the customized executable code (file) (first detection model, second detection model) into the graphics card firmware. Then, in order to ensure that the customized code can be executed safely and stably, we study the reverse analysis methods of the graphics card BIOS data structure, module composition, and module function, and inject specific code into the specific location of the graphics card BIOS image. Then, through the HOOK technology, the customized code has the ability to execute in memory. After the target machine's main control code is executed, it triggers a reverse connection to the specified C&C server and accepts instructions. The C&C server can push the upper-level load code to it, and finally achieve security detection.

[0221] It is necessary to elevate the rights of the target computer in advance, confirm key configuration information such as the target computer's operating system and graphics card firmware, and implement security testing of the target graphics card firmware in a safe and controllable environment under qualified conditions.

[0222] Table 1 Graphics card firmware security detection hardware list

[0223] Serial number Device Name Function quantity Remark 1 buspirate 3.6 BIOS Flasher 1 2 sf600 BIOS Flasher 1

[0224] Figure 3 This is a schematic diagram of the graphics card firmware security detection process.

[0225] 2. Software design plan

[0226] (1) Graphics card Flash chip reading and writing technology design

[0227] In order to read and write the graphics card BIOS, we must first master the writing mechanism and method of the graphics card BIOS. In the current Win32 protected mode architecture operating system (after Windows 2000), the operating system kernel has undergone major changes, using the 32-bit protected mode of the x86 CPU to achieve complete process address space protection, and the overall security and stability of the system has been greatly enhanced. The operating system fully utilizes the basic security feature provided by the i386 CPU - process space protection. This allows any process to only access the virtual address space owned by its own process; and the mapping of the real physical space corresponding to the virtual address space is completed by the operating system and the north bridge chip. Due to the protection of the operating system, any process cannot access the physical address space of other processes, cannot directly access the graphics card BIOS address space, and cannot interfere with the behavior of other processes.

[0228] For Windows operating systems, access to the underlying hardware is accomplished through the driver mechanism. Preliminary research has found that the official refresh and backup tools provided by graphics card BIOS manufacturers also provide read and write functions in the form of drivers.

[0229] We then conducted an in-depth reverse analysis of the internal mechanisms of the drivers included in these official programs and found that these drivers all use functions related to system hardware, memory pools, memory areas, physical memory conversion, etc. These functions are all related to the (mutual) mapping of a certain area of ​​physical memory to virtual memory in the kernel. In other words, the mapping of virtual memory to physical memory is implemented in the driver, allowing the process to access any physical address space.

[0230] Moreover, the official flashing program provided by the graphics card BIOS manufacturer can support many different manufacturers and different types of Flash chips (more than 40 different chips). Therefore, based on the above ideas, we will analyze its reading and writing mechanism and use its official driver to flash the customized code. It supports physical contact burning and direct software operation on the target computer.

[0231] Official drivers also have an advantage: all major antivirus and protection software manufacturers have added official drivers to their whitelists, making them universal.

[0232] (2) Reverse analysis, parsing, specification and composition design of graphics card BIOS data structure

[0233] In order to ensure the safe and stable execution of the customized code (first detection model, second detection model), it is necessary to study the reverse analysis method of the graphics card BIOS data structure, module composition, and module function, and inject specific code into the specific location of the graphics card BIOS image. Use static and dynamic analysis tools such as IDA Pro and OllyDBG to analyze the data structure of the graphics card firmware and study its available mechanisms;

[0234] Research and analyze the format, hardware architecture, protocol specifications, BIOS image data structure, and firmware native code functions of NVIDIA, ATI / AMD graphics card firmware. Including but not limited to the following reference protocols and specifications:

[0235] US National Standard NIST-SP800-147: BIOS Protection Guidelines

[0236] US National Standard NIST-SP800-193: Platform Firmware Resiliency Guidelines

[0237] ACPI Specification: ACPI_5_0_Errata_B

[0238] PCI Option ROM Specifications

[0239] PCI Local Bus Specification

[0240] PCI Configuration Space Specification

[0241] Unified Extensible Firmware Interface Specification

[0242] (3) Research on HOOK technology and code execution mechanism in real mode

[0243] Based on the reverse analysis, parsing, specification and composition of the graphics card BIOS data structure, it is also necessary to study the relevant technologies for custom code execution in real mode, so that the operating system can run in a specified manner and execute custom code during the primary startup process. The overall attack code design in the real mode stage is divided into 3 steps:

[0244] Code executed during the BIOS POST phase (HOOK IVT);

[0245] Windows kernel startup phase code;

[0246] Load function code execution (external CMD / download execution).

[0247] The specific process design is as follows:

[0248] When the BIOS starts, the entry function of the PCI Option ROM (also called PCI Expansion ROM) of the graphics card firmware will be executed. The PCI entry function (address) is a variable specified in the PCI protocol, that is, the peripherals that comply with the PCI specification. During the BIOS initialization phase, the CPU will execute the address of the firmware in these peripherals, which is the so-called "entry address", and this "entry address" is usually mainly a jump instruction, which jumps to another executable code area to execute the code. Therefore, the PCI Option ROM entry address of the firmware is first modified through a script program, and then jumps to the set area to execute the real mode code. After processing the necessary operations, it returns (jumps to) the original firmware entry address, that is, the graphics card firmware initialization code, and executes the initialization function of the original firmware.

[0249] When the code is executed, it first hooks IVT 10h: from the BIOS POST stage to the MBR / VBR loading stage, to the Windows or other OS startup, the kernel loading stage, until the OS startup is complete. It can hook 10h, 13h, 19h, and other interrupts. At this time, int 13h has not been initialized, so 10h is executed first.

[0250] During the BIOS startup process, the graphics card's IVT will be called whenever a string is displayed. Since it has been hooked by the code at this time, the code will be executed every time INT 10h is called. However, since int 10h is initialized earlier and int 10h operations will no longer be executed when Windows starts to boot to a certain node, the HOOK needs to be passed to other interrupt vectors.

[0251] When INT 13h is executed, BIOS has completed the initialization of most devices. Therefore, passing the hook from INT 10H to INT 13h will ensure the availability of various functions, and the code can still obtain CPU control when the kernel file is loaded later by the OS. In int 13h, the code will monitor the loading of content, and when it detects that the Windows system kernel file is loaded, the attack operation will be carried out. At this time, the HOOK transfer work still needs to be done, because after the Windows operating system kernel starts to load, int 13h is no longer called. Figure 4 It is a schematic diagram of the HOOK int 13h code disclosed in an embodiment of the present invention.

[0252] (4) Research on Windows operating system kernel security protection mechanism

[0253] In order to implement direct memory execution of custom code in the graphics card firmware, the Windows kernel needs to be modified as a prerequisite. By hooking certain real-mode interrupt services, when these interrupt services are called during the operating system startup process, custom code is executed, thereby indirectly rewriting the operating system kernel or other key data. The Windows operating system kernel begins to load the hook PsGetCurrentProcess() function. Get the base address of Ntoskrnl, and then gradually get the exact address of related functions. In this way, other more complex operations, such as reverse connection, are gradually completed.

[0254] During the execution process, the assembly code is written specifically for the x86 / x64 system. Finally, the final payload code is executed by creating and calling a thread, and the thread function used is KeDelayExecutionThread. It is worth noting that the execution delay parameter must be set at this time. If the time is too short, some functions of the operating system are not initialized, and the remote control payload code cannot be executed.

[0255] (5) Interface design

[0256] The interface design of graphics card firmware security detection is shown in the following table:

[0257] Table 2 Graphics card firmware security detection interface design

[0258]

[0259] The system interface of the graphics card firmware detection program is shown in the following table:

[0260] Table 3 Graphics card firmware detection program interface description table

[0261]

[0262] Data design: mainly data on the underlying information, including system BIOS mode settings (such as UEFI, Legacy), graphics card BIOS mode (hybrid, pure UEFI, Legacy), operating system mode (such as UEFI or traditional MBR method).

[0263] Target machine graphics card firmware (BIOS) data: including the number of graphics cards on the target machine, graphics card type, graphics card manufacturer, graphics card BIOS size, graphics card BIOS free space size, etc. Also includes whether the target machine graphics card BIOS is write-protected.

[0264] Target machine operating system data: including the target machine operating system version and current user permissions, such as administrator or ordinary user.

[0265] Load data: This system provides basic functions for testing and carrying upper-layer applications, such as rebound CMD, or encrypted data channels, which allow users to transfer executable files.

[0266] It can be seen that the present invention discloses a graphics card firmware security detection method and device, which obtains the graphics card firmware security detection result by processing the graphics card firmware performance evaluation index set. The present invention effectively realizes the security detection of graphics card firmware, ensures that the graphics card firmware can work safely and effectively throughout the entire life cycle, thereby protecting the security of equipment and user data.

[0267] Embodiment 3

[0268] See also Figure 5 , Figure 5 1 is a schematic diagram of a graphics card firmware security detection device disclosed in an embodiment of the present invention. Figure 5 The graphics card firmware security detection device described is applied to the field of network security technology, and the embodiments of the present invention do not limit this. Figure 5 As shown, the graphics card firmware security detection device may include the following operations:

[0269] S301, an evaluation index acquisition module, used to perform security detection on the graphics card firmware to obtain a graphics card firmware performance evaluation index set; the graphics card firmware performance evaluation index set includes hardware performance evaluation indexes and display performance evaluation indexes;

[0270] S302, a security detection module is used to process the graphics card firmware performance evaluation indicator set to obtain a graphics card firmware security detection result.

[0271] Embodiment 4

[0272] See also Figure 6 , Figure 6 1 is a schematic diagram of another graphics card firmware security detection device disclosed in an embodiment of the present invention. Figure 6 The graphics card firmware security detection device described is applied to the field of network security technology, and the embodiments of the present invention do not limit this. Figure 6 As shown, the graphics card firmware security detection device may include the following operations:

[0273] A memory 401 storing executable program codes;

[0274] a processor 402 coupled to the memory 401;

[0275] The processor 402 calls the executable program code stored in the memory 401 to execute the steps in the graphics card firmware security detection method described in the first and second embodiments.

[0276] Embodiment 5

[0277] An embodiment of the present invention discloses a computer-readable storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the graphics card firmware security detection method described in Embodiment 1 and Embodiment 2.

[0278] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0279] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0280] Finally, it should be noted that the graphics card firmware security detection method and device disclosed in the embodiments of the present invention disclose only the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. 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 graphics card firmware security detection method, characterized in that: The method comprises: S1, performing security detection on the graphics card firmware to obtain a graphics card firmware performance evaluation index set; the graphics card firmware performance evaluation index set includes hardware performance evaluation index and display performance evaluation index; S2, processing the graphics card firmware performance evaluation indicator set to obtain a graphics card firmware security detection result.

2. The graphics card firmware security detection method according to claim 1, characterized in that: The security detection of the graphics card firmware is performed to obtain a graphics card firmware performance evaluation index set, including: S11, obtaining attribute information of the computer device where the graphics card firmware is located; S12, performing graphics card Flash chip reading and writing processing on the graphics card firmware according to the attribute information to obtain graphics card firmware physical address information; S13, analyzing the BIOS data structure of the graphics card firmware according to the graphics card firmware physical address information to obtain the graphics card BIOS image location information; S14, performing security detection on the graphics card firmware according to the graphics card BIOS image location information to obtain a graphics card firmware performance evaluation index set.

3. The graphics card firmware security detection method according to claim 2, characterized in that: The step of performing security detection on the graphics card firmware according to the graphics card BIOS image location information to obtain a graphics card firmware performance evaluation index set includes: S141, using a preset first detection model, performing hardware detection on the graphics card firmware to obtain hardware performance evaluation indicators; the hardware performance evaluation indicators include model information, temperature information, fan speed information, video memory information, core frequency information, memory frequency information and graphics card usage information; S142, using a preset second detection model, performing display detection on the graphics card firmware to obtain display performance evaluation indicators; the display performance evaluation indicators include line synchronization information, field synchronization information, graphics rendering performance, image quality information, fluency information, and frame rate information.

4. The graphics card firmware security detection method according to claim 1, characterized in that: The processing of the graphics card firmware performance evaluation indicator set to obtain a graphics card firmware security detection result includes: S21, processing the hardware performance evaluation index to obtain a hardware performance evaluation index judgment matrix A; The expression of the hardware performance evaluation index judgment matrix A is: In the formula, a ij is the correlation coefficient between the i-th element and the j-th element in the hardware performance evaluation index, i=1,2,…,n,j=1,2,…,n; S22, processing the display performance evaluation index to obtain a display performance evaluation index judgment matrix B; The expression of the display performance evaluation index judgment matrix B is: Where b kp To show the correlation coefficient between the kth element and the pth element in the performance evaluation index, k = 1, 2, ..., m, p = 1, 2, ..., m; S23, processing the hardware performance evaluation index judgment matrix A and the display performance evaluation index judgment matrix B to obtain a graphics card firmware security detection result.

5. The graphics card firmware security detection method according to claim 4, characterized in that: The processing of the hardware performance evaluation index judgment matrix A and the display performance evaluation index judgment matrix B to obtain the graphics card firmware security detection result includes: S231, processing the hardware performance evaluation index judgment matrix A to obtain the hardware performance evaluation index weight w a ; S232, processing the display performance evaluation index judgment matrix B to obtain the display performance evaluation index weight w b ; S233, processing the graphics card firmware performance evaluation index set to obtain hardware performance evaluation index membership and display performance evaluation index membership; S234, weighting the hardware performance evaluation index w a and the hardware performance evaluation index membership to obtain a hardware performance evaluation result; S235: weighting the display performance evaluation index w b and the display performance evaluation index membership degree to obtain a display performance evaluation result; S236, integrating the hardware performance evaluation result and the display performance evaluation result to obtain a graphics card firmware security detection result.

6. The graphics card firmware security detection method according to claim 5, characterized in that: The hardware performance evaluation index judgment matrix A is processed to obtain the hardware performance evaluation index weight w a ,include: S2311, processing the hardware performance evaluation index judgment matrix A to obtain a benefit matrix A′ of the matrix A; The expression of the benefit matrix A′ is: Among them, f(a ij ) is the i-th row and j-th column element in the benefit matrix A′; S2312, solving the benefit matrix A′ to obtain eigenvalues ​​λ1, λ2, …, λ n , and find the eigenvector e corresponding to the eigenvalue i , i=1,2,…,n; S2313, for the feature vector e i Processing is performed to obtain the hardware performance evaluation index weight w a ; The hardware performance evaluation index weight w a The expression is: In a =[in a1 ,In a1 ,…,In an ] where w ai w a The i-th element in w a ' i Normalized to [0,1], we get w ai .

7. The graphics card firmware security detection method according to claim 5, characterized in that: The weight w of the hardware performance evaluation index a The hardware performance evaluation index membership is processed to obtain a hardware performance evaluation result, including: Using the hardware performance evaluation model, the hardware performance evaluation index weight w a and the hardware performance evaluation index membership to obtain a hardware performance evaluation result S1; The hardware performance evaluation model expression is: Among them, w aq is the weight vector w a =(w a1 ,w a2 ,...w an ) in the qth element, u q (x) is the qth element in the hardware performance evaluation index membership.

8. A graphics card firmware security detection device, characterized in that: The device comprises: An evaluation index acquisition module is used to perform security detection on the graphics card firmware to obtain a graphics card firmware performance evaluation index set; the graphics card firmware performance evaluation index set includes hardware performance evaluation indexes and display performance evaluation indexes; The security detection module is used to process the graphics card firmware performance evaluation index set to obtain a graphics card firmware security detection result.

9. A graphics card firmware security detection device, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the graphics card firmware security detection method as described in any one of claims 1-7.

10. A computer storable medium, characterized in that: The computer storable medium stores computer instructions, and when the computer instructions are called, they are used to execute the graphics card firmware security detection method according to any one of claims 1-7.

Citation Information

Patent Citations

  • Radar interference effect evaluation method and device and computer equipment

    CN110082733A

  • GPU card performance test method and device, electronic equipment and readable storage medium

    CN116974872A

  • MOPSO-based multi-target interference decision method

    CN117706494A

  • Embedded firmware-oriented security detection method and device

    CN118821118A