Linux malware

Linux malware includes viruses, trojans, worms and other types of malware that affect the Linux operating system. Linux, Unix and other Unix-like computer operating systems are generally regarded as very well-protected against, but not immune to, computer viruses.[1][2]

As of 2018 there had not yet been a single widespread Linux virus or malware infection of the type that is common on Microsoft Windows; this is attributable generally to the malware's lack of root access and fast updates to most Linux vulnerabilities.[2]

Linux vulnerability

Like Unix systems, Linux implements a multi-user environment where users are granted specific privileges and there is some form of access control implemented. To gain control over a Linux system or to cause any serious consequences to the system itself, the malware would have to gain root access to the system.[2]

In the past, it has been suggested that Linux had so little malware because its low market share made it a less profitable target. Rick Moen, an experienced Linux system administrator, counters that:

[That argument] ignores Unix's dominance in a number of non-desktop specialties, including Web servers and scientific workstations. A virus/trojan/worm author who successfully targeted specifically Apache httpd Linux/x86 Web servers would both have an extremely target-rich environment and instantly earn lasting fame, and yet it doesn't happen.[3]

In 2008 the quantity of malware targeting Linux was noted as increasing. Shane Coursen, a senior technical consultant with Kaspersky Lab, said at the time, "The growth in Linux malware is simply due to its increasing popularity, particularly as a desktop operating system ... The use of an operating system is directly correlated to the interest by the malware writers to develop malware for that OS."[4]

Tom Ferris, a researcher with Security Protocols, commented on one of Kaspersky's reports, stating, "In people's minds, if it's non-Windows, it's secure, and that's not the case. They think nobody writes malware for Linux or Mac OS X. But that's not necessarily true,"[4]

Some Linux users do run Linux-based anti-virus software to scan insecure documents and email which comes from or is going to Windows users. SecurityFocus's Scott Granneman stated:

...some Linux machines definitely need anti-virus software. Samba or NFS servers, for instance, may store documents in undocumented, vulnerable Microsoft formats, such as Word and Excel, that contain and propagate viruses. Linux mail servers should run AV software in order to neutralize viruses before they show up in the mailboxes of Outlook and Outlook Express users.[1]

Because they are predominantly used on mail servers which may send mail to computers running other operating systems, Linux virus scanners generally use definitions for, and scan for, all known viruses for all computer platforms. For example, the open source ClamAV "Detects ... viruses, worms and trojans, including Microsoft Office macro viruses, mobile malware, and other threats."[5]

Viruses and trojan horses

The viruses listed below pose a potential, although minimal, threat to Linux systems. If an infected binary containing one of the viruses were run, the system would be temporarily infected, as the Linux kernel is memory resident and read-only. Any infection level would depend on which user with what privileges ran the binary. A binary run under the root account would be able to infect the entire system. Privilege escalation vulnerabilities may permit malware running under a limited account to infect the entire system.

It is worth noting that this is true for any malicious program that is run without special steps taken to limit its privileges. It is trivial to add a code snippet to any program that a user may download and let this additional code download a modified login server, an open mail relay, or similar program, and make this additional component run any time the user logs in. No special malware writing skills are needed for this. Special skill may be needed for tricking the user to run the (trojan) program in the first place.

The use of software repositories significantly reduces any threat of installation of malware, as the software repositories are checked by maintainers, who try to ensure that their repository is malware-free. Subsequently, to ensure safe distribution of the software, checksums are made available. These make it possible to reveal modified versions that may have been introduced by e.g. hijacking of communications using a man-in-the-middle attack or via a redirection attack such as ARP or DNS poisoning. Careful use of these digital signatures provides an additional line of defense, which limits the scope of attacks to include only the original authors, package and release maintainers and possibly others with suitable administrative access, depending on how the keys and checksums are handled.

Worms and targeted attacks

The classical threat to Unix-like systems are vulnerabilities in network daemons, such as SSH and web servers. These can be used by worms or for attacks against specific targets. As servers are patched quite quickly when a vulnerability is found, there have been only a few widespread worms of this kind. As specific targets can be attacked through a vulnerability that is not publicly known there is no guarantee that a certain installation is secure. Also servers without such vulnerabilities can be successfully attacked through weak passwords.

Web scripts

Linux servers may also be used by malware without any attack against the system itself, where e.g. web content and scripts are insufficiently restricted or checked and used by malware to attack visitors. Some attacks use complicated malware to attack Linux servers, but when most get full root access then hackers are able to attack by[6] modifying anything like replacing binaries or injecting modules. This may allow the redirection of users to different content on the web.[7] Typically, a CGI script meant for leaving comments, could, by mistake, allow inclusion of code exploiting vulnerabilities in the web browser.

Buffer overruns

Older Linux distributions were relatively sensitive to buffer overrun attacks: if the program did not care about the size of the buffer itself, the kernel provided only limited protection, allowing an attacker to execute arbitrary code under the rights of the vulnerable application under attack. Programs that gain root access even when launched by a non-root user (via the setuid bit) were particularly attractive to attack. However, as of 2009 most of the kernels include address space layout randomization (ASLR), enhanced memory protection and other extensions making such attacks much more difficult to arrange.

Cross-platform viruses

An area of concern identified in 2007 is that of cross-platform viruses, driven by the popularity of cross-platform applications. This was brought to the forefront of malware awareness by the distribution of an OpenOffice.org virus called Badbunny.

Stuart Smith of Symantec wrote the following:

What makes this virus worth mentioning is that it illustrates how easily scripting platforms, extensibility, plug-ins, ActiveX, etc, can be abused. All too often, this is forgotten in the pursuit to match features with another vendor... The ability for malware to survive in a cross-platform, cross-application environment has particular relevance as more and more malware is pushed out via Web sites. How long until someone uses something like this to drop a JavaScript infecter on a Web server, regardless of platform?[8]

Social engineering

As is the case with any operating system, Linux is vulnerable to malware that tricks the user into installing it through social engineering. In December 2009 a malicious waterfall screensaver that contained a script that used the infected Linux PC in denial-of-service attacks was discovered.[9]

Anti-virus applications

The ClamTk GUI for ClamAV running a scan on Ubuntu 8.04 Hardy Heron

There are a number of anti-virus applications available which will run under the Linux operating system. Most of these applications are looking for exploits which could affect users of Microsoft Windows.


For Microsoft Windows-specific threats

These applications are useful for computers (typically, servers) which will pass on files to MS Windows users. They do not look for Linux-specific threats.

For Linux-specific threats

These applications look for actual threats to the Linux computers on which they are running.

Linux malware can also be detected (and analyzed) using memory forensics tools, such as the following.

Threats

The following is a partial list of known Linux malware. However, few if any are in the wild, and most have been rendered obsolete by Linux updates or were never a threat. Known malware is not the only or even the most important threat: new malware or attacks directed to specific sites can use vulnerabilities previously unknown to the community or unused by malware.

Botnets

  • Mayhem - 32/64-bit Linux/FreeBSD multifunctional botnet[36]
  • Linux.Remaiten - A threat targeting the Internet of Things.[37][38][39]
  • Mirai (malware) - A DDoS botnet spreads through telnet service and designed to infect Internet of Things (IoT).[40][41][42][43][44]
  • GafGyt/BASHLITE/Qbot - A DDoS botnet spreads through SSH and Telnet service weak passwords, firstly discovered during bash Shellshock vulnerability.[45]
  • LuaBot - A botnet coded with modules component in Lua programming language, cross-compiled in C wrapper with LibC, it aims for Internet of Things in ARM, MIPS and PPC architectures, with the usage to DDoS, spreads Mirai (malware) or selling proxy access to the cyber crime.[46][47]
  • Hydra,[48] Aidra,[49] LightAidra[50] and NewAidra[51] - Another form of a powerful IRC botnet that infects Linux boxes.
  • EnergyMech 2.8 overkill mod (Linux/Overkill) - A long last botnet designed to infect servers with its bot and operated through IRC protocol for the DDoS and spreading purpose.[52]

Ransomware

Rootkits

Trojans

  • Effusion - 32/64-bit injector for Apache/Nginx webservers, (7 Jan 2014)[56]
  • Hand of Thief - Banking trojan, 2013,[57][58]
  • Kaiten - Linux.Backdoor.Kaiten trojan horse[59]
  • Rexob - Linux.Backdoor.Rexob trojan[60]
  • Waterfall screensaver backdoor - on gnome-look.org[61]
  • Tsunami.gen Backdoor.Linux.Tsunami.gen[62]
  • Turla HEUR:Backdoor.Linux.Turla.gen[63][64]
  • Xor DDoS[65] A Trojan malware that hijacks Linux systems and uses them to launch DDoS attacks which have reached loads of 150+ Gbps.[66]
  • Hummingbad - has infected over 10 million Android operating systems. User details are sold and adverts are tapped on without the user's knowledge thereby generating fraudulent advertising revenue.[67]
  • NyaDrop - a small Linux backdoor compiled from a Linux shellcode to be used to infect Linux boxes with bigger size Linux malware.[68]
  • PNScan - Linux trojan designed to aim routers and self-infecting to a specific targeted network segment in a worm-like form[69]

Viruses

Worms

See also

References

  1. 1 2 Granneman, Scott (October 2003). "Linux vs. Windows Viruses". Retrieved 2008-03-06.
  2. 1 2 3 Yeargin, Ray (July 2005). "The short life and hard times of a linux virus". Archived from the original on 1 May 2008. Retrieved 2015-12-06.
  3. "Virus Department". Retrieved 2015-12-24.
  4. 1 2 Patrizio, Andy (April 2006). "Linux Malware On The Rise". Retrieved 2008-03-08.
  5. ClamAV (2010). "Clam AntiVirus 0.96 User Manual" (PDF). Retrieved 2011-02-22.
  6. Prince, Brian (5 January 2013). "Stealthy Apache Exploit Redirects Victims to Blackhole Malware".
  7. Prince, Brian (May 1, 2013). "Stealthy Apache Exploit Redirects Victims to Blackhole Malware". eWeek. Retrieved Nov 19, 2014.
  8. 1 2 Smith, Stuart (June 2007). "Bad Bunny". Archived from the original on 2008-03-24. Retrieved 2008-02-20.
  9. Kissling, Kristian (December 2009). "Malicious Screensaver: Malware on Gnome-Look.org". Retrieved 2009-12-12.
  10. "Discontinuation of Antivirus solutions for Linux systems on June 30th 2016".
  11. Comodo Group (2015). "Comodo Antivirus for Linux". Retrieved 17 October 2012.
  12. "ClamAV". Retrieved 2011-02-22.
  13. "Dr.Web anti-virus for Linux". Dashke. Retrieved 2010-05-25.
  14. FRISK Software International (2011). "F-PROT Antivirus for Linux x86 / BSD x86". Retrieved 13 December 2011.
  15. "Kaspersky Linux Security - Gateway, mail and file server, workstation protection for Linux/FreeBSD". Kaspersky Lab. Retrieved 2009-02-11.
  16. "McAfee VirusScan Enterprise for Linux". McAfee. Retrieved 2012-12-27.
  17. "Panda Security Antivirus Protection for Linux". Panda Security. Retrieved 2009-01-13.
  18. Symantec (January 2009). "System requirements for Symantec AntiVirus for Linux 1.0". Archived from the original on 2007-04-29. Retrieved 2009-03-07.
  19. "Chkrootkit".
  20. "ClamAV".
  21. "COMODO Antivirus for Linux (CAVL) v1.1.268025.1 is released!". comodo.com. 2013-02-28. Retrieved 2014-06-12.
  22. "Dr.Web anti-virus for Linux". Dashke. Retrieved 2010-05-25.
  23. "ESET File Security - Antivirus Protection for Linux, BSD, and Solaris". Eset. Retrieved 2008-10-26.
  24. "ESET Mail Security - Linux, BSD, and Solaris mail server protection". Eset. Archived from the original on 2008-05-12. Retrieved 2008-10-26.
  25. "ESET NOD32 Antivirus for Linux Gateway Devices". Eset. Archived from the original on 2008-05-10. Retrieved 2008-10-26.
  26. "ESET NOD32 Antivirus 4 for Linux Desktop". Eset. Retrieved 2014-06-12.
  27. https://www.rfxn.com/projects/linux-malware-detect/ R-fx Networks project page of LMD
  28. "Root Kit Hunter". Archived from the original on 2013-03-05.
  29. "Botnets, a free tool and 6 years of Linux/Rst-B | Naked Security". Nakedsecurity.sophos.com. 2008-02-13. Retrieved 2013-08-11.
  30. "Sophos AV for Linux".
  31. "Lynis".
  32. "Lynis Github".
  33. "Second Look".
  34. volatilesystems.com Archived 2011-02-17 at the Library of Congress Web Archives
  35. "Volatility".
  36. Kovalev et al (17 July 2014), Mayhem – a hidden threat for *nix web servers, Virus Bulletin
  37. "Meet Remaiten - a Linux bot on steroids targeting routers and potentially other IoT devices". We Live Security. Retrieved 3 April 2016.
  38. "Threat Detail - ESET Virusradar". virusradar.com. Retrieved 3 April 2016.
  39. Mohit Kumar (31 March 2016). "Advanced Malware targeting Internet of the Things and Routers". The Hacker News. Retrieved 3 April 2016.
  40. njccic (December 28, 2016). "Mirai Botnet". The New Jersey Cybersecurity and Communications Integration Cell (NJCCIC). Retrieved 28 December 2016.
  41. Krebs, Brian (September 21, 2016). "KrebsOnSecurity Hit With Record DDoS". Brian Krebs. Retrieved 17 November 2016.
  42. Hackett, Robert (October 3, 2016). "Why a Hacker Dumped Code Behind Colossal Website-Trampling Botnet". Fortune.com. Retrieved 19 October 2016.
  43. Newman, Lily Hay. "What We Know About Friday's Massive East Coast Internet Outage". WIRED. Retrieved 2016-10-21.
  44. "Dyn | crunchbase". www.crunchbase.com. Retrieved 2016-10-23.
  45. Liam Tung (September 25, 2014). "First attacks using shellshock Bash bug discovered". ZDNet. Retrieved 25 September 2014.
  46. Catalin Cimpanu (September 5, 2016). "LuaBot Is the First DDoS Malware Coded in Lua Targeting Linux Platforms". Softpedia. Retrieved 5 September 2016.
  47. Catalin Cimpanu (September 17, 2016). "LuaBot Author Says His Malware Is "Not Harmful"". Softpedia. Retrieved 17 September 2016.
  48. Infodox (June 12, 2012). "Hydra IRC bot, the 25 minute overview of the kit". Insecurety Research. Retrieved 12 June 2012.
  49. Dan Goodin (March 21, 2013). "Guerilla researcher created epic botnet to scan billions of IP addresses". Ars Technica. Retrieved 21 March 2013.
  50. John Leyden (September 9, 2014). "Use home networking kit? DDoS bot is BACK... and it has EVOLVED". The Register. Retrieved 9 September 2014.
  51. John Leyden (October 31, 2016). "A successor to Mirai? Newly discovered malware aims to create fresh IoT botnet". The Register. Retrieved 31 October 2016.
  52. unixfreaxjp (November 28, 2016). "MMD-0061-2016 - EnergyMech 2.8 Overkill Mod". MalwareMustDie. Retrieved 28 November 2016.
  53. "Linux.Encoder.1". drweb.com. Retrieved 10 November 2015.
  54. Lucian Constantin (10 November 2015). "First Linux ransomware program cracked, for now". Computerworld. Retrieved 10 November 2015.
  55. Leyden, John ( 21 November 2012), Evildoers can now turn all sites on a Linux server into silent hell-pits, The Register, retrieved 21 November 2012
  56. Kovalev et al Effusion – a new sophisticated injector for Nginx web servers, Virus Bulletin
  57. rsa.com. "Thieves Reaching for Linux—"Hand of Thief" Trojan Targets Linux #INTH3WILD » Speaking of Security - The RSA Blog and Podcast". Blogs.rsa.com. Archived from the original on 2013-08-15. Retrieved 2013-08-11.
  58. Vaughan, Steven J. "Linux desktop Trojan 'Hand of Thief' steals in". ZDNet. Retrieved 2013-08-11.
  59. Florio, Elia (February 2006). "Linux.Backdoor.Kaiten". Retrieved 2008-03-08.
  60. Florio, Elia (December 2007). "Linux.Backdoor.Rexob". Retrieved 2008-03-08.
  61. Vervloesem, Koen (December 2009). "Linux malware: an incident and some solutions". Retrieved 2010-09-16.
  62. "Backdoor.Linux.Tsunami.gen". Securelist. Retrieved 2014-05-09.
  63. "The 'Penquin' Turla - Securelist". securelist.com. Retrieved 10 November 2015.
  64. Joey-Elijah Sneddon. "Yes, This Trojan Infects Linux. No, It's Not The Tuxpocalypse - OMG! Ubuntu!". OMG! Ubuntu!. Retrieved 10 November 2015.
  65. unixfreaxjp.wirehack7,shibumi (September 29, 2014). "Linux/XOR.DDoS : Fuzzy reversing a new China ELF". MalwareMustDie. Retrieved 29 September 2014.
  66. Akamai Technologies (29 September 2015). "OR DDoS Botnet Launching 20 Attacks a Day From Compromised Linux Machines, Says Akamai". Retrieved 18 March 2016.
  67. Samuel Gibbs. "HummingBad malware infects 10m Android devices". Retrieved 2016-07-06.
  68. David Bisson (October 17, 2016). "NyaDrop exploiting Internet of Things insecurity to infect Linux devices with malware". Graham Culey. Retrieved 17 October 2016.
  69. Catalin Cimpanu (August 25, 2016). "PNScan Linux Trojan Resurfaces with New Attacks Targeting Routers in India". Softpedia. Retrieved 25 August 2016.
  70. herm1t (August 2008). "Linux.42: Using CRC32B (SSE4.2) instruction in polymorphic decryptor". Archived from the original on 2012-02-27.
  71. Ferrie, Peter (September 2008). "Life, the Universe, and Everything".
  72. herm1t (August 2006). "Infecting ELF-files using function padding for Linux". Archived from the original on 22 January 2012.
  73. Kaspersky Lab (May 2007). "Virus.Linux.Alaeda". Archived from the original on 13 July 2009. Retrieved 2008-03-08.
  74. McAfee (December 2004). "Linux/Binom". Archived from the original on 2005-01-24. Retrieved 2008-03-08.
  75. Rieck, Konrad and Konrad Kretschmer (August 2001). "Brundle Fly 0.0.1 - A Good-Natured Linux ELF Virus". Archived from the original on May 14, 2008. Retrieved 2008-03-08.
  76. de Almeida Lopes, Anthony (July 2007). "Project Bukowski". Retrieved 2008-03-08.
  77. herm1t (February 2008). "Caveat virus".
  78. Ferrie, Peter (July 2009). "Can you spare a seg?". Archived from the original on 2012-01-17.
  79. herm1t (October 2007). "Reverse of a coin: A short note on segment alignment".
  80. Ferrie, Peter (September 2009). "Heads or tails?". Archived from the original on 2012-01-17.
  81. herm1t (October 2007). "Hashin' the elves".
  82. Ferrie, Peter (August 2009). "Making a hash of things". Archived from the original on 2012-01-17.
  83. herm1t (June 2008). "README". Archived from the original on 2012-02-06.
  84. Ferrie, Peter (February 2008). "Crimea river". Archived from the original on 2012-01-17.
  85. The Mental Driller (February 2002). "Metamorphism in practice or "How I made MetaPHOR and what I've learnt"". Archived from the original on 2007-06-02. Retrieved 2008-03-08.
  86. Kaspersky Lab (December 2001). "Virus.Linux.Nuxbee.1403". Archived from the original on 2 March 2012. Retrieved 2008-03-08.
  87. herm1t (November 2007). "INT 0x80? No, thank you!".
  88. Ferrie, Peter (September 2009). "Flying solo". Archived from the original on 2012-01-17.
  89. Ferrie, Peter (April 2007). "Linux.Podloso". Retrieved 2008-03-08.
  90. Ferrie, Peter (April 2007). "The iPod virus". Archived from the original on 2008-03-02. Retrieved 2008-03-08.
  91. herm1t (December 2009). "From position-independent to self-relocatable viral code".
  92. Kaspersky Lab (August 2003). "Virus.Linux.Rike.1627". Archived from the original on 2 March 2012. Retrieved 2008-03-08.
  93. Kaspersky Lab (January 2002). "Virus.Linux.RST.a". Archived from the original on 2007-11-07. Retrieved 2008-03-08.
  94. "The ways of viruses in Linux HOW SAFE?" (PDF). Archived from the original (PDF) on 2014-05-17. Retrieved 2009-08-21.
  95. Kaspersky Lab (March 2000). "Virus.Linux.Vit.4096". Archived from the original on November 7, 2007. Retrieved 2008-03-08.
  96. Kaspersky Lab (October 2000). "Virus.Linux.Winter.341". Archived from the original on 2007-11-10. Retrieved 2008-03-08.
  97. Rautiainen, Sami; et al. (March 2001). "F-Secure Virus Descriptions: Lindose". Archived from the original on June 21, 2008. Retrieved 2008-03-08.
  98. "The Wit Virus: A virus built on the ViT ELF virus" (PDF). Retrieved 2008-12-31.
  99. TMZ (January 2015). "Linux.Zariche - ESET Virusradar".
  100. Kaspersky Lab (January 2001). "Virus.Linux.ZipWorm". Archived from the original on 13 July 2009. Retrieved 2008-03-08.
  101. Kaspersky Lab (May 2001). "Net-Worm.Linux.Adm". Archived from the original on 2007-10-30. Retrieved 2008-03-08.
  102. Rautiainen, Sami (April 2001). "F-Secure Virus Descriptions: Adore". Retrieved 2008-03-08.
  103. Smith, Stuart (May 2007). "Perl.Badbunny". Retrieved 2008-03-08.
  104. Kaspersky Lab (May 2001). "Net-Worm.Linux.Cheese". Archived from the original on 2007-10-28. Retrieved 2008-03-08.
  105. Rautiainen, Sami (April 2001). "F-Secure Virus Descriptions: Kork". Retrieved 2008-03-08.
  106. Mohit Kumar (2013-11-30). "Linux worm targeting Routers, Set-top boxes and Security Cameras with PHP-CGI Vulnerability". The Hacker News. Retrieved 2013-12-04.
  107. Joe Casad (3 December 2013). "New Worm Attacks Linux Devices". Linux Magazine. Retrieved 4 December 2013.
  108. McAfee (June 2005). "Linux/Lupper.worm Description". Archived from the original on 2005-11-24. Retrieved 2010-10-10.
  109. Kaspersky Lab (October 2002). "Net-Worm.Linux.Mighty". Archived from the original on 2007-11-07. Retrieved 2008-03-08.
  110. Perriot, Frederic (February 2007). "Linux.Millen.Worm". Retrieved 2008-03-08.
  111. Rautiainen, Sami; et al. (September 2002). "F-Secure Virus Descriptions: Slapper". Retrieved 2008-03-08.
  112. Voss, Joel (December 2007). "SSH Bruteforce Virus by AltSci Concepts". Retrieved 2008-03-13.
This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.