Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Have I been hacked???!!
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Centinul
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 232

PostPosted: Mon Sep 12, 2005 2:49 am    Post subject: Have I been hacked???!! Reply with quote

I was using my windows based laptop that is behind a gentoo firewall tonight and I got a window that popped up from Symantec firewall that said I had an alert. It seemed I was port scanned (even though I'm not sure I can tell) because there was mention of the "Rat Trojan" and the "GateCrasher Trojan"

My question is that on my firewall I drop all NEW,INVALID and SYN,ACK SYN,ACK packets.

How did this get through my firewall and hit the windows machine?
Should I be concerned? Please help. Thanks!
Back to top
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Mon Sep 12, 2005 3:51 am    Post subject: Reply with quote

EDIT: nm, I don't know why symantec would call port-scanning a 'trojan".
_________________
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?


Last edited by Dlareh on Mon Sep 12, 2005 4:04 am; edited 1 time in total
Back to top
View user's profile Send private message
Centinul
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 232

PostPosted: Mon Sep 12, 2005 3:59 am    Post subject: Reply with quote

Any measures I can take to strengthen my firewall?
Back to top
View user's profile Send private message
Kaapeli
Tux's lil' helper
Tux's lil' helper


Joined: 27 Dec 2004
Posts: 110
Location: Oulu, Finland

PostPosted: Mon Sep 12, 2005 6:16 am    Post subject: Reply with quote

In my firewall I have a rule that allows RELATED and ESTABLISHED packets come in, then I have some port specific rules that allow packets come in from certain ports. At the end I have a rule that drops everything else (tcp and udp). That means I can run services on some ports I've opened and icoming connection attempts to any other port will be dropped, but all traffic that is related to connections that have been established from my end will be passed through.

In principle I would recommend you to keep your firewall script simple and allow only necessary packets in and then block everything else.
_________________
Temperatures
Back to top
View user's profile Send private message
Centinul
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 232

PostPosted: Mon Sep 12, 2005 11:35 am    Post subject: Reply with quote

That is exactly what I do. I just don't understand how the port scan made it through the firewall when I only allow established and related back in.
Back to top
View user's profile Send private message
minskpower
Tux's lil' helper
Tux's lil' helper


Joined: 16 Jun 2005
Posts: 94
Location: /dev/null

PostPosted: Mon Sep 12, 2005 12:04 pm    Post subject: Reply with quote

Why are you using a symantec firewall if you are behind a linux box? Are there other windows machines in your network?

2nd, is your gentoo firewall blocking invalid packets with spoofed ip's? (coming through the external iface but with source ip matching your internal adress range)
Back to top
View user's profile Send private message
Centinul
Apprentice
Apprentice


Joined: 28 Jul 2005
Posts: 232

PostPosted: Mon Sep 12, 2005 7:29 pm    Post subject: Reply with quote

I'm running another firewall on my windows machine just for the reason if the firewall by chance it didn't catch something. Plus redundancy doesn't hurt anyways.

I am blocking packets that come through the external interface but say they are the source IP.

Any other ideas?
Back to top
View user's profile Send private message
jamapii
l33t
l33t


Joined: 16 Sep 2004
Posts: 637

PostPosted: Mon Sep 12, 2005 11:27 pm    Post subject: Re: Have I been hacked???!! Reply with quote

Centinul wrote:
It seemed I was port scanned


If that Gentoo firewall is doing SNAT or MASQUERADE for the rest of your network, nothing can really scan your Windows computer (Even without any DROP/REJECT rules.) ... unless you have DNATted some ports to the Windows box. (possibly for IM protocols etc)

So, if it really was a portscan (scanning for the presence of a trojan), the question is, how did it get through? The numeric port number can help determine what happened. There are sites on the net that can scan you on demand. If the Gentoo firewall works correctly, the Symantec firewall should only see what you intended to be forwarded.

After reading the "it seemed"... maybe the message wasn't really clear. You might have got trojans etc. on your computer if you recently installed something new, or if you visited a site with ActiveX (or whatever) on and it sneaked something in, or you don't have the latest Windows security updates...

Well, summary: 1. Check your Gentoo firewall by running a portscan from a site that does these, 2. Check that your Windows is clean with some scan software
Back to top
View user's profile Send private message
wokick
Tux's lil' helper
Tux's lil' helper


Joined: 27 Sep 2004
Posts: 97

PostPosted: Tue Sep 13, 2005 12:15 am    Post subject: Reply with quote

There are too many false positive from Symantec Norton software.
Just forget about it.
Back to top
View user's profile Send private message
Dlareh
Advocate
Advocate


Joined: 06 Aug 2005
Posts: 2102

PostPosted: Tue Sep 13, 2005 12:28 am    Post subject: Reply with quote

wokick wrote:
There are too many false positive from Symantec Norton software.

Good for business, eh?
_________________
"Mr Thomas Edison has been up on the two previous nights discovering 'a bug' in his phonograph." --Pall Mall Gazette (1889)
Are we THERE yet?
Back to top
View user's profile Send private message
opentaka
l33t
l33t


Joined: 18 Feb 2005
Posts: 840
Location: Japan

PostPosted: Tue Sep 13, 2005 12:58 am    Post subject: Reply with quote

I 150% hate those symantec firewalls.
they are stupid as hell, iptables are wayyyyyy better.

symantec or windows GUI firewall always changes packets,like one port scanned = ATTACCCKKKKKKK!!!!!!!!
and also ICMP received = ATTAAAAAAAACCCCCCCKKKK!!!
also, all these ftp/ssh worms will worn you too i guess.
_________________
"Being defeated is often a temporary condition. Giving up is what makes it permanent" - Marilyn vos Savant
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum