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 72 guests and 2 members online
Free Business and Tech Magazines and eBooks
You are here:
Home
Ethical Hacking Discussions and Related Certifications
Network Pen Testing
Telnet/FTP Security Question
EH-Net
May 24, 2013, 12:49:40 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
) >
Telnet/FTP Security Question
Pages: [
1
]
2
Go Down
« previous
next »
Print
Author
Topic: Telnet/FTP Security Question (Read 14776 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
Online
Posts: 4168
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, CSTA, Security+ SME
Kev
Sr. Member
Offline
Posts: 428
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
Full Member
Offline
Posts: 156
Bored IT Manager, Crypto Nerd
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
BS in IT, CISSP, MS in IS Management (in progress)
xXxKrisxXx
Hero Member
Offline
Posts: 512
Re: Telnet/FTP Security Question
«
Reply #4 on:
September 04, 2008, 09:35:02 AM »
nice first post unicityd. very nice indeed.
Logged
eCPPT, GCIH, OSCP, OSWP
vijay2
Full Member
Offline
Posts: 220
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 GCFA GCIH CISSP CISA GSEC OSCP C|EH Security+
dalepearson
Sr. Member
Offline
Posts: 357
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
:: Subliminal Hacking ::
/
:: Security Active Blog ::
sgt_mjc
Sr. Member
Offline
Posts: 294
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
CISSP
CompTia Security +
C|EH
vijay2
Full Member
Offline
Posts: 220
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 GCFA GCIH CISSP CISA GSEC OSCP C|EH Security+
Grendel
Full Member
Offline
Posts: 242
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
- Thomas Wilhelm, MSCS MSM
ISSMP CISSP SCSECA SCNA IEM
Web Site:
http://HackingDojo.com
Author:
Professional Penetration Testing
Ninja Hacking
Penetration Tester's Open Source Toolkit
Metasploit Toolkit for Penetration Testing
Netcat Power Tools
vijay2
Full Member
Offline
Posts: 220
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 GCFA GCIH CISSP CISA GSEC OSCP C|EH Security+
Grendel
Full Member
Offline
Posts: 242
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
- Thomas Wilhelm, MSCS MSM
ISSMP CISSP SCSECA SCNA IEM
Web Site:
http://HackingDojo.com
Author:
Professional Penetration Testing
Ninja Hacking
Penetration Tester's Open Source Toolkit
Metasploit Toolkit for Penetration Testing
Netcat Power Tools
dean
Guest
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
geekyone
Full Member
Offline
Posts: 180
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, GCFA
Grendel
Full Member
Offline
Posts: 242
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
- Thomas Wilhelm, MSCS MSM
ISSMP CISSP SCSECA SCNA IEM
Web Site:
http://HackingDojo.com
Author:
Professional Penetration Testing
Ninja Hacking
Penetration Tester's Open Source Toolkit
Metasploit Toolkit for Penetration Testing
Netcat Power Tools
Pages: [
1
]
2
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
Tools
: Symbolic Exploit Assistant project is looking for collaborators
(0) by
galapag0
Greetings
: Hi from the UK
(5) by
prats84
GCIH - GIAC Certified Incident Handler
: Passed my GCIH
(9) by
prats84
Network Pen Testing
: Want a challenge? Want a GXPN practice exam?
(0) by
ajohnson
News Items and General Discussion About EH-Net
: Change is Coming to EH-Net!!
(29) by
ajohnson
GCIH - GIAC Certified Incident Handler
: GCIH Free Practice test attempt
(1) by
prats84
EH-Net News Feeds
Latest Additions
Privacy Notice
for TDCC & All Properties
© 2013 The Ethical Hacker Network
Joomla!
is Free Software released under the GNU/GPL License.