Home
Calendar
Certifications
Columns
Features
Forum
Resources
Vitals
Latest Additions
Jan 2009 Free Giveaway Sponsor - Black Hat DC
Scooby Doo and the Crypto Caper - Answers and Winners
Daemon - A Contest Revealed
Hacking: The Art of Exploitation 2nd Edition
Nov 2008 Free Giveaway - Winners
Dec 2008 Free Giveaway Sponsor - SANS
Santa Claus is Hacking to Town
Plug-N-Play Network Hacking
Nov 2008 Free Giveaway Sponsor - CWNP
Daemon - A Contest Begins Now
It Happened One Friday - Answers and Winners
Daemon - A Contest
Scooby Doo and the Crypto Caper
MS Blue Hat Hackers Headline Chicago Security Con
The Pen Testing Perfect Storm Webcast Series with Skoudis, Wright, Johnson
EH-Net Login
Welcome Guest.
Username:
Password:
Remember me
Lost Password?
No account yet?
Register
Who's Online
We have 22 guests and 2 members online
EH-Net Donations
Enter Amount:
$
CAD
USD
GBP
AUD
JPY
EUR
Google Ads
EH-Net News Feeds
Latest Additions
Book Recommendations
You are here:
Home
Forum
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
Telnet/FTP Security Question
Ethical Hacker Community Forums
January 07, 2009, 09:11:07 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
: ChicagoCon 2-Day Ethical Hacking Conference with MS Blue Hats Oct 31 - Nov 1. Tickets Only $100!
www.chicagocon.com/content/view/103/51/
Home
Help
Calendar
Login
Register
Ethical Hacker Community Forums
>
Ethical Hacking Discussions and Related Certifications
>
Network Pen Testing
(Moderator:
don
) >
Telnet/FTP Security Question
Pages: [
1
]
2
Go Down
« previous
next »
Print
Author
Topic: Telnet/FTP Security Question (Read 4215 times)
0 Members and 1 Guest are viewing this topic.
dirtmaster88
Newbie
Offline
Posts: 1
Telnet/FTP Security Question
«
on:
September 03, 2008, 12:26:00 PM »
Hello All,
This is my very first post here.
I've started my own project here at work to give hard proof to others that protocols such as ftp and telnet are very insecure. I am having a hard time trying to give real life examples of what could happen because any sort of sniffing I've done has been inside the network. I've taken a beginner's course on security which we touched a few basic parts of wireshark and cain/abel. I've been able to sniff my telnet/ftp traffic on my workstation and see everything in clear text but I just cant seem to figure out how I could sniff the traffic of a remote machine (on a switched network). What would be ideal is if I could somehow sniff the traffic from my house and show that everything is in complete clear text. Could someone point me in the right direction? I know many tools require command line and I am very familiar with that as I am the *NIX administrator here.
Thank You!
Logged
don
Editor-In-Chief
Administrator
Hero Member
Offline
Posts: 2434
Editor-In-Chief
Re: Telnet/FTP Security Question
«
Reply #1 on:
September 03, 2008, 02:29:59 PM »
First of all, welcome to EH-Net.
Secondly, here are a few things to go on:
1. Cain & Abel for man-in-the-middle attacks to be able to grab switched traffic.
See video from our very own Brian Wilson
.
2. One could always get in through a wireless AP, and therefore then be on the same network segment as others in your company. This would also allow sniffing directly or via MITM.
3. Client-side attacks are the biggest thing right now. Get someone to click on a "bad" link in a browser, install some kind of malware, capture local traffic with a sniffer or keylogger, send passwords back to the bad guy.
Hope this helps,
Don
Logged
CISSP, MCSE, CEH, Security+ SME
Kev
Sr. Member
Offline
Posts: 359
Re: Telnet/FTP Security Question
«
Reply #2 on:
September 03, 2008, 03:05:00 PM »
"Inside" the network is where sniffing is done. Well unless you hack the server of the ISP or intercept the traffic before it reaches the destination modem, but good luck doing that.
Logged
unicityd
Newbie
Offline
Posts: 14
Re: Telnet/FTP Security Question
«
Reply #3 on:
September 03, 2008, 06:25:10 PM »
There are two things that I think you need to impress on your employers.
1) Someone can eventually find a way in. An attacker only needs one misconfiguration or unpatched vulnerability to get access to some system. Even if you have good security practices and are patched up-to-date, a new exploit could be released tomorrow that leaves you vulnerable to every script kiddie who decides to take a poke at you.
2) Once an attacker gets in, he usually wants to keep his access and move to other systems within the network. The primary means of expanding his access are cracking passwords, or otherwise stealing credentials from the first machine, and sniffing the network to get other credentials. Many people don't believe that it's possible to sniff switched networks, but many also think the Earth is flat. Tools such as Cain and Abel, and Dsniff have made sniffing on switched networks relatively easy.
Good security isn't only about keeping the bad guys out, it's also about containing the damage once they get in. If an attacker gets into one machine and can then sniff FTP, telnet, POP, LM/NTLM, you're wide open. If he gets in but has limited network access (due to firewalls, VLANs), is unable to crack the passwords on the system, and can't sniff any useful traffic, he has a much more difficult task ahead of him. That's not to say that he can't still own the whole network, but it raises the bar significantly in terms of skill and time. Increased time is increased risk for the attacker; the longer he is logged in and putzing around on your systems, the more likely he is to get caught (especially if you have good logging and some IDS in place.)
Cheers.
Logged
KrisTeason
Full Member
Offline
Posts: 117
Re: Telnet/FTP Security Question
«
Reply #4 on:
September 04, 2008, 09:35:02 AM »
nice first post unicityd. very nice indeed.
Logged
vijay2
Full Member
Offline
Posts: 134
Re: Telnet/FTP Security Question
«
Reply #5 on:
September 04, 2008, 10:02:26 AM »
Very nicely said indeed,
I will just add -
The key to security these days is the buzz word "Defense in Depth", layered security. It is all about protecting your crown jewel "the data" with multiple layers of protection and having some good ways to monitor yr defenses for breaches. Its not the question of "if" your network will be breached but "when" it will be breached. Patching, Anti virus, good password policies are great start but there is a zero day for something everyday, mostly with the client and application softwares and i guess there are no protections for "zero days" yet. In that case the layered enclaves are only way to slow down the attacker and protecting your most precious day.
Ummm .. I guess thats what we all need to emphasize to our employers
Logged
GPEN GCIH CISSP CISA GSEC OSCP C|EH Security+
dalepearson
Full Member
Offline
Posts: 163
Re: Telnet/FTP Security Question
«
Reply #6 on:
September 04, 2008, 10:18:58 AM »
Some good information in this topic, so well done all.
The next challenge comes in securing the funding for these improvements.
Businesses want to make money (dont we all), and when you make recomendations to be pro-active, they often want to know the ROI. It can be a battle to make a company understand how security plays a part in loss prevention, and being less reactive.
Keeps us guys and gals of the streets though
Logged
:: Security Active ::
sgt_mjc
Full Member
Offline
Posts: 166
Re: Telnet/FTP Security Question
«
Reply #7 on:
September 04, 2008, 10:52:35 AM »
We test systems all the time and always find FTP or telnet in use. The good thing for us is that the systems are on a closed system, but because telnet and ftp transmit user names and passwords in the clear, any one on the network with a sniffer can get them. So even on the inside, don't discount the threat posed by another insider. They already have physical access to your network, it is just a matter of gaining greater access. Most people are lazy about user names and passwords and often use the same for multiple accounts.
Lets say you have a sysadmin with user name jdoe and a password of passwd for his system. Lets then say he uses it for and ftp session and that gets picked up by some one else on the network with a sniffer that does not have complete admin rights. That person could then try jdoe's credentials to gain greater access to the system. The moral here is that whether a person is on the outside or inside, clear text protocols like ftp and telnet are a bad idea.
Logged
Mike Conway
CompTia Security +
C|EH
vijay2
Full Member
Offline
Posts: 134
Re: Telnet/FTP Security Question
«
Reply #8 on:
September 04, 2008, 11:15:14 AM »
To take your discussion further, agreed that the clear text protocols are threat from insiders on a closed network, but, what if a client is compromised by the attacker and then all he has to do is wait and sniff the traffic "inside" to get the user name and password to either escalate his privileges or pivot to other systems with the sniffed user name and passwords.
Logged
GPEN GCIH CISSP CISA GSEC OSCP C|EH Security+
Grendel
Newbie
Offline
Posts: 10
Re: Telnet/FTP Security Question
«
Reply #9 on:
September 04, 2008, 11:29:33 AM »
FTP itself may or may not be a threat, depending on the contents of the FTP files and exploitability of the FTP app from within. You can also set up FTP to be anonymous, in which case this argument is dead.
Telnet itself isn't necessarily a threat - it's the use of telnet to log into a system (ok, technically, it's the transmittal of username and password in cleartext, but you get the idea). If you intend to allow remote logins, you might as well dictate in the corporate policy that ssh be used. And if you go that route, you might as well require putty to be used for file transfers.
FTP and telnet (for logging in) are obsolete protocols in 90% of the cases today, and the alternatives are certainly not difficult to implement. Also, on a tangent, I am baffled why people continue to use telnet in the first place - netcat is much more powerful, and doesn't have the problem of data manipulation that telnet has (...steps off soap box).
Logged
ISSMP CISSP SCSECA SCNA SCSA IAM MSCS MSM
vijay2
Full Member
Offline
Posts: 134
Re: Telnet/FTP Security Question
«
Reply #10 on:
September 04, 2008, 11:36:25 AM »
Well I tend to disagree that FTP and telnet are dead protocol, i still find about 80% of environment use these in some form or other, Agreed that netcat is more powerful than telnet but there are certain limitation using netcat (shell) over telnet (terminal).
VJ
Logged
GPEN GCIH CISSP CISA GSEC OSCP C|EH Security+
Grendel
Newbie
Offline
Posts: 10
Re: Telnet/FTP Security Question
«
Reply #11 on:
September 04, 2008, 02:35:06 PM »
Quote from: vijay2 on September 04, 2008, 11:36:25 AM
...there are certain limitation using netcat (shell) over telnet (terminal).
I'm curious what you see as the advantages telnet have over netcat.
Logged
ISSMP CISSP SCSECA SCNA SCSA IAM MSCS MSM
dean
Full Member
Offline
Posts: 130
Re: Telnet/FTP Security Question
«
Reply #12 on:
September 04, 2008, 02:47:58 PM »
The argument that a person should use netcat over telnet or ftp is absurd. Think AV. Most will flag and quarantine it.
Also, to answer the original question:
1. You will not be able to sniff traffic from your home without access to the network directly (vpn, etc...)
2. MITM is generally layer 2. Arp spoofing/cache poisoning will allow the attack you are thinking of. Ettercap or scapy can do that for you if you prefer *nix.
3. If it's just sniffing a switched environment look at a tool like Yersinia to manipulate the switch port accordingly.
Telnet and FTP are unfortunately not dead protocols. I'm in environments all the time where they are the only way to access and manage legacy applications/devices/etc...
Implementing SSH as an alternative can become a problem when you have thousands of devices in multiple locations requiring code upgrades or firmware upgrades. Not to mention the issue of change control and management. Does that make it acceptable? I don't know. Look at the risk associated with it and then decide.
Logged
<script>alert('%52%54%46%4D')</script>
geekyone
Full Member
Offline
Posts: 132
Re: Telnet/FTP Security Question
«
Reply #13 on:
September 04, 2008, 02:57:21 PM »
Quote
The argument that a person should use netcat over telnet or ftp is absurd. Think AV. Most will flag and quarantine it.
If you were using Netcat as an administrative tool this wouldn't be a problem because you could exclude Netcat from the AV.
Logged
CISSP, CEH, GPEN, GCIH
Grendel
Newbie
Offline
Posts: 10
Re: Telnet/FTP Security Question
«
Reply #14 on:
September 04, 2008, 03:10:27 PM »
Quote from: dean on September 04, 2008, 02:47:58 PM
The argument that a person should use netcat over telnet or ftp is absurd. Think AV. Most will flag and quarantine it.
As geekyone posted, netcat can be excluded from anti-virus rules. Plus, I think symantec is the only av company that's put it on it's default quarantine list (I may be wrong on that one).
The argument still stands, though, that netcat is a better tool than telnet, especially with the ability to process raw traffic.
Logged
ISSMP CISSP SCSECA SCNA SCSA IAM MSCS MSM
Pages: [
1
]
2
Go Up
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
EH-Net
-----------------------------
=> Special Events
=> Calendar Of Events
===> ChicagoCon 2007
===> ChicagoCon 2008s
===> ChicagoCon 2008f
===> ChicagoCon 2009
=> News Items and General Discussion About EH-Net
-----------------------------
Ethical Hacking Discussions and Related Certifications
-----------------------------
=> Certification
===> The Charter Study Group - Pen Test
=> Network Pen Testing
===> CEH - Certified Ethical Hacker
=====> CEH - Official Course Modules v4
=====> CEH - Official Course Modules v5
=====> CEH - Official Course Modules v6
===> CPTS - Certified Pen Testing Specialist
=====> CPTS - Official Course Modules v5
===> CPTE - Certified Pen Testing Expert
=====> CPTE - Official Course Modules v1
===> ECSA - EC-Council Certified Security Analyst
=====> ECSA - Official Course Modules v1.2
=====> ECSA / LPT - Official Course Modules v3
===> OSCP - Offensive Security Certified Professional
===> GPEN - GIAC Certified Penetration Tester
=> Forensics
===> CCE / MCCE - (Master) Certified Computer Examiner
===> CHFI - Computer Hacking Forensic Investigator
=====> CHFI - Official Course Modules v2
===> EnCE - EnCase® Certified Examiner
=> Incident Response
===> CSIH - Computer Security Incident Handler
===> GCIH - GIAC Certified Incident Handler
=> Hardware
=> Malware
=> 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
=> Gates
=> Heffner
=> Hoffman
=> RichM
=> Murray
=> J. Peltier
=> 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
-----------------------------
Resources
-----------------------------
=> Career Central
===> Looking For Work
===> Looking To Hire
=> Links to cool sites.
=> Mass Media
=> News from the Outside World
=> Tools
=> Tutorials
Loading...
Sponsors
Polls
How many security events including conferences and training do you attend a year:
1 - 2
3 - 4
5 - 6
7+
None - But want to
None - Choose not to
Support EH-Net
Support EH-Net by
Buying all of your
Amazon items using
the search bar above.
Try CBT Nuggets Free!
Recent Forum Topics
CEH - Certified Ethical Hacker
: CEH is a scam
(15) by
w007
Links to cool sites.
: Free Computer Engineering Classes From Stanford
(2) by
shednik
Book Reviews
: Need a book suggestion!
(1) by
BillV
Book Reviews
: [Article]-Mitnick - The Art Of Intrusion: Ch 1 - Hacking The Casinos For A Million Bu...
(4) by
ethicalhack3r
News Items and General Discussion About EH-Net
: [Article]-Jan 2009 Free Giveaway Sponsor - Black Hat DC
(0) by
don
News Items and General Discussion About EH-Net
: EH-Net Milestone - 2 Articles Cross 1 Million Page Views
(3) by
BillV
Other
: What kind of lab, machines you have for your security testing?
(12) by
charlottebandit
Wireless
: Wireless Pen Testing Cards
(5) by
charlottebandit
Oct 2008 - Scooby Doo and the Crypto Caper
: [Article]-Scooby Doo and the Crypto Caper - Answers and Winners
(1) by
vijay2
Oct 2008 - Scooby Doo and the Crypto Caper
: Skillz October 08 Winning Entry - Creative
(0) by
don
Oct 2008 - Scooby Doo and the Crypto Caper
: Skillz October 08 Winning Entry - Technical
(0) by
don
Malware
: Network Virus Problem
(9) by
RoleReversal
Wireless
: WUSB600N good usb ?
(2) by
nap191
News from the Outside World
: Is this acceptable?
(8) by
NickFnord
Other
: FBI code cracking challenge
(3) by
jimbob
Calendar Of Events
: RSA 2009
(0) by
don
Forensics
: Network Forensic tools/practice/techniques
(2) by
jimbob
Malware
: Autoplay when i try to open the drive.
(4) by
jimbob
Physical Security
: Magnetic stripe card spoofing
(4) by
jimbob
Malware
: THe website is Evil but what to do??
(1) by
jimbob
Other
: Insanity?
(3) by
jason
CEH - Certified Ethical Hacker
: Any Practice Environment for learning tool for CEH?
(15) by
don
Wireless
: a petri-dish bridge
(2) by
don
CEH - Certified Ethical Hacker
: TFTP Tranfer time out
(5) by
jason
Tools
: tool to trace users
(8) by
pseud0
Malware
: Malware Challenge 2008 Analysis
(0) by
blackazarro
Programming
: Python 3.0 Released
(0) by
don
Forensics
: SANS SIFT Forensic toolkit
(1) by
don
Links to cool sites.
: Omgili Hacking - Another Search Engine dedicated to Hacking Related Forums
(2) by
RoleReversal
Tools
: Insecure.org's 2006 Top 100 Security Tools List Released
(10) by
shednik
Malware
: Security Forecast for 2009
(4) by
shednik
Other
: Happy New Year!
(8) by
vijay2
CEH - Official Course Modules v6
: Community-built CEH Wiki
(2) by
yehg
Links to cool sites.
: 25C3 25th Chaos Communication Congress
(4) by
alan
Other
: Math Review
(3) by
don
Other
: will this get me anywhere?
(5) by
jason
Physical Security
: Cloning the e-passport
(0) by
jason
Dec 08 - Santa Claus Is Hacking to Town
: [Article]-Santa Claus is Hacking to Town
(10) by
vijay2
Vote For EH-Net
progenic.com
binarica.com
technorati fave
Privacy Notice
for TDCC & All Properties
© 2009 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.