This is a broad question, as there are several different ways to assess the security of Ethernet ports. However, there are a few things that are usually covered in this type of scope.
The first (and most straightforward) thing to test is whether any sort of Network Access Control is in place. If you're being asked to assess the security of a port, there is presumably some security control that the client wants tested. It might be a good idea to ask the client what, specifically, they want assessed.
The easiest way to test whether Network Access Control is functioning correctly is to simply plug into the Ethernet port and see what happens. Are you given an IP? If you set a static IP (vs. using DHCP), does that work? Or is there some agent-based access control that's stopping you from connecting? Is there a "walled garden" once you connect to the network?
Once you're connected, what can you see? Can you port scan (nmap
) the local network? Are you in some sort of a segregated environment? What else is running nearby on the network? Is the network controlling your DNS, or can you resolve anything you want? Is there egress filtering to the Internet?
Lastly, there's always the physical security element: is the port in question in a public area, like a lobby or waiting room? Is that intended? Do untrusted actors have physical access to the port?
From the answers to these questions, you should hopefully be able to determine how secure the Ethernet setup is -- and hopefully write recommendations to improve security based on what you find. Like I said earlier, though, you should definitely check with the client before doing any of this stuff -- they'll know what their goals are, and should be able to tell you what they want to learn.
Good luck!