Question

How to prevent unauthorized access into network

Asked by: dickchan

Is it possible to prevent or detect if someone bring a router and plug  in to the company network?
For example, someone bring a wireless router or AP to company and plug into LAN. How can we
prevent or detect this unauthorized action?

This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.

Subscribe now for full access to Experts Exchange and get

Instant Access to this Solution

  • Plus...
  • 30 Day FREE access, no risk, no obligation
  • Collaborate with the world's top tech experts
  • Unlimited access to our exclusive solution database
  • Never be left without tech help again

Subscribe Now

Asked On
2009-07-06 at 16:32:04ID24548181
Tags

Wireless

Topics

Miscellaneous Security

,

Wireless Technologies

,

Wireless Networking

Participating Experts
5
Points
500
Comments
23

Trusted by hundreds of thousands everyday for fast, accurate and reliable tech support.

  • "The time we save is the biggest benefit of Experts Exchange to Warner Bros. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange." Mike Kapnisakis, Warner Bros.
  • "Our team likes having a resource that is more secure than just using Google and most experts using this service really know their stuff. It's nice to look here first versus using Google." Dayna Sellner, Lockheed Martin
  • "Anytime that I've been stumped with a problem, 9 out of 10 times Experts Exchange has either the accepted solution or an open discussion of the potential solution to the problem." Kenny Red, eBay Inc.

See what Experts Exchange can do for you.

Got a question?

We've got the answer.

Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.

Screenshot of Experts Exchange Knowledgebase

Need individual assistance?

Our experts are ready to help.

If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.

Screenshot of Experts Exchange Knowledgebase

Want to learn from the best?

Read articles from industry experts.

Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.

Screenshot of an Article

Working on a long term project?

Store your work and research.

Save solutions to your questions, answers you’ve discovered through searching plus helpful articles in your personal knowledgebase for easy future access.

Screenshot of Experts Exchange Knowledgebase

Access the answers to your technology questions today.

Subscribe Now

30-day free trial. Register in 60 seconds.

What Makes Experts Exchange Unique?

Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Trusted by the world's most respected brands.

image of each brand's logo

Faithfully serving IT professionals since 1996.

Experts Exchange Logo

Try it out and discover for yourself.

Subscribe Now

30-day free trial. Register in 60 seconds.

Related Solutions

  1. preventing unauthorized users from picking up IP addresse…
    Is there a way to prevent unauthorized users from plugging into a network where DHCP is enabled and picking up and IP and then accessing the internet?
  2. restrict unauthorized users
    Dear all I have a DHCP server in my LAN and I want to restrict unauthorized users or PC’s from obtaining IP address from my DHCP. I mean that I don’t want any PC’s out side of my domain to obtain IP address from my DHCP server.

Free Tech Articles

  1. WARNING: 5 Reasons why you should NEVER fix a computer for free.
    It is in our nature to love the puzzle. We are obsessed. The lot of us. We love puzzles. We love the challenge. We thrive on finding the answer. We hate disarray. It bothers us deep in our soul. W...
  2. SCCM OSD Basic troubleshooting
    SCCM 2007 OSD is a fantastic way to deploy operating systems, however, like most things SCCM issues can sometimes be difficult to resolve due to the sheer volume of logs to sift through and the dispe...
  3. Migrate Small Business Server 2003 to Exchange 2010 and Windows 2008 R2
    This guide is intended to provide step by step instructions on how to migrate from Small Business Server 2003 to Windows 2008 R2 with Exchange 2010. For this migration to work you will need the fo...
  4. Create a Win7 Gadget
    This article shows you how to create a simple "Gadget" -- a sort of mini-application supported by Windows 7 and Vista. Gadgets can be dropped anywhere on the desktop to provide instant information, ...
  5. Outlook continually prompting for username and password
    There have been a lot of questions recently regarding Outlook prompting for a username and password whilst using Exchange 2007. There are a few reasons why this would happen and I will try to cover t...
  6. Backup Exchange 2010 Information Store using Windows Backup
    There seems to be quite a lot of confusion around the ability to backup Exchange 2010 using the built in Windows Backup feature. This stems from the omission of this feature prior to Exchange 2007 s...

Cloud Class Webinars

  1. Avoiding Bugs in Microsoft Access
    Alison Balter takes and in-depth look at avoiding bugs in Access. In this webinar you will learn about using the immediate window to debug your applications, invoking the debugger, using breakpoints to troubleshoot, stepping through code, setting the next statement to execute, ...
  2. Top 10 Best New Features in Visio 2010
    Scott Helmers gives live demonstrations of the top 10 new features in Visio 2010. This webinar will teach you how to create compelling diagrams by adding shapes to the page with a single click, linking the shapes in a diagram to data in Excel (or SQL Server, or SharePoint), ...
  3. IT Consultant Business Secrets Revealed
    Michael Munger, Experts Exchange tech pro and IT consultant, pulls back the curtain on his very successful businesses and answers question on every IT consultant and business owner should know about. He shares secrets on what he did to solve the 5 most common problems in IT, ...
  4. Disaster Recovery and Business Continuity
    Quest CTO, Mike Billon, gives an overview of the steps involved in building a dunamic disaster recovery plan. Through case studies and an examination of software/hardware tooles for monitoring and testing, you'll gain a better understandin of where you are, where you want ...
  5. Organize Your Visio Diagrams with Containers and Lists
    Scott Helmers uses cross functional flowcharts, wireframe diagrams, data graphic legends and seating charts to teach you: how to ustilize all three new structured diagram components in Visio 2010, the best practices for organizeing shapes in previous version of Visio, how to organize ...
  6. How to Us Objects, Properties, Events and Methods in Microsoft Access
    Alison Dalter gives an in-depbth look at objects, properties, events and methods in Microsoft Access. In this webinar you will learn about using the object browser, referring to objects, working with properties and methods, working with object variables, understanding the ...

Join the Community

Give a Little. Get a Lot.

Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.

Join the Community

Answers

 

by: TurboBorlandPosted on 2009-07-06 at 16:56:25ID: 24790431

What you're talking about is a "rogue access point".  Now, there are many many things a person can do to detect and prevent such things.  For detection, there's a free open source tool that sends information of the device that's connecting to your network to whatever you've installed this program on.  It has a large database of different devices and their information, so you can spot a new access point on your network.  That tool is located at http://www.paglo.com/opensource/roguescanner   Now, as for prevention, here's a link that outlines several different things you can employ on your wireless network to prevent them.  It all depends on your network setup for which shall work and what won't.  http://www.wirelessroomservice.com/how-to-prevent-block-rogue-aps-from-joining-your-wired-or-wireless-wlans

 

by: naykamPosted on 2009-07-07 at 00:16:11ID: 24792014

What hardware do you have? Switches/AP's/Wireless controllers etc?

 

by: richrumblePosted on 2009-07-07 at 06:13:38ID: 24793861

You are looking for 802.1x or a program like PacketFence that can detect and react instantly to any new connections. Nothing is fool-proof, and a "rouge scanner" won't detect a (properly) firewalled AP. The 802.1x protocol is very good for PC's, but dumb devices like network printers, some VOIP phones and more, can't talk the protocol and would be denied access to your lan unless the port was not configured for 802.1x or used a mac address filter  what cisco calls "port security".
A program like PacketFence, or FreeNac will maintain your switches by 802.1x and or using SNMP Traps. 802.1x requires that a suplicant (client software) be installed, on XP and above this is enabled by default on wired and wifi lan's. Some switches however need to be upgraded to be able to utilize 802.1x. Snmp is typically easier, no client software needed on the pc's. When a new device is plugged in the network a Snmp Trap is sent to the server that a new port is active, the server sends a SNMP Set string to place that port into a isolation vlan. The server is then able to behave like a "captive portal" and no matter what website someone tries to go to they are redirected to the registration page of the captive portal. Once they login/register they are then moved out of isolation and the port is free.

http://freenac.net/
http://salite.stillsecure.com/
http://netreg.sourceforge.net/ (dhcp only I believe, won't stop someone assigning themselves a static)
http://sourceforge.net/project/showfiles.php?group_id=155066 (old, but might still be worth a look)
http://netpass.sourceforge.net/
-rich

 

by: Darr247Posted on 2009-07-07 at 13:06:35ID: 24797873

A rogue router needs a local IP address for its WAN port. The best way to prevent that is to require authentication to receive an IP address from DHCP, combined with an access control list and DHCP server IP reservations based on MAC address.  It'll be harder to stop a rogue AP, since they can just passthrough DHCP without needing their own IP, but at least unauthorized devices will not be able to receive an IP address through a rogue switch or wireless AP as they might be able to using a rogue router.

 

by: ABLComputersPosted on 2009-07-07 at 15:56:06ID: 24799299

You can use Mac Address reservation found on most routers and also available in Windows Servers DCHP settings.

With this in place it may be a little harder to manage your network but the upside is that it also helps with inventorying your network.

 

by: richrumblePosted on 2009-07-07 at 17:41:37ID: 24799757

Static IP's are easy to assign, and sniffing the network is any easy to figure out one to use, no IP is necessary to sniff the network. PacketFence/FreeNAC and the others I linked to above, take most of the work out of managing Mac-address's, in addition, if someone were going to sniff the network as soon as they plugged in, the swtich saw physical (layer-1) connection, the port would be placed in a vlan that contains only other isolated hosts with no route to anywhere, assigning and sniffing ip address's will do no good there. In addition, devices found to be setting off a Snort alert for instance, can be automatically sent to isolation and no matter where they plug in the network their port will be isolated.
Nothing is fool-proof. If I were a hacker, and I had a box that was permitted to access the network, if I added a second network card to a PC for instance, I could use XP's ICS or *nix's NAT services to allow a rouge AP to pass traffic in and out because the switch would only see the mac from the Nic that plugs in the switch, not the mac's of everything behind it, such is the nature of nat.
Additionally, If I were to unplug a printer in the network, clone it's IP and Mac for my AP, the switch would know no different. 99% of the network printers I've encountered allow anyone who wants to, to print out it's current configuration. If I really want to be stealthy, I plug the printer in my second nic and fwd printer traffic to it.
-rich

 

by: ABLComputersPosted on 2009-07-08 at 05:39:18ID: 24803014

Richrumble you're absolutly correct but how many average people out there have this knowledge to do this. Now i don't know what is the average IT knowledge of the users or the environment that this network is in. If it's an environment where the users are highly technical then you would need to use enterprise grade equipment. if not then you can use MAC address reservations for now.

Your network must start with a security-centric network design, requires use of enterprise quality managed networking hardware; and creation, communication, monitoring and enforcement of "acceptable network use policy."

 

by: richrumblePosted on 2009-07-08 at 06:42:44ID: 24803629

It does require coordination with the network team to impliment 802.1x, which is built-in and enabled by default on XP and greater M$ os's. The app's I've linked to have varying degrees of difficulty, the StillSecure product is free, it's a VMWare image, pertty easy to setup and use. Also there are consulting services for many NAC solutions.
I also don't know the size and the scope of the network, but I'd hate to manage a single 48 port switch by manually white-listing Mac's, but I'm lazy so it could be me. Depending on how a switch makers uses mac-address white-lists, the mac's might have to be associated with a particular port and not just be read off a list.
Your also correct, security policies must come first and foremost, Sans has some great templates to start with: http://www.sans.org/resources/policies/#template and your network design should alllow you to enforce said policies effeciently.
There is no 100% way as I've stated above to keep a rouge AP off the lan, but you can implement 802.1x or other mac address authorizaion mechanism to help.
http://207.46.16.252/en-us/magazine/2008.02.cableguy.aspx
http://technet.microsoft.com/en-us/library/cc512611.aspx
http://www.sans.org/reading_room/whitepapers/firewalls/wired_802_1x_security_1654?show=1654.php&cat=firewalls
-rich

 

by: TurboBorlandPosted on 2009-07-08 at 13:34:37ID: 24808052

Rich, I'm wondering why you do not believe rogue scanner would be able to detect a rogue AP that is being properly firewalled?  It does numerous tests to determine what the newly connected device is, much like OS fingerprinting.  "RogueScanner scans your network devices and collects device classification information such as IP and MAC address, what TCP and UDP ports are open, how the devices respond to common network requests, and the DNS or NetBIOS name used by the device."  How the device responds to "common network requests" is the one to look for and the specialty of the fingerprinting.  However I agree that your solution would be better to employ for a prevention solution, I don't believe that this software would be rather useless for detection of such a device.  After all, if they know enough to know how your typical ap responds to certain normal and malformed packets and is able to manipulate them all to come across as some other device (MAC would have to be changed anyway, bye whitelist), while still providing functionality as an ap, I do not believe any other detection solution would work against someone setting a rogue ap up.  Just curious as to why you figured that.

 

by: richrumblePosted on 2009-07-08 at 13:42:28ID: 24808134

You could detect a new AP in range of a scanner, however, you wouldn't necessaryly know if it was plugged into your network if the firewall drops all packets, including icmp. If a device has no responses, it can't be finger-printed. There is the wifi part of a AP one could detect the proxmity of, but again unless you audit the mac-address's on your switches, or have a traffic sniffer, you'd never know it was on the physical lan. IPTables, even windows XP (and beyond) can be configured to drop any non-stateful connection. A stateful connection is one made from the PC to the outside, which will then allow those remote ip's back in, but even while that's going on, a scanner won't detect it if the FW is doing it's job.
You don't need to have any ports open on your PC to allow traffic in through your firewall, scan your home IP using GRC's Shields Up and see what ports are open if any.
http://en.wikipedia.org/wiki/Stateful_firewall
-rich

 

by: richrumblePosted on 2009-07-08 at 13:46:46ID: 24808178

Even though I'm searching Google.com on port 80, no scanner, and not even the server I'm connected to in google could scan my PC and get a response. TCP is more complex than that, and the same holds true for many UDP protocols. You'd want to prevent the physical Lan interface of a WAP being plugged into the network, it's best to have 802.1x or other from port access to accomplish that goal.
-rich

 

by: TurboBorlandPosted on 2009-07-09 at 13:37:55ID: 24818078

If the firewall dropped all packets sent to it, I would believe that would raise a whole lot of red flags.  After all, dropping packets isn't really stealth, rejecting packets is. Not only that, let's take a look at TTL values when sending a request to nothing in comparison to sending requests to a device behind a firewall.  Roguescanner live discovers any new connection, so I would imagine that would be a packet sniffer looking for anything responding to an arp request from the router.  I haven't exactly looked at all of the source code behind rogue scanner, but if I were to fingerprint a device on a non-ipsec ipv4 network, I would create a packet that comes from all attached network devices and see if there is any difference in the responses (UDP, I'm not going to worry about ISN's).  Also, my fingerprinting would definitely include banner grabbing on both ssh and http if the device is unknown.  Especially in relation to detecting access points.  These are just a couple of examples for common fingerprinting techniques I would expect to see in fingerprinting an access point.  However, this answer of rogue scanner doesn't work also seems to be self-defeating.  This is something I see often in the security field.  If a person asks a question, like how could I detect it (given that the question was detect OR prevent), the person throws out that this is how you could bypass any detection methods, successfully evading the question asked.  But, again, I agree that the obvious choice should be a preventative measure and not a detection, however either one is not always possible, thus why I supplied both.

 

by: richrumblePosted on 2009-07-09 at 14:16:32ID: 24818446

I'm only going to de-rail the discussion for a moment.
I don't think you understand networking well enough yet. If I ping sweep 1.2.3.0/24, that's a typical 255 host subnet (255.255.255.0 mask) and I get replies from 14 host's, that doesn't mean there are only 14 hosts, it means only 14 replied. Regardless of protocol used to scan, even if a host doesn't reply to icmp, it might still have port 80 open. So I scan with icmp also look for port 80 header replies, now I see 16 host's, meaning there are at least two more hosts on the network that are replying to data I'm sending out. If I check the mac listing on the switch and see there are in fact more devices than that I can assume that either I haven't scanned all the possible ports, or the host's don't reply to me even if I did scan all 65535 ports.
We setup ACL's all the time for one-off customers, so customer_x from ip 4.5.6.7 is allowed to see port 80 open on our IP of 6.5.4.3, but if anyone else in the entire world scanned port 80 for IP of 6.5.4.3, they would receive no reply and could never know if there is a host there or not, unless our host sent them traffic first.

Most wifi devices have a setting to allow remote administration or local administration. If you disable remote, then port 80 or 443 is turned off for anyone on the wifi side, but anyone with a physical wired connection to the WAP can see port 80 open. Some go further, allow remote admin, but only from ip.ip.ip.ip that I specify, so only the static IP I've reserved and set aside for myself can see port 80.

The point is, if I plug a wap into your lan, you scan using your scanner, it won't see it because it's firewalled and drops all incoming traffic. The only way you'd know it was there is from sniffing traffic that the WAP itself initiated, not traffic you sent to the wap, or by auditing the mac's on your switch ports. Rejecting packets with a RST packet or host-unreachable is actually a response. Ignoring packets is like there is no host there at all. If the scanner you mention discovers new connections it must be based on passive sniffing and or has layer 2 access to a switch, or you see a link light where there wasn't one before. It's the lan interface of the wap you need to detect, not the wifi side. Further the WAP's I use disallow each wifi client to see one another, so scanning for other hosts with wifi address's returns nothing, the wap drops the packet like nothing was there at all.

Your also correct I think we've covered the solutions as best we can, nothing is 100% but mac-address monitoring/listings and 802.1x protocols are best suited for the task.
-rich

 

by: TurboBorlandPosted on 2009-07-09 at 15:15:22ID: 24818791

That's what I was saying.  The fingerprints I declared were only two examples.  The banner grabbing and other fingerprinting techniques are obviously not going to be fool-proof, that's why any fingerprinting service must conduct several tests.  I was thinking that "rogue scanner", seeing as it live discovers targets, would be passively sniffing the network for ARP requests going from router (a set ip)->device.  That would be the best way, in my mind, to identify if a new device is going to be attached to the network.  Having said that, the device not responding to ICMP would raise the first red flag.  As you know it exists, but it's ignoring your requets.  Thus, the fingerprint technique of finding this would be dropped packets vs. rejected packets (sign of a truly closed port).  This would show in the TTL as the firewall has to make a decision whether to allow or drop the packet before it reaches the host.  Thus the TTL value would be increased if the user is behind a firewall over if the device in question does not actually exist.  You could find this out by constantly conducting tests on your other devices that are connected and then comparing them with the device you know exists, yet doesn't respond to your ping (or other icmp) requests.  

 

by: richrumblePosted on 2009-07-09 at 15:28:19ID: 24818850

You only catch errant packets or broadcasts (like arp).TTL's do not increase for layer 2 devices, and firewalls/switches/hubs/bridges fall under that category typically. Software firewalls certainly don't decrement the ttl, and no hardware firewall I've used does. Relying on arp or errant packets is one way, but would take much more time (too much probably). I've not tested the rouge scanner, if it does the passive monitoring, it would in fact work.
-rich

 

by: TurboBorlandPosted on 2009-07-09 at 16:10:30ID: 24819134

I thought that dropped packets increased the time it took to get a timeout exceeded message from the dropped packets over that of a reset when the port is actually closed?

 

by: TurboBorlandPosted on 2009-07-09 at 16:23:16ID: 24819230

Nevermind, what I said above doesn't make any sense.  I was thinking of getting timeout messages from a closed port via UDP and mixed a bunch of things up along the way in my head.  Sorry about that.

 

by: Darr247Posted on 2009-08-27 at 16:22:32ID: 25203531

I don't think http://www.experts-exchange.com/Security/Misc/Q_24548181.html?cid=1573#24818850 answers the original question(s) at all.

TurboBorland's first reply, (http://www.experts-exchange.com/Security/Misc/Q_24548181.html?cid=1573#a24790431), richrumble's first reply (http://www.experts-exchange.com/Security/Misc/Q_24548181.html?cid=1573#24793861), my reply (http://www.experts-exchange.com/Security/Misc/Q_24548181.html?cid=1573#24797873), and ABLComputers' first reply (http://www.experts-exchange.com/Security/Misc/Q_24548181.html?cid=1573#a24803014 - the policy against it may not deter everyone, but it IS another prevention method) all address Q_24548181's queries, though.  :-)

 

by: Darr247Posted on 2009-08-29 at 10:46:14ID: 25214724

My recommendation is #3, and per the full links (else they could not be followed from the CS zone where the objections end up) in my previous message (http:#25203531),

http:#24790431 - 150
http:#24793861 - 150
http:#24797873 - 100
http:#24803014 - 100

The first 2 address prevention and detection; the latter 2 only prevention.

Of course, feedback from the member as to their actual resolution of the problem would not be unwelcome by me, even at this stage of the 'cleanup' process. :-)

 

by: richrumblePosted on 2009-08-29 at 17:22:53ID: 25215927

I'm fine with the above.
-rich

20120131-EE-VQP-002

3 Ways to Join

30-Day Free Trial

The Experts

98% positive feedback on 31,087 answers since March 2000. angeliii is a Microsoft Most Valuable Professional for his work with MS SQL Server & Develoment.

He has also proven his knowledge of Visual Basic Programming, PHP Scripting and Oracle Databases.

The Experts

97% positive feedback on 10,752 answers since July 2000. lrmoore has more than 18 years experience in the networking industry.

The six-time Mircosoft MVPs specialties include firewalls, virtual private networking, and network management.

Testimonials

"...and excellent source for support... Kind of like having your very own IT dept." Electriciansnet

Testimonials

"I was apprehensive at signing up at first. However... it has already made my life as an IT administrator much easier." JaCrews

Testimonials

"WOW! You guys have great, active, and knowledgeable people on here." moore50

Business Clients

Business Clients

In the Press

"If you’ve got a question... Experts Exchange can supply an answer.”

In the Press

"...an invaluable aid for both IT professionals and those who require tech support."

In the Press

"where IT professionals provide quick answers on just about any topic"

Business Account Plans

Loading Advertisement...