 |
| |
| |
|
Who's Online |
|
We have 55 guests online |
|
| |
|
|
 |
|
EH-Net
|
|
May 19, 2013, 07:44:18 AM
|
Show Posts
|
|
Pages: 1 2 3 [4] 5 6 7
|
|
47
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Update
|
on: March 13, 2010, 07:53:44 PM
|
|
Ok so i ran wireshark as i did the wget 192.168.2.1 request and checked for any http gets and found this:
WWW-Authenticate: Basic realm="WRT54GL"\r\n
after that line came the following:
SRC=192.168.2.1 DST=10.0.2.15 HTTP HTTP/1.0 401 Unauthorized (text/html)
the html output of that is just a red display with black letters.
So my guess is that when i type 192.168.2.1 into a browser, it makes a TCP connection to the router and then the router dishes out a seperate web page with a different address then just 192.168.2.1 for security reasons and my task is to find out what page it really is requesting so that i can point hydra to it. If that notion is correct. then how do i accomplish this with out loggin into the router to see the sorce code. ive gotta make this realistic. haha\ thanx guys
|
|
|
|
|
48
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: hydra help
|
on: March 13, 2010, 12:20:14 PM
|
if the site doesnt let you view the source there are a lot of workarounds for it. try saving the page and open it locally, or just perform the complete scan/hack in a controlled environment and mirror/wget the whole site  good luck and let us know the output! well, i cant do anything when that dialog box appears. file,edit,veiw, history and all those tabs gray out. they become non clickable. I can view the source code once i have logged in, but that defeats the purpose of the hack. If i were pentesting my companies router, i would have to find the correct page without loging in.. so i have to avoid that step at home.. hahaha so i will have to try the wget and what not to see if i can get the source code of the login dialog box or at least find out where it is redirecting me to.
|
|
|
|
|
49
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: hydra help
|
on: March 12, 2010, 11:07:36 PM
|
good to see you havent given up yet! i think it is key you point your attack directly at the page you want it to start at. lets make it a little more visual. if your directing it at the index.html page, it might not work because of for example iframes and stuff its made from. try to get the actual page that contains the login without extra pages like headers and footers! (this subtle enough?)
I have trie3d to view the source code of the actual page but firefox wont allow me to view it nor wil IE. It actually doesnt bring up a separate page for login, rather a dialog box.. Then the actual config page. It seems that the video i watched, that shows them using 192.168.2.1, was have been an older firmware. Its like linksys smartened up a we bit.. haha thanx
|
|
|
|
|
51
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: Nmap Scripts?
|
on: March 11, 2010, 05:13:58 PM
|
Are you talking about the GUI tool he uses to auto-detect hosts in his videos? If so - I think the tool he's using is Autoscan. It's in Backtrack -> Network Mapping ->All -> Autoscan I remember seeing a blog over on Skull-Security it looked interesting running scripts with nmap, looks like it could further information gathering on a target more. Thanks for the response, I was going to bump this thread since it wasn't getting any attention.  lol, nope not the GUI. it runs it in a shell. He uses it in his de-ice 1.100 part one video. its in the same folder as autoscan but its called netdiscovery.. as per your other post, im not at all familur with nmap except nmap -sV. hahaha. i just barely started learning bout this stuff. However i do like some of the options that nmap can supposedly do. I wanna test it against my IDS and see if it flags it.
|
|
|
|
|
52
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: hydra help
|
on: March 11, 2010, 05:07:37 PM
|
Yes... start there...  I found the foo/bar/protected.html file under specific settings. changed it to point to my router. However still same output. Wireshark shows 404 bad request. Funny thing is, my router got boched up from the attack. couldnt ping it from any host machine. power cycled it and the modem. and it was still TKO.. After a third powercycle it finally came back up. It was warm to. hahaha Im getting closer i think. or at least i hope. thanx for the help guys
|
|
|
|
|
53
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: Nmap Scripts?
|
on: March 11, 2010, 04:46:18 PM
|
Hey everyone,
I was going through some of my collection of pen-testing videos and noticed that nmap scripts aren't typically being used - is there a particular reason for this? I hear a couple of them are unsafe and a little noisy.
I was just wondering - is there a favorite or a couple favorite scripts that you guys use with nmap scripts ("--script option") when doing pen-tests? Which seem to be musts in your nmap scans, if any?
-Kris
i was wondering this very thing. i watched a video at purehates blog, and it shows him using netdiscovery tool on BT3, well BT4 does not have that same tool. i was hoping that i could write my own script that uses nmap commands to basically find just alive hosts. Im assuming this netdiscovery tool was a auto script for nmap..
|
|
|
|
|
54
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: hydra help
|
on: March 11, 2010, 03:44:54 PM
|
Doh!!! Sssshhhhhhh... I was going to see if he was going to check that for himself. I was 'trying' to point him in the proper direction, without totally pointing to it.  LOLOL. my next question was going to be this"what the heck is this fo/bar stuff all about?" but i didnt have time to add that to my post last night.. hahaha. I have no idea what that is at all. All i know is that its from BT and for some reason hydra is using that .html file for something. maybe... what that something is. I have no idea yet. So if my thinking is correct, hydra is using the foo/bar html page rather than actually trying to get to http://192.168.2.1 on port 80? thanx guys
|
|
|
|
|
55
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: hydra help
|
on: March 10, 2010, 10:26:46 PM
|
|
i ran wireshark and pinged my router. Traffic seems normal. Did an nmap scan and that worked. But as soon as i tried hydra, same issue. Wiresharks out put says TCP GET HTTP 404 NOT FOUND src80 dst4392. that was the reply from the router. Also noticed a GET HTTP foo/bar/protected.html from BT4 to router..Other than that, the packets seem to be normal.. My network set up is host only and NAT for outside communication.. Shouldnt matter though..
hydra is set up for 8 tasks with a timeout of 30. using http-get as protocol with the password list of darkcode.lst and no proxy set up. however i just realized i have K9 installed on my machine...
thanx
|
|
|
|
|
56
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: Project documentation
|
on: March 10, 2010, 05:32:39 PM
|
when I did the install of the guest additions, I wasn't in x.
After the install, I had to reboot. When I did that, I unmounted the bt4 iso. And loaded the guest additions iso.
When rebooting finished, I was at shell window I had to log into. After logging in, I ran the mount and install commands.
The fact that you had to force the mount (and assuming unmount) sounds like you're still running off the BT iso, not off the new install on the hard drive.
i made sure it was pointed to bt4drive.vdi and not ISO. i removed that from virtual media manager. So i know it booted form the drive. The cd icon in the bottom right shows guestadditions.iso but still asks to force mount.. its very strange. thanx
|
|
|
|
|
58
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: hydra help
|
on: March 10, 2010, 02:51:08 PM
|
you can also try adding another computer to the router through the broadcast port and sniff all packages with wireshark. actually the same option as hayabusa offered, but then you sniff the complete network to check for abnormality.
yup, i have 2 PC's on the network. My parents and mine, oh and the dang printer to.. Gonna try this tonight and see what i find. thanx for the input.
|
|
|
|
|
59
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: hydra help
|
on: March 09, 2010, 02:59:16 PM
|
I'd throw a packet trace on the wire (wireshark,) and see if A.) the packets are getting to the router, and B.) if the router ever appears to respond. That should tell you if the router is doing ANYTHING in response. If it is, and hydra just doesn't like it, then it's a timeout or something on the application side. If it's NOT, then you need to see if the router even tries to accept connection attempts, and go from there.
Based on your saying it sure knocks your connection around, it sounds like the packets are definitely hitting it, so it's more than likely you're either hitting the wrong page on the router, or your router isn't configured for http versus https or something, and you're misconfigured, somwehere, either at the router or in hydra...
Very basic overview, but you should be able to get the idea...
Hmm, i know the router is set to http because i tried hhtps and it hated that. Im gonna have to try wireshark and see what happens. Never thought of that actually. See i do learn something new everyday.. Im thinking that my router might be messed up because when i first bought it it had a very hard time doing normal things such as saving settings.. Gonna try against smoothwall and see what happens.
|
|
|
|
|
60
|
Ethical Hacking Discussions and Related Certifications / Network Pen Testing / Re: hydra help
|
on: March 09, 2010, 11:48:39 AM
|
wow, i'm a little suprised i got the (first) right answer, hehe. anyway glad its solved!
Hmm, i tried messing around with the parameters and took it down to 8 and below for tasks. Still same error. Maybe my router is the issue. I know it does weird things at times. haha. ill keep trying and when i get it to work, ill post my finindgs. thanx for the input
|
|
|
|
|
Loading...
|
|
 |
|