Software:Mirai (malware)

From HandWiki
Revision as of 08:57, 9 February 2024 by MainAI5 (talk | contribs) (add)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Short description: Malware that turns computer systems running Linux into remotely controlled "bots"
Mirai
Original author(s)Paras Jha, Josiah White and Dalton Norman
Written inC (agent), Go (controller)
Operating systemLinux
TypeBotnet
LicenseGNU General Public License v3.0

Mirai (from the Japanese word for "future", 未来) is malware that turns networked devices running Linux into remotely controlled bots that can be used as part of a botnet in large-scale network attacks. It primarily targets online consumer devices such as IP cameras and home routers.[1] The Mirai botnet was first found in August 2016[2] by MalwareMustDie,[3] a white hat malware research group, and has been used in some of the largest and most disruptive distributed denial of service (DDoS) attacks, including an attack on 20 September 2016[4] on computer security journalist Brian Krebs' website, an attack on French web host OVH,[5] and the October 2016 Dyn cyberattack.[6][7] According to a chat log between Anna-senpai (the malware's original author) and Robert Coelho, Mirai was named after the 2011 TV anime series Mirai Nikki.[8]

The software was initially used by the creators to DDoS Minecraft servers and companies offering DDoS protection to Minecraft servers, with the authors using Mirai to operate a protection racket.[9] The source code for Mirai was subsequently published on Hack Forums as open-source.[10] Since the source code was published, the techniques have been adapted in other malware projects.[11][12]

Malware

Devices infected by Mirai continuously scan the internet for the IP address of Internet of things (IoT) devices. Mirai includes a table of IP address ranges that it will not infect, including private networks and addresses allocated to the United States Postal Service and Department of Defense.[13]

Mirai then identifies vulnerable IoT devices using a table of more than 60 common factory default usernames and passwords, and logs into them to infect them with the Mirai malware.[5][14][15] Infected devices will continue to function normally, except for occasional sluggishness,[14] and an increased use of bandwidth. A device remains infected until it is rebooted, which may involve simply turning the device off and after a short wait turning it back on. After a reboot, unless the login password is changed immediately, the device will be reinfected within minutes.[14] Upon infection Mirai will identify any "competing" malware, remove it from memory, and block remote administration ports.[16]

Victim IoT devices are identified by “first entering a rapid scanning phase where it asynchronously and “statelessly” sent TCP SYN probes to pseudo-random IPv4 addresses, excluding those in a hard-coded IP blacklist, on telnet TCP ports 23 and 2323”.[17] If an IoT device responds to the probe, the attack then enters into a brute-force login phase. During this phase, the attacker tries to establish a telnet connection using predetermined username and password pairs from a list of credentials. Most of these logins are default usernames and passwords from the IoT vendor. If the IoT device allows the Telnet access, the victim's IP, along with the successfully used credential is sent to a collection server.

There are a large number of IoT devices which use default settings, making them vulnerable to infection. Once infected, the device will monitor a command and control server which indicates the target of an attack.[14] The reason for the use of the large number of IoT devices is to bypass some anti-DoS software which monitors the IP address of incoming requests and filters or sets up a block if it identifies an abnormal traffic pattern, for example, if too many requests come from a particular IP address. Other reasons include to be able to marshall more bandwidth than the perpetrator can assemble alone, and to avoid being traced.

Mirai as an Internet of things (IoT) devices threat has not been stopped after the arrest of the actors [citation needed]. Some believe that other actors are utilizing the Mirai malware source code on GitHub to evolve Mirai into new variants. They speculate that the goal is to expand its botnet node to many more IoT devices. The detail of the recent progress of these variants is listed in the following paragraphs.

On 12 December 2017, researchers identified a variant of Mirai exploiting a zero-day flaw in Huawei HG532 routers to accelerate Mirai botnets infection,[18] implementing two known SOAP related exploits on routers web interface, CVE-2014–8361 and CVE-2017–17215. This Mirai version is called "Satori".

On 14 January 2018, a new variant of Mirai dubbed “Okiru”, the Japanese word for "get up," already targeting popular embedded processor like ARM, MIPS, x86, PowerPC[19] and others was found targeting ARC processors based Linux devices[20] for the first time. Argonaut RISC Core processor (shorted: ARC processors) is the second-most-popular embedded 32 bit processor, shipped in more than 1.5 billion products per year, including desktop computers, servers, radio, cameras, mobile, utility meters, televisions, flash drives, automotive, networking devices (smart hubs, TV modems, routers, wifi) and Internet of Things. Only a relatively small number of ARC-based devices run Linux and are therefore exposed to Mirai.

On 18 January 2018, a successor of Mirai is reported to be designed to hijack cryptocurrency mining operations.[21]

On 26 January 2018, two similar Mirai variant botnets were reported, the more modified version of which weaponizes EDB 38722 D-Link router's exploit to enlist further vulnerable IoT devices. The vulnerability in the router's Home Network Administration Protocol (HNAP) is utilized to craft a malicious query to exploited routers that can bypass authentication, to then cause an arbitrary remote code execution. The less modified version of Mirai is called "Masuta" (after the Japanese transliteration of "Master"), while the more modified version is called "PureMasuta".[22]

In March 2018, a new variant of Mirai, dubbed as "OMG", has emerged to surface with added configurations to target vulnerable IoT devices and turning them into proxy servers. New firewall rules that allow traffic to travel through the generated HTTP and SOCKS ports were added configurations to the Mirai code. Once these ports are open to traffic, OMG sets up 3proxy – open-source software available on a Russia n website.[23]

Between May and June 2018, another variant of Mirai, dubbed as "Wicked", has emerged with added configurations to target at least three additional exploits including those affecting Netgear routers and CCTV-DVRs. Wicked scans ports 8080, 8443, 80, and 81 and attempts to locate vulnerable, unpatched IoT devices running on those ports. Researchers suspect the same author created the Wicked, Sora, Owari, and Omni botnets.[24][25]

In early July 2018 it was reported at least thirteen versions of Mirai malware has been detected actively infecting Linux Internet of things (IoT) in the internet, and three of them were designed to target specific vulnerabilities by using exploit proof of concept, without launching brute-forcing attack to the default credential authentication.[26] In the same month it was published a report of infection campaign of Mirai malware to Android devices through the Android Debug Bridge on TCP/5555, an optional feature in the Android operating system, though it was discovered that this feature appears to be enabled on some Android phones.[27]

At the end of 2018, a Mirai variant dubbed "Miori" started being spread through a remote code execution vulnerability in the ThinkPHP framework, affecting versions 5.0.23 to 5.1.31. This vulnerability is continuously being abused by the further evolved Mirai variants dubbed as "Hakai" and "Yowai" in January 2019, and variant "SpeakUp" in February, 2019.[28]

Use in DDoS attacks

Mirai was used, alongside BASHLITE,[29] in the DDoS attack on 20 September 2016 on the Krebs on Security site which reached 620 Gbit/s.[30] Ars Technica also reported a 1 Tbit/s attack on French web host OVH.[5]

On 21 October 2016, multiple major DDoS attacks in DNS services of DNS service provider Dyn occurred using Mirai malware installed on a large number of IoT devices, many of which were still using their default usernames and passwords.[31] These attacks resulted in the inaccessibility of several high-profile websites, including GitHub, Twitter, Reddit, Netflix, Airbnb and many others.[32] The attribution of the Dyn attack to the Mirai botnet was originally reported by Level 3 Communications.[29][33]

Mirai was later revealed to have been used during the DDoS attacks against Rutgers University from 2014 to 2016, which left faculty and students on campus unable to access the outside Internet for several days at a time. Additionally, a failure of the university's Central Authentication Service caused course registration and other services to become unavailable during critical times in the academic semester. The university reportedly spent $300,000 in consultation and increased the cyber-security budget of the university by $1 million in response to these attacks. The university cited the attacks among its reasons for the increase in tuition and fees for the 2015–2016 school year.[34] A person under the alias "exfocus" claimed responsibility for the attacks, stating in a Reddit AMA on the /r/Rutgers subreddit that the user was a student at the school and the DDoS attacks were motivated by frustrations with the university's bus system. The same user later claimed in an interview with a New Jersey-based blogger that they had lied about being affiliated with the university and that the attacks were being funded by an anonymous client. Security researcher Brian Krebs later alleged the user was indeed a student at Rutgers University and that the latter interview was given in an attempt to distract investigators.[8]

Staff at Deep Learning Security observed the steady growth of Mirai botnets before and after the 21 October attack.[35]

Mirai has also been used in an attack on Liberia's Internet infrastructure in November 2016.[36][37][38] According to computer security expert Kevin Beaumont, the attack appears to have originated from the actor which also attacked Dyn.[36]

Its DDoS attacks were also notable in Brazil, Taiwan, Costa Rica and India.[39]

Other notable incidents

At the end of November 2016, approximately 900,000 routers, from Deutsche Telekom and produced by Arcadyan, were crashed due to failed TR-064 exploitation attempts by a variant of Mirai, which resulted in Internet connectivity problems for the users of these devices.[40][41] While TalkTalk later patched their routers, a new variant of Mirai was discovered in TalkTalk routers.[42]

A British man suspected of being behind the attack was arrested at Luton Airport, according to the BBC.[43]

Identity of the author

On January 17, 2017, computer security journalist Brian Krebs posted an article on his blog, Krebs on Security, where he disclosed the name of the person who he believed to have written the malware. Krebs stated that the likely real-life identity of Anna-senpai (named after Anna Nishikinomiya, a character from Shimoneta), the author of Mirai, was actually an Indian-American Paras Jha, the owner of a DDoS mitigation service company ProTraf Solutions and a student of Rutgers University. In an update to the original article, Paras Jha responded to Krebs and denied having written Mirai.[8] The FBI was reported to have questioned Jha on his involvement in the October 2016 Dyn cyberattack.[44] On December 13, 2017, Paras Jha, Josiah White, and Dalton Norman entered a guilty plea to crimes related to the Mirai botnet.[45] The trio assisted the government with other cybersecurity investigations, and were sentenced to probation and community service without imprisonment.[46]

Daniel Kaye, 29, also known as alias "BestBuy", "Popopret" or "Spiderman", has been accused of "using an infected network of computers known as the Mirai botnet to attack and blackmail Lloyds Banking Group and Barclays banks," according to the NCA. He has been extradited from Germany to the UK according to the same report. Kaye has also pleaded guilty in court on hijacking more than 900,000 routers from the network of Deutsche Telekom.[47][48]

Researchers later pointed to the handle name "Nexus Zeta" as responsible for the author of new variants of Mirai (dubbed as Okiru, Satori, Masuta and PureMasuta),[49][50][22] and on August 21, 2018, an American grand jury indicted Kenneth Currin Schuchman, 20, aka Nexus Zeta, of knowingly causing the transmission of a program, information, code, and commands, and as result of such conduct intentionally causing damage without authorization to protected computers, according to the indictment filed in U.S. District Court in Anchorage,[51][52] followed by the arrest and trial of the suspect.[53]

In popular culture

American electronic musician and composer James Ferraro's 2018 album Four Pieces for Mirai references Mirai in its ongoing narrative.

See also

References

  1. Biggs, John (Oct 10, 2016). "Hackers release source code for a powerful DDoS app called Mirai". TechCrunch. https://techcrunch.com/2016/10/10/hackers-release-source-code-for-a-powerful-ddos-app-called-mirai/. 
  2. njccic (December 28, 2016). "Mirai Botnet". The New Jersey Cybersecurity and Communications Integration Cell (NJCCIC). https://www.cyber.nj.gov/threat-profiles/botnet-variants/mirai-botnet. 
  3. unixfreaxjp (August 31, 2016). "MMD-0056-2016 - Linux/Mirai, how an old ELF malcode is recycled". MalwareMustDie. http://blog.malwaremustdie.org/2016/08/mmd-0056-2016-linuxmirai-just.html. 
  4. Krebs, Brian (September 21, 2016). "KrebsOnSecurity Hit With Record DDoS". Brian Krebs. https://krebsonsecurity.com/2016/09/krebsonsecurity-hit-with-record-ddos/. 
  5. 5.0 5.1 5.2 Bonderud, Douglas (October 4, 2016). "Leaked Mirai Malware Boosts IoT Insecurity Threat Level". securityintelligence.com. https://securityintelligence.com/news/leaked-mirai-malware-boosts-iot-insecurity-threat-level/. 
  6. Hackett, Robert (October 3, 2016). "Why a Hacker Dumped Code Behind Colossal Website-Trampling Botnet". Fortune.com. http://fortune.com/2016/10/03/botnet-code-ddos-hacker/. 
  7. Newman, Lily Hay. "What We Know About Friday's Massive East Coast Internet Outage" (in en-US). WIRED. https://www.wired.com/2016/10/internet-outage-ddos-dns-dyn/. 
  8. 8.0 8.1 8.2 Krebs, Brian. "Who is Anna-Senpai, the Mirai Worm Author?". https://krebsonsecurity.com/2017/01/who-is-anna-senpai-the-mirai-worm-author/. 
  9. "The Mirai Botnet Was Part of a College Student Minecraft Scheme" (in en-us). Wired. ISSN 1059-1028. https://www.wired.com/story/mirai-botnet-minecraft-scam-brought-down-the-internet/. 
  10. Statt, Nick (October 21, 2016). "How an army of vulnerable gadgets took down the web today". The Verge. https://www.theverge.com/2016/10/21/13362354/dyn-dns-ddos-attack-cause-outage-status-explained. 
  11. Kan, Michael (October 18, 2016). "Hackers create more IoT botnets with Mirai source code". ITWORLD. http://www.itworld.com/article/3132570/hackers-create-more-iot-botnets-with-mirai-source-code.html. 
  12. "IoTroop Botnet: The Full Investigation - Check Point Research". 29 October 2017. https://research.checkpoint.com/iotroop-botnet-full-investigation/. 
  13. Zeifman, Igal; Bekerman, Dima (October 10, 2016). "Breaking Down Mirai: An IoT DDoS Botnet Analysis". Incapsula. https://www.incapsula.com/blog/malware-analysis-mirai-ddos-botnet.html. 
  14. 14.0 14.1 14.2 14.3 Moffitt, Tyler (October 10, 2016). "Source Code for Mirai IoT Malware Released". Webroot. https://www.webroot.com/blog/2016/10/10/source-code-mirai-iot-malware-released/. 
  15. Osborne, Charlie (October 17, 2016). "Mirai DDoS botnet powers up, infects Sierra Wireless gateways". ZDNet. http://www.zdnet.com/article/mirai-ddos-botnet-powers-up-infects-sierra-wireless-gateways/. 
  16. Xander (October 28, 2016). "DDoS on Dyn The Complete Story". ServerComparator. https://servercomparator.com/vpn/blog/dyn-mirai-ddos-complete-story. 
  17. Antonakakis, M., et al.: Understanding the Mirai botnet. In: 26th USENIX Security Symposium (USENIX Security 2017) (2017)
  18. Dan Goodin (December 12, 2017). "100,000-strong botnet built on router 0-day could strike at any time". Ars Technica. https://arstechnica.com/information-technology/2017/12/100000-strong-botnet-built-on-router-0-day-could-strike-at-any-time/. 
  19. "IoT Botnet: More Targets in Okiru's Cross-hairs". 25 January 2018. https://www.fortinet.com/blog/threat-research/iot-botnet-more-targets-in-okirus-cross-hairs.html. 
  20. Leyden, John (January 16, 2016). "New Mirai botnet species 'Okiru' hunts for ARC-based kit". www.theregister.co.uk. https://www.theregister.co.uk/2018/01/16/arc_iot_botnet_malware/. 
  21. Warwick Ashford (January 18, 2018). "Next-gen Mirai botnet targets cryptocurrency mining operations". Computer Weekly. http://www.computerweekly.com/news/450433414/Next-gen-Mirai-botnet-targets-cryptocurrency-mining-operations. 
  22. 22.0 22.1 Rene Millman (January 26, 2018). "Satori creator linked with new Mirai variant Masuta". SC Media UK. https://www.scmagazineuk.com/satori-creator-linked-with-new-mirai-variant-masuta/article/739714/. 
  23. Catalin Cimpanu (February 27, 2018). "New Mirai Variant Focuses on Turning IoT Devices into Proxy Servers". Bleeping Computer. https://www.bleepingcomputer.com/news/security/new-mirai-variant-focuses-on-turning-iot-devices-into-proxy-servers/. 
  24. Rommel Joven and Kenny Yang (May 17, 2018). "A Wicked Family of Bots". Fortinet. https://www.fortinet.com/blog/threat-research/a-wicked-family-of-bots.html. 
  25. Tara Seals (May 21, 2018). "Wicked Botnet Uses Passel of Exploits to Target IoT". Threat Post. https://threatpost.com/wicked-botnet-uses-passel-of-exploits-to-target-iot/132125/. 
  26. Malwaremustdie/Unixfreaxjp (July 7, 2018). "Mirai mirai on the wall.. how many are you now?". Imgur. https://imgur.com/a/53f29O9. 
  27. Johannes B. Ullrich (July 10, 2018). "Worm (Mirai?) Exploiting Android Debug Bridge (Port 5555/tcp)". SANS ISC InfoSec Forums. https://isc.sans.edu/forums/diary/Worm+Mirai+Exploiting+Android+Debug+Bridge+Port+5555tcp/23856/. 
  28. Satnam Narang (February 7, 2019). "ThinkPHP Remote Code Execution Vulnerability Used To Deploy Variety of Malware (CVE-2018-20062)". Tenable. https://www.tenable.com/blog/thinkphp-remote-code-execution-vulnerability-used-to-deploy-variety-of-malware-cve-2018-20062. 
  29. 29.0 29.1 "Double-dip Internet-of-Things botnet attack felt across the Internet". 21 October 2016. https://arstechnica.com/security/2016/10/double-dip-internet-of-things-botnet-attack-felt-across-the-internet/. 
  30. The Economist, 8 October 2016, The internet of stings
  31. Fruhlinger, Josh (2018-03-09). "The Mirai botnet explained: How IoT devices almost brought down the internet" (in en). https://www.csoonline.com/article/3258748/the-mirai-botnet-explained-how-teen-scammers-and-cctv-cameras-almost-brought-down-the-internet.html. 
  32. "Today the web was broken by countless hacked devices". theregister.co.uk. 21 October 2016. https://www.theregister.co.uk/2016/10/21/dyn_dns_ddos_explained/. 
  33. "Blame the Internet of Things for Destroying the Internet Today". VICE. http://motherboard.vice.com/read/blame-the-internet-of-things-for-destroying-the-internet-today. 
  34. "Former Rutgers student pleads guilty in cyber attacks" (in en). North Jersey. http://www.northjersey.com/story/news/2017/12/13/union-county-man-pleads-guilty-rutgers-cyber-attacks/949591001/. 
  35. "Think Mirai DDoS is over? It ain't!!". https://medium.com/@deeplearningsec/think-mirai-ddos-is-over-it-aint-96298a9ff896. 
  36. 36.0 36.1 McGoogan, Cara (4 November 2016). "Unprecedented cyber attack takes Liberia's entire internet down". The Telegraph. https://www.telegraph.co.uk/technology/2016/11/04/unprecedented-cyber-attack-takes-liberias-entire-internet-down/. 
  37. "DDoS attack from Mirai malware 'killing business' in Liberia". PCWorld. http://www.pcworld.com/article/3138631/security/ddos-attack-from-mirai-malware-killing-business-in-liberia.html. 
  38. "Massive cyber-attack grinds Liberia's internet to a halt". The Guardian. 3 November 2016. https://www.theguardian.com/technology/2016/nov/03/cyberattack-internet-liberia-ddos-hack-botnet. 
  39. Schwartz, Mathew J.. "Mirai Malware Is Still Launching DDoS Attacks" (in en). https://www.bankinfosecurity.com/blogs/mirai-malware-still-launching-ddos-attacks-p-2303. 
  40. Krebs, Brian (30 November 2016). "New Mirai Worm Knocks 900K Germans Offline". krebsonsecurity.com. https://krebsonsecurity.com/2016/11/new-mirai-worm-knocks-900k-germans-offline/. 
  41. "German leaders angry at cyberattack, hint at Russian involvement | Germany | DW.COM | 29.11.2016". Deutsche Welle. http://www.dw.com/en/german-leaders-angry-at-cyberattack-hint-at-russian-involvement/a-36573668. 
  42. "New Mirai Variant Embeds in TalkTalk Home Routers". https://www.incapsula.com/blog/new-variant-mirai-embeds-talktalk-home-routers.html. 
  43. "Router hacker suspect arrested at Luton Airport" (in en-GB). BBC News. 2017-02-23. https://www.bbc.com/news/technology-37510502. 
  44. Clark, Adam; Mueller, Mark (21 January 2017). "FBI questions Rutgers student about massive cyber attack". http://www.nj.com/news/index.ssf/2017/01/rutgers_student_questioned_cyber_attack.html. 
  45. Justice, Department of (13 December 2017). "Justice Department Announces Charges And Guilty Pleas In Three Computer Crime Cases Involving Significant Cyber Attacks". https://www.justice.gov/usao-nj/pr/justice-department-announces-charges-and-guilty-pleas-three-computer-crime-cases. 
  46. Shapiro, Scott (2023). Fancy Bear Goes Phishing: The dark history of the information age, in five extraordinary hacks (1st ed.). New York: Farrar, Straus and Giroux. pp. 280–281. ISBN 978-0-374-60117-1. 
  47. Brian Krebs (July 5, 2017). "Who is the GovRAT Author and Mirai Botmaster'Bestbuy'?". Krebs on Security. https://krebsonsecurity.com/2017/07/who-is-the-govrat-author-and-mirai-botmaster-bestbuy/. 
  48. Mathew J. Schwartz (August 31, 2017). "Mirai Malware Attacker Extradited From Germany to UK". Bank Info Security. https://www.bankinfosecurity.com/mirai-malware-mastermind-extradited-from-germany-to-uk-a-10247. 
  49. Check Point Research (December 21, 2017). "Huawei Home Routers in Botnet Recruitment". Check Point. https://research.checkpoint.com/good-zero-day-skiddie/. 
  50. Catalin Cimpanu (December 22, 2017). "Amateur Hacker Behind Satori Botnet". Bleeping Computer. https://www.bleepingcomputer.com/news/security/amateur-hacker-behind-satori-botnet/. 
  51. Kevin Poulsen (August 30, 2018). "Newbie Hacker Fingered for Monster Botnet". The Daily Baast. https://www.thedailybeast.com/newbie-hacker-fingered-for-monster-botnet. 
  52. Jessica Prokop (September 4, 2018). "Vancouver man charged in federal hacking case in Alaska". The Columbian. https://www.columbian.com/news/2018/sep/04/vancouver-man-charged-federal-hacking-case-alaska/. 
  53. Catalin Cimpanu (October 28, 2018). "Satori botnet author in jail again after breaking pretrial release conditions". ZD Net. https://www.zdnet.com/article/satori-botnet-author-in-jail-again-after-breaking-pretrial-release-conditions/. 

Further reading