Networking Forums

Networking Forums > Computer Networking > Linux Networking > port 22222 vulnerability

Reply
Thread Tools Display Modes

port 22222 vulnerability

 
 
Allan Bruce
Guest
Posts: n/a

 
      10-09-2003, 08:16 PM
Hello there,

I just ran a port scan on my machine, and found that my port 22222 is open
to attack by a trojan horse. I tried to reject this in iptables but it
hasnt done anything. Is this a problem? Does anybody know how to get around
this?

Thanks
Allan



--
Allan Bruce
Dept. of Computing Science
University of Aberdeen
Aberdeen AB24 3UE
Scotland, UK


 
Reply With Quote
 
 
 
 
Peter T. Breuer
Guest
Posts: n/a

 
      10-09-2003, 09:30 PM
Allan Bruce <(E-Mail Removed)> wrote:
> I just ran a port scan on my machine, and found that my port 22222 is open
> to attack by a trojan horse. I tried to reject this in iptables but it
> hasnt done anything. Is this a problem? Does anybody know how to get around
> this?


Yes. Don't run a trojan horse. You are saying "I have discovered that
my upper lip is vulnerable to attack by me shooting myself in the mouth".
Don't do that then. And quit worrying about firewalls. Firewalls don't
protect you from anything particular on linux.

Now what did you REALLY learn? Was something running and listening on
your port 22222? If so, what? Go find out and decide if you want it or
not. Did you start it? if not, then somebody has cracked your system
and you want to investigate!!!

(and next time please don't mouth off with such awful RUBBISH)

Peter
 
Reply With Quote
 
Paul Lutus
Guest
Posts: n/a

 
      10-09-2003, 10:24 PM
Allan Bruce wrote:

> Hello there,
>
> I just ran a port scan on my machine, and found that my port 22222 is open
> to attack by a trojan horse.


Which trojan horse? How did you get this idea?

> I tried to reject this in iptables but it
> hasnt done anything.


Define "reject", and post the iptables entry, not your own words. Define
"it". Define "hasn't done anything." Use the information from your
computer, not your native language.

> Is this a problem?


Is what a problem? The problem, or the solution?

> Does anybody know how to get
> around this?


Get around what? Try writing simple declarative sentences, whose ideas flow
logically from one sentence to the next.

--
Paul Lutus
http://www.arachnoid.com

 
Reply With Quote
 
eddie
Guest
Posts: n/a

 
      10-10-2003, 03:11 AM
On Thu, 09 Oct 2003 21:16:23 +0100, Allan Bruce wrote:

> Hello there,
>
> I just ran a port scan on my machine, and found that my port 22222 is open
> to attack by a trojan horse.

OK, you are open; what about your computer?
snip
> Is this a problem?

It depends
> Does anybody know how to get around this?

Yes
 
Reply With Quote
 
Leon The Peon
Guest
Posts: n/a

 
      10-10-2003, 03:23 AM

"Allan Bruce" <(E-Mail Removed)> wrote in message
news:bm4fl6$lrn$(E-Mail Removed)...
> Hello there,
>
> I just ran a port scan on my machine, and found that my port 22222 is open
> to attack by a trojan horse.


Does this mean that you have a trojan horse installed ?
hmm.


>I tried to reject this in iptables but it
> hasnt done anything.


>Is this a problem?


Probably not.
the port scan didnt tell you much because it was run inside the firewall.
to test your firewall you have to run the portscan aimed at your machine,
but outside the firewall - eg on a friends system.

> Does anybody know how to get around
> this?


Run the port scanner on another machine aimed at your machine.

Your change to iptables might have worked to secure your box from outside
attack, but your test for the effect did not work.

Actually you should block all ports and only open up those that you want to
have open. eg port 80 to allow a web server to work.


Anyone who called Allan Bruce stupid is a right arsehole. The only way to
learn this fact about firewalling is to be told.


 
Reply With Quote
 
Allan Bruce
Guest
Posts: n/a

 
      10-10-2003, 08:56 AM

"Leon The Peon" <(E-Mail Removed)> wrote in message
news:bm58nh$aio$(E-Mail Removed)...
>
> "Allan Bruce" <(E-Mail Removed)> wrote in message
> news:bm4fl6$lrn$(E-Mail Removed)...
> > Hello there,
> >
> > I just ran a port scan on my machine, and found that my port 22222 is

open
> > to attack by a trojan horse.

>
> Does this mean that you have a trojan horse installed ?
> hmm.
>
>
> >I tried to reject this in iptables but it
> > hasnt done anything.

>
> >Is this a problem?

>
> Probably not.
> the port scan didnt tell you much because it was run inside the firewall.
> to test your firewall you have to run the portscan aimed at your machine,
> but outside the firewall - eg on a friends system.


I ran the test at http://security.symantec.com
Which alerted me to the problem.

>
> > Does anybody know how to get around
> > this?

>
> Run the port scanner on another machine aimed at your machine.
>
> Your change to iptables might have worked to secure your box from outside
> attack, but your test for the effect did not work.
>
> Actually you should block all ports and only open up those that you want

to
> have open. eg port 80 to allow a web server to work.


I now have every single port blocked apart from my port 80 for apache, and a
aselect few others which dont seem to be "common" ports for attack (i.e. I
have selected them as >10000)


>
>
> Anyone who called Allan Bruce stupid is a right arsehole. The only way

to
> learn this fact about firewalling is to be told.
>


Thanks, I felt some of the replies were a little short!


 
Reply With Quote
 
Neil Horman
Guest
Posts: n/a

 
      10-10-2003, 11:46 AM
Allan Bruce wrote:
> Hello there,
>
> I just ran a port scan on my machine, and found that my port 22222 is open
> to attack by a trojan horse. I tried to reject this in iptables but it
> hasnt done anything. Is this a problem? Does anybody know how to get around
> this?
>
> Thanks
> Allan
>
>
>

Sounds like somebody is running a undesireable program on your system.
Run the following command:
netstat -a --program
This will provide a list of open sockets on your system, examine the
output to find the program which is listening on the offending port and
deal with it as you see fit.

HTH
Neil

--
/************************************************** *
*Neil Horman
*Software Engineer
*Red Hat, Inc., www.redhat.com
*gpg keyid: 1024D / 0x92A74FA1
*http://www.keyserver.net
************************************************** */

 
Reply With Quote
 
Charlie Gibbs
Guest
Posts: n/a

 
      10-10-2003, 09:11 PM
In article <bm5s6k$7jl$(E-Mail Removed)> (E-Mail Removed)
(Allan Bruce) writes:

>"Leon The Peon" <(E-Mail Removed)> wrote in message
>news:bm58nh$aio$(E-Mail Removed)...
>
>> Anyone who called Allan Bruce stupid is a right arsehole. The only
>> way to learn this fact about firewalling is to be told.

>
>Thanks, I felt some of the replies were a little short!


Don't worry about it; you were just unlucky enough to trigger
responses from the group's two top flamers. They know their
stuff, but they can sometimes be a little, uh, undiplomatic.

--
/~\ (E-Mail Removed)lid (Charlie Gibbs)
\ / I'm really at ac.dekanfrus if you read it the right way.
X Top-posted messages will probably be ignored. See RFC1855.
/ \ HTML will DEFINITELY be ignored. Join the ASCII ribbon campaign!

 
Reply With Quote
 
Thorg Thorgussonne
Guest
Posts: n/a

 
      10-21-2003, 01:59 AM
On Fri, 10 Oct 2003 09:56:38 +0100, Allan Bruce wrote:

>
> "Leon The Peon" <(E-Mail Removed)> wrote in message
> news:bm58nh$aio$(E-Mail Removed)...
>>
>> "Allan Bruce" <(E-Mail Removed)> wrote in message
>> news:bm4fl6$lrn$(E-Mail Removed)...
>> > Hello there,
>> >
>> > I just ran a port scan on my machine, and found that my port 22222 is

> open
>> > to attack by a trojan horse.

>>
>> Does this mean that you have a trojan horse installed ?
>> hmm.
>>
>>
>> >I tried to reject this in iptables but it
>> > hasnt done anything.

>>
>> >Is this a problem?

>>
>> Probably not.
>> the port scan didnt tell you much because it was run inside the firewall.
>> to test your firewall you have to run the portscan aimed at your machine,
>> but outside the firewall - eg on a friends system.

>
> I ran the test at http://security.symantec.com
> Which alerted me to the problem.
>
>>
>> > Does anybody know how to get around
>> > this?

>>
>> Run the port scanner on another machine aimed at your machine.
>>
>> Your change to iptables might have worked to secure your box from outside
>> attack, but your test for the effect did not work.
>>
>> Actually you should block all ports and only open up those that you want

> to
>> have open. eg port 80 to allow a web server to work.

>
> I now have every single port blocked apart from my port 80 for apache, and a
> aselect few others which dont seem to be "common" ports for attack (i.e. I
> have selected them as >10000)
>
>
>>
>>
>> Anyone who called Allan Bruce stupid is a right arsehole. The only way

> to
>> learn this fact about firewalling is to be told.
>>

>
> Thanks, I felt some of the replies were a little short!


FWIW The http://security.symantec.com test does not work on Linux boxes,
according to the notice I received when I tried to use their test. It
worked fine on my XP box.

Cheers,

Thorg

 
Reply With Quote
 
Michael C.
Guest
Posts: n/a

 
      10-25-2003, 10:23 AM
On Tue, 21 Oct 2003 01:59:46 GMT,
Thorg Thorgussonne <(E-Mail Removed)> wrote:
> FWIW The http://security.symantec.com test does not work on Linux
> boxes, according to the notice I received when I tried to use their
> test. It worked fine on my XP box.


It works fine, just lie about the OS, and possibly the browser.

I just ran it using lynx on Debian 3.0r1.

Michael C.
--
(E-Mail Removed) http://mcsuper5.freeshell.org/
Registered Linux User #303915 http://counter.li.org/


 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
DD-WRT Vulnerability Announced. 1PW Network Routers 0 07-25-2009 01:54 AM
[?] DYNDNS host vulnerability Fr@nk Stef@ni Linux Networking 10 02-24-2008 11:31 AM
Port 1723 Vulnerability? Chris Burson Wireless Networks 2 01-22-2005 10:06 AM
security vulnerability? Sally P. Wireless Internet 2 09-19-2004 02:10 AM
Vulnerability in UW Pine <= 4.56 Jem Berkes Linux Networking 0 09-11-2003 12:40 PM



1 2 3 4 5 6 7 8 9 10 11