{"id":2030,"date":"2022-02-18T19:03:30","date_gmt":"2022-02-19T02:03:30","guid":{"rendered":"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/?p=2030"},"modified":"2022-02-18T20:01:07","modified_gmt":"2022-02-19T03:01:07","slug":"the-p2p-botnet-fritzfrog","status":"publish","type":"post","link":"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/2022\/02\/18\/the-p2p-botnet-fritzfrog\/","title":{"rendered":"The P2P Botnet: FritzFrog"},"content":{"rendered":"\n<div class=\"wp-block-image is-style-rounded\"><figure class=\"aligncenter size-large is-resized\"><img decoding=\"async\" data-src=\"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-content\/uploads\/sites\/115\/2022\/02\/frog-1024x681.jpeg\" alt=\"\" class=\"wp-image-2054 lazyload\" width=\"1077\" height=\"716\" data-srcset=\"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-content\/uploads\/sites\/115\/2022\/02\/frog-1024x681.jpeg 1024w, https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-content\/uploads\/sites\/115\/2022\/02\/frog-300x199.jpeg 300w, https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-content\/uploads\/sites\/115\/2022\/02\/frog-768x511.jpeg 768w, https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-content\/uploads\/sites\/115\/2022\/02\/frog-600x400.jpeg 600w, https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-content\/uploads\/sites\/115\/2022\/02\/frog.jpeg 1128w\" data-sizes=\"(max-width: 1077px) 100vw, 1077px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 1077px; --smush-placeholder-aspect-ratio: 1077\/716;\" \/><figcaption>Fig 1. Lexo Salazar. <em>Photo of Green Frog on Leaf<\/em>, 2016, Pexels, <a href=\"https:\/\/www.pexels.com\/photo\/photo-of-green-frog-on-leaf-1370740\/\">www.pexels.com\/photo\/photo-of-green-frog-on-leaf-1370740\/<\/a>.<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"preamble\">Preamble<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To start off, I believe that some definitions are in order, as understanding some of the concepts FritzFrog utilizes helps paint the picture of what exactly it does. Firstly, P2P is the short form of peer-to-peer; which refers to a type of network, where two or more systems are connected (<a href=\"https:\/\/www.computerworld.com\/article\/2588287\/networking-peer-to-peer-network.html\" data-type=\"URL\" data-id=\"https:\/\/www.computerworld.com\/article\/2588287\/networking-peer-to-peer-network.html\">Computerworld<\/a>). Peers on a peer-to-peer network, can communicate with each other; more explicitly, they can transfer and relay data to and from one another (<a href=\"https:\/\/www.oxfordlearnersdictionaries.com\/definition\/english\/peer-to-peer\">Oxford<\/a>). Botnet bears a similar meaning, in the sense that it is a type of network of systems (<a href=\"https:\/\/www.trendmicro.com\/vinfo\/us\/security\/definition\/botnet\">Trend Micro<\/a>). However, each system in a botnet is infected to some degree, and any of these infected systems can be become the point of control for the attacker (<a href=\"https:\/\/www.trendmicro.com\/vinfo\/us\/security\/definition\/botnet\">Trend Micro<\/a>). A P2P botnet is the amalgamation of these two concepts. It is a network of intertwined systems that can communicate between each other, and any one of them can become the point of control without the need for an overlying control point. From this, we can see why it&#8217;s called the FritzFrog, as much like a frog, control can jump from place to place. Additionally, we can begin to understand how it is still in circulation, as the removal of it from one system, doesn&#8217;t effect it as a whole, and finding the location of the current commander is not impossible, but rather complicated. Not to mention the developers of it are able to adapt it as time progresses, to help it remain undetected. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what-does-fritzfrog-do\">What does FritzFrog do?<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">FritzFrog attempts to connect to SSH servers, and if it can connect, it drops payloads onto said system; it also adds its own SSH key to the list of keys (<a href=\"https:\/\/www.guardicore.com\/labs\/fritzfrog-a-new-generation-of-peer-to-peer-botnets\/\">Guardicore<\/a>). One of the main things installed on these systems is something known as a <a href=\"http:\/\/linuxize.com\/post\/netcat-nc-command-with-examples\/\" data-type=\"URL\" data-id=\"linuxize.com\/post\/netcat-nc-command-with-examples\/\">netcat<\/a> client. This (unfortunately) is not a virtual cat for the infected user to enjoy, but rather it takes whatever it has seen in the terminal, and sends it to the FritzFrog server. In addition to this, it attempts to run a <a href=\"https:\/\/www.getmonero.org\/\" data-type=\"URL\" data-id=\"https:\/\/www.getmonero.org\/\">Monero<\/a> cryptominer (<a href=\"https:\/\/thehackernews.com\/2022\/02\/fritzfrog-p2p-botnet-attacking.html\">The Hacker News<\/a>). This is what can be assumed to be FritzFrog&#8217;s main goal, as <a href=\"https:\/\/www.getmonero.org\/\" data-type=\"URL\" data-id=\"https:\/\/www.getmonero.org\/\">Monero<\/a> is a decentralized, and untraceable currency. Switching topics, in FritzFrog&#8217;s inception it used brute force to infect a total of 500 systems, and is currently infecting 500 per day as of January 2022 as per <a href=\"https:\/\/thehackernews.com\/2022\/02\/fritzfrog-p2p-botnet-attacking.html\">The Hacker News&#8217; article<\/a>. According to <a href=\"https:\/\/www.guardicore.com\/labs\/fritzfrog-a-new-generation-of-peer-to-peer-botnets\/\" data-type=\"URL\" data-id=\"https:\/\/www.guardicore.com\/labs\/fritzfrog-a-new-generation-of-peer-to-peer-botnets\/\">Guardicore<\/a>, it used to mask itself as ifconfig, and nginx (which are common Linux software\/tools), but now it has changed slightly, and tries to appear as apache2, and php-fpm. It is quite clear that it aims itself to infect servers running Linux, as they often have a reasonable amount of computing power due to numerous machines attached. The earlier mention of it creating a SSH key, now becomes relevant once again as we begin to talk about why it is so tricky to detect. In order to evade detection it utilizes SSH to connect to hosts (as previously mentioned), it is fileless (which is why it needs\/wants its SSH key on the system), and it uses a proprietary P2P protocol (<a href=\"https:\/\/www.guardicore.com\/labs\/fritzfrog-a-new-generation-of-peer-to-peer-botnets\/\">Guardicore<\/a>). The evolution does not stop at changing what mask it wears on systems, as it has also implemented a secure copy protocol feature, and it can even detect high-end machines (<a href=\"https:\/\/thehackernews.com\/2022\/02\/fritzfrog-p2p-botnet-attacking.html\">The Hacker News<\/a>). This, quite blatantly, adds more backing to the fact that its sole-purpose is to mine cryptocurrency, rather than to steal information or destroy systems. It seems to be hard to detect, but <a href=\"https:\/\/www.guardicore.com\/labs\/fritzfrog-a-new-generation-of-peer-to-peer-botnets\/\">Guardicore<\/a> has provided a <a href=\"https:\/\/github.com\/guardicore\/labs_campaigns\/blob\/master\/FritzFrog\/detect_fritzfrog.sh\" data-type=\"URL\" data-id=\"https:\/\/github.com\/guardicore\/labs_campaigns\/blob\/master\/FritzFrog\/detect_fritzfrog.sh\">script<\/a> to aid in the detection of this malware.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"who-is-it-attacking\">Who is it attacking?<\/h2>\n\n\n\n<div class=\"wp-block-image is-style-rounded\"><figure class=\"aligncenter size-full\"><img decoding=\"async\" width=\"979\" height=\"491\" data-src=\"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-content\/uploads\/sites\/115\/2022\/02\/map.png\" alt=\"\" class=\"wp-image-2067 lazyload\" data-srcset=\"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-content\/uploads\/sites\/115\/2022\/02\/map.png 979w, https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-content\/uploads\/sites\/115\/2022\/02\/map-300x150.png 300w, https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-content\/uploads\/sites\/115\/2022\/02\/map-768x385.png 768w\" data-sizes=\"(max-width: 979px) 100vw, 979px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 979px; --smush-placeholder-aspect-ratio: 979\/491;\" \/><figcaption>Fig 2. Guardicore. Map of infected systems, <a href=\"https:\/\/www.guardicore.com\/labs\/fritzfrog-a-new-generation-of-peer-to-peer-botnets\/\" data-type=\"URL\" data-id=\"https:\/\/www.guardicore.com\/labs\/fritzfrog-a-new-generation-of-peer-to-peer-botnets\/\">www.guardicore.com\/labs\/fritzfrog-a-new-generation-of-peer-to-peer-botnets\/<\/a>.<\/figcaption><\/figure><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">Currently, the aim seems to be large scale entities, rather than small ones. There have been many universities, colleges, healthcare institutions, and others attacked so far (<a href=\"https:\/\/thehackernews.com\/2022\/02\/fritzfrog-p2p-botnet-attacking.html\">The Hacker News<\/a>,<a href=\"https:\/\/www.guardicore.com\/labs\/fritzfrog-a-new-generation-of-peer-to-peer-botnets\/\"> Guardicore<\/a>). A disproportionate amount of the infected systems are in China, but other countries such as the United States, and Russia have been also been successfully attacked (<a href=\"https:\/\/thehackernews.com\/2022\/02\/fritzfrog-p2p-botnet-attacking.html\">The Hacker News<\/a>). Most likely it inadvertently attacks large institutions (especially universities and colleges), as they normally use SSH, and Linux systems for their servers. Considering it masks itself as common Linux software, adds some sort of proof to this claim. It may also potentially attempt to target individual systems, but this remains to be seen on a large scale. In general though, it seems that it attacks whoever and wherever it can, showing no remorse for any system (unless of course, it can&#8217;t be used to mine crypto).<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"conclusion\">Conclusion<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">FritzFrog is a dangerous malware, and its aim is to mine cryptocurrency on infected machines. The developers are highly skilled, and the P2P botnet&#8217;s progress, from inception to now, are proof of this. It inadvertently attacks large scale institutions, and can easily detect systems that are capable of mining crypto. In times like these, we must have trust in the SSH servers we connect to. <\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"citations\">Citations<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Sharma, Ax. &#8220;FritzFrog malware attacks Linux servers over SSH to mine Monero&#8221; Bleeping Computer, <a href=\"https:\/\/www.bleepingcomputer.com\/news\/security\/fritzfrog-malware-attacks-linux-servers-over-ssh-to-mine-monero\/\">www.bleepingcomputer.com\/news\/security\/fritzfrog-malware-attacks-linux-servers-over-ssh-to-mine-monero\/<\/a>. Accessed 18 February 2022.<\/li><li>Harpaz, Ophir. \u201cFritzFrog: A New Generation Of Peer-To-Peer Botnets\u201d Guardicore, <a href=\"https:\/\/www.guardicore.com\/labs\/fritzfrog-a-new-generation-of-peer-to-peer-botnets\/\">www.guardicore.com\/labs\/fritzfrog-a-new-generation-of-peer-to-peer-botnets\/<\/a>. Accessed 18 February 2022.<\/li><li>Lakshmanan, Ravie. \u201cFritzFrog P2P Botnet Attacking Healthcare, Education and Government Sectors\u201d The Hacker News, <a href=\"https:\/\/thehackernews.com\/2022\/02\/fritzfrog-p2p-botnet-attacking.html\">thehackernews.com\/2022\/02\/fritzfrog-p2p-botnet-attacking.html<\/a>. Accessed 18 February 2022.<\/li><li>\u201cBotnet\u201d Trend Micro Incorporated, <a href=\"https:\/\/www.trendmicro.com\/vinfo\/us\/security\/definition\/botnet\">www.trendmicro.com\/vinfo\/us\/security\/definition\/botnet<\/a>. Accessed 18 February 2022.<\/li><li>\u201cpeer-to-peer\u201d Oxford Learner\u2019s Dictionaries, <a href=\"https:\/\/www.oxfordlearnersdictionaries.com\/definition\/english\/peer-to-peer\">www.oxfordlearnersdictionaries.com\/definition\/english\/peer-to-peer<\/a>. Accessed 18 February 2022.<\/li><li>Cope, James. \u201cWhat\u2019s a Peer-to-Peer (P2P) Network?\u201d Computerworld, <a href=\"https:\/\/www.computerworld.com\/article\/2588287\/networking-peer-to-peer-network.html\">www.computerworld.com\/article\/2588287\/networking-peer-to-peer-network.html<\/a>. Accessed 18 February 2022.<\/li><li>\u201cNetcat (nc) Command with Examples\u201d Linuxize,&nbsp; <a href=\"https:\/\/linuxize.com\/post\/netcat-nc-command-with-examples\/\">linuxize.com\/post\/netcat-nc-command-with-examples\/<\/a>. Accessed 18 February 2022.<\/li><li>&#8220;Monero Means Money&#8221; Monero, <a href=\"https:\/\/www.getmonero.org\/\">https:\/\/www.getmonero.org\/<\/a>. Accessed 18 February 2022.<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Preamble To start off, I believe that some definitions are in order, as understanding some of the concepts FritzFrog utilizes helps paint the picture of what exactly it does. Firstly, P2P is the short form of peer-to-peer; which refers to a type of network, where two or more systems are connected (Computerworld). Peers on a &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/2022\/02\/18\/the-p2p-botnet-fritzfrog\/\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;The P2P Botnet: FritzFrog&#8221;<\/span><\/a><\/p>\n","protected":false},"author":357,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[15],"tags":[],"class_list":["post-2030","post","type-post","status-publish","format-standard","hentry","category-cpsc-329-602-w22","entry"],"featured_image_src":null,"featured_image_src_square":null,"author_info":{"display_name":"Carson Bergen","author_link":"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/author\/carson-bergen\/"},"_links":{"self":[{"href":"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-json\/wp\/v2\/posts\/2030","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-json\/wp\/v2\/users\/357"}],"replies":[{"embeddable":true,"href":"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-json\/wp\/v2\/comments?post=2030"}],"version-history":[{"count":36,"href":"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-json\/wp\/v2\/posts\/2030\/revisions"}],"predecessor-version":[{"id":2090,"href":"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-json\/wp\/v2\/posts\/2030\/revisions\/2090"}],"wp:attachment":[{"href":"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-json\/wp\/v2\/media?parent=2030"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-json\/wp\/v2\/categories?post=2030"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wpsites.ucalgary.ca\/isec-601-f21\/wp-json\/wp\/v2\/tags?post=2030"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}