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 43 guests and 1 member online
 
Advertisement

You are here: Home arrow Ethical Hacking Discussions and Related Certificationsarrow Otherarrow Bypassing ftp password
EH-Net
May 22, 2013, 07:14:54 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: Bypassing ftp password  (Read 16131 times)
0 Members and 1 Guest are viewing this topic.
maksimu
Newbie
*
Offline Offline

Posts: 3


View Profile
« on: September 11, 2007, 11:39:38 AM »

Hi, I'm new in hacking. Actually I'm not a hacker I'm just taking security course in college and professor told us "If we can hack he's server and gain root access and add user then we'll get A in that class and don't have to show up anymore". :-\

So, can any body help me to figure out how to do that or just give me some suggestions about that.

I used NMap to scan he's IP and only FTP, SSH and HTTP ports are open.

So I was thinking to get that access through FTP. How Can I do that?

Here is professors IP: <modified>
« Last Edit: September 11, 2007, 01:26:54 PM by don » Logged
don
Editor-In-Chief
Administrator
Hero Member
*****
Offline Offline

Posts: 4167


Editor-In-Chief


View Profile WWW
« Reply #1 on: September 11, 2007, 01:30:36 PM »

The IP address you posted is public. Probably not a good idea to post that, especially if it has been purposely left open for your class to get in. So hope you don't mind that I removed it.

Speaking of which, try putting http://<removed ip address> in your browser and see what comes up. This will give you a clue on how to proceed.

Other than that, it wouldn't be fair if we got your A for you, now would it?  Wink

Don
Logged

CISSP, MCSE, CSTA, Security+ SME
Negrita
Sr. Member
****
Offline Offline

Posts: 299



View Profile
« Reply #2 on: September 11, 2007, 02:22:30 PM »

Hmmm... telnet can be so useful when you know how to get the most out of it.
Logged

CEH, CCSA NG/AI, NNCSS, MCP, MCSA 2003

There are 10 kinds of people, those that understand binary, and those that don't.
maksimu
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #3 on: September 11, 2007, 02:30:35 PM »

Don, thank you for your reply.

Quote
Other than that, it wouldn't be fair if we got your A for you, now would it?

No, it is fair. Professor said that we can use any sources to do that. He'll give us an A if we can demonstrate it how we did it. (If you want, I can give you he's e-mail to prove it, but I think it is not necessary)

By the we on that server he's hosting he's own website, here is how you can get there:

http://<removed ip address>/~hlin/sec370.htm

I know that there is Red Hat linux and Apache server, but I don't know what I can use to do that.  Huh


Quote
Hmmm... telnet can be so useful when you know how to get the most out of it.

Telnet port is closed

Logged
Negrita
Sr. Member
****
Offline Offline

Posts: 299



View Profile
« Reply #4 on: September 11, 2007, 05:14:43 PM »

I wasn't talking about the port, I was talking about the protocol.
Logged

CEH, CCSA NG/AI, NNCSS, MCP, MCSA 2003

There are 10 kinds of people, those that understand binary, and those that don't.
LSOChris
Guest
« Reply #5 on: September 11, 2007, 06:21:03 PM »

i sent  you a PM but for everyone else and since its for a class and for you to learn.

start with a FULL port scan and service  version id of the IP

nmap -A x.x.x.x -p 1-65535

so things to look at  would be what versions of SSH, FTP, and apache is the box running and what kernel version is it.  that will help us get you started and help you narrow down your search for usable exploits.

-chris
Logged
EmanoN
Newbie
*
Offline Offline

Posts: 41


View Profile
« Reply #6 on: September 12, 2007, 04:04:31 PM »

At least one person tried to answer his question rather than being vague or delete anything. Hacking FTP is very basic stuff. The very first thing you should do is see if you can log on anonymous. If not, try a few attempts to guess the password. If still no luck, try running a FTP password cracker. The only downside is you will be logged if there is any kind of security. If I am worried about hiding, then I run an nmap scan as previously mentioned to try and see what version of FTP is running. If its an older 3rd party software, I might be able to exploit it with a simple easy to find online exploit. If not, I might have to download a copy of the FTP program and Fuzz it myself, but we are getting a bit more advanced for the readers here I gather.
Logged
p0et
Full Member
***
Offline Offline

Posts: 197



View Profile
« Reply #7 on: September 16, 2007, 12:34:37 AM »

Hey maksimu,

Looks like you've been given pretty good advise to get yourself started with this project of yours. You said you're new to this so I thought I would suggest you google for an exploit or vuln on whatever version of FTP, SSH, etc.. that you find through your nmap scan. You can also search with your results via Metasploit, mimlw0rm or a number of other exploit publishing sites.

Good luck!
Logged

GCIH, Security+, Network+, A+, MCP, DCSE
maksimu
Newbie
*
Offline Offline

Posts: 3


View Profile
« Reply #8 on: September 22, 2007, 06:55:45 PM »

After scanning with NESSUS I found three holes in that System. Now I don't know how to use those holes to gain access.

Here is one hole (quotes from NESSUS report):

Quote
unknown (7101/tcp)
 
 
 The remote X Font Service for TrueType (xfstt) might be vulnerable to a buffer
overflow which may lead to code execution or a denial of service.

An attacker may use this flaw to gain root on this host
remotely
or prevent X11 from working properly.

Note that Nessus did not actually check for the flaw
so this might be a false positive


Solution: Upgrade to the latest version of xfstt

Risk Factor : High


 Roll Eyes So, what do I need to do to gain root access?

Thanks!
Logged
nitinceh
Newbie
*
Offline Offline

Posts: 5


View Profile
« Reply #9 on: September 28, 2007, 03:33:50 PM »

Hi, I'm new in hacking. Actually I'm not a hacker I'm just taking security course in college and professor told us "If we can hack he's server and gain root access and add user then we'll get A in that class and don't have to show up anymore". Undecided

So, can any body help me to figure out how to do that or just give me some suggestions about that.

I used NMap to scan he's IP and only FTP, SSH and HTTP ports are open.

So I was thinking to get that access through FTP. How Can I do that?

Here is professors IP: <modified>

Dear,

you need to come out of the world of Security and Hacking, and have a look at exploits and developments of Shellcodes, also you can keep an eye on major 0-day vulnerabilities listings.

see, to make u understand better, it depends on what OS is running on the he's OS /PC/Server, then u also need the open ports, along with this u will need the most accurate Service information running on those specific open ports, now with armed with all this information , you can now start your hunt , since you are not into hacking, so you can try to search exploits or shellcodes for those services which are found running.

if you are a lucky one , you may find a couple or four, and then you can obtain a shell/root/admin/user privileges and if it is just user level rights, then u may need to escalate your privileges to that of an Admin/root.

Hope this will help you in understanding how to hack/get into he's computer/pc/server.


Thanks

Nitin Kushwaha

India
Logged
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.146 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
 
         
Advertisement

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