Skip to content
This repository has been archived by the owner on Sep 28, 2023. It is now read-only.

MAC audit module #16

Closed
1 task done
Wyko opened this issue Mar 13, 2017 · 2 comments
Closed
1 task done

MAC audit module #16

Wyko opened this issue Mar 13, 2017 · 2 comments

Comments

@Wyko
Copy link
Owner

Wyko commented Mar 13, 2017

The MAC Audit module will take a csv (or any other input, as added in the future) and to compare it with the database of polled mac addresses. The purpose is for things like Rogue AP audits, where a rogue device may be detected, its MAC polled, and then compared against macs connected to switchports for a similar OUI.

For each csv mac address:

  1. Get a list of all polled MAC addresses in the given subnet
  2. Compare the csv MAC against the polled MACS
  3. Generate a confidence rating that indicates how similar the MAC's are

The csv needs at minimum the mac column as well as either a network_ip column or an ip and subnet column.

Challenges:

  • Currently, MAC addresses are stored by interface. The interface will not always have an associated subnet, due to being a layer 2 interface. The module should intelligently use the device's subnets when an interface specific one isn't available.
@Wyko
Copy link
Owner Author

Wyko commented Mar 15, 2017

Solution:

  1. Use ARP instead of MAC Address Table
    Pros:
    -ARP is actually designed for this use case, since it ties IP's to MAC's
    Cons:
    -Layer 2 devices will not have a related entry
    -Will have to establish scanning for ARP entries

  2. Tie MAC entries to a device's IP's
    For each unique subnet from the CSV, collect a list of the MAC addresses which have that subnet as at least one network on it's associated device.
    Cons:
    -Less accurate

@Wyko
Copy link
Owner Author

Wyko commented Mar 17, 2017

Implemented in the tools.mac_audit module

@Wyko Wyko closed this as completed Mar 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant