Linux - SecurityThis forum is for all security related questions.
Questions, tips, system compromises, firewalls, etc. are all included here.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Linux Kernal is open source.
Will this feature be not easy for Virus writers
to write Virus and spread over all Linux Systems?.
Even without the Windows Source code,today hundred thousand
of Virus are written.
Every Virus writer aim is to attack the maximum number of
systems. As Windows has conquered the world desktops,
all virus were written for it and still continues.
Now Linux Users are increasing more and would
grow more in the near future.
Sure, the intension of Virus Programmers will turn to
Linux Sytems.
Then how can Linux be secured?
I also heard that a very few virus have been found on
some Linux systems.
There have been a lot of discussions regarding this issue. Use the search facility on this website and you will find a lot of threads which can give you some answers to your question.
virus won't run rampant on GNU/Linux like it does on windows. Here's why:
(1) Tighter ports. Windows opens a gazillion ports you don't know about (and it most likely is reluctant to tell you that it does it and *why* it does it).
(2) Permission bits: most programs can only be modified by root, which limits what the virus can spread to.
(3) It's open source. This means that security flaws are fixed faster than microsoft makes public statements.
(4) Smarter users. There are (relatively) many more people using GNU/Linux than windows that knows basic security tidbits (and generally are sceptical of `automatically download and install Evil Malware Crap version 0.02 from teh l33t h4x0r k1dd13')
No system is 100% secure
No system is 'out of the box' secure. Linux is better out of the box than windows, but both are vulnerable.
Linux pro-actively fixes security and bugs. Windows waits until users complain that a bug exists.
For Linux, fixes are usually release in a few hours. Microsoft may take a week or more to issue a bug fix.
Generally virus creator are using linux due to the 'security' it provides. So why would they try to screw up there own machine
Open source kernel. Will this feature be not easy for Virus writers to write Virus and spread over all Linux Systems?.
Well, NT4 source was release on the Internet a few years back, so all the source code is out there. It may take longer to code a virus for MS, but as you stated the intension of a virus programmer is to effect the most system. Also it is probably a personal hatred of MS. I know I hate MS.
Originally posted by jonaskoelker like has been said: search
however, I'm gonna give you a short answer:
no.
virus won't run rampant on GNU/Linux like it does on windows. Here's why:
(1) Tighter ports. Windows opens a gazillion ports you don't know about (and it most likely is reluctant to tell you that it does it and *why* it does it).
(2) Permission bits: most programs can only be modified by root, which limits what the virus can spread to.
(3) It's open source. This means that security flaws are fixed faster than microsoft makes public statements.
(4) Smarter users. There are (relatively) many more people using GNU/Linux than windows that knows basic security tidbits (and generally are sceptical of `automatically download and install Evil Malware Crap version 0.02 from teh l33t h4x0r k1dd13')
(5) Linux/*nix is forked to Hell. There are MANY MANY versions, with each using many many different versions of typical software. *nix is a moving target, constantly evolving. Kinda hard to hit a moving target.
Note that the number one threat isn't a system itself but it's applications. Coders need to be aware of security implications, preferably during the creation process.
(5) Linux/*nix is forked to Hell. There are MANY MANY versions, with each using many many different versions of typical software. *nix is a moving target, constantly evolving. Kinda hard to hit a moving target
Security by obscurity never worked.
.
Security more depends on your skills than OS.
Good MS admin can well protect windows xp but will fail with linux not knowing the system.
Security essentaially boils down to your mind set and physical access to the box with any operating system. Knowledge of how the OS works and why is much easier to understand and control in *BSD / Linunx /*nix. Tons of local documention (info, man), once you get used to it.
Originally posted by broch Security by obscurity never worked.
.
Security more depends on your skills than OS.
Good MS admin can well protect windows xp but will fail with linux not knowing the system.
No one stated Linux was obscure by nature. I was stating that it was harder to target Linux machines with viruses and such because of the many forks and variations...that has nothing to do with obscurity.
How many viruses have been observed attacking and propagating against Linux machines? A few...I can count the ones I know of on one hand. Why so little? Many linux flavors and many different versions of applications.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.