ABXZone Computer  Forums



Welcome to the ABXZone Computer Forums forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Reply
 
LinkBack Thread Tools Display Modes
Old 10-11-2004, 06:04 PM   #46
Registered User
 
Join Date: Nov 2003
Posts: 13,497

Quote:
Originally Posted by TCM
may i ask what the problem is with a connection attempt to the port that's normally used by a trojan if you don't run that trojan? that's not an attack.

of course, if the possiblity exists that you actually run that trojan, then you have other problems already.
It isn't a problem as long as the port is at least blocked and even better stealthed. If a port isn't blocked, you don't need a trojan to actually be in residence, an attacker can get access via any open port. While some trojans do act as responders on open ports, others simply call out without needing anything to trigger it. BTW, by blocked, I mean to both inbound and outbound communications. That's why SPI is important as well as having a software firewall which blocks at the program/service/dll level as well.

(Offline)   Reply With Quote
Old 10-11-2004, 06:07 PM   #47
MD of Technology
 
azproc's Avatar
 
Join Date: Nov 2002
Location: Canada
Posts: 604
hmm... I see.


If I have an open port for a given app in my router, but also have a software firewall, can ONLY the program destined for that port use communicate, or can an attacker get through? I would think that my software firewall blocks these, as I get occasional security intrusion attempts on opened ports, logged by NIS.
__________________
Azproc

ASUS P5W DH Deluxe - 1101 - Intel Core 2 Duo E6400 - 2x512MB OCZ PC2-5400 Gold XTC 4-4-4-12 - Seagate 7200.10 320GB - soon to be replaced ASUS EN5750 128MB - Thermaltake TR2 430W - 17 Samsung 710N - XP Pro SP2

Gigabyte GA-8KNXP - F12 - Intel P4 2.4C HT @ 2.88GHz, 240MHz Clock using 5/4 - 2X512MB OCZ Plat. 3200 Dual running 2/3/2/5 - SB LIVE 5.1 - Seagate SATA 120GB - former ATI (BBA) X850XT @ 554/591 - now XFX 7800GS Xtreme @ 460/1350 Thermaltake 480W FC - 20.1 Viewsonic VX2025WM LCD - XP Pro SP2 - 3DMARK 03/05/05 = 11708/5739/5860
(Offline)   Reply With Quote
Old 10-11-2004, 06:09 PM   #48
The race for quality has no finish line- so technically, it's more like a death march.
 
Join Date: Feb 2001
Posts: 18,159
In case you wanted to lookup the ports being scanned, this link will tell you what the expected usage of the port is: http://www.iana.org/assignments/port-numbers

Run netstat -a at the command prompt to get an idea of what ports are currently active on your computer.
__________________

(Offline)   Reply With Quote
Old 10-11-2004, 06:11 PM   #49
MD of Technology
 
azproc's Avatar
 
Join Date: Nov 2002
Location: Canada
Posts: 604
Thanks for the link... a good favourite to add.... . Still wondering about the question above though .
__________________
Azproc

ASUS P5W DH Deluxe - 1101 - Intel Core 2 Duo E6400 - 2x512MB OCZ PC2-5400 Gold XTC 4-4-4-12 - Seagate 7200.10 320GB - soon to be replaced ASUS EN5750 128MB - Thermaltake TR2 430W - 17 Samsung 710N - XP Pro SP2

Gigabyte GA-8KNXP - F12 - Intel P4 2.4C HT @ 2.88GHz, 240MHz Clock using 5/4 - 2X512MB OCZ Plat. 3200 Dual running 2/3/2/5 - SB LIVE 5.1 - Seagate SATA 120GB - former ATI (BBA) X850XT @ 554/591 - now XFX 7800GS Xtreme @ 460/1350 Thermaltake 480W FC - 20.1 Viewsonic VX2025WM LCD - XP Pro SP2 - 3DMARK 03/05/05 = 11708/5739/5860
(Offline)   Reply With Quote
Old 10-11-2004, 06:12 PM   #50
Registered User
 
Join Date: Nov 2003
Posts: 13,497
Quote:
Originally Posted by azproc
hmm... I see.


If I have an open port for a given app in my router, but also have a software firewall, can ONLY the program destined for that port use communicate, or can an attacker get through? I would think that my software firewall blocks these, as I get occasional security intrusion attempts on opened ports, logged by NIS.
You are correct. And, that is the reason why Stateful Packet Inspection (SPI) is an important factor in any hardware firewall. SPI acts as a "one way door" allowing inbound packets on open ports only if they are in response to an outbound request. Unrequested packets cannot pass through a router with SPI even if the port is open. And, as I indicated above, why you still need a software firewall which operates on a program level, permitting only allowed programs to access the internet. A hardware firewall cannot tell what program originates a packet request.
(Offline)   Reply With Quote
Old 10-11-2004, 06:15 PM   #51
TCM
Registered User
 
Join Date: Sep 2001
Posts: 82
Quote:
Originally Posted by PCBruiser
If a port isn't blocked, you don't need a trojan to actually be in residence, an attacker can get access via any open port.
this is just plain wrong. can we please stop spreading misinformation as if it were true?

are you saying is that every web site, every mail server, every machine out there with an open port could easily be broken into if just someone wanted to? my bank has port 80 and 443 open on their web server. i have port 25 and 80 open on my computer.

how do you get access now?

hint: read above where i talked about applications _and_ the necessity to have a security hole in that application.

edit: added the first part of the sentence to the quote. a port is only open if an application is listening on it. if you don't run a trojan, then the port must have been opened by some other program and even then this program would have to have a security hole to pose a threat.
(Offline)   Reply With Quote
Old 10-11-2004, 06:21 PM   #52
MD of Technology
 
azproc's Avatar
 
Join Date: Nov 2002
Location: Canada
Posts: 604
Quote:
Originally Posted by PCBruiser
SPI acts as a "one way door" allowing inbound packets on open ports only if they are in response to an outbound request. Unrequested packets cannot pass through a router with SPI even if the port is open.
I think you need to read between the lines TCM... PCB said it here. It is part of what I asked. This is what you're trying to say isn't it?
__________________
Azproc

ASUS P5W DH Deluxe - 1101 - Intel Core 2 Duo E6400 - 2x512MB OCZ PC2-5400 Gold XTC 4-4-4-12 - Seagate 7200.10 320GB - soon to be replaced ASUS EN5750 128MB - Thermaltake TR2 430W - 17 Samsung 710N - XP Pro SP2

Gigabyte GA-8KNXP - F12 - Intel P4 2.4C HT @ 2.88GHz, 240MHz Clock using 5/4 - 2X512MB OCZ Plat. 3200 Dual running 2/3/2/5 - SB LIVE 5.1 - Seagate SATA 120GB - former ATI (BBA) X850XT @ 554/591 - now XFX 7800GS Xtreme @ 460/1350 Thermaltake 480W FC - 20.1 Viewsonic VX2025WM LCD - XP Pro SP2 - 3DMARK 03/05/05 = 11708/5739/5860
(Offline)   Reply With Quote
Old 10-11-2004, 06:23 PM   #53
TCM
Registered User
 
Join Date: Sep 2001
Posts: 82
Quote:
Originally Posted by azproc
hmm... I see.


If I have an open port for a given app in my router, but also have a software firewall, can ONLY the program destined for that port use communicate, or can an attacker get through? I would think that my software firewall blocks these, as I get occasional security intrusion attempts on opened ports, logged by NIS.
there's a misconception in there. you referred to "open port" when you probably meant "forwarded port". "open" usually refers to ports with the state "LISTEN" in the output of netstat -a.
(Offline)   Reply With Quote
Old 10-11-2004, 06:26 PM   #54
MD of Technology
 
azproc's Avatar
 
Join Date: Nov 2002
Location: Canada
Posts: 604
I have "open" ports in my software firewall (ie port 80)... Yes the router uses "forwarded ports".
__________________
Azproc

ASUS P5W DH Deluxe - 1101 - Intel Core 2 Duo E6400 - 2x512MB OCZ PC2-5400 Gold XTC 4-4-4-12 - Seagate 7200.10 320GB - soon to be replaced ASUS EN5750 128MB - Thermaltake TR2 430W - 17 Samsung 710N - XP Pro SP2

Gigabyte GA-8KNXP - F12 - Intel P4 2.4C HT @ 2.88GHz, 240MHz Clock using 5/4 - 2X512MB OCZ Plat. 3200 Dual running 2/3/2/5 - SB LIVE 5.1 - Seagate SATA 120GB - former ATI (BBA) X850XT @ 554/591 - now XFX 7800GS Xtreme @ 460/1350 Thermaltake 480W FC - 20.1 Viewsonic VX2025WM LCD - XP Pro SP2 - 3DMARK 03/05/05 = 11708/5739/5860
(Offline)   Reply With Quote
Old 10-11-2004, 06:27 PM   #55
TCM
Registered User
 
Join Date: Sep 2001
Posts: 82
Quote:
Originally Posted by azproc
I think you need to read between the lines TCM... PCB said it here. It is part of what I asked. This is what you're trying to say isn't it?
actually, that part of PCB doesn't really make sense when i think about it.

let's see.

Quote:
SPI acts as a "one way door" allowing inbound packets on open ports only if they are in response to an outbound request. Unrequested packets cannot pass through a router with SPI even if the port is open.
an open port doesn't initiate requests but it sounds like that.

edit: after thinking some more i can only guess what PCB meant. when a computer initiates a connection to another computer, then it uses a source port for that connection. so when you connect with your browser to host1 port 80, the connection might look like yourip:65432 -> host1:80. that does NOT mean that port 65432 on your computer is "open" in the sense that it is set to the LISTEN state and accepts connections from the outside.

Last edited by TCM : 10-11-2004 at 06:36 PM.
(Offline)   Reply With Quote
Old 10-11-2004, 06:30 PM   #56
TCM
Registered User
 
Join Date: Sep 2001
Posts: 82
Quote:
Originally Posted by azproc
I have "open" ports in my software firewall... Yes the router uses "forwarded ports".
wrong. if you "open" a port in a firewall you are just telling the firewall "don't block it". that still means the underlying operating system has to have that port "open" aka LISTEN in netstat -a. if i forward port 12345 on my router to my pc and also tell the (imaginary) firewall on my pc to not block port 12345, then there's still no open port since i don't run any program that listens on that port.

in effect, the port is still closed when probed from the outside, i.e. the operating system's network stack replies with RST.
(Offline)   Reply With Quote
Old 10-11-2004, 06:36 PM   #57
MD of Technology
 
azproc's Avatar
 
Join Date: Nov 2002
Location: Canada
Posts: 604
Notice that I say that I have a program accessing that port in addition to having it "open" or "forwarded" for the lack of any arguments.
__________________
Azproc

ASUS P5W DH Deluxe - 1101 - Intel Core 2 Duo E6400 - 2x512MB OCZ PC2-5400 Gold XTC 4-4-4-12 - Seagate 7200.10 320GB - soon to be replaced ASUS EN5750 128MB - Thermaltake TR2 430W - 17 Samsung 710N - XP Pro SP2

Gigabyte GA-8KNXP - F12 - Intel P4 2.4C HT @ 2.88GHz, 240MHz Clock using 5/4 - 2X512MB OCZ Plat. 3200 Dual running 2/3/2/5 - SB LIVE 5.1 - Seagate SATA 120GB - former ATI (BBA) X850XT @ 554/591 - now XFX 7800GS Xtreme @ 460/1350 Thermaltake 480W FC - 20.1 Viewsonic VX2025WM LCD - XP Pro SP2 - 3DMARK 03/05/05 = 11708/5739/5860
(Offline)   Reply With Quote
Old 10-11-2004, 06:42 PM   #58
TCM
Registered User
 
Join Date: Sep 2001
Posts: 82
Quote:
Originally Posted by azproc
Notice that I say that I have a program accessing that port in addition to having it "open" or "forwarded" for the lack of any arguments.
do you actually mean the program uses that port to listen for incoming connections? "accessing that port" sounds like the program is not on your computer.

your general confusion with basic terms makes it hard to understand what you mean and it shows a huge deficiency in understanding of concepts.

really, making it necessary to correct every statement due to misuse of basic terms prevents any real discussion.
(Offline)   Reply With Quote
Old 10-11-2004, 06:47 PM   #59
Enjoying the discourse!
 
Kipperfillets's Avatar
 
Join Date: Jan 2004
Posts: 3,519
Quote:
Originally Posted by pointreyes
In case you wanted to lookup the ports being scanned, this link will tell you what the expected usage of the port is: http://www.iana.org/assignments/port-numbers

Run netstat -a at the command prompt to get an idea of what ports are currently active on your computer.
You guys must be able to read fast as when I type that in the window is only there for a fraction of a second! is there a way to make it stay open?
__________________
La la la la la...I'm lovin it! Bigmac please
(Offline)   Reply With Quote
Old 10-11-2004, 07:04 PM   #60
Who me???
 
theonlybabyface's Avatar
 
Join Date: Jun 2003
Location: Vancouver, Canada
Posts: 325
The best and easiest way to stealth all of your ports and get a perfect rating at Shields Up!! is to enable DMZ on your router and point it to a non-existent IP address in the range of your gateway but NOT one of the IP's on your LAN.
__________________

MY MACHINE : Intel Q6600 | ASUS Maximus Premium | 8GB G.SKILL DDR2-1000 | EVGA 8800GTS 512mb | X-Fi Platinum | Enermax Infiniti 720 | Samsung 245BW 24"

KIDS MACHINE : Intel Xeon 3060 | Intel BadaXe2 | 4GB Team Xtreem DDR2-800 | BFG 8800GT OC | Audigy 2 ZS | OCZ GameXStream 850 | Samsung 204B 20"
(Offline)   Reply With Quote
Reply

« - | NAV vs. NOD32 »

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



Powered by vBulletin® Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.1
vBulletin Skin developed by: vBStyles.com