{"id":28705,"date":"2020-04-20T16:43:10","date_gmt":"2020-04-20T20:43:10","guid":{"rendered":"https:\/\/mjtsai.com\/blog\/?p=28705"},"modified":"2020-04-20T16:43:10","modified_gmt":"2020-04-20T20:43:10","slug":"malicious-rubygems-packages","status":"publish","type":"post","link":"https:\/\/mjtsai.com\/blog\/2020\/04\/20\/malicious-rubygems-packages\/","title":{"rendered":"Malicious RubyGems Packages"},"content":{"rendered":"<p><a href=\"https:\/\/arstechnica.com\/information-technology\/2020\/04\/725-bitcoin-stealing-apps-snuck-into-ruby-repository\/\">Dan Goodin<\/a> (via <a href=\"https:\/\/news.ycombinator.com\/item?id=22906455\">Hacker News<\/a>):<\/p>\n<blockquote cite=\"https:\/\/arstechnica.com\/information-technology\/2020\/04\/725-bitcoin-stealing-apps-snuck-into-ruby-repository\/\">\n<p>More than 725 malicious packages downloaded thousands of times were recently found populating <a href=\"https:\/\/rubygems.org\/\">RubyGems<\/a>, the official channel for distributing programs and code libraries for the Ruby programming language.<\/p>\n<p>[&#8230;]<\/p>\n<p>The accounts, which ReversingLabs suspects may be the work of a single individual, used a variation of typosquatting&mdash;the technique of giving a malicious file or domain a name that&rsquo;s similar to a commonly recognizable name&mdash;to give the impression they were legitimate. For instance, &ldquo;atlas-client,&rdquo; a booby-trapped package with 2,100 downloads, was a stand-in for the authentic &ldquo;atlas_client&rdquo; package.<\/p>\n<p>[&#8230;]<\/p>\n<p>Once installed, the packages executed a script that attempted to intercept Bitcoin payments made on Windows devices.<\/p>\n<\/blockquote>\n\n<p>Previously:<\/p>\n<ul>\n<li><a href=\"https:\/\/mjtsai.com\/blog\/2018\/11\/27\/popular-npm-package-compromised\/\">Popular NPM Package Compromised<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Dan Goodin (via Hacker News): More than 725 malicious packages downloaded thousands of times were recently found populating RubyGems, the official channel for distributing programs and code libraries for the Ruby programming language. [&#8230;] The accounts, which ReversingLabs suspects may be the work of a single individual, used a variation of typosquatting&mdash;the technique of giving [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"apple_news_api_created_at":"2020-04-20T20:43:15Z","apple_news_api_id":"c651ab1c-b172-4af1-9233-468b367e48fc","apple_news_api_modified_at":"2020-04-20T20:43:15Z","apple_news_api_revision":"AAAAAAAAAAD\/\/\/\/\/\/\/\/\/\/w==","apple_news_api_share_url":"https:\/\/apple.news\/AxlGrHLFySvGSM0aLNn5I_A","apple_news_coverimage":0,"apple_news_coverimage_caption":"","apple_news_is_hidden":false,"apple_news_is_paid":false,"apple_news_is_preview":false,"apple_news_is_sponsored":false,"apple_news_maturity_rating":"","apple_news_metadata":"\"\"","apple_news_pullquote":"","apple_news_pullquote_position":"","apple_news_slug":"","apple_news_sections":"\"\"","apple_news_suppress_video_url":false,"apple_news_use_image_component":false,"footnotes":""},"categories":[2],"tags":[914,991,71,287,48],"class_list":["post-28705","post","type-post","status-publish","format-standard","hentry","category-technology","tag-bitcoin","tag-open-source-software","tag-programming","tag-ruby","tag-security"],"apple_news_notices":[],"_links":{"self":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/comments?post=28705"}],"version-history":[{"count":1,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28705\/revisions"}],"predecessor-version":[{"id":28706,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/posts\/28705\/revisions\/28706"}],"wp:attachment":[{"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/media?parent=28705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/categories?post=28705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mjtsai.com\/blog\/wp-json\/wp\/v2\/tags?post=28705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}