Terminal management device and method in a network

The terminal management device and method address the issue of stolen terminals duplicating IP/MAC addresses by analyzing packets, resetting IP addresses, and blocking access, thereby safeguarding network integrity.

JP2024537642AActive Publication Date: 2024-10-16VIASCOPE INC
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
JP2024515505
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-01-19
Filing Date
2022-05-04
Publication Date
2024-10-16
Estimated Expiration
2042-05-04

AI Technical Summary

Technical Problem

In communication networks, stolen terminals can cause issues by duplicating and using IP/MAC addresses, leading to IP collisions, security breaches, and data interception.

Method used

A terminal management device and method that analyzes packets to identify stolen terminals by comparing IP/MAC addresses, uses APIPA to reset stolen terminals' IP addresses, and blocks network access through ARP probe packets.

Benefits of technology

Effectively identifies and blocks stolen terminals, preventing network misuse and protecting normal terminals from IP collisions and security threats.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2024537642000001_ABST
    Figure 2024537642000001_ABST
Patent Text Reader

Abstract

A terminal management method according to one embodiment includes the steps of: collecting address data of a plurality of terminals connected to a network from packets received from the plurality of terminals and status information indicating the network connection status of each of the plurality of terminals; acquiring a first IP address and a first MAC address of a first terminal that transmitted the ARP probe packet from the received ARP probe packet; and, when address data including the same IP address and MAC address as the first IP address and the first MAC address is searched for among the already-stored address data, determining whether the first terminal has copied the address data of another terminal and is a stolen terminal according to the status information of a terminal among the plurality of terminals that has address data the same as the first IP address and the first MAC address.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present disclosure relates to a terminal management device and method in a network, and more particularly to a terminal management device and method for blocking a stolen terminal that uses duplicated IP / MAC addresses on a network. [Background technology]

[0002] In a typical communication network environment, terminals communicate using IP (Internet Protocol) addresses and MAC (Media Access Control) addresses.

[0003] In IP protocol, communication targets are identified using IP addresses and MAC addresses without any special verification procedures. Therefore, in a network using IP protocol, malicious users can easily copy the IP / MAC addresses of normal terminals connected to the network. A stolen terminal that has copied the IP / MAC address of a normal terminal can directly modify the IP / MAC address of a normal terminal on the network, inducing an IP collision, causing problems for normal terminals in using the network. In addition, a stolen terminal can intercept packets sent to a normal terminal, causing security problems such as hacking, cracking, and eavesdropping. Summary of the Invention [Problem to be solved by the invention]

[0004] The problem to be solved by the present disclosure is to provide a terminal management device and method capable of identifying and blocking a stolen terminal that uses duplicated IP / MAC addresses on a network. [Means for solving the problem]

[0005] A terminal management method in a network system according to one embodiment for solving the above problem includes the steps of: analyzing packets received from a plurality of terminals connected to a network, and collecting and storing address data of the plurality of terminals and status information indicating a network connection status of each of the plurality of terminals; receiving an Address Resolution Protocol (ARP) probe packet; acquiring a first Internet Protocol (IP) address and a first Media Access Control (MAC) address of a first terminal that transmitted the ARP probe packet from the ARP probe packet; when address data including the same IP address and MAC address as the first IP address and the first MAC address is searched for among the stored address data, determining whether the first terminal is a stolen terminal that has copied address data of another terminal according to the status information of a terminal having the same address data as the first IP address and the first MAC address among the plurality of terminals; and when the first terminal is determined to be a stolen terminal, transmitting a response packet to the ARP probe packet to the first terminal so that the IP address of the first terminal is reset to a second IP address by an Automatic Private IP Addressing (APIPA) function of the first terminal.

[0006] In the terminal management method, the second IP address may be an IP address whose connection to the network is cut off.

[0007] The terminal management method may further include a step of transmitting a response packet to the ARP probe packet to the first terminal according to a pre-established preemptive IP protection / MAC fixation policy when address data including an IP address that is the same as the first IP address and an MAC address that is different from the first MAC address is found among the address data.

[0008] The terminal management method may further include a step of storing address data binding the first IP address and the first MAC address when address data including an IP address and a MAC address that are the same as the first IP address and the first MAC address is not found among the address data.

[0009] The terminal management method may further include updating a MAC table of the switch using the pre-stored address data and a Simple Network Management Protocol.

[0010] In the terminal management method, in a header of the ARP probe packet, the Opcode may be 1, the sender MAC address may be the first MAC address, the sender IP address may be 0.0.0.0, the target MAC address may be 00:00:00:00:00:00, and the target IP address may be the first IP address.

[0011] In the terminal management method, in a header of the response packet, the Opcode may be 2, the sender MAC address may be the first MAC address, the sender IP address may be the first IP address, the target MAC address may be the first MAC address, and the target IP address may be the first IP address.

[0012] In the terminal management method, the collecting and storing step may include a step of setting the status information of the second terminal to indicate an online state when an IP packet or an ARP packet is received from the second terminal within the network.

[0013] In the terminal management method, the collecting and storing step may include a step of transmitting an ARP request packet to a third terminal among the plurality of terminals if the IP packet or the ARP packet is not received from the third terminal within a first time period, and a step of setting the status information of the third terminal to indicate an offline state if a response packet to the ARP request packet is not received within a second time period.

[0014] In the terminal management method, the determining step may include a step of determining that a first terminal is a stolen terminal when the status information of a terminal among the plurality of terminals corresponding to the first IP address and the first MAC address indicates the online state.

[0015] According to an embodiment, the terminal management device may include a communication unit that communicates with a plurality of terminals connected to a network, a storage unit that stores state information and address data indicating a network connection state for each of the plurality of terminals, and a control unit that analyzes packets received from the plurality of terminals to collect the state information and the address data. When an ARP probe packet is received, the device obtains a first IP address and a first MAC address of a first terminal that transmitted the ARP probe packet from the ARP probe packet. When address data including the same IP address and MAC address as the first IP address and the first MAC address are searched for among the address data stored in the storage unit, the device determines whether the first terminal is a stolen terminal that has copied address data of another terminal according to the state information of a terminal having the same address data as the first IP address and the first MAC address among the plurality of terminals. When the first terminal is determined to be a stolen terminal, the device may transmit a response packet to the ARP probe packet to the first terminal so that the IP address of the first terminal is reset to a second IP address by the APIPA function of the first terminal.

[0016] In the terminal management device, the second IP address may be an IP address whose connection to the network is cut off.

[0017] When address data including an IP address that is the same as the first IP address and an MAC address that is different from the first MAC address is searched for among the address data, the control unit of the terminal management device can transmit a response packet to the ARP probe packet to the first terminal according to a preset preemptive IP protection / MAC fixation policy.

[0018] When address data including an IP address and a MAC address that are the same as the first IP address and the first MAC address is not found among the address data, the control unit of the terminal management device can store address data binding the first IP address and the first MAC address in the storage unit.

[0019] The control unit of the terminal management device can update the MAC table of the switch using the address data stored in the storage unit and a simple network management protocol.

[0020] In the terminal management device, in the header of the ARP probe packet, the Opcode can be 1, the sender MAC address can be the first MAC address, the sender IP address can be 0.0.0.0, the target MAC address can be 00:00:00:00:00:00, and the target IP address can be the first IP address.

[0021] In the terminal management device, in the header of the response packet, the Opcode can be 2, the sender MAC address can be the first MAC address, the sender IP address can be the first IP address, the target MAC address can be the first MAC address, and the target IP address can be the first IP address.

[0022] The control unit of the terminal management device can set the status information of a second terminal in the network to indicate an online status when an IP packet or an ARP packet is received from the second terminal in the network.

[0023] The control unit of the terminal management device is a terminal management device that, if the IP packet or the ARP packet is not received from a third terminal among the multiple terminals within a first time period, transmits an ARP request packet to the third terminal, and, if a response packet to the ARP request packet is not received within a second time period, sets the status information of the third terminal to indicate an offline state.

[0024] The control unit of the terminal management device may include a step of determining that the first terminal is a stolen terminal when the status information of a terminal among the plurality of terminals corresponding to the first IP address and the first MAC address indicates the online state. Effect of the Invention

[0025] According to the present disclosure, it is possible to identify and block terminals that duplicate and use IP / MAC addresses on a network, thereby protecting the network usage of terminals that are using the network normally. [Brief description of the drawings]

[0026] [Figure 1] 1 is a diagram illustrating a schematic diagram of a network system according to an embodiment. [Diagram 2] 1 is a diagram illustrating a terminal management method in a network system according to an embodiment of the present invention; [Diagram 3] 13 shows an example in which the terminal management device according to an embodiment blocks a stolen terminal. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0027] Hereinafter, the embodiments disclosed in the present specification will be described in detail with reference to the accompanying drawings. The same or similar components are given the same or similar reference numerals, and the duplicated description thereof will be omitted. The suffixes "module" and "part" for components used in the following description are given or mixed for the sake of ease of specification preparation only, and do not have any distinct meaning or role. In addition, when describing the embodiments disclosed in the present specification, if a detailed description of related known technology is determined to detract from the gist of the embodiments disclosed in the present specification, the detailed description will be omitted. In addition, the attached drawings are provided to facilitate understanding of the embodiments disclosed in the present specification, and the technical ideas disclosed in the present specification are not limited by the attached drawings, and should be understood to include all modifications, equivalents, or alternatives included in the idea and technical scope of the present invention.

[0028] Terms including ordinal numbers such as first, second, etc. may be used to describe various components, but the components are not limited by the terms. The terms are used only to distinguish one component from another.

[0029] Singular expressions include plural expressions unless the context clearly indicates otherwise.

[0030] In this application, terms such as "comprise" or "have" are to be understood as specifying the presence of features, numbers, steps, operations, components, parts, or combinations thereof described in the specification, but without precluding the possibility of the presence or addition of one or more other features, numbers, steps, operations, components, parts, or combinations thereof.

[0031] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS Hereinafter, a terminal management device and method in a network according to an embodiment will be described in detail with reference to the accompanying drawings.

[0032] FIG. 1 is a diagram illustrating a network system according to an embodiment.

[0033] In the following explanation, a terminal normally connected to the network will be referred to as a "normal terminal," and a terminal that uses the stolen IP address and MAC address of a normal terminal will be referred to as a "stolen terminal."

[0034] Referring to FIG. 1, a network system according to an embodiment may include a policy server 10 , a terminal management device 20 , and a switch 30 .

[0035] The policy server 10 can set and manage policies (access management policies) for connection authentication, authorization, accounting, etc. for network access in the network system. The access management policies can include bound address data (IP addresses and MAC addresses) of hosts connected to the network in the form of a table. The access management policies can also include a network management scope for managing IP collisions, and a response policy when an IP collision occurs (e.g., whether to transmit an IP collision response packet (ARP (Address Resolution Protocol) Probe Reply packet), whether to apply an advertised IP protection / MAC fix policy, etc.).

[0036] The policy server 10 may include a database 11 that stores policy information such as an access control policy, and a policy manager 12 that manages the policy information stored in the database 11 .

[0037] The policy management unit 12 can receive bound address data (IP address and MAC address) from the control unit 23 of the terminal management device 20 and store this in the database 11. In addition, the policy management unit 12 can transmit policy information to the terminal management device 20 upon request from the terminal management device 20.

[0038] The terminal management device 20 can detect a stolen terminal on the network and block the stolen terminal from using the network.

[0039] The terminal management device 20 may include a storage unit 21, a communication unit 22, and a control unit 23.

[0040] The storage unit 21 can store various information, data, etc. processed by the terminal management device 20. For example, the storage unit 21 can store address data (IP address and MAC address) of the terminal collected by the terminal management device 20. It can also store, for example, terminal status information (online state or offline state) collected by the terminal management device 20, the time when the last packet was generated for each terminal, etc. For example, the storage unit 21 can also store policy information received from the policy server 10.

[0041] The communication unit 22 can perform communication functions such as transmitting and receiving packets between the terminal management device 20 and an external device (for example, a terminal (not shown), the policy server 10, the switch 30, etc.).

[0042] The control unit 23 can control the overall operation of the terminal management device 20.

[0043] The control unit 23 can operate as a probe device that collects packets (e.g., ARP packets or IP packets) of terminals connected to the same network as the terminal management device 20 through the communication unit 22. Here, the range of the same network can be divided based on the use of a router and can be indicated as the same broadcast domain. In a network system, a router divides a network and blocks broadcasts from being transmitted to other networks. In this case, the range that a broadcast reaches is called a broadcast domain.

[0044] The control unit 23 may analyze the collected packets (e.g., ARP packets or IP packets) to obtain address data (IP address and MAC address) of each terminal. That is, when a packet is received, the control unit 23 may obtain address data of the sender's terminal (sender IP address (Source IP or Sender IP) and sender MAC address (Source MAC or Sender MAC)) from the packet. When the control unit 23 obtains the address data of the sender's terminal from the received packet, the control unit 23 may compare the address data with the previously stored terminal address data to confirm whether the terminal is a new terminal. That is, when the control unit 23 does not find the same address data as the address data obtained from the received packet among the previously stored terminal address data, the control unit 23 may determine that the terminal that transmitted the packet is a new terminal newly connected to the network. When the control unit 23 confirms that the terminal that transmitted the packet is a new terminal, the control unit 23 may bind the IP address and MAC address of the sender terminal obtained from the packet by one-to-N mapping, and store the bound address data (IP address and MAC address) in the storage unit 21. The control unit 23 can also transmit the bound address data to the policy server 10 .

[0045] The control unit 23 can also analyze the collected packets to obtain status information (online or offline) of each terminal. Here, the online state can indicate a state in which the connection between the terminal and the network is activated, and the offline state can indicate a state in which the connection between the terminal and the network is deactivated. When the control unit 23 identifies the terminal that transmitted the packet based on the sender address data of the packet received from the terminal, it can set the status information of the terminal to indicate the online state.

[0046] The control unit 23 analyzes the collected packets, and when a terminal that has not transmitted a packet for a predetermined time among the terminals whose address data is stored in the storage unit 21 (i.e., terminals registered as connected to the network) is identified, the control unit 23 can transmit an ARP request packet to the terminal to check the status of the terminal. Thereafter, the control unit 23 waits for a response packet to the ARP request packet from the terminal for a predetermined time (e.g., 3 seconds), and can determine that the terminal is in an offline state if the response packet is not received within the predetermined time. Thus, the control unit 23 can change the corresponding status information so that the status information of the terminal indicates an offline state. To this end, the control unit 23 can continuously acquire the last packet reception time (or the last packet generation time) for each terminal, and store and manage the acquired last packet reception time in the storage unit 21 for each terminal.

[0047] The control unit 23 can also obtain additional data such as the NetBIOS (Network Basic Input / Output System) name of each terminal and the network activation time from the collected packets, and store the obtained additional data in the storage unit 21.

[0048] The control unit 23 can also operate as an eavesdropping detection device that collects ARP probe packets transmitted from terminals connected to the same network and uses the collected packets to detect eavesdropping terminals within a network management range managed by the terminal management device 20. The control unit 23 can receive information on the network management range from the policy server 10 through the communication unit 22. The network management range can include information on an IP address band that must be managed in order for the terminal management device 20 to detect eavesdropping terminals. When the control unit 23 receives the network management range from the policy server 10, it can collect address data in the IP address band defined by the network management range and detect IP address collisions.

[0049] The proposed standard for IPv4 Address Conflict Detection (RFC5227) clearly defines ACD (Address Conflict Detection) using ARP probe packets and ARP Announcement packets.

[0050] In ACD, ARP probe packets are packets used when a host checks whether its IP address is already in use within its own network (broadcast domain) and are used to prevent IP collisions. A host sets the ARP Opcode to 1, broadcasts an ARP probe packet set in the ARP request within its own network, and waits to receive a response packet (a packet with ARP Opcode set to 2). When transmitting an ARP probe packet (ARP request), a host can set the sender MAC address in the header to its own MAC address and the sender IP address to 0.0.0.0. A host can also set the target MAC address in the ARP probe packet header to 00:00:00:00:00:00, and the target IP address to its own IP address. Such ARP probe packets may differ from Gratuitous ARP (GARP) packets in that they do not update the ARP caches of other hosts on the same network to prevent IP address collisions. When a host transmits a GARP packet, all hosts connected to the same network as that host can use it to update their ARP caches.

[0051] In ACD, an ARP announcement packet is a packet used to claim the use of an IP address if no response is received after sending an ARP probe packet. If a host sends an ARP probe packet and no response packet is received, it can send an ARP announcement packet to claim the use of the IP address. Such ARP announcement packets are similar to GARP packets in that they update the ARP caches of other hosts, but differ from GARP packets in that the Opcode is set to 1, indicating a solicitation packet, rather than 2.

[0052] In a network system, a terminal operates to repeatedly broadcast an ARP probe packet when its IP address is changed. Therefore, a stealing terminal that copies the address data of another terminal and changes its own IP address and MAC address will broadcast an ARP probe packet within the network to which the copied IP address belongs. As described above, an ARP probe packet (ARP request) transmitted from each host (terminal) can include the IP address and MAC address of the host that transmitted it. Therefore, when the control unit 23 receives an ARP probe packet transmitted in an ARP request from a terminal, it can detect the IP address and MAC address of the corresponding terminal from the collected ARP probe packet and compare it with the address data stored in the storage unit 21 to determine whether the terminal is a stealing terminal that copies and uses the address data of another terminal.

[0053] Since IP addresses are arbitrarily set by users on a network, IP collisions can occur due to user mistakes, not malicious access. In addition, IP addresses can be issued in duplicate due to an error in a dynamic host configuration protocol (DHCP) server. Therefore, in this embodiment, in order to distinguish between IP address collisions caused by user mistakes or DHCP server errors and malicious theft, it is possible to detect a malicious theft terminal by determining whether or not there is a collision in MAC addresses as well as IP addresses. Since a MAC address is unique identification information of a terminal, a situation in which a MAC address is duplicated with another terminal due to a user mistake cannot occur. Therefore, when an ARP probe packet having the same IP address and MAC address as previously stored address data is generated, the terminal that transmitted the packet may be a terminal that is attempting a malicious illegal intrusion into the network, or a terminal that is attempting an eavesdropping or data theft attack by snipping packets of a normal terminal.

[0054] Therefore, if address data that has the same IP address and MAC address as the newly collected address data through the ARP probe packet already exists in the storage unit 21, the control unit 23 can determine that the terminal that transmitted the ARP probe packet is an eavesdropping terminal.

[0055] Meanwhile, in a network system, a terminal can transmit an ARP probe packet not only when its IP address is changed, but also when its network interface switches from an inactive state to an active state, when the terminal returns from a power saving mode to a normal mode, when a change occurs in the link state with the network system (e.g., the connection state of an Internet cable), when the 802.11 wireless interface is associated with a new base station, etc. That is, even a normal terminal that is not a pirating terminal can repeatedly broadcast an ARP probe packet when its connection to the network switches from an offline state to an online state.

[0056] Therefore, in this embodiment, in order to prevent a normal terminal from being erroneously recognized as an eavesdropping terminal, the control unit 23 can further check the state information of the terminal that transmitted the ARP probe packet. If the address data, which has the same IP address and MAC address as the address data newly collected through the ARP probe packet, already exists in the storage unit 21, the control unit 23 can further check the state information of the corresponding terminal before receiving the ARP probe packet and finally determine whether the terminal is an eavesdropping terminal. That is, if the state information of the corresponding terminal indicates an offline state before receiving the ARP probe packet, the control unit 23 can determine that the received ARP probe packet was received from a normal terminal whose connection state with the network has been changed to an online state, and can finally determine that the corresponding terminal is not an eavesdropping terminal but a normal terminal.

[0057] When a pirating terminal is detected, the control unit 23 can transmit a network usage blocking packet (a response packet to an ARP probe packet (ARP Probe Reply packet)) and operate as a blocking device that blocks the pirating terminal from using the network.

[0058] When a terminal using an operating system (OS) of Windows 8 or later, or a terminal using MACOS 9 or later receives a response packet to an ARP probe packet it has transmitted, it sets its own IP address to an IP address automatically assigned by the Automatic Private IP Addressing (APIPA) function, instead of an IP address set by the user. APIPA is a function that automatically assigns IP addresses in the Windows operating system in a network environment where there is no DHCP server or where a DHCP server cannot be used. The Internet Assigned Numbers Authority (IANA) has reserved IP addresses 169.254.0.0 to 169.254.255.255 for APIPA. Therefore, it can be guaranteed that the IP addresses automatically assigned by APIPA will not collide with routing addresses.

[0059] As mentioned above, when a stolen terminal receives a response packet to the ARP probe packet it transmitted via control unit 23, the terminal is automatically assigned the IP address 169.254.xy (where x and y are unique identifiers of the terminal) by the APIPA function, and is unable to connect to the network to which the stolen IP address belongs.

[0060] Whether to transmit an ARP probe response packet when a thieving terminal is detected can be determined according to the access management policy stored in the policy server 10. That is, if the policy information received from the policy server 10 instructs transmission of a blocking packet when a thieving terminal is detected, the control unit 23 can transmit an ARP probe response packet when a thieving terminal is detected.

[0061] Meanwhile, the control unit 23 can determine that an IP address duplication has occurred when the address data newly collected through the ARP probe packet is the same as the address data of another terminal already bound to the control unit 23 in terms of the IP address but different MAC address. The control unit 23 can transmit a response packet to the ARP probe packet to the corresponding terminal even in the case of an IP address duplication that is not an address theft but an address theft according to the access management policy. That is, the control unit 23 can transmit a response packet to the ARP probe packet even when an IP duplication is detected according to the preemptive IP protection / MAC fixation policy of the access management policy. Even in this case, the terminal that receives the response packet to the ARP probe packet transmitted by the control unit 23 is automatically assigned the IP address 169.254.xy by the APIPA function.

[0062] On the other hand, if a terminal that has been automatically assigned the IP address 169.254.xy by the APIPA function is a terminal that uses the Windows operating system, the terminal can transmit an ARP probe packet to use the IP address assigned by APIPA.

[0063] Therefore, when an ARP probe packet including IP address 169.254.xy is received through communication unit 22, control unit 23 can determine that the operating system of the terminal that transmitted the ARP probe packet is WINDOW. On the other hand, when an ARP probe packet is not transmitted from the terminal after transmitting a response packet to the ARP probe packet, control unit 23 can determine that the terminal uses an operating system other than WINDOW.

[0064] The control unit 23 can periodically update the MAC table of the switch 30 using a Simple Network Management Protocol (SNMP) so that the MAC table (port-MAC binding data table) of the switch 30 is updated by packets transmitted by the pirating terminal and packets of a normal terminal are prevented from being transmitted to the pirating terminal. That is, the control unit 23 can periodically update the MAC table of the switch 30 based on the address data stored in the storage unit 21.

[0065] In the above-mentioned terminal management device 20, the control unit 23 can be configured with a processor realized by a central processing unit (CPU) or other chipset, a microprocessor, or the like.

[0066] Hereinafter, the terminal management method of the terminal management device 20 according to one embodiment will be described in detail with reference to FIG. 2 and FIG.

[0067] 2 is a diagram illustrating a terminal management method in a network according to an embodiment of the present invention, which can be executed by the terminal management device 20 described with reference to FIG.

[0068] Referring to FIG. 2, the terminal management device 20 can collect address data and status information of terminals connected to the network to which it belongs (S10).

[0069] In step S10, the terminal management device 20 can analyze the IP packet or ARP packet received from the terminal and obtain the address data of each terminal. When the terminal management device 20 receives an IP packet or ARP packet from the terminal, it can obtain the address data of the sender (sender IP address and sender MAC address) from the packet. When the terminal management device 20 obtains the address data of the sender from the received packet, it can compare it with the address data of the terminal already stored and confirm whether the sender of the packet is a new terminal. That is, when the terminal management device 20 does not find the same address data as the address data obtained from the received packet among the already stored address data of the terminal, it can determine that the terminal that transmitted the packet is a new terminal newly connected to the network. When the terminal management device 20 confirms that the terminal that transmitted the packet is a new terminal, it can bind the IP address and MAC address of the sender (terminal) obtained from the packet by one-to-N mapping and store the bound address data (IP address and MAC address) in the storage unit 21.

[0070] In step S10, the terminal management device 20 can analyze the IP packet or ARP packet received from the terminal to obtain status information indicating the network connection status of each terminal. When the terminal management device 20 receives an IP packet or ARP packet from a terminal, the terminal management device 20 can confirm the terminal that transmitted the packet based on the sender address data of the received packet, and set the status information of the terminal whose packet transmission is confirmed to indicate an online state. Meanwhile, when the terminal management device 20 confirms a terminal that does not transmit an IP packet or ARP packet within a predetermined time among the terminals connected to the same network as the terminal management device 20, it can transmit an ARP request packet to the terminal to confirm the status of the terminal. Thereafter, the terminal management device 20 waits for a response packet to the ARP request packet from the terminal for a predetermined time (e.g., 3 seconds), and if a response packet is not received from the terminal within the predetermined time, it can determine that the terminal is in an offline state. As a result, the terminal management device 20 can change the corresponding status information to indicate the offline state of the terminal. The terminal management device 20 can identify terminals connected to the same network as the terminal management device 20 based on the address data stored in the storage unit 21 .

[0071] When an ARP probe packet is received within the network (broadcast domain) to which the device belongs (S11), the IP address and MAC address of the corresponding terminal can be obtained from the ARP probe packet (S12).

[0072] In step S12, the terminal management device 20 can confirm the IP address band assigned to itself based on the network management range (IP address band) received from the policy server 10, and can acquire IP addresses and MAC addresses within the IP address band assigned to itself. That is, the terminal management device 20 can collect IP addresses and MAC addresses only for ARP probe packets that include IP addresses that belong to the IP address band assigned to itself among ARP probe packets broadcast within the network to which the terminal management device 20 belongs. Therefore, the IP address band from which the terminal management device 20 collects IP addresses may be the entire IP address band used in the network to which the terminal management device 20 belongs, or may be a part of the IP address band used in the network to which the terminal management device 20 belongs, depending on the network management range received from the policy server 10.

[0073] The terminal management device 20, which has collected the IP address and MAC address from the ARP probe packet, can compare the IP address acquired through step S11 with the already stored address data (IP address and MAC address) to determine whether or not an IP address collision has occurred (S13). In step S13, the terminal management device 20 can determine that an IP address collision has occurred if the already stored address data contains address data whose IP address is the same as the IP address acquired through step S12.

[0074] If it is determined that an IP address collision has occurred, the terminal management device 20 can compare the MAC address acquired through step S12 with the already stored address data (IP address and MAC address) to determine whether or not a MAC address collision has occurred (S14). If, in step S14, the terminal management device 20 detects address data including the same IP address as the IP address acquired through step S12, it compares whether the MAC address of the address data is the same as the MAC address acquired through step S12, and if the two MAC addresses are the same, it can determine that a MAC address collision has occurred.

[0075] If it is determined through steps S13 and S14 that a collision has occurred in all IP addresses and MAC addresses, the terminal management device 20 can determine, based on the previously stored terminal status information, whether the ARP probe packet is a packet generated due to a state transition of a normal terminal (S15).

[0076] In step S15, the terminal management device 20 can check the state information of the terminal indicated by the IP address and MAC address acquired in step S12 from among the already-stored state information. If the result of checking the state information indicates that the previous state of the terminal, i.e., the state before receiving the ARP probe packet, is offline, the terminal management device 20 can determine that the ARP probe packet received in step S11 is a packet generated by a normal terminal that is not address theft switching its connection state from offline to online.

[0077] On the other hand, if the terminal management device 20 checks the status information and finds that the previous state of the terminal, i.e., the state before receiving the ARP probe packet, is an online state, it can determine that the ARP probe packet received through step S11 is a packet generated by an eavesdropping terminal.

[0078] If it is determined in step S15 that the ARP probe packet is not a packet generated due to a state transition of a normal terminal, i.e., that it is a packet generated by an eavesdropping terminal, the terminal management device 20 can transmit an ARP probe response packet, which is a network usage blocking packet, in accordance with the policy information received from the policy server 10 (S17).

[0079] If it is determined in step S14 that no MAC address collision has occurred, the terminal management device 20 can determine that the IP address collision is due to IP address duplication settings, not theft. In this case, the terminal management device 20 checks the policy information received from the policy server 10 to determine whether the preemptive IP protection / MAC fix policy is applied (S16), and if the policy is applied, it can transmit an ARP probe response packet (S17).

[0080] As a result, a terminal that receives an ARP probe response packet in response to the ARP probe packet it transmitted is automatically assigned the IP address 169.254.xy by the APIPA function. Also, if the operating system it uses is WINDOWS, the terminal can retransmit the ARP probe packet to use the IP address assigned by APIPA.

[0081] Therefore, after transmitting the ARP probe response packet, the terminal management device 20 checks whether an ARP probe packet including an IP address (169.254.xy) automatically assigned by APIPA is received within a predetermined time (S18), and if the ARP probe packet is received, it can determine that the operating system of the corresponding terminal is windowed (S19).On the other hand, if the reception of an ARP probe packet including an IP address 169.254.xy is not confirmed for a predetermined time or more, it can determine that the operating system of the corresponding terminal is non-windowed (e.g., MAC OS) (S20).

[0082] Thereafter, the terminal management device 20 periodically updates the MAC table of the switch 30 using the SNMP protocol (S21), thereby updating the MAC table (port-MAC binding data table) of the switch 30 with packets transmitted by the pirating terminal, thereby preventing packets from a normal terminal from being transmitted to the pirating terminal.

[0083] Meanwhile, if it is determined through step S12 that the received ARP probe packet does not correspond to an IP address collision, the terminal management device 20 can store the bound address data of the IP address and MAC address acquired from the ARP probe packet in the internal storage unit 21 (S22). In addition, the terminal management device 20 can synchronize the address data (bound IP address and MAC address) stored in the policy server 10 with the address data (bound IP address data and MAC address) stored in its own internal storage unit 21 by transmitting the bound address data to the policy server 10 (S23).

[0084] FIG. 3 shows an example in which the terminal management device 20 according to an embodiment blocks the theft terminal 1a.

[0085] Referring to FIG. 3, the pirated terminal 1a duplicates the IP address (10.1.2.33) and MAC address (00:E0:4C:65:7E:35) of a normal terminal (not shown) that is already connected to the network, and changes its own IP address (null) and MAC address (00:E0:4C:00:E0:4C) (S30).

[0086] When the IP address is changed, the stealing terminal 1a transmits an ARP probe packet (S31). At this time, the ARP probe packet can include Opcode 1, sender IP address (sender IP) 0.0.0.0, sender MAC address (stolen MAC address) 00:E0:4C:65:7E:35 (stolen MAC address), target IP address (Target IP) 10.1.2.33 (stolen IP address), and target MAC address (Target MAC) 00:00:00:00:00;00.

[0087] The terminal management device 20 receives the ARP probe packet transmitted by the pirating terminal 1a (S32). In addition, the terminal management device 20 detects the IP address and MAC address of the terminal that transmitted the received ARP probe packet from the received ARP probe packet, and compares this with the address data already stored to check whether there is a collision between the IP address and the MAC address (S33).

[0088] Since the normal terminal whose IP address and MAC address have been copied by the theft terminal 1a is already using the network, the IP address (10.1.2.33) and MAC address (00:E0:4C:65:7E:35) of the normal terminal copied by the theft terminal 1a have already been collected by the terminal management device 20 and stored in the internal storage unit 21 of the terminal management device 20. Therefore, the IP address (10.1.2.33) and MAC address (00:E0:4C:65:7E:35) extracted from the ARP probe packet transmitted by the theft terminal 1a collide with the address data already stored in the terminal management device 20.

[0089] Having confirmed the collision of IP address and MAC address, the terminal management device 20 confirms the previous connection state of the terminal indicated by the IP address and MAC address (normal terminal), i.e., the connection state before transmitting the ARP probe packet, based on the previously stored state information (S34). Because the theft terminal 1a is a copy of the IP address and MAC address of a normal terminal currently connected to the network, the previous connection state of the terminal indicated by the IP address and MAC address (normal terminal) can be confirmed in the online state.

[0090] As a result, the terminal management device 20 determines that a collision of IP addresses and MAC addresses has occurred due to address duplication, and transmits a response packet to the ARP probe packet in order to block the use of the network by the theft terminal 1a (S35). At this time, the ARP probe response packet can include Opcode 2, sender IP address 10.1.2.33 (IP address of the theft terminal 1a), sender MAC address 00:E0:4C:65:7E:35 (MAC address of the theft terminal 1a), target IP address (Target IP) 10.1.2.33 (IP address of the theft terminal 1a), and target MAC address (Target MAC) 00:00:00:00:00:00.

[0091] The theft terminal 1a, which receives the ARP probe response packet from the terminal management device 20 (S36), recognizes that the IP address 10.1.2.33 cannot be used, and changes its own IP address to 169.254.xy through the APIPA function (S37). If the operating system of the theft terminal 1a is WINDOWS, the theft terminal 1a retransmits the ARP probe packet reflecting the changed IP address (S37). At this time, the ARP probe packet can include Opcode 1, sender IP address 0.0.0.0, sender MAC address 00:E0:4C:65:7E:35, target IP address 169.254.x,y (changed IP address), and target MAC address 00:00:00:00:00;00.

[0092] After that, the theft terminal 1a waits to receive a response packet to the ARP probe packet, and if no response packet is received, it transmits an ARP announcement packet to determine its own IP address. Since the thus determined IP address 169.254.x, y cannot be used to connect to the network to which the normal terminal that the theft terminal 1a has copied belongs, the malicious use of the network by the theft terminal 1a can be blocked. In addition, the use of the network by normal terminals can be protected.

[0093] The above-described embodiment can be realized as computer-readable codes on a medium on which a program is recorded. The computer-readable medium includes any recording device in which data that can be read by a computer system is stored. Examples of the computer-readable medium include a hard disk drive (HDD), a solid state disk (SSD), a silicon disk drive (SDD), a ROM, a RAM, a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like, and also includes those realized in the form of a carrier wave (e.g., transmission through the Internet). The computer may also include a control unit of a terminal. Therefore, the above detailed description should not be construed as limiting in all respects, but should be considered as illustrative, and the scope of the present invention should be determined by a reasonable interpretation of the appended claims, and all changes within the scope of the present invention that are equivalent to the present invention are included in the scope of the present invention.

Claims

1. A terminal management method in a network system, comprising: analyzing packets received from a plurality of terminals connected to the network to collect and store address data of the plurality of terminals and status information indicating a network connection status of each of the plurality of terminals; receiving an Address Resolution Protocol (ARP) probe packet; obtaining a first Internet Protocol (IP) address and a first Media Access Control (MAC) address of a first terminal that has transmitted the ARP probe packet from the ARP probe packet; When address data including the same IP address and MAC address as the first IP address and the first MAC address is searched for among the stored address data, determining whether the first terminal is a stolen terminal that has copied the address data of another terminal according to the state information of a terminal having the same address data as the first IP address and the first MAC address among the plurality of terminals; A terminal management method comprising the step of transmitting a response packet to the ARP probe packet to the first terminal so that the IP address of the first terminal is reset to a second IP address by an Automatic Private IP Addressing (APIPA) function of the first terminal when the first terminal is determined to be a stolen terminal.

2. The terminal management method according to claim 1 , wherein the second IP address is an IP address whose connection to the network is cut off.

3. 2. The terminal management method of claim 1, further comprising the step of transmitting a response packet to the ARP probe packet to the first terminal according to a pre-established preemptive IP protection / MAC fixation policy when address data including an IP address that is the same as the first IP address and an MAC address that is different from the first MAC address is found among the address data.

4. 2. The terminal management method of claim 1, further comprising the step of storing address data binding the first IP address and the first MAC address when no address data including the same IP address and MAC address as the first IP address and the first MAC address is found among the address data.

5. The terminal management method of claim 1, further comprising: updating a MAC table of a switch using the pre-stored address data and a Simple Network Management Protocol.

6. 2. The terminal management method of claim 1, wherein in a header of the ARP probe packet, the Opcode is 1, the sender MAC address is the first MAC address, the sender IP address is 0.0.0.0, the target MAC address is 00:00:00:00:00:00, and the target IP address is the first IP address.

7. 2. The terminal management method according to claim 1, wherein in a header of the response packet, Opcode is 2, a sender MAC address is the first MAC address, a sender IP address is the first IP address, a target MAC address is the first MAC address, and a target IP address is the first IP address.

8. The collecting and storing step includes:

2. The method of claim 1, further comprising the step of: setting the state information of a second terminal to indicate an online state when an IP packet or an ARP packet is received from a second terminal within the network.

9. The collecting and storing step includes: transmitting an ARP request packet to a third terminal among the plurality of terminals when the IP packet or the ARP packet is not received from the third terminal within a first time period; and The method of claim 8, further comprising the step of setting the state information of the third terminal to indicate an offline state if a response packet to the ARP request packet is not received within a second time period.

10. The determining step includes:

10. The terminal management method according to claim 9, further comprising a step of determining, when the state information of a terminal among the plurality of terminals corresponding to the first IP address and the first MAC address indicates the online state, that the first terminal is a stolen terminal.

11. A terminal management device, a communication unit that communicates with a plurality of terminals connected to the network; a storage unit for storing state information indicating a network connection state and address data for each of the plurality of terminals; a control unit that analyzes packets received from the plurality of terminals to collect the status information and the address data, and when an ARP probe packet is received, obtains a first IP address and a first MAC address of a first terminal that transmitted the ARP probe packet from the ARP probe packet, and when address data including the same IP address and MAC address as the first IP address and the first MAC address are searched for among the address data stored in the storage unit, determines whether the first terminal is a stolen terminal that has copied address data of another terminal according to the status information of a terminal having the same address data as the first IP address and the first MAC address among the plurality of terminals, and when the first terminal is determined to be a stolen terminal, transmits a response packet to the ARP probe packet to the terminal so that the IP address of the first terminal is reset to a second IP address by an APIPA function of the first terminal.

12. The terminal management device according to claim 11 , wherein the second IP address is an IP address whose connection to the network is cut off.

13. The control unit transmits a response packet to the ARP probe packet to the first terminal according to a pre-established preemptive IP protection / MAC fixation policy when address data including an IP address that is the same as the first IP address and an MAC address that is different from the first MAC address is searched for among the address data.

14. The terminal management device of claim 11, wherein the control unit stores address data binding the first IP address and the first MAC address in the storage unit when address data including an IP address and a MAC address that are the same as the first IP address and the first MAC address is not found among the address data.

15. The terminal management device of claim 11 , wherein the control unit updates a MAC table of a switch using the address data stored in the storage unit and a simple network management protocol.

16. 12. The terminal management device according to claim 11, wherein in the header of the ARP probe packet, the Opcode is 1, the sender MAC address is the first MAC address, the sender IP address is 0.0.0.0, the target MAC address is 00:00:00:00:00:00, and the target IP address is the first IP address.

17. 12. The terminal management device of claim 11, wherein in the header of the response packet, Opcode is 2, a sender MAC address is the first MAC address, a sender IP address is the first IP address, a target MAC address is the first MAC address, and a target IP address is the first IP address.

18. The terminal management device according to claim 11 , wherein the control unit sets the state information of the second terminal to indicate an online state when an IP packet or an ARP packet is received from the second terminal within the network.

19. The control unit transmits an ARP request packet to a third terminal among the plurality of terminals if the IP packet or the ARP packet is not received from the third terminal within a first time period, and sets the status information of the third terminal to indicate an offline state if a response packet to the ARP request packet is not received within a second time period.

20. 20. The terminal management device according to claim 19, wherein the control unit includes a step of determining that a first terminal is a stolen terminal when the status information of a terminal among the plurality of terminals corresponding to the first IP address and the first MAC address indicates the online state.

Citation Information

Patent Citations

  • Offline detection method and offline detection device based on MAC (Media Access Control) address authentication

    CN102938715A

  • Network parameter determining device

    JP2007195057A

  • Quarantine management device, quarantine system, quarantine management method, and program

    JP2012199758A

  • Unauthorized connection prevention device, unauthorized connection prevention method and system and program

    JP2016187113A

  • Learning method of mac address

    JP2018157460A