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 09-07-2003, 02:28 PM   #1
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Rep: Reputation: 30
Talking This is a "secure' machine...


What I know: this machine is not too secure...
What I don't know: what are those protocols...

Code:
Starting nmap 3.27 ( www.insecure.org/nmap/ ) at 2003-09-07 21:56 EEST
Interesting ports on 172.16.3.20:
(The 1603 ports scanned but not shown below are in state: closed)
Port       State       Service
7/tcp      open        echo
9/tcp      open        discard
13/tcp     open        daytime
17/tcp     open        qotd
19/tcp     open        chargen
21/tcp     open        ftp
25/tcp     open        smtp
80/tcp     open        http
135/tcp    open        loc-srv
139/tcp    open        netbios-ssn
443/tcp    open        https
445/tcp    open        microsoft-ds
1025/tcp   open        NFS-or-IIS
1026/tcp   open        LSA-or-nterm
1030/tcp   open        iad1
1032/tcp   open        iad3
2105/tcp   open        eklogin
3389/tcp   open        ms-term-serv
5000/tcp   open        UPnP
5101/tcp   open        admdog

Nmap run completed -- 1 IP address (1 host up) scanned in 3.521 sec
 
Old 09-07-2003, 03:12 PM   #2
Mathieu
Senior Member
 
Registered: Feb 2001
Location: Montreal, Quebec, Canada
Distribution: RedHat, Fedora, CentOS, SUSE
Posts: 1,403

Rep: Reputation: 46
Are you talking about the ports in BOLD letters ?

Ports above 1024 are un-regulated, anyone can use them.

3389 is used by the Microsoft's Remote Windows Terminal Server.
5101 is used by Yahoo Messenger

Also, some of the ports are used by known trojans.
5000 is used by Back Orifice and NetBus.


If you do not use these ports, you should setup a firewall.
 
Old 09-07-2003, 03:44 PM   #3
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Quote:
5000 is used by Back Orifice and NetBus.
Ummmmm??? BO normally uses 31337 and NetBus uses 12345 and 12346 by default. Of course they can be made to run on any port. On a Windows machine 5000 is just what nmap said, UPnP.

I don't know what the point of the original post is, though... Congratulations, you found a networked host that appears (notice I said "appears") to be very insecure. It's not like those don't abound on the Internet (1,500,000 machines compromised by MS Blaster).

For one thing, that's a non-routable IP so it's obviously on an Internal network. Sure it's not a good idea to run all those services, but they're probably not reachable from the Internet (firewall?). Another remote possibility is that it's a honeypot and just pretending to have those services running. You wouldn't know unless you actually tried something against it.

If you're not responsible for that host, move along. If you are, I certainly hope you know how to disable all those unnessecary services.
 
Old 09-08-2003, 03:12 PM   #4
pe2338
Member
 
Registered: Dec 2002
Location: Bucharest,RO
Distribution: debian etch, sarge and sid
Posts: 407

Original Poster
Rep: Reputation: 30
The thing is that this machine is owned by someone I know personally in the intranet. I was wondering what are those services and why is he running them?

Espacially iad1 and iad3..... and I was expecting some links so that I could read about the services I see here....

Chort how did you realised that this machine is on an internal network? squid absent? Please give links so that I can . And after I won't and act like a total that I am.
 
Old 03-14-2004, 02:30 AM   #5
zephell
LQ Newbie
 
Registered: Mar 2004
Location: PDX
Distribution: 10.3, *bsd, YDL
Posts: 2

Rep: Reputation: 0
The way we know it is on an internal network is because of the subnet (xxx.xxx. ... ...). Any ip address that has the range 172.xxx.xxx.xxx or 10.xxx.xxx.xxx or 192.xxx.xxx.xxx is on the internal side of a network. That is where the router comes in. What it does is take your external address (say, if you have comcast, like 67.170.xxx.xxx) and splits it, into, you guesed it, the internal addresses. Make sense? Enjoy, and tell your friend to stop using windows and join the free world!




Here is a listing of some odd ports and the processes that run them:
http://www.sans.org/resources/idfaq/oddports.php

Here is a more official listing of port numbers:
http://www.iana.org/assignments/port-numbers
 
Old 03-14-2004, 05:26 AM   #6
chort
Senior Member
 
Registered: Jul 2003
Location: Silicon Valley, USA
Distribution: OpenBSD 4.6, OS X 10.6.2, CentOS 4 & 5
Posts: 3,660

Rep: Reputation: 76
Close, but incorrect. Only the 10. (pronunced "ten dot") network is a /8 (used to be called "Class A"). The private range of 172.16. is a /12, and 192.168 is a /16. Confused yet?

Start with RFC1918, which specifies some reserved networks for private use (these routes are not advertised to the Internet). Next, wikipedia has a somewhat useful explanation of CIDR, although some Googling will probably reveal something more helpful.

So what is my point? Not every thing that matches 172.*.*.* is actually a private IP. In fact, a large number of 172. addresses belong to AOL. 192. isn't all private, either--in fact only 1/255th of it is (roughly speaking).
 
Old 03-14-2004, 01:56 PM   #7
zephell
LQ Newbie
 
Registered: Mar 2004
Location: PDX
Distribution: 10.3, *bsd, YDL
Posts: 2

Rep: Reputation: 0
Good point chort, guess I should be a little more clear Wouldn't want somebody to give their computer an address like 172.140.184.xxx and get really, really confused.
 
  


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
Microsoft "Secure Authentication" on Linux? KingofBLASH Linux - General 0 02-17-2004 12:10 PM
Customizing a more "secure" Bash gearoid Linux - Security 5 11-18-2003 06:12 PM
browsers certificates and "secure" browsing tcaptain Linux - Software 0 07-16-2003 10:25 AM
need to close ports to secure machine VioLaToR Linux - Networking 4 05-06-2003 04:42 PM
Apache SSL - how to virtual host two or more secure websites on the same machine? bjoshi Linux - Networking 0 08-30-2001 07:01 PM

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

All times are GMT -5. The time now is 09:27 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