How to scan a file for viruses and spyware

Don´t be shy, Linux is fun! =)
Post Reply
User avatar
isapiens
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 533
Joined: 05 May 2006, 16:00
17
Location: Turn around

How to scan a file for viruses and spyware

Post by isapiens »

I usually download my "material" from reliable sources. However, sometimes i have to resort to more shady sources.

I want learn to test the file in linux the way bad_brain always talks about. How he checks whether there are any processes that are trying to connect to the internet and stuff like that.

Basically i dont feel satisfied and secure by just running adaware or avg. I want to actually see if anything is changing on the computer or if there are any connections being made.

Any help will be greatly appreciated. I posted this in linux section because i thought it might be more safe to test a file in linux than windows. If not, move it to windows section i suppose.

Thanks in advance
Fluoridation is the most monstrously conceived and dangerous communist plot we have ever had to face.

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11636
Joined: 06 Apr 2005, 16:00
19
Location: In your eye floaters.
Contact:

Post by bad_brain »

well, if it's a Windows app you can only check it on Linux with an AV like ClamAV: http://www.clamav.net/
the way to look for running processes and open ports differs on MS and Linux systems, on Linux you have way better in-build options.
to check for open ports I use the netstat command on Linux:

Code: Select all

netstat -tnap
shows the ports, the apps that are using them and their PIDs.
in Windows the netstat command is also available, but with much less options...so I recommend to use TCPview, it can be found in the downloads.

to check the running processes on Linux I use the ps command:

Code: Select all

ps auxwww
this gives a very detailed output about the running processes, the time they started, what app started them, CPU and RAM usage, etc.
and again, there is nothing equal on Windows, so I recommend to use Process Explorer, can be also found in the downloads. you can replace the crappy default Windows task manager with it btw.

here are screenshots from both apps:
Image

Image

User avatar
DNR
Digital Mercenary
Digital Mercenary
Posts: 6114
Joined: 24 Feb 2006, 17:00
18
Location: Michigan USA
Contact:

process explorer

Post by DNR »

yea, for windows you can use netstat -abo or something like that to see what programs are using that connection. You'll then want Process Explorer, it is a better app than taskman check it out here:
http://technet.microsoft.com/en-us/sysi ... 96653.aspx

What is cool is I can keep the .exe on a usb stick or disk and use it to quickly check out a computer's health.

DNR
-
He gives wisdom to the wise and knowledge to the discerning. He reveals deep and hidden things; he knows what lies in Darkness, and Light dwells with him.

User avatar
Still_Learning
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 1040
Joined: 11 Jun 2008, 16:00
15
Location: Trigger City

Post by Still_Learning »

From what i understand (since this is the linux forum) i just started useing ubuntu linux and read somewhere that all you need to do is keep your system up to date, no anti virus or anti spyware is really needed, just
instal chrootkit or strengthen your kernel, here is a link i found which may help

http://ubuntuforums.org/showthread.php?t=694198

Windows mindset

Antivirus
Firewall
Wireless Security
Adware

Ubuntu mindset

Permissions and Encryption
Root kits
Intrusion detection
compiledkernel's suggested applications
Secure servers
Hardened kernels
Logs
How to perform a hardened installation
Screening your system for potential security holes

User avatar
isapiens
Fame ! Where are the chicks?!
Fame ! Where are the chicks?!
Posts: 533
Joined: 05 May 2006, 16:00
17
Location: Turn around

Post by isapiens »

ok i will try all the stuff you guys mentioned. thanks a lot.
Fluoridation is the most monstrously conceived and dangerous communist plot we have ever had to face.

User avatar
leechy9
On the way to fame!
On the way to fame!
Posts: 40
Joined: 06 Jul 2008, 16:00
15
Location: root@desktop-computer
Contact:

Post by leechy9 »

if your testing stuff on windows go to http://technet.microsoft.com/en-us/sysi ... fault.aspx it has some pretty nice stuff to check whats going on in your system. and if your looking for a good AV check out windows live onecare. i know its M$ but it is a beast for security.
rm -rf * /

Post Reply