Jump to content

Recommended Posts

Posted

In our DHCP I am repeatedly seeing an unknown computer picking up an ip address from the dhcp. I think either one of the staff or students are plugging into an ethernet point. How can track this machine down please?

 

We have 3com superstack switches, Windows Server 2003 R2 DHCP server.

 

Thanks

Posted
How would I go about it? Ii am not sure what switch they are using.

 

What I'd do is set a reservation for their mac address which provides an unusable IP address.

  • Thanks 1
Posted

If you have 3com network supervisor installed and you can run a scan while the machine is connected, you will be able to see which switch it's connected to and walk over to them. Also, you can take the MAC address from the DHCP list and pop it into this:

 

http://coffer.com/mac_find/

 

to give you a clue about the manufacturer of the laptop (although sometimes it will be the NIC manufacturer). I have a script which emails me when new DHCP leases are granted, so on the rare occasions when this has happened I've had a fighting chance of catching the perp.

Posted

Here's an idea:

Unplug all your spare Ethernet points from the switches, so the only live ports already have PCs/printers on them. That will force the culprit to have to unplug something in order to get a working connection - that may act as sufficient deterrent in itself, but if it doesn't, just start pinging all your PCs when next you see the rogue one on the network (with a batch script of course!); whichever one doesn't respond is the one which has been unplugged, so go to that room and find out who has plugged their own laptop in (then batter them with the laptop until they agree to stop doing it!).

Posted
Here's an idea:

Unplug all your spare Ethernet points from the switches, so the only live ports already have PCs/printers on them. That will force the culprit to have to unplug something in order to get a working connection - that may act as sufficient deterrent in itself, but if it doesn't, just start pinging all your PCs when next you see the rogue one on the network (with a batch script of course!); whichever one doesn't respond is the one which has been unplugged, so go to that room and find out who has plugged their own laptop in (then batter them with the laptop until they agree to stop doing it!).

 

Do your managed switches support Port Locking & Device Security? Essentially you put each port on the switch in 'Learn' mode which when a device connects locks that particular MAC address to that port and then disable (or at least physically disconnect/unpatch) any un-used ports. Any device then that tries to associate with the switch will disable that particular port. You should be able to monitor which ports are disabled so you can see where these 'security breaches' are coming from.

 

HTH

 

Pete

Posted
Can you send the script please? If you dont mind of course.

 

Also is that software free?

 

Thanks alot

 

The 3Com Network Supervisor is free, although they do have a pay-for version (never seen that running). The web page for it implies it's not free, but I think you can have it free with any qualifying switch. Linky: 3NS

 

The DHCP script is based on one by Chris Pratt, from here:

 

http://www.petri.co.il/forums/showthread.php?t=4850

 

(mine was the version 2.0 script) It said not to edit it, but I did a fair bit (erk, sorry) so I'm not sure about redistributing it! I used blat.exe to make it send emails. This is the batch file (dhcpcheck.bat) that runs every 10 mins on one of the DHCP servers:

 

cd /d [color="Blue"]c:\scripts[/color]
cscript //nologo [color="Blue"]dhcpchecker-DC1.vbs[/color] > %1
cscript //nologo [color="Blue"]dhcpchecker-DC2.vbs[/color] >> %1

REM This checks if DHCPCheckOutput.txt has anything in it to send:  
if %~z1 GTR 0 blat %1 -to [color="Blue"][email protected][/color] -subject "DHCP Alert (New Lease)" -server [color="Blue"]yoursmtpserver[/color] -f [color="Blue"][email protected][/color]

 

It's run with the command:

 

C:\Scripts\dhcpcheck.bat DHCPCheckOutput.txt

 

 

For simplicity at the time I just made two vbs files, dhcpchecker-DC1.vbs and dhcpchecker-DC2.vbs, which poll the logs on different DHCP servers. You will probably want to change all the bits in blue.

 

Hope some of that makes sense!

Posted (edited)

I can find a page that lists the features on the product.

 

Is it a DHCP Server? Will it allow traffic from other domains on the network? How does it decide what is good and bad traffic?

 

Thanks

Edited by FN-Greatermanchester
Posted
I can find a page that lists the features on the product.

 

http://www.packetfence.org/wiki/index.php?title=Features

 

Is it a DHCP Server?

 

You can run it that way if you like. Alternatively you can use VLAN or ARP isolation.

 

Will it allow traffic from other domains on the network?

 

That's up to you, and possibly your firewall.

 

How does it decide what is good and bad traffic?

 

It uses snort to detect things in real time. It uses nessus to do scans of existing/new systems.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...