Image
 
linkedin_logo.png rss_logo.jpg
twitter_logo.png youtube_logo.jpg
Latest Additions
 
EH-Net Login
Welcome Guest.






Lost Password?
No account yet? Register
Who's Online
We have 54 guests online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Network Pen Testingarrow Pentesting question: Disabled DHCP
EH-Net
May 19, 2013, 03:30:09 PM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Go back to The Ethical Hacker Network Online Magazine Home Page
 
   Home   Help Calendar Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: Pentesting question: Disabled DHCP  (Read 4540 times)
0 Members and 1 Guest are viewing this topic.
mantraisms
Newbie
*
Offline Offline

Posts: 1


View Profile
« on: July 20, 2009, 10:45:27 PM »

I have 2 computers in my room and for about 3 months I used my router without encryption, then this past few weeks i noticed my internet connection became slower even if i'm just surfing the net. I presumed that somebody is leeching from my connection so i put on WEP encryption (i know its weak), enabled mac filtering, disabled dhcp put only 2 static ips from my 2 computers. changed my gateway from 192.168.0.1 to 192.168.5.100 and changed the ip range to 192.168.5.104-105. My connection became normal again.

I tried to crack my connection from my 2nd computer, i used aircrack from backtrack 3 and cracked the password for just about 25k ivs Shocked . But i can't connect to the internet because there is no dhcp to give me an ip address.
Now my question is: how can i sniff for the ip range i put on my D-link router? i tried using wireshark, netstumbler, can & abel but none of these sniffers gave me the ip address. Maybe because i'm not really connected to the network, it says limited or no connectivity.  Huh

Does this mean i am now secured just by disabling the dhcp? i'm doing this because if i want my network to be safe, i should think like a hacker. Anybody here knows how to "really" connect to the network on this circumstances? What programs should i use and what do i need to do? Thanks in advance  Cheesy
Logged
Laz3r
Guest
« Reply #1 on: July 20, 2009, 11:54:50 PM »

I'm no expert, far from it.  So I could be very very wrong.  If so, I'm sure somebody will correct me.  But, I don't believe disabling DHCP makes you to much more secure.  It probably just adds a couple more steps for an intruder to get a full connection.  The IP range, I think, only relates to the DHCP.  You could apply a static address outside of that range, as long as it is with in the proper subnet.  Again, just a reminder, I'm probably wrong here.  But I think you should be able to sniff some broadcast packets that would give an attacker a hint at the subnet, which would give them a green light to set their own IP.  As long as I'm not blindingly wrong here, Wireshark should be able to do that for you.  You won't get the IP range, because it's not being used.

I would "connect" like you have been then start sniffing, and leave it sniffing for a while.  Disconnect and reconnect your other machine, then go play around on the net for a little bit.  I think you should be able to sniff a broadcast ARP request packet, even if you don't have an IP.

I hope I gave enough warning that this could all be completely wrong.  It's not something I've tried or tested.  Just a theoretical, semi-educated guess.

If I find some extra time in the next day or two, I'll try to test it out on my lab and see if anything I said was true.
« Last Edit: July 20, 2009, 11:58:00 PM by Laz3r » Logged
Ketchup
Hero Member
*****
Offline Offline

Posts: 1021



View Profile
« Reply #2 on: July 21, 2009, 07:32:58 AM »

I am with Laz3r here.  It's very easy to sniff packets on a wireless LAN and determine what hosts are connected to the AP.  As a matter of fact, I am pretty sure that airodump-ng gives you the connected clients as you are going through the cracking exercise, so does Kismet.  When you were going through the exercise of cracking the WEP key, you could have just assigned the IP, routing, subnet, DNS information manually.  You would have needed to fake a MAC address that's in the allowed list as well.

I would go with WPA on your AP.  Is there a reason you chose WEP?

Did you also change the subnet mask on the LAN side of the router?
Logged

~~~~~~~~~~~~~~
Ketchup
don
Editor-In-Chief
Administrator
Hero Member
*****
Offline Offline

Posts: 4165


Editor-In-Chief


View Profile WWW
« Reply #3 on: July 21, 2009, 07:37:54 AM »

Use Kismet. With no IP address (and guessing could take a while), you're not on the same subnet, so sniffing with Wireshark won't work. You need to pick it out of the air. Put your wireless card into monitor mode, open Kismet, lock in on the channel and start sniffing. It's built into BackTrack, so that should help.

Search Google for "kismet sniff ip address"

Hope this helps,
Don
Logged

CISSP, MCSE, CSTA, Security+ SME
UNIX
Hero Member
*****
Offline Offline

Posts: 1234


View Profile
« Reply #4 on: July 21, 2009, 07:43:41 AM »

I would say too, that disabling DHCP service can not be considered as a security measure. If you want to have a secure wlan use WPA2 if it's supported by your hardware.

As said by the others, it shouldn't be too hard to get into your current setup with the mentioned tools.
Logged
don
Editor-In-Chief
Administrator
Hero Member
*****
Offline Offline

Posts: 4165


Editor-In-Chief


View Profile WWW
« Reply #5 on: July 21, 2009, 07:48:43 AM »

Since Ketchup was a little faster than me, I'll also offer up this tidbit. Since this is passive, it will only report on IPs it hears. Therefore, it will NOT give you the range of possible IP addresses. It will only give you the IP addresses it was successfully able to pick out of the air.

Don
Logged

CISSP, MCSE, CSTA, Security+ SME
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
Joomla Bridge by JoomlaHacks.com
Valid XHTML 1.0! Valid CSS!
Page created in 0.077 seconds with 24 queries.
 
Exclusive Deal

sansfire13_245x90_cw90.jpg
SANSFIRE 2013
June 15 - 22

5% Off w/ Code: EHN_5

SANS Deals 4 EH-Netters
5% OFF Any SANS Course in Any Format!
Coupon Code: EHN_5 Including SANS Rocky Mountain 2013 & SANS Boston 2013
Polls
Compared to this year, 2013 will be:
 
Recent Forum Topics
EH-Net News Feeds
Latest Additions
 
         
Free Business and Tech Magazines and eBooks

© 2013 The Ethical Hacker Network
Joomla! is Free Software released under the GNU/GPL License.