Systems and methods for network device management using device clustering
Systems and methods for managing network devices include performing clustering operations for network devices based on attributes of the network devices. By comparing the results of subsequent clustering operations, changes in network device attributes can be readily identified and any network devices for which attributes have changed may be subject to further investigation or remedial action (e.g., blocking traffic to/from the network device). Clustering may also be used to conduct an inventory of network devices by identifying groups of network devices that have similar attributes.
1. A method of generating an inventory of networked devices, the method comprising:
with a processor coupled with a non-transitory computer readable medium having computer executable instructions:
generating a first device record for a first device, the first device record including a first set of device attributes obtained from network traffic data associated with the first device and supplemental device information for the first device;
generating a second device record for a second device, the second device record including a second set of device attributes obtained from network traffic data associated with the second device;
applying, to each of the first set of device attributes and the second set of device attributes, a clustering operation that assigns devices into clusters based on shared device attributes, the clustering operation assigning each of the first device and the second device to a same cluster; and
in response to the first device and the second device being assigned to the same cluster, inserting the supplemental device information of the first device into the second device record.
2. The method of claim 1 , wherein the clustering operation is a k-means clustering operation.
3. The method of claim 1 , wherein the first set of attributes and the second set of attributes each include at least one of a source address, a destination address, a port, a protocol, a packet size, a timestamp, and a transmission frequency.
4. The method of claim 1 , wherein the first device record includes a first unique identifier and the second device record includes a second unique identifier.
5. The method of claim 4 , wherein at least one of the first unique identifier and the second unique identifier is a source Internet Protocol (IP) address.
6. The method of claim 4 , wherein each of the first unique identifier and the second unique identifier is based on at least one of a media access control (MAC) address, a port, a service identifier, banner information, packet content, and an encryption type of the first device and the second device, respectively.