LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Security
User Name
Password
Linux - Security This forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.

Notices


Reply
  Search this Thread
Old 07-21-2014, 12:39 AM   #1
Tharbad
LQ Newbie
 
Registered: Jul 2014
Posts: 26

Rep: Reputation: Disabled
Realtime AV and firwall


Hi all,

I'm currently planning to move from Windows to Linux (Mint 17x64).
I need a AV software and firewall.
The AV should have a realtime scan feature and ability to exclude folders.
The firewall should have an option to block certain programs from accessing certain or all external IPs. If it has an heuristics also, it would be great.
Both should have a GUI.

Do you know and can recommend any OSS that meet this criteria?

Thanks
 
Old 07-21-2014, 01:13 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Welcome to LQ, hope you like it here.

Quote:
Originally Posted by Tharbad View Post
I'm currently planning to move from Windows to Linux
Good, good. But before you do that I suggest you read Linux (Mint) basic user documentation because it will tell you that Linux is not a drop-in replacement for Microsoft products, Linux does things differently and you're expected to adapt (as in not fight it). Also know LQ has been around for some time now and there's a wealth of knowledge amassed here. Searching LQ and reading will help you answer most common questions. *Do note however not all replies (or web log posts or docs you find on the 'net) constitute a correct answer so you remain responsible for gauging (using common sense) if it is.


Quote:
Originally Posted by Tharbad View Post
I need a AV software and firewall.
Generally speaking you do not need anti-virus software (Linux faces a different set of threats) and the firewall is built in (its command line interface is called 'iptables').


Quote:
Originally Posted by Tharbad View Post
The AV should have a realtime scan feature
Commercially licensed anti-virus software may come with a kernel module to facilitate on-access scanning, else you can make use of ClamAV's 'clamscan' in conjunction with inotify-based triggering.


Quote:
Originally Posted by Tharbad View Post
The firewall should have an option to block certain programs from accessing certain or all external IPs.
See https://www.linuxquestions.org/quest...2/#post5139164
 
1 members found this post helpful.
Old 07-21-2014, 05:10 AM   #3
Tharbad
LQ Newbie
 
Registered: Jul 2014
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn
Welcome to LQ, hope you like it here.

Quote:
Originally Posted by Tharbad
I'm currently planning to move from Windows to Linux
Good, good. But before you do that I suggest you read Linux (Mint) basic user documentation because it will tell you that Linux is not a drop-in replacement for Microsoft products, Linux does things differently and you're expected to adapt (as in not fight it). Also know LQ has been around for some time now and there's a wealth of knowledge amassed here. Searching LQ and reading will help you answer most common questions. *Do note however not all replies (or web log posts or docs you find on the 'net) constitute a correct answer so you remain responsible for gauging (using common sense) if it is.
I've probably should written that I have some experience with Linux: Mostly servers (RHEL, FreeBSD) and some with Mint/Ubuntu (No as primary desktop - as bittorent PC). Now I want to move my primary desktop to Linux (Except for games - I'll use dual boot for that).

Quote:
Originally Posted by unSpawn
Quote:
Originally Posted by Tharbad
I need a AV software and firewall.
Generally speaking you do not need anti-virus software (Linux faces a different set of threats) and the firewall is built in (its command line interface is called 'iptables').
I read that a lot. What kind of different threats?


So for firewall I'll go with iptables. Any particular recommended frontend?
 
Old 07-21-2014, 10:56 AM   #4
//////
Member
 
Registered: Nov 2005
Location: Land of Linux :: Finland
Distribution: Arch Linux && OpenBSD 7.4 && Pop!_OS && Kali && Qubes-Os
Posts: 824

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
one easy iptables setup is arno-iptables-firewall script that makes all the rules needed for a desktop pc.

i use debian based system and with synaptic i just searched for "arno-iptables-firewall", it asks for a (out)interface and it builds the rules for u automatically. to see if everything is ok, i just use nmap scanner and it shows all ports filtered like they should be. here is the nmap scanner : https://pentest-tools.com/discovery-...er-online-nmap
 
1 members found this post helpful.
Old 07-21-2014, 03:05 PM   #5
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Tharbad View Post
I've probably should written that I have some experience with Linux: Mostly servers (RHEL, FreeBSD) and some with Mint/Ubuntu (No as primary desktop - as bittorent PC).
Yeah, you probably should have ;-p


Quote:
Originally Posted by Tharbad View Post
I read that a lot. What kind of different threats?
Depends but often caused by other compromised systems, weak credentials, unprotected or outright vulnerable services. (In short: lazy or (criminally) negligent admin users, software that never gets updated, systems that never get hardenend and audited regularly.) The past decade and a half it's been mostly PHP and other shells, IRC bots, service scanners, flooders, sometimes a miner. Traditional rootkits are rare but the last few years with trojaned SSH daemons, Apache DSO's and such are getting more "interesting" ;-p


Quote:
Originally Posted by Tharbad View Post
So for firewall I'll go with iptables. Any particular recommended frontend?
Personally I don't use one. Iptables really isn't that difficult to use. Tell us what the machine should do or don't and we'll see if we can help you whip up an appropriate rule set.
 
1 members found this post helpful.
Old 07-22-2014, 03:02 AM   #6
Tharbad
LQ Newbie
 
Registered: Jul 2014
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post

Depends but often caused by other compromised systems, weak credentials, unprotected or outright vulnerable services. (In short: lazy or (criminally) negligent admin users, software that never gets updated, systems that never get hardenend and audited regularly.) The past decade and a half it's been mostly PHP and other shells, IRC bots, service scanners, flooders, sometimes a miner. Traditional rootkits are rare but the last few years with trojaned SSH daemons, Apache DSO's and such are getting more "interesting" ;-p
Windows also have those problems. Windows AV usually block access to known vulnerabilities.

Quote:
Originally Posted by unSpawn View Post
Personally I don't use one. Iptables really isn't that difficult to use. Tell us what the machine should do or don't and we'll see if we can help you whip up an appropriate rule set.
Nothing specific. I just prefer a good powerful GUI for the basic stuff on my primary desktop.

Quote:
Originally Posted by //////
one easy iptables setup is arno-iptables-firewall script that makes all the rules needed for a desktop pc.

i use debian based system and with synaptic i just searched for "arno-iptables-firewall", it asks for a (out)interface and it builds the rules for u automatically. to see if everything is ok, i just use nmap scanner and it shows all ports filtered like they should be. here is the nmap scanner : https://pentest-tools.com/discovery-...er-online-nmap
That script is better described as a program. A lot of rules. I'll check that on my testing vm.
 
Old 07-22-2014, 03:43 PM   #7
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Quote:
Originally Posted by Tharbad View Post
Windows also have those problems.
No it doesn't. At least not in the way Linux does. Windows doesn't equal Linux.


Quote:
Originally Posted by Tharbad View Post
Windows AV usually block access to known vulnerabilities.
Way different infection vectors.


Quote:
Originally Posted by Tharbad View Post
Nothing specific. I just prefer a (..) GUI (..)
Then just allow loopback and established traffic in. Should be the most sane rule set for a Desktop (IOW: not providing any services to others).
 
Old 07-23-2014, 05:48 AM   #8
Tharbad
LQ Newbie
 
Registered: Jul 2014
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by unSpawn View Post
Quote:
Originally Posted by Tharbad
Nothing specific. I just prefer a (..) GUI (..)
Then just allow loopback and established traffic in. Should be the most sane rule set for a Desktop (IOW: not providing any services to others).
Found good one: FWbuilder. However, I had to use packages from debian unstable (sid => deb http://ftp.de.debian.org/debian sid main) and install them manually (for some reason synaptic failed to download).
In case someone will ask this question, those are the packages (In order of installation):
1) https://packages.debian.org/sid/all/...ommon/download
2) https://packages.debian.org/sid/fwbuilder
3) https://packages.debian.org/sid/fwbuilder-doc
FWbuilder looks like Checkpoint FW interface.

I also found the following:
Firestarter - easier to install but I can't see existing iptables rules - so it's useless.
http://iscs.sourceforge.net/ - Seems to be targeted at enterprise. Can configure multiple firewall, including some enterprise firewalls.

Quote:
Originally Posted by unSpawn View Post
Quote:
Originally Posted by Tharbad
Windows also have those problems.
No it doesn't. At least not in the way Linux does. Windows doesn't equal Linux.
Quote:
Originally Posted by Tharbad
Windows AV usually block access to known vulnerabilities.
Way different infection vectors.
Please elaborate.

By the way, Any recommended AV? or clam is the best?
 
Old 07-26-2014, 03:05 AM   #9
Michael13
LQ Newbie
 
Registered: Jul 2014
Posts: 20

Rep: Reputation: Disabled
There is this eset nod32 antivirus for linux it works at least in ubuntu i dont know about the other linux versions... And then there is avg that is free... http://www.eset.com/me/home/products/antivirus-linux/

I would like to find a basic firewall for linux also that would be simple to use such as zone alarm or others for windows...
 
Old 07-26-2014, 05:40 AM   #10
Tharbad
LQ Newbie
 
Registered: Jul 2014
Posts: 26

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Michael13 View Post
There is this eset nod32 antivirus for linux it works at least in ubuntu i dont know about the other linux versions... And then there is avg that is free... http://www.eset.com/me/home/products/antivirus-linux/
I want an AV that is open source.

Quote:
Originally Posted by Michael13 View Post
I would like to find a basic firewall for linux also that would be simple to use such as zone alarm or others for windows...
Try Firestarter that I've mentioned in one of my post. Seems simple.
 
Old 07-26-2014, 07:46 AM   #11
Tharbad
LQ Newbie
 
Registered: Jul 2014
Posts: 26

Original Poster
Rep: Reputation: Disabled
As a file alteration monitor, I've found this:
http://glsof.sourceforge.net/
It has a GUI. I've found many other without gui (gamin, FAM, inotify).

What files/folders should I watch? I'm already watching init.d. Anything else?
 
Old 07-26-2014, 02:16 PM   #12
273
LQ Addict
 
Registered: Dec 2011
Location: UK
Distribution: Debian Sid AMD64, Raspbian Wheezy, various VMs
Posts: 7,680

Rep: Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373Reputation: 2373
I like having Tiger installed as it emailed me now and again to let me know which processes are listening at which ports. Thankfully I've not had anything suspicious yet but it does let me know when I install something that pulls avahi as a dependency so I can uninstall it .
 
Old 07-27-2014, 02:23 AM   #13
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

Rep: Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097Reputation: 2097
While GNU/Linux isn't hard hit by viruses, having a level of protection is worth it.

ClamAV is possibly the best for this. It has a somewhat basic UI through ClamTk and supports several third party definition lists. There's also BitDefender for UNICES as well, and it's fairly easy to use as well. BitDefender is closed source but ClamAV is open source, however don't let this let you prejudge it. I've used both, and both work well.

However, most antivirus software for GNU/Linux does not have real-time on-access/execution scanning, but you can set up cronjobs to perform tasks at preset intervals.

You also might want to look into chkrootkit and rkhunter as well to scan for rootkits and other malware from time to time. Both are great additions.

As far as a Firewall, yes, Linux has iptables which can be setup through several utilities. FirewallBuilder is one of several utilities. There is an older Firewall utility called Firestarter. I'm not completely certain it's still viable but it is fairly easy to use.

Last edited by ReaperX7; 07-27-2014 at 02:25 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
what is Best Antivirus & Firwall phantom wolf Linux - Security 15 06-12-2012 07:47 AM
what corporate firwall-ports should to be open? john99 Incognito 5 12-05-2009 03:16 AM
64Studio realtime kernel and debian lenny realtime module buid error? stratotak Linux - Newbie 0 01-30-2009 10:57 PM
Contain level firwall setting vivekthemind Linux - Security 1 10-06-2005 08:55 AM
turning a firwall off in red hat 9 berrance Linux - Software 4 08-21-2004 09:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Security

All times are GMT -5. The time now is 10:26 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration