LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 10-19-2011, 09:56 AM   #1
southpau1
LQ Newbie
 
Registered: Sep 2011
Posts: 24

Rep: Reputation: Disabled
Insecure/Obsolete TCP/UDP Ports/Protocols?


I'm trying to compile a list of post and or protocols that are known to be insecure and/or obsolete.

When doing vulnerability tests, and NMap scans, it would be handy to have this information to compare to the results to identify possible weaknesses on the network.

The only things I can think of off the top of my head are:

23/Telnet
21/FTP

What other lesser known ports are there?

Thanks!
 
Old 10-19-2011, 09:59 AM   #2
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
There are lots and lots.....
 
Old 10-19-2011, 10:08 AM   #3
teebones
Member
 
Registered: Aug 2005
Location: /home/teebones
Distribution: sometimes this, sometimes that..
Posts: 502

Rep: Reputation: 56
just block all ports except the one(s) you need to have open. (and you can also open it just to some ip block or specific ip, if needed).
 
1 members found this post helpful.
Old 10-19-2011, 10:14 AM   #4
southpau1
LQ Newbie
 
Registered: Sep 2011
Posts: 24

Original Poster
Rep: Reputation: Disabled
blady - Flipped through the IETF doc, didn't see a seciton specifically on what I was looking for.

teebones - that is best practice, but I am specifically looking for port and protocols that are weak so that this information may be used in a penetration test. Of course the recommendation would be to only allow certain ports, but during a pen test, to provide proof of concept, we would like to have the information I am requesting.
 
Old 10-20-2011, 03:42 PM   #5
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
There isn't a section on "weak" ports / protocols, the point being ANY port that is open presents potential opportunities for intrusion. teebones is bang on - ONLY open services you need and make sure you are using the most secure implementations of these services and that they are up to date.
 
Old 10-20-2011, 03:51 PM   #6
southpau1
LQ Newbie
 
Registered: Sep 2011
Posts: 24

Original Poster
Rep: Reputation: Disabled
I appreciate the advice, but again that isn't the intention of this question. It often isn't practical to recommend just closing ports. If a client is running FTP it is very possible they need it, so I can't tell them to close port 21. No, I have to provide them with a solution such as an SFTP alternative. Ports have to be open - it is the classic usability VS security problem.

So, I am looking for other ports like Telnet and FTP that a hacker might see on a port scan and think - "Bingo." This was, when I see them myself I can recommend to my clients to use an alternative. If I told them what you are telling me I would be fired, or at least laughed and and lose credibility.

Last edited by southpau1; 10-20-2011 at 03:52 PM.
 
Old 10-20-2011, 07:06 PM   #7
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Insecure and unsecure

insecure
[in-si-kyoor]   Origin
in·se·cure
   [in-si-kyoor]
adjective
1.
subject to fears, doubts, etc.; not self-confident or assured: an insecure person.
2.
not confident or certain; uneasy; anxious: He was insecure about the examination.
3.
not secure; exposed or liable to risk, loss, or danger: an insecure stock portfolio.
4.
not firmly or reliably placed or fastened: an insecure ladder.


unsecure
[si-kyoor]   Origin
se·cure
   [si-kyoor] adjective, -cur·er, -cur·est, verb, -cured, -cur·ing.
adjective
1.
free from or not exposed to danger or harm; safe.
2.
dependable; firm; not liable to fail, yield, become displaced, etc., as a support or a fastening: The building was secure, even in an earthquake.
3.
affording safety, as a place: He needed a secure hideout.
4.
in safe custody or keeping: Here in the vault the necklace was secure.
5.
free from care; without anxiety: emotionally secure.


I knew you'd like to know.
 
Old 10-20-2011, 09:23 PM   #8
southpau1
LQ Newbie
 
Registered: Sep 2011
Posts: 24

Original Poster
Rep: Reputation: Disabled
thanks jefro? looks like i got it right...not sure why you posted that.

also..your definition of unsecure is actually the definition of secure....

Last edited by southpau1; 10-20-2011 at 09:24 PM.
 
Old 10-24-2011, 10:42 AM   #9
baldy3105
Member
 
Registered: Jan 2003
Location: Cambridgeshire, UK
Distribution: Mint (Desktop), Debian (Server)
Posts: 891

Rep: Reputation: 184Reputation: 184
Hence my comment, only open ports you NEED. If FTP is needed then its needed. You then need to go on and consider how secure your ftp implementation is and weather you shouldn't be insisting on SFTP etc.

If your network security policy is based on "shut ports down that some bloke on the interwebs told me was unsecure" then you are already in trouble.

If it is your job to secure the network then you should know exactly what ports are open and exactly what each one does and who it is used by. Anything less would be what will produce the dire results you detailed above.

There is no shortcut for due dilgence here I'm afraid. You should be port scanning your own network for open ports and identifying what and who for every single one, and then applying your security policy appropriately.
 
Old 10-24-2011, 03:30 PM   #10
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
People are insecure.

Ports might be unsecure.

It just sounded funny to me when I read it. An insecure port, hiding out there, worried it might be laughed at. Might be going to a tcp/ip doctor for help.

Last edited by jefro; 10-24-2011 at 03:32 PM.
 
Old 10-24-2011, 03:41 PM   #11
southpau1
LQ Newbie
 
Registered: Sep 2011
Posts: 24

Original Poster
Rep: Reputation: Disabled
jefro, according to the definition of insecure that you provided:
"
3.
not secure; exposed or liable to risk, loss, or danger: an insecure stock portfolio.
4.
not firmly or reliably placed or fastened: an insecure ladder.
"


I can see that I'm not going to get the exact answer that I am looking for here, so thanks everyone, for you time.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NTOP not displaying ssh protocols TCP.UDP Service/Port Usage metallica1973 Linux - Networking 5 01-05-2011 04:11 PM
iptables: logging all protocols (not just tcp, udp, icmp) kfarstrider Linux - Security 5 06-29-2010 10:53 AM
Configuring TCP/UDP ports on Ubuntu for IM nhendrick Linux - Newbie 1 09-09-2009 10:17 AM
getting ports (tcp, udp) from /proc kbarani Linux - Software 1 03-27-2009 04:00 AM
how to open TCP/UDP ports RH9 franky Linux - Networking 3 07-18-2003 10:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:48 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration