I just started my job as a penetration tester. Me and my mentor got to the client's office and our first order of business was to bypass the NAC system.
Searching for a printer or other similar devices was our first priority, so eventually, the network guy just gave us the MAC address of the printer to save us some time and we started spoofing our MAC using the printer's whitelisted MAC address.
Once I spoofed the MAC, it was not possible to ping us from other devices because we didn't have an IP address so the guy also gave us the IP address that was set for the printer.
The guy was surprised to see that we got a connection since his NAC was supposed to filter the vendor ID but for some reason, the NAC recognized us as a printer.
I have 3 questions (I won't have the ability to come back to the client anymore):
Did we have to input a specific IP address once we spoofed the MAC address or any IP address would've done the job?
If I had to spoof my vendor ID in order to get access, what is the most recommended procedure for doing that? (if possible)
What if the printer didn't have any built-in interface to check it's MAC address (the one in the client's office did have a screen and a user interface on it), how would I have gotten the MAC address of the printer?