Fleet uses osquery tables to query operating system, hardware, and software data. Each table provides specific data for analysis and filtering.
arp_cache
The Address Resolution Protocol (ARP) cache maps IP addresses to MAC addresses in the network stack on Linux, macOS & Windows.
Column | Type | Description |
---|---|---|
address | text | IPv4 address target |
interface | text | Interface of the network for the MAC |
mac | text | MAC address of broadcasted address |
permanent | text | 1 for true, 0 for false |
Basic query:
SELECT address, interface, mac FROM arp_cache;
Compare gateway IP addresses (which are typically routers) to a list of known MAC addresses:
SELECT * FROM arp_cache WHERE address IN (INSERT_GATEWAY_IPS) AND mac NOT IN (INSERT_EXPECTED_MAC_ADDRESSES);
The first six digits of a MAC address are the known as the Organizationally Unique Identifier
Manufacturer and model information can be looked up by MAC address using Wireshark OUI Lookup
OUI is used to populate manufacturer information in applications like Wi-Fi Explorer
Monitoring the ARP Cache is useful for maintaining network integrity & security. Querying data from this table can help to: