The ways of viruses in Linux

HOW SAFE?

Article from Issue 62/2006
Author(s):

Some say an attack is looming, and others say we don’t have to worry. What’s the real story on viruses in Linux?

Linux may not be as vulnerable as Windows, but if you think Linux viruses don't exist, you’d better think again. Virus writers have any number of possibilities for passing viruses into Linux, although the damage will be limited if you’re careful and follow a few simple rules. In this article, I’ll describe some examples of how Linux viruses work, and I’ll give you some tips for keeping your system safe. A Theoretical Linux Virus Most Linux distributions come with gzexe, a small utility that compresses executable files and automatically uncompresses them when they’re started. For example, you can copy /bin/date to /tmp and run gzexe /tmp/date to compress the executable file. The size of /bin/date and /tmp/date should differ, and the latter should be noticeably smaller. Now try to run both files. Do you notice any difference?

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Virus Checkers

    So you want a virus checker? We’ll show you what we found when we toured some of the top scanners for the Linux environment.

  • KlamAV

    Linux may not be as virus-ready as Windows, but who wants to harbor pointless malware? Now you can hunt for viruses with KDE's KlamAV, a desktop front-end for the ClamAV Open Source virus protection system.

  • INFECTIONS
  • Security Lessons: ClamAV

    Protecting Windows clients from the big bad Internet.

  • Samba Antivirus

    Realtime virus scanning at the file server is an elegant and efficient option for protecting Windows clients. We’ll show you some tools and techniques for realtime scanning with Samba.

comments powered by Disqus

Direct Download

Read full article as PDF:

Viruses_in_Linux.pdf (192.57 kB)

News