IP Library › Granted Patent US 10,362,043
Granted Patent B2
US 10,362,043 · App. 15/270,722 · Granted Jul 23, 2019

Method and apparatus for detecting man-in-the-middle attack

Inventors: Rong Wu (Shenzhen, CN); Chengdong He (Dongguan, CN); Lu Gan (Shenzhen, CN)
Assignee: HUAWEI TECHNOLOGIES CO., LTD.
H04L63/14H04L63/12H04L63/1441H04W12/12
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 10,362,043
App. No.
15/270,722
Granted
Jul 23, 2019
Kind
B2
Abstract

A method and an apparatus for detecting a man-in-the-middle attack, where the method includes receiving, by a macro evolved Node B (MeNB), a first check request message sent by a secondary evolved Node B (SeNB), where the first check request message includes first identifier information and a first data packet count value, generating a second check request message according to the first identifier information, sending the second check request message to a user terminal, receiving a first check response message generated by the user terminal according to the second check request message, where the first check response message includes second identifier information and a second data packet count value, determining, by the MeNB, that the man-in-the-middle attack exists between the SeNB and the user terminal when the first data packet count value is different from the second data packet count value.

Claims (60)

1. A method for detecting a man-in-the-middle attack, comprising:

receiving, by a macro evolved Node B (MeNB), a first check request message from a secondary evolved Node B (SeNB), wherein the first check request message comprises first identifier information of an evolved random access bearer (ERAB) and a first data packet count value corresponding to the first identifier information;

obtaining by the MeNB, second identifier information that matches the first identifier information, wherein the second identifier information is an identifier of data radio bearer (DRB) corresponding to the ERAB;

sending, by the MeNB, a second check request message to a user terminal, wherein the second check request message comprises the second identifier information; and a second data packet count value corresponding to the second identifier information;

receiving, by the MeNB, a first check response message from the user terminal according to the second check request message, wherein the first check response message comprises the second identifier information and the second data packet count value;

determining, by the MeNB, that no man-in-the-middle attack exists between the SeNB and the user terminal when the first data packet count value corresponding to the first identifier information is the same as the second data packet count value corresponding to the second identifier information; and

determining, by the MeNB, that the man-in-the-middle attack exists between the SeNB and the user terminal when the first data packet count value corresponding to the first identifier information is different from the second data packet count value corresponding to the second identifier information.

2. The method of claim 1 , wherein the first check request message further comprises an identifier of the SeNB, and wherein the second check request message is generated according to the first identifier information and the identifier of the SeNB.

3. The method of claim 1 , wherein the first check request message comprises at least two pieces of first identifier information and at least two corresponding first data packet count values, wherein the first check response message comprises at least two pieces of second identifier information and at least two corresponding second data packet count values, wherein determining that the man-in-the-middle attack exists between the SeNB and the user terminal comprises determining, by the MeNB, that the man-in-the-middle attack exists between the SeNB and the user terminal when a first data packet count value corresponding to at least one piece of first identifier information is different from the second data packet count value corresponding to the second identifier information that matches the first identifier information, and wherein determining that no man-in-the-middle attack exists between the SeNB and the user terminal further comprises determining, by the MeNB, that no man-in-the-middle attack exists between the SeNB and the user terminal when the first data packet count values corresponding to all the first identifier information are the same as the second data packet count value corresponding to the second identifier information that matches the first identifier information.

4. The method of claim 1 , wherein after the MeNB determines that no man-in-the-middle attack exists between the SeNB and the user terminal, the method further comprises sending, by the MeNB, a second check response message to the SeNB, wherein the second check response message comprises second indication information, and wherein the second indication information is used to indicate that no man-in-the-middle attack exists between the SeNB and the user terminal.

5. The method of claim 1 , wherein after the MeNB determines that the man-in-the-middle attack exists between the SeNB and the user terminal, the method further comprises sending, by the MeNB, an exception report to a mobility management entity (MME) or an operation and maintenance (O&M) server.

6. The method of claim 1 , wherein after the MeNB determines that the man-in-the-middle attack exists between the SeNB and the user terminal, the method further comprises sending, by the MeNB, a third check response message to the SeNB, wherein the third check response message comprises third indication information, and wherein the third indication information is used to indicate that the man-in-the-middle attack exists between the SeNB and the user terminal.

7. A method for detecting a man-in-the-middle attack, comprising:

receiving, by a user terminal, a second check request message from a macro evolved Node B (MeNB), wherein the second check request message comprises:

second identifier information corresponding to first identifier information of an evolved random access bearer (ERAB); and

a first data packet count value corresponding to the first identifier information, wherein the second identifier information is a data radio bearer (DRB) corresponding to the ERAB;

obtaining, by the user terminal, the second identifier information corresponding to the first identifier information and a second data packet count value corresponding to the second identifier information;

determining, by the user terminal according to the first data packet count value corresponding to the first identifier information and the second data packet count value corresponding to the second identifier information, whether the man-in-the-middle attack exists between a secondary evolved Node B (SeNB) and the user terminal;

generating, by the user terminal, a check response message according to a result of the determining; and

sending the check response message to the MeNB.

8. The method of claim 7 , wherein determining whether the man-in-the-middle attack exists between the SeNB and the user terminal further comprises:

determining, by the user terminal that no man-in-the-middle attack exists between the SeNB and the user terminal when the first data packet count value corresponding to the first identifier information is the same as the second data packet count value corresponding to the second identifier information; and

determining, by the user terminal that the man-in-the-middle attack exists between the SeNB and the user terminal when the first data packet count value corresponding to the first identifier information is different from the second data packet count value corresponding to the second identifier information.

9. An apparatus for detecting a man-in-the-middle attack, comprising:

a receiver;

a transmitter;

a memory having instructions stored therein;

a processor coupled to the receiver, the transmitter, and the memory, wherein the processor executes the instructions to:

receive a first check request message from a secondary evolved Node B (SeNB), wherein the first check request message comprises first identifier information of an evolved random access bearer (ERAB) and a first data packet count value corresponding to the first identifier information;

obtain second identifier information that matches the first identifier information, wherein the second identifier information is an identifier of data radio bearer (DRB) corresponding to the ERAB; and

send a second check request message to a user terminal, wherein the second check request message comprises the second identifier information and a second data packet count value corresponding to the second identifier information;

receive a first check response message from the user terminal according to the second check request message, wherein the first check response message comprises the second identifier information and the second data packet count value;

determine that no man-in-the-middle attack exists between the SeNB and the user terminal when the first data packet count value corresponding to the first identifier information is the same as the second data packet count value corresponding to the second identifier information; and

determine that the man-in-the-middle attack exists between the SeNB and the user terminal when the first data packet count value corresponding to the first identifier information is different from the second data packet count value corresponding to the second identifier information.

10. The apparatus of claim 9 , wherein the first check request message further comprises an identifier of the SeNB, and wherein the second check request message is generated according to the first identifier information and the identifier of the SeNB.

11. The apparatus of claim 9 , wherein the first check request message comprises at least two pieces of first identifier information and at least two corresponding first data packet count values, wherein the first check response message comprises at least two pieces of second identifier information and at least two corresponding second data packet count values, and wherein the processor further executes the instructions to:

determine that the man-in-the-middle attack exists between the SeNB and the user terminal when a first data packet count value corresponding to at least one piece of first identifier information is different from the second data packet count value corresponding to the second identifier information that matches the first identifier information; and

determine that no man-in-the-middle attack exists between the SeNB and the user terminal when the first data packet count values corresponding to all the first identifier information are the same as the second data packet count value corresponding to the second identifier information that matches the first identifier information.

12. The apparatus of claim 9 , wherein the processor further executes the instructions to send a second check response message to the SeNB, wherein the second check response message comprises second indication information, and wherein the second indication information is used to indicate that no man-in-the-middle attack exists between the SeNB and the user terminal.

13. The apparatus of claim 9 , wherein the processor further executes the instructions to send an exception report to a mobility management entity (MME) or an operation and maintenance (O&M) server.

14. The apparatus of claim 9 , wherein the processor further executes the instructions to send a third check response message to the SeNB, wherein the third check response message comprises third indication information, and wherein the third indication information is used to indicate that the man-in-the-middle attack exists between the SeNB and the user terminal.

15. An apparatus for detecting a man-in-the-middle attack, comprising:

a receiver;

a transmitter;

a memory having instructions stored therein;

a processor coupled to the receiver, the transmitter, and the memory, wherein the processor executes the instructions to:

receive a second check request message from a macro evolved Node B (MeNB), wherein the second check request message comprises;

second identifier information corresponding to first identifier information of an evolved random access bearer (ERAB); and

a first data packet count value corresponding to the first identifier information, wherein the second identifier information is a data radio bearer (DRB) corresponding to the ERAB;

obtain the second identifier information corresponding to the first identifier information and a second data packet count value corresponding to the second identifier information;

determine, according to the first data packet count value corresponding to the first identifier information and the second data packet count value corresponding to the second identifier information, whether the man-in-the-middle attack exists between a secondary evolved Node B (SeNB) and the apparatus;

generate a check response message according to a result determined by the processor; and

send the check response message to the MeNB.

16. The apparatus of claim 15 , wherein the processor further executes the instructions to:

determine that no man-in-the-middle attack exists between the SeNB and the apparatus when the first data packet count value corresponding to the first identifier information is the same as the second data packet count value corresponding to the second identifier information; and

determine that the man-in-the-middle attack exists between the SeNB and the apparatus when the first data packet count value corresponding to the first identifier information is different from the second data packet count value corresponding to the second identifier information.

17. The method of claim 1 , wherein the first indication information is used to instruct the user terminal to obtain the second identifier information that matches the first identifier information from the SeNB.

18. The method of claim 7 , wherein the second identifier information corresponding to the first identifier information is obtained from the SeNB.

19. The apparatus of claim 9 , wherein the first indication information is used to instruct the user terminal to obtain the second identifier information that matches the first identifier information from the SeNB.

20. The apparatus of claim 15 , wherein the second identifier information corresponding to the first identifier information is obtained from the SeNB.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Nov 30, 2016
From: WU, RONG; HE, CHENGDONG; GAN, LU
To: HUAWEI TECHNOLOGIES CO., LTD.
Reel/Frame 040467/0246 →
Priority Claims (1)
CN 2014 1 0106876 · Mar 21, 2014 · national
Continuity (2)
Continuation PCTCN2015072300 · Feb 5, 2015
Related Publication 20170012997A1 · Jan 12, 2017