Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I've got a question that came to me from my worry about spyware, I've recently discovers that spam e-mails have been sent from my g-mail to my contacts, even though I changed my password, I am worried I may be keylogged,

What I want to know is if I do have a keylog, it must send my information over the internet in some way,

so first thing I want to ask is how to programs connect to the internet? do they do so through the browser or establish there own connection?

second thing, if they do establish their own connection and I block them with firewall, can programs make a connection through the browser or other common programs and send my information that way? if so, how is this done and can I block this?

Overall I'd like to read up on that, haven't found any info online about how computer programs establish internet connections,

share|improve this question

closed as not a real question by studiohack Apr 25 '11 at 22:37

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

8  
"haven't found any info online about how computer programs establish internet connections" — that's because you haven't looked. –  Daniel Beck Apr 25 '11 at 21:18
    
The browser, to clear up misconceptions you appear to have, the browser is a user-level utility - the networking libraries in use (sockets) are a kernel-level utility. You can do malicious things via a browser, but cannot send data through it as you would a socket. –  new123456 Apr 25 '11 at 22:06
    
closed as not a real question and subjective and argumentative. –  studiohack Apr 25 '11 at 22:38

2 Answers 2

how computer programs establish internet connections

You should read about sockets.

how to programs connect to the internet? do they do so through the browser or establish there own connection?

They establish their own connection to a specific IP and port. The browser is a specific HTTP client application to connect to HTTP servers.

If you believe there is a malicious program running in your PC possibly making connections to a remote host, sending personal information, you can do a netstat to see all connections and verify that are from legit programs. If you see connections from "unknown" programs then it is likely that your PC has been infected. You can also use a packet sniffer to see what information is send from your PC.

share|improve this answer

Here is the wiki all about spyware http://en.wikipedia.org/wiki/Spyware

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.