Hi
I have been hearing that Linux is virus free and viruses cannot attack Linux boxes. Is there any technical reason why linux design will not allow viruses to attack the system. Or is it that it is pretty difficult to develop viruses or malicious programs to attack linux systems.
Annu
Yes, No, Maybe - Pick any two
Linux is "virus-free" in that there are essentially no viruses for Linux in the wild, although research viruses certainly do exist. It is also "virus-free" for much the same reason as vendors give for not porting closed-source apps to it - the number of permutations is high, so the number of machines a closed-source program will run on (unless libraries are included) is relatively low.
(Vendors don't have the excuse virus-writers have of wanting to keep the binaries small and are quite capable of supplying statically-linked binaries or the shared libraries with a suitable LD_LIBRARY_PATH - and some do.)
There are other reasons, of course. "Normal" user accounts have much more limited access to the rest of the system, so making the corruption of system binaries much harder. Many distributions provide intrusion-detection software for detecting binary changes. Distributions release regular updates, which means a virus will be overwritten in a relatively short timeframe. Mandatory access controls are becoming more popular, limiting what a virus can do even if it did infiltrate a system binary. And so on.
BIOS viruses are OS-independent and so a potentially greater threat. The flash memory is usually unscanned by virus scanners, as well. However, BIOS viruses have had something like ten years to emerge and really haven't been as much of a problem as initially predicted. With the increasing popularity of flashable firmware and "intelligent" devices and daughter cards, you'd expect to see problems there too, but that's so far not happened.
Having said that, because flash content is updated far less often, requires nothing to stay in verified areas of the system, and requires there to be only a temporary exploit, I would expect to see these becoming a problem for Linux users long before true native Linux viruses themselves will be.
"Virus free" is not true at
"Virus free" is not true at all.
However, virus (writers) have a hard(er) time in a *nix environment.
1) *nix distros don't run as admin/root by default (and you really don't need to run as admin to be productive in *nix)
2) *nix distros have secure file permissions by default. That means an "infected user" will not disrupt other users or "the system".
3) *nix approach to security is to make it the highest priority, even above usability.
4) *nix philosophy of Keep It Small and Simple makes (or at least used to make :-$ ) for modularized, cleaner, easier to maintain and more securable parts.
5) Open source and full disclosure lead to quick patches/fixes.
And I'm certainly forgetting others...
Even Viruses are scared
All the technical glitches can be overwritten by a clever programmer.. I guess if at all any virus is spread, since things are open and people have access to all the source .. immediately a cure will be available as people from all over the world closely watching it and there is a huge developer base in the bazaar .. so it is not worth spending time in writing a virus .. and another point is people will be more interested in some thing which are hidden .. other wise there is no challenge in breaking an open box .. !!!
who will pay you if you make virus for open source ?
Only thing which attracts for virus makers is money ? who is going to give you money if you make virus for open source which is totally free of any cost ? and next is its open source, so everybody can see the code where is it attacking the system so its very unwise to make a virus and it get removed within seconds.
this world revolves around money...
so the only option left is to make virus for closed systems.
for anything wrong , please correct me
Reverse Moore's Law
Anything that slows machines down (virus, spyware, etc.) causes the average "user" to have to buy a new PC eventually, because reinstalling the OS and all applications is too difficult or expensive for them. When new PC's are purchased, then Microsoft, Intel, and a lot of other companies benefit repeatedly. Microsoft has become friendly with groups like Mozilla whose bloat does not run well on older PC's to help continue this trend. If a fully functional Linux desktop ran well on really old PC's, it would be a threat.
Try installing any Linux distro. with a current Firefox 2.0.0.9 on a 266 MHz. Pentium II or below, and try to watch a Youtube video, if you dispute my statement. However, there is a good supply of acceptable, cheap, hardware for a full Linux Desktop, perhaps Pentium III - 500+ with 256 M RAM and above, with EIDE HD. Since these barely run XP now, they are a threat when installed with a Linux Desktop, so Gates/Ballmer want these headed to the landfill. Therefore, as you say "this world revolves around money", it is necessary to get bloatware into Linux (try doing online banking with the "Dillo" browser or "Lynx"), and it is also necessary to have viruses/spyware for the desktop Linux environment when it catches on. It will not be any more difficult to exploit vulnerabilities in unpatched, older Linux versions of Acrobat Reader, Flash Player Plugins, Java Runtime Environments, etc., than it is in Windows.
Actually, the $HOME Unix design Bill Gates copied (User Profiles) for Win 95+ is at the root of the weaknesses in Windows Desktop since all of a users applications can see all the other data stored by the same user's other applications. Because a lot of the community considered Linux only for use as a web server, this $HOME weakness was never addressed. And once a single user account is compromised, I've not seen a distro. that doesn't happily allow a root password cracking program to run at full speed.
so true
Thats kind of like how most cars only last a good 4-5 years until your done paying them off, then you need a new one
With the money Microsoft has they can easily make a secure platform like Linux. they just choose not to because they want to make more money
has anyone seen the amount of space/memory vista takes?
It's way too much, if your running a 1.5 ghz w 512mb of memory you can't run vista on it period
- The crazy koozie :)