A method and device for detecting illegal AP based on signal fingerprint

Through the illegal AP detection method and device based on signal fingerprints, the unmanned vehicle module and the detection module are used to process wireless signals, identify and generate alarm information, solving the problem of low illegal AP detection accuracy in the existing technology, and realizing an efficient network Security monitoring.

CN118400739BActive Publication Date: 2024-09-17NAT UNIV OF DEFENSE TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410869971.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-17
Estimated Expiration
2044-07-01

AI Technical Summary

Technical Problem

The detection of rogue APs in existing wireless networks has problems such as missed detections, false detections and low detection accuracy, resulting in high network security maintenance costs and complexity.

Method used

Adopt illegal AP detection methods and devices based on signal fingerprints, use unmanned vehicle modules and detection modules to collect and process wireless signals, identify illegal APs through signal fingerprint comparison, and generate alarm information, which can be integrated on unmanned platforms to improve detection efficiency. .

Benefits of technology

It achieves rapid identification and location of illegal APs, reduces the cost and complexity of network space security maintenance, and improves detection efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118400739B
    Figure CN118400739B
Patent Text Reader

Abstract

The present invention discloses a method and device for detecting illegal APs based on signal fingerprints, the method comprising: using the detection module to collect wireless signals and obtain wireless signal data; using the wireless signal processing unit of the detection module to process the wireless signal data and obtain AP signal fingerprint information; using the second wireless network card of the detection module to send the AP signal fingerprint information and wireless signal data to the control module; using the control module to receive and process the AP signal fingerprint information and wireless signal data and obtain illegal AP signal alarm information. The detection method proposed by the present invention has low computational complexity, can realize rapid detection of illegal APs, and reduces the overhead cost and complexity of network space security maintenance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of wireless network security detection, and in particular to a method and device for detecting illegal APs based on signal characteristics. Background Art

[0002] With the rapid development of wireless network technology, the coverage and usage of wireless networks are increasing. However, there are some illegal access points (APs) in wireless networks, which pose a great threat to network security. The existence of illegal APs may cause the network to suffer from unauthorized access, data leakage, network attacks and other security issues, endangering the user's information security and the stability of the network. Therefore, the detection and prevention of illegal APs has become an important research direction in the field of wireless networks.

[0003] At present, many scholars at home and abroad have conducted research on the detection of illegal APs. However, traditional detection methods require personnel to perform manual detection, which is time-consuming and labor-intensive, and the effect is very unsatisfactory. In addition, existing illegal AP detection methods have some problems, such as missed detection and false detection, and low detection accuracy. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a method and device for detecting illegal APs based on signal fingerprints, which improves the detection efficiency and helps to reduce the overhead cost and complexity of network space security maintenance.

[0005] In order to solve the above technical problems, the first aspect of the embodiment of the present invention discloses an illegal AP detection device based on signal fingerprint, including: an unmanned vehicle module, a detection module and a control module;

[0006] The unmanned vehicle module includes an unmanned vehicle body, a camera, a laser radar and an unmanned vehicle driving control unit, which is used to perform inspections along a preset path;

[0007] The detection module is arranged at the left side of the middle part of the unmanned vehicle module platform, and includes a wireless signal processing unit, a first wireless network card and a second wireless network card, and is used to receive and process wireless signals during the inspection process, obtain and display the AP signal fingerprint information of the wireless signal, and send the AP signal fingerprint information and AP signal data information to the control module;

[0008] The control module includes a wireless signal fusion processing unit, which is arranged in a remote control room, has a built-in wireless network card and a legal AP signal fingerprint information set, and is used to receive and process the AP signal fingerprint information and the AP signal data information to obtain illegal AP signal alarm information; the legal AP signal fingerprint information set includes a plurality of legal AP signal fingerprint information.

[0009] As an optional implementation, in the first aspect of the embodiment of the present invention, the unmanned vehicle body is used to carry a camera, a laser radar and an unmanned vehicle driving control unit;

[0010] The camera is arranged at a position above and in front of the unmanned vehicle body and is used to detect and record environmental information;

[0011] The laser radar is arranged in front of the unmanned vehicle and is used to detect obstacles;

[0012] The unmanned vehicle driving control unit is arranged at the left front position of the unmanned vehicle body, and is used to control the unmanned vehicle to move forward along a preset inspection path.

[0013] As an optional implementation, in the first aspect of the embodiment of the present invention, the first wireless network card and the second wireless network card are arranged outside the wireless signal processing unit; the first wireless network card is used to receive wireless signals during the inspection process; after the wireless signal is processed by the detection module, the AP signal fingerprint information and AP signal data information are obtained, and the AP signal fingerprint information and AP signal data information are sent to the control module through the second wireless network card.

[0014] A second aspect of an embodiment of the present invention discloses a method for detecting an illegal AP based on a signal fingerprint, the method comprising:

[0015] S1, using the detection module to collect wireless signals and obtain wireless signal data;

[0016] S2, using the wireless signal processing unit to process the wireless signal data to obtain AP signal fingerprint information;

[0017] S3, using the detection module to send the AP signal fingerprint information and wireless signal data to the control module;

[0018] S4, processing the AP signal fingerprint information and wireless signal data to obtain illegal AP signal alarm information.

[0019] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the using the wireless signal processing unit to process the wireless signal data to obtain AP signal fingerprint information includes:

[0020] S21, using the detection module to process the wireless signal data to obtain a signal feature frame;

[0021] S22, processing the signal feature frame to obtain AP fingerprint information of the wireless signal.

[0022] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the using the detection module to process the wireless signal data to obtain a signal feature frame includes:

[0023] S211, using the detection module to receive the wireless signal data according to the standard frame structure to obtain structured wireless signal decoding data;

[0024] S212, using the detection module, traversing data frames in the wireless signal decoding data to obtain a data frame set;

[0025] S213, extracting a frame type field from any data frame in the data frame set to obtain a frame type value;

[0026] Determine whether the frame type value is equal to a target value, and obtain a data frame category determination result;

[0027] When the data frame category determination result is yes, the detection module extracts the signal characteristic parameters of the data frame according to the standard protocol to obtain the wireless signal characteristic parameters;

[0028] When the data frame category determination result is no, discarding the data frame;

[0029] S214: Fusion all the wireless signal characteristic parameters to obtain signal characteristic parameter information.

[0030] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the processing of the signal characteristic frame to obtain AP fingerprint information of the wireless signal includes:

[0031] S221, processing the signal feature frame to obtain a signal fingerprint character string;

[0032] S222: Decode and output the signal fingerprint character string to obtain AP fingerprint information of the wireless signal.

[0033] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the processing of the signal feature frame to obtain a signal fingerprint string includes:

[0034] S2211, preset a data processing length and a sub-packet length; the data processing length is an integer multiple of the sub-packet length;

[0035] S2212, performing padding processing on the signal characteristic frame to obtain first signal characteristic parameter information; the length of the first signal characteristic parameter information is an integer multiple of the data processing length;

[0036] S2213, performing block processing on the first signal characteristic parameter information according to the data processing length to obtain a signal characteristic data set; the signal characteristic data set includes a plurality of signal characteristic data, and the length of the signal characteristic data is the data processing length;

[0037] S2214, Initialize the initial vector value ;

[0038] S2215, traversing the signal feature data in the signal feature information set to obtain a signal feature data set;

[0039] S2216, dividing any signal feature data of the signal feature data set according to the sub-group length to obtain a first sub-signal feature data set; the first sub-signal feature data set includes a plurality of first sub-signal feature data, and the length of the first sub-signal feature data is the sub-group length;

[0040] Traversing the first sub-signal feature data in the first sub-signal feature data set to obtain all the first sub-signal feature data;

[0041] Expanding the first sub-signal characteristic data to obtain a first sub-signal characteristic data block set; the first sub-signal characteristic data block set includes a plurality of first sub-signal characteristic data blocks;

[0042] The expanded calculation expression is:

[0043]

[0044]

[0045]

[0046] in, For the The first sub-signal characteristic data, and is the permutation function, express Circular right shift, the number of shifts is , express Move right After shifting, the lower bits are filled with binary "0";

[0047] Performing cyclic iterative calculation on the first sub-signal feature data block set to obtain a first sub-signal fingerprint character string;

[0048] S2217, combining the first sub-signal fingerprint character strings of all the signal characteristic data to obtain a signal fingerprint character string.

[0049] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the processing of the AP signal fingerprint information and the wireless signal data to obtain the illegal AP signal alarm information includes:

[0050] S41, using the control module to receive the AP signal fingerprint information to obtain first AP signal fingerprint information;

[0051] S42, traversing the legal AP signal fingerprint information set of the control module to obtain a second AP signal fingerprint information set of all legal AP signals; the second AP signal fingerprint information set includes a plurality of second AP signal fingerprint information, and the second AP signal fingerprint information is the legal AP signal fingerprint information;

[0052] S43, comparing any of the second AP signal fingerprint information with the first AP signal fingerprint information to obtain an AP signal fingerprint comparison result set; the AP signal fingerprint comparison result set includes a plurality of AP signal fingerprint comparison results;

[0053] When any one of the AP signal fingerprint comparison result sets is the same, return to S41;

[0054] When all the AP signal fingerprint comparison results are different, the first AP signal fingerprint information is illegal AP signal fingerprint information, the illegal AP signal fingerprint information is obtained, and S44 is executed;

[0055] S44, processing the illegal AP signal fingerprint information and wireless signal data to obtain illegal AP signal alarm information.

[0056] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the processing of the illegal AP signal fingerprint information and the wireless signal data to obtain the illegal AP signal alarm information includes:

[0057] S441, using the illegal AP signal fingerprint information to match the wireless signal data to obtain corresponding illegal AP signal data;

[0058] S442, performing a loop iterative calculation on the illegal AP signal data to obtain an illegal AP signal ID, an illegal AP signal type, an illegal AP signal hotspot name, an illegal AP signal detection time, and illegal AP signal data frame data;

[0059] S443, combining the illegal AP signal fingerprint information and the illegal AP signal ID, the illegal AP signal type, the illegal AP signal hotspot name, the illegal AP signal detection time and the illegal AP signal data frame data to obtain illegal AP signal alarm information.

[0060] The beneficial effects of the present invention are:

[0061] 1. The present invention uses a signal fingerprint algorithm to identify and locate a main function of illegal APs. At the same time, when facing some wireless signals with potential safety hazards, the system can quickly respond and generate alarm information to remind users to be more vigilant and deal with these potential safety hazards in a timely manner;

[0062] 2. The present invention proposes an illegal AP detection method based on signal fingerprint, which can be well integrated into an unmanned platform. At the same time, the detection efficiency can be better improved and the detection cost can be saved through the tracking navigation function and the remote monitoring function. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 A schematic diagram of the structure of an illegal AP detection device based on signal fingerprint disclosed in an embodiment of the present invention;

[0064] Figure 2 The present invention discloses a flow chart of an illegal AP detection method based on signal fingerprint. DETAILED DESCRIPTION

[0065] 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.

[0066] 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.

[0067] 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.

[0068] The present invention discloses a method and device for detecting illegal APs based on signal fingerprints, which improves detection efficiency and reduces the cost and complexity of network space security maintenance. Detailed descriptions are given below.

[0069] Embodiment 1

[0070] See also Figure 1 , Figure 1 : is a schematic diagram of the structure of an illegal AP detection device based on signal fingerprint disclosed in an embodiment of the present invention. Figure 1 The illegal AP detection device described is applied to an AP signal management system, such as a local server or a cloud server for AP signal management, and the embodiments of the present invention are not limited thereto. Figure 1 As shown, the illegal AP detection device may include: an unmanned vehicle module 101, a detection module 102 and a control module 103;

[0071] The unmanned vehicle module 101 includes an unmanned vehicle body, a camera, a laser radar and an unmanned vehicle driving control unit, and is used to perform inspections along a preset path;

[0072] The detection module 102 includes a wireless signal processing unit, a first wireless network card and a second wireless network card, which are used to receive and process wireless signals during the inspection process, obtain and display AP signal fingerprint information of the wireless signal, and send the AP signal fingerprint information and AP signal data information to the control module;

[0073] The control module 103 includes a wireless signal fusion processing unit, a built-in wireless network card and a legal AP signal fingerprint information set, which is used to receive and process the AP signal fingerprint information and the AP signal data information to obtain illegal AP signal alarm information; the legal AP signal fingerprint information set includes a plurality of legal AP signal fingerprint information;

[0074] It should be noted that, in this embodiment, the detection module 102 is arranged at the left side of the middle part of the unmanned vehicle module platform; the control module 103 is arranged in the remote control room;

[0075] It should be noted that the legal AP signal fingerprint information set includes several legal AP signal fingerprint information;

[0076] It should be noted that the legal AP signal fingerprint information includes AP network name, AP signal strength, AP working channel number, AP address, AP country information, network encryption information, network adapter vendor information, wireless frame length, response feature code, response frame length and response frame type.

[0077] It can be seen that implementing the illegal AP detection device described in the embodiment of the present invention is conducive to improving detection efficiency and reducing the overhead cost and complexity of network space security maintenance.

[0078] In another optional embodiment, the unmanned vehicle body is used to carry a camera, a laser radar and an unmanned vehicle driving control unit;

[0079] The camera is arranged at a position above and in front of the unmanned vehicle body and is used to detect and record environmental information;

[0080] The laser radar is arranged in front of the unmanned vehicle and is used to detect obstacles;

[0081] The unmanned vehicle driving control unit is arranged at the left front position of the unmanned vehicle body, and is used to control the unmanned vehicle to move forward according to a preset inspection path;

[0082] It can be seen that implementing the illegal AP detection device described in the embodiment of the present invention is conducive to improving detection efficiency and reducing the overhead cost and complexity of network space security maintenance.

[0083] In another optional embodiment, the first wireless network card and the second wireless network card are arranged outside the wireless signal processing unit; the first wireless network card is used to receive wireless signals during the inspection process; after the wireless signals are processed by the detection module, the AP signal fingerprint information and the AP signal data information are obtained, and the AP signal fingerprint information and the AP signal data information are sent to the control module through the second wireless network card;

[0084] It can be seen that implementing the illegal AP detection device described in the embodiment of the present invention is conducive to improving detection efficiency and reducing the overhead cost and complexity of network space security maintenance.

[0085] Embodiment 2

[0086] See also Figure 2 , Figure 2 1 is a flow chart of a method for detecting illegal APs based on signal fingerprints disclosed in an embodiment of the present invention. Figure 2 The illegal AP detection method described is applied to an AP signal management system, such as a local server or cloud server for illegal AP detection management, and the embodiments of the present invention are not limited thereto. Figure 2 As shown, the illegal AP detection method may include the following operations:

[0087] S1, using the detection module to collect wireless signals and obtain wireless signal data;

[0088] S2, using the wireless signal processing unit to process the wireless signal data to obtain AP signal fingerprint information;

[0089] S3, using the detection module to send the AP signal fingerprint information and wireless signal data to the control module;

[0090] S4, processing the AP signal fingerprint information and wireless signal data to obtain illegal AP signal alarm information.

[0091] It can be seen that implementing the illegal AP detection method described in the embodiment of the present invention is conducive to improving detection efficiency, thereby reducing the overhead cost and complexity of network space security maintenance.

[0092] In another optional embodiment, the using the wireless signal processing unit to process the wireless signal data to obtain AP signal fingerprint information includes:

[0093] S21, using the detection module to process the wireless signal data to obtain a signal feature frame;

[0094] S22, processing the signal feature frame to obtain AP fingerprint information of the wireless signal.

[0095] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the using the detection module to process the wireless signal data to obtain a signal feature frame includes:

[0096] S211, using the detection module to receive the wireless signal data according to the standard frame structure to obtain structured wireless signal decoding data;

[0097] S212, using the detection module, traversing data frames in the wireless signal decoding data to obtain a data frame set;

[0098] S213, for any data frame in the data frame set, extract a frame type field of the data frame to obtain a frame type value;

[0099] Determine whether the frame type value is equal to a target value, and obtain a data frame category determination result;

[0100] When the data frame category determination result is yes, the detection module extracts the signal characteristic parameters of the data frame according to the standard protocol to obtain the wireless signal characteristic parameters;

[0101] When the data frame category determination result is no, discarding the data frame;

[0102] S214, fusing all the wireless signal characteristic parameters to obtain signal characteristic parameter information;

[0103] It can be seen that implementing the illegal AP detection method described in the embodiment of the present invention and processing the wireless signal data to obtain a signal feature frame is beneficial to improving detection efficiency, thereby reducing the overhead cost and complexity of network space security maintenance.

[0104] In another optional embodiment, the processing the signal feature frame to obtain AP fingerprint information of the wireless signal includes:

[0105] S221, processing the signal feature frame to obtain a signal fingerprint character string;

[0106] S222, decoding and outputting the signal fingerprint character string to obtain AP fingerprint information of the wireless signal;

[0107] It can be seen that implementing the illegal AP detection method described in the embodiment of the present invention, processing the signal feature frame, and obtaining the AP fingerprint information of the wireless signal is beneficial to improving the detection efficiency, thereby reducing the overhead cost and complexity of network space security maintenance.

[0108] In another optional embodiment, the processing of the signal feature frame to obtain a signal fingerprint string includes:

[0109] S2211, preset a data processing length and a sub-packet length; the data processing length is an integer multiple of the sub-packet length;

[0110] S2212, performing padding processing on the signal characteristic frame to obtain first signal characteristic parameter information; the length of the first signal characteristic parameter information is an integer multiple of the data processing length;

[0111] S2213, performing block processing on the first signal characteristic parameter information according to the data processing length to obtain a signal characteristic data set; the signal characteristic data set includes a plurality of signal characteristic data, and the length of the signal characteristic data is the data processing length;

[0112] S2214, Initialize the initial vector value ;

[0113] S2215, traversing the signal feature data in the signal feature information set to obtain a signal feature data set;

[0114] S2216, dividing any signal feature data of the signal feature data set according to the sub-group length to obtain a first sub-signal feature data set; the first sub-signal feature data set includes a plurality of first sub-signal feature data, and the length of the first sub-signal feature data is the sub-group length;

[0115] Traversing the first sub-signal feature data in the first sub-signal feature data set to obtain all the first sub-signal feature data;

[0116] Expanding the first sub-signal characteristic data to obtain a first sub-signal characteristic data block set; the first sub-signal characteristic data block set includes a plurality of first sub-signal characteristic data blocks;

[0117] The expanded calculation expression is:

[0118]

[0119]

[0120]

[0121] in, For the The first sub-signal characteristic data, and is the permutation function, express Circular right shift, the number of shifts is , express Move right After shifting, the lower bits are filled with binary "0";

[0122] Performing cyclic iterative calculation on the first sub-signal feature data block set to obtain a first sub-signal fingerprint character string;

[0123] S2217, combining the first sub-signal fingerprint character strings of all the signal characteristic data to obtain a signal fingerprint character string.

[0124] In another optional embodiment, the step of performing cyclic iterative calculation on the first sub-signal feature data block set to obtain the first sub-signal fingerprint string includes:

[0125] S22161, set string table value;

[0126] The expression is:

[0127]

[0128] in, is the initial value of the first sub-signal characteristic data block, For the the first sub-signal characteristic data, and is the permutation function;

[0129] S22162, set the working constant for each iteration loop , get the loop iteration vector ;

[0130] The loop iteration vector expression is:

[0131] ;

[0132] S22163, performing cyclic iterative calculation on the first sub-signal feature data block set to obtain a message digest value set;

[0133] The loop body of the loop iteration is:

[0134]

[0135]

[0136]

[0137]

[0138]

[0139]

[0140]

[0141]

[0142]

[0143] in,

[0144] ,

[0145] ,

[0146] ,

[0147] ,

[0148] Link variables for loops;

[0149] The character value expression of the loop iteration is:

[0150]

[0151]

[0152]

[0153]

[0154]

[0155]

[0156]

[0157]

[0158] in, For the The character value of the second;

[0159] S22163, combining the information summary values ​​of all the signal characteristic data to obtain a first sub-signal fingerprint character string;

[0160] It can be seen that the illegal AP detection method described in the embodiment of the present invention is implemented, and the signal fingerprint generation algorithm model processes the signal characteristic parameter information to obtain a signal fingerprint string, which is beneficial to improving the detection efficiency, thereby reducing the overhead cost and complexity of network space security maintenance.

[0161] In another optional embodiment, the processing of the AP signal fingerprint information and the wireless signal data to obtain illegal AP signal alarm information includes:

[0162] S41, using the control module to receive the AP signal fingerprint information to obtain first AP signal fingerprint information;

[0163] S42, traversing the legal AP signal fingerprint information set of the control module to obtain a second AP signal fingerprint information set of all legal AP signals; the second AP signal fingerprint information set includes a plurality of second AP signal fingerprint information, and the second AP signal fingerprint information is the legal AP signal fingerprint information;

[0164] S43, comparing any of the second AP signal fingerprint information with the first AP signal fingerprint information to obtain an AP signal fingerprint comparison result set; the AP signal fingerprint comparison result set includes a plurality of AP signal fingerprint comparison results;

[0165] When any one of the AP signal fingerprint comparison result sets is the same, return to S41;

[0166] When all the AP signal fingerprint comparison results are different, the first AP signal fingerprint information is illegal AP signal fingerprint information, the illegal AP signal fingerprint information is obtained, and S44 is executed;

[0167] S44, processing the illegal AP signal fingerprint information and wireless signal data to obtain illegal AP signal alarm information;

[0168] It can be seen that the illegal AP detection method described in the embodiment of the present invention is implemented, and the control module receives and processes the AP signal fingerprint information and wireless signal data to obtain illegal AP signal alarm information, which is beneficial to improving detection efficiency and thus reducing the overhead cost and complexity of network space security maintenance.

[0169] As an optional implementation manner, in the second aspect of the embodiment of the present invention, the processing of the illegal AP signal fingerprint information and the wireless signal data to obtain the illegal AP signal alarm information includes:

[0170] S441, using the illegal AP signal fingerprint information to match the wireless signal data to obtain corresponding illegal AP signal data;

[0171] S442, performing a loop iterative calculation on the illegal AP signal data to obtain an illegal AP signal ID, an illegal AP signal type, an illegal AP signal hotspot name, an illegal AP signal detection time, and illegal AP signal data frame data;

[0172] S443, combining the illegal AP signal fingerprint information and the illegal AP signal ID, the illegal AP signal type, the illegal AP signal hotspot name, the illegal AP signal detection time, and the illegal AP signal data frame data to obtain illegal AP signal alarm information;

[0173] It should be noted that the loop iterative calculation of the illegal AP signal data is performed in the same manner as the loop iterative calculation of the first sub-signal feature data block set;

[0174] It can be seen that implementing the illegal AP detection method described in the embodiment of the present invention, processing the illegal AP signal fingerprint information and wireless signal data, and obtaining the illegal AP signal alarm information is beneficial to improving the detection efficiency, thereby reducing the overhead cost and complexity of network space security maintenance.

[0175] 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, that is, they may be arranged 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 paying creative labor.

[0176] 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 the part that contributes to the prior art can be embodied 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.

[0177] Finally, it should be noted that the illegal AP detection method and device based on signal fingerprint disclosed in the embodiment of the present invention discloses only the preferred embodiment of the present invention, which is only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention is 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 signal fingerprint-based illegal AP detection method, applied to a signal fingerprint-based illegal AP detection device, the detection device comprising: Unmanned vehicle module, detection module and control module; The unmanned vehicle module includes an unmanned vehicle body, a camera, a laser radar and an unmanned vehicle driving control unit, which is used to perform inspections along a preset path; The unmanned vehicle body is used to carry a camera, a laser radar and an unmanned vehicle driving control unit; The camera is arranged at a position above and in front of the unmanned vehicle body and is used to detect and record environmental information; The laser radar is arranged in front of the unmanned vehicle and is used to detect obstacles; The unmanned vehicle driving control unit is arranged at the left front position of the unmanned vehicle body, and is used to control the unmanned vehicle to move forward according to a preset inspection path; The detection module includes a wireless signal processing unit, a first wireless network card and a second wireless network card, which are used to receive and process wireless signals during the inspection process, obtain and display AP signal fingerprint information of the wireless signal, and send the AP signal fingerprint information and AP signal data information to the control module; Wherein, the first wireless network card and the second wireless network card are arranged outside the wireless signal processing unit; the first wireless network card is used to receive wireless signals during the inspection process; after the wireless signals are processed by the detection module, the AP signal fingerprint information and AP signal data information are obtained, and the AP signal fingerprint information and AP signal data information are sent to the control module through the second wireless network card; The control module includes a wireless signal fusion processing unit, which is arranged in a remote control room, has a built-in wireless network card and a legal AP signal fingerprint information set, and is used to receive and process the AP signal fingerprint information and the AP signal data information to obtain illegal AP signal alarm information; the legal AP signal fingerprint information set includes a plurality of legal AP signal fingerprint information; Characterized in that the method comprises: S1, using the detection module to collect wireless signals and obtain wireless signal data; S2, using the wireless signal processing unit to process the wireless signal data to obtain AP signal fingerprint information; The step of processing the wireless signal data using the wireless signal processing unit to obtain AP signal fingerprint information includes: S21, using the detection module to process the wireless signal data to obtain a signal feature frame; S22, processing the signal feature frame to obtain AP fingerprint information of the wireless signal; The processing of the signal characteristic frame to obtain AP fingerprint information of the wireless signal includes: S221, processing the signal feature frame to obtain a signal fingerprint character string; S222, decoding and outputting the signal fingerprint character string to obtain AP fingerprint information of the wireless signal; The processing of the signal feature frame to obtain a signal fingerprint string includes: S2211, preset a data processing length and a sub-packet length; the data processing length is an integer multiple of the sub-packet length; S2212, performing padding processing on the signal characteristic frame to obtain first signal characteristic parameter information; the length of the first signal characteristic parameter information is an integer multiple of the data processing length; S2213, performing block processing on the first signal characteristic parameter information according to the data processing length to obtain a signal characteristic data set; the signal characteristic data set includes a plurality of signal characteristic data, and the length of the signal characteristic data is the data processing length; S2214, initialize the initial vector value ; S2215, traversing the signal feature data in the signal feature information set to obtain a signal feature data set; S2216, dividing any signal feature data of the signal feature data set according to the sub-group length to obtain a first sub-signal feature data set; the first sub-signal feature data set includes a plurality of first sub-signal feature data, and the length of the first sub-signal feature data is the sub-group length; Traversing the first sub-signal feature data in the first sub-signal feature data set to obtain all the first sub-signal feature data; Expanding the first sub-signal characteristic data to obtain a first sub-signal characteristic data block set; the first sub-signal characteristic data block set includes a plurality of first sub-signal characteristic data blocks; The expanded calculation expression is: in, For the The first sub-signal characteristic data, and is the permutation function, express Circular right shift, the number of shifts is , express Move right After shifting, the low bit is filled with binary "0"; Performing cyclic iterative calculation on the first sub-signal feature data block set to obtain a first sub-signal fingerprint character string; S2217, combining the first sub-signal fingerprint character strings of all the signal characteristic data to obtain a signal fingerprint character string; S3, using the detection module to send the AP signal fingerprint information and wireless signal data to the control module; S4, processing the AP signal fingerprint information and wireless signal data to obtain illegal AP signal alarm information; The processing of the AP signal fingerprint information and the wireless signal data to obtain illegal AP signal alarm information includes: S41, using the control module to receive the AP signal fingerprint information to obtain first AP signal fingerprint information; S42, traversing the legal AP signal fingerprint information set of the control module to obtain a second AP signal fingerprint information set of all legal AP signals; the second AP signal fingerprint information set includes a plurality of second AP signal fingerprint information, and the second AP signal fingerprint information is the legal AP signal fingerprint information; S43, comparing any of the second AP signal fingerprint information with the first AP signal fingerprint information to obtain an AP signal fingerprint comparison result set; the AP signal fingerprint comparison result set includes a plurality of AP signal fingerprint comparison results; When any one of the AP signal fingerprint comparison result sets is the same, return to S41; When all the AP signal fingerprint comparison results are different, the first AP signal fingerprint information is illegal AP signal fingerprint information, the illegal AP signal fingerprint information is obtained, and S44 is executed; S44, processing the illegal AP signal fingerprint information and wireless signal data to obtain illegal AP signal alarm information.

2. The illegal AP detection method based on signal fingerprint according to claim 1, characterized in that: The using the detection module to process the wireless signal data to obtain a signal feature frame includes: S211, using the detection module to receive the wireless signal data according to the standard frame structure to obtain structured wireless signal decoding data; S212, using the detection module, traversing data frames in the wireless signal decoding data to obtain a data frame set; S213, extracting a frame type field from any data frame in the data frame set to obtain a frame type value; Determine whether the frame type value is equal to a target value, and obtain a data frame category determination result; When the data frame category determination result is yes, the detection module extracts the signal characteristic parameters of the data frame according to the standard protocol to obtain the wireless signal characteristic parameters; When the data frame category determination result is no, discarding the data frame; S214: Fusion all the wireless signal characteristic parameters to obtain signal characteristic parameter information.

3. The illegal AP detection method based on signal fingerprint according to claim 1, characterized in that: The step of performing cyclic iterative calculation on the first sub-signal feature data block set to obtain a first sub-signal fingerprint character string includes: S22161, set string table value; The expression is: in, is the initial value of the first sub-signal characteristic data block, For the the first sub-signal characteristic data, and is the permutation function; S22162, set the working constant for each iteration loop , get the loop iteration vector ; The loop iteration vector expression is: ; S22163, performing cyclic iterative calculation on the first sub-signal feature data block set to obtain a message digest value set; The loop body of the loop iteration is: in, ; ; ; ; Link variables for loops; The character value expression of the loop iteration is: in, For the The character value of the second; S22163: Combine the information summary values ​​of all the signal feature data to obtain a first sub-signal fingerprint character string.

4. The illegal AP detection method based on signal fingerprint according to claim 1, characterized in that: The processing of the illegal AP signal fingerprint information and the wireless signal data to obtain illegal AP signal alarm information includes: S441, using the illegal AP signal fingerprint information to match the wireless signal data to obtain corresponding illegal AP signal data; S442, performing a loop iterative calculation on the illegal AP signal data to obtain an illegal AP signal ID, an illegal AP signal type, an illegal AP signal hotspot name, an illegal AP signal detection time, and illegal AP signal data frame data; S443, combining the illegal AP signal fingerprint information and the illegal AP signal ID, the illegal AP signal type, the illegal AP signal hotspot name, the illegal AP signal detection time and the illegal AP signal data frame data to obtain illegal AP signal alarm information.