when most people connect to a network their device is assigned an ip address from an existing dhcp or dynamic host configuration protocol server this dhcp process happens every time someone connects to the network and it allows the network administrator to automatically assign these ip addresses instead of manually going to every single device and setting up all of those ip addresses statically however there's no security built into dhcp that means that an attacker could create their own dhcp server and start handing out ip addresses from an attacker instead of ip addresses from the legitimate network administrator if the attacker is using ip addresses that overlap with the existing dhcp server then there could be invalid or duplicate addresses being handed out to other people's workstations and they would either have intermittent connectivity or no connectivity at all the way to avoid a rogue dhcp server is to constantly monitor for unauthorized dhcp communication and block that traffic at the switch this is called dhcp snooping on most switches and it automatically will find these rogue servers and prevent them from communicating if you're on a microsoft network you can also authorize dhcp servers in active directory so that your ad configuration knows exactly what the legitimate dhcp servers are if you do find a rogue dhcp server that's been handing out ip addresses you'll need to disable the interface that dhcp server is on and have all of your devices release and renew their ip leases another type of rogue device is a rogue access point this is when someone wants to gain wireless access onto your network this could be an employee within your organization or it may be an attacker this means that someone could be installing this rogue access point for their own personal reasons and not as something that might be malicious but either way it is a significant potential security issue and could allow unauthorized access onto your network one of the challenges for the security professional is that it's very easy to install or create a rogue access point you can purchase access points relatively inexpensively and simply plug them into an existing network connection or maybe just turn on wireless sharing inside of an operating system and now your windows computer becomes its own access point in many organizations the security team will perform periodic surveys that will examine the type of wireless communication in your area and see if anyone is communicating to an access point that they were not previously aware of one way to prevent any type of rogue access point is to enable 802.1x or network access control on your network 802.1x requires that anyone connecting to the network authenticate properly before they are allowed access onto the rest of the network a wireless evil twin has a similar function to a rogue access point but a wireless evil twin is intentionally malicious they are trying to get you to connect to this wireless network in an effort to either gather details from your computer or phish you for information this is commonly accomplished by creating a new access point but configuring that access point to look very similar to the existing access points on that network so it might have the same or a similar ssid and the security settings may look very similar to what already exists on your network if this wireless evil twin has a very strong radio signal it could even overpower the existing access points effectively becoming the primary access for wireless connectivity wireless evil twins can be very easy to implement on open networks especially open wi-fi hotspots or other public areas if you do make the mistake of connecting to a wireless evil twin you could still prevent it from gathering any information from your system by encrypting all of the communication this means that you should always be connected on a wireless network through a virtual private network or at a very minimum make sure that you're always using https