Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
April 2013 Free Giveaway Sponsor - eLearnSecurity
Human Intelligence to Navigate the Security Data Deluge
February 2013 Free Giveaway Winner of SANS CyberCon Training
Interview: Bugcrowd Founders on Herding Ninjas for Crowdsourced Bug Bounties
Network Forensics: The Tree in the Forest
March 2013 Free Giveaway Sponsor - Mile2
Book Review: Violent Python
February 2013 Free Giveaway Sponsor - SANS
Holiday 2012 Free Giveaway Winner of Metasploit Pro by Rapid7
Course Review: SANS FOR408 Computer Forensic Investigations – Windows In-Depth
The Security Consulting Sugar High
Tutorial: Fun with SMB on the Command Line
Interview: Ilia Kolochenko, CEO of High-Tech Bridge
October 2012 Free Giveaway Winner of LearningGate Training
The Broken: Assessing Corporate Security in 2012 to Make a Better 2013
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 54 guests online
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
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?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
: Go back to The Ethical Hacker Network Online Magazine
Home Page
Home
Help
Calendar
Login
Register
EH-Net
>
Ethical Hacking Discussions and Related Certifications
>
Network Pen Testing
(Moderator:
don
) >
Pentesting question: Disabled DHCP
Pages: [
1
]
Go Down
« previous
next »
Print
Author
Topic: Pentesting question: Disabled DHCP (Read 4540 times)
0 Members and 1 Guest are viewing this topic.
mantraisms
Newbie
Offline
Posts: 1
Pentesting question: Disabled DHCP
«
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
. 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.
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
Logged
Laz3r
Guest
Re: Pentesting question: Disabled DHCP
«
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
Posts: 1021
Re: Pentesting question: Disabled DHCP
«
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
Posts: 4165
Editor-In-Chief
Re: Pentesting question: Disabled DHCP
«
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
Posts: 1234
Re: Pentesting question: Disabled DHCP
«
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
Posts: 4165
Editor-In-Chief
Re: Pentesting question: Disabled DHCP
«
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
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009s
=> Ethical Hacktivism
=> News Items and General Discussion About EH-Net
===> Greetings
=> Special Events
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> General Certification
===> Networking
===> OS
===> Security
=> Compliance, Regulations & Standards
=> Control Systems
=> Cyber Warfare
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
===> EnCE - EnCase® Certified Examiner
===> GCFA - GIAC Certified Forensics Analyst
=> Hardware
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Malware
===> Advisories
=> Mobile
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
===> CPTC - Certified Penetration Testing Consultant
===> CPTE - Certified Penetration Testing Engineer
===> CSTA - Certified Security Testing Associate
===> eCPPT - eLearnSecurity Certified Professional Penetration Tester
===> ECSA - EC-Council Certified Security Analyst
===> GPEN - GIAC Certified Penetration Tester
===> OSCP - Offensive Security Certified Professional
=> Physical Security
=> Programming
=> Social Engineering
=> Web Applications
=> Wireless
===> CWNP Certs
===> GAWN - GIAC Assessing Wireless Networks
===> OSWP - Offensive Security Wireless Professional
=> Other
-----------------------------
Columns
-----------------------------
=> Editor-In-Chief
=> Andress
=> Gates
=> Haddix
=> Hadnagy
=> Heffner
=> Hoffman
=> Linn
=> RichM
=> Murray
=> J. Peltier
=> Weidman
=> Wilson
-----------------------------
Features
-----------------------------
=> /root
=> Book Reviews
=> Opinions
=> Skillz
===> Examples
===> May 06 - Star Hacks, Episode V: The Empire Hacks Back
===> July 06 - Hack Bill!
===> Sept 06 - Netcat in the Hat
===> Nov 06 - Hitch-Hackers Guide to the Galaxy
===> Dec 06 - A Christmas (Hacking) Story
===> Feb 07 - Charlottes Web Site
===> April 07 - Microsoft Office Space
===> June 07 - Serenity Hack
===> Oct 07 - Worst. Ethical. Hacker. Challenge. Ever.
===> Dec 07 - Frosty the Snow Crash
===> March 2008 - It Happened One Friday
===> Oct 2008 - Scooby Doo and the Crypto Caper
===> Dec 08 - Santa Claus Is Hacking to Town
===> Feb 2009 - Brady Bunch Boondoggle
===> July 2009 - Prison Break
===> October 2009 - SSHliders
===> December 2009 - Miracle on Thirty-Hack Street
===> December 2010 - The Nightmare Before Charlie Browns Christmas
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
===> Tutorial Requests
Loading...
Exclusive Deal
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:
Great!
Better.
About the same.
Little worse.
FUBAR!
Recent Forum Topics
Incident Response
: LinkedIn Forensics
(0) by
AFENTIS_Forensics
General Certification
: Red Team/Blue Team
(1) by
ajohnson
OSCP - Offensive Security Certified Professional
: Class Scheduled 6/8 - Linux n00b
(6) by
Grendel
Career Central
: Starter cert?
(3) by
Grendel
Network Pen Testing
: Beginner Ethical Hacker
(1) by
m0wgli
General Certification
: CPT Practical Submission
(0) by
z28power4u
Web Applications
: Nessus and Nikto
(4) by
Seen
Tutorials
: Need guidance
(7) by
impelse
Malware
: EICAR?
(2) by
SephStorm
Network Pen Testing
: Cracking salted MD5 hash
(4) by
n37sh@rk
CEH - Certified Ethical Hacker
: Passed my C|EH
(3) by
n37sh@rk
Mass Media
: EC-council hacked, irony at his best?
(0) by
j0rDy
Web Applications
: SQL Injection into an INSERT statement.
(6) by
eyenit0
Network Pen Testing
: Solution for sipXtapi INVITE Message CSeq Field Header Remote Overflow
(1) by
m0wgli
Web Applications
: dns
(2) by
H1t M0nk3y
Other
: BSides Boston
(0) by
3xban
Career Central
: InfoSec in Central, FL
(2) by
tturner
Web Applications
: Web vulnerability scanner
(4) by
H1t M0nk3y
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
Free Business and Tech Magazines and eBooks
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.