{"id":85241,"date":"2017-11-29T20:15:30","date_gmt":"2017-11-30T01:15:30","guid":{"rendered":"http:\/\/rbachnet.wwwmi3-ss40.a2hosted.com\/index.php\/"},"modified":"2021-07-13T16:56:42","modified_gmt":"2021-07-13T20:56:42","slug":"diy-ransomware","status":"publish","type":"post","link":"https:\/\/rbach.net\/index.php\/diy-ransomware\/","title":{"rendered":"DIY Ransomware"},"content":{"rendered":"<p><a href=\"https:\/\/web.archive.org\/web\/20211015063908\/https:\/\/ist.mit.edu\/news\/planned_december_outages\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignleft wp-image-104190\" title=\"DIY Ransomware\" src=\"https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/Toolbox-e1568420995151-150x112.jpg?resize=100%2C75&#038;ssl=1\" alt=\"DIY Ransomware\" width=\"100\" height=\"75\" srcset=\"https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/Toolbox-e1568420995151.jpg?resize=150%2C112&amp;ssl=1 150w, https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/Toolbox-e1568420995151.jpg?resize=75%2C56&amp;ssl=1 75w, https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/Toolbox-e1568420995151.jpg?w=664&amp;ssl=1 664w\" sizes=\"auto, (max-width: 100px) 100vw, 100px\" \/><\/a><a href=\"https:\/\/web.archive.org\/web\/20240415214827\/https:\/\/www.sophos.com\/en-us\" target=\"_blank\" rel=\"noopener noreferrer\">Sophos<\/a> has recently <a href=\"https:\/\/nakedsecurity.sophos.com\/2017\/11\/15\/ransomware-spreading-hackers-sneak-in-through-rdp\/\" target=\"_blank\" rel=\"noopener noreferrer\">uncovered<\/a> a new trend of <strong>cyber DIY\u2019ers<\/strong> who are breaking into computers one at a time and\u00a0<strong>manually running <a href=\"http:\/\/searchsecurity.techtarget.com\/definition\/ransomware\" target=\"_blank\" rel=\"noopener noreferrer\">ransomware<\/a> on them<\/strong>. Apparently, these purveyors of <strong>bespoke malware<\/strong> are tired of the mass distribution channels employed by <a href=\"https:\/\/en.wikipedia.org\/wiki\/WannaCry_ransomware_attack\" target=\"_blank\" rel=\"noopener noreferrer\"><strong>WannaCry<\/strong><\/a><strong> and <a href=\"https:\/\/en.wikipedia.org\/wiki\/Petya_(malware)\" target=\"_blank\" rel=\"noopener noreferrer\">NotPetya<\/a><\/strong>.<\/p>\n<p><a href=\"https:\/\/howtosolvetechissues.wordpress.com\/2016\/05\/12\/cybercriminal-use-computer-as-a-weapon\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignright\" title=\"cybercriminals\" src=\"https:\/\/howtosolvetechissues.files.wordpress.com\/2016\/05\/201404fraud-protection-playing-offense-defense-cyber-criminals-strategy-938x535.jpg?resize=110%2C63\" alt=\"cybercriminal\" width=\"110\" height=\"63\" \/><\/a>Why bother using <a href=\"https:\/\/web.archive.org\/web\/20220324073518\/https:\/\/www.nytimes.com\/2017\/06\/28\/technology\/ransomware-nsa-hacking-tools.html\" target=\"_blank\" rel=\"noopener noreferrer\">stolen NSA exploits<\/a> or sending millions of booby-trapped email attachments when you can do it yourself. For whatever reason, some <strong>cyber-criminals have decided that if you want something doing properly, you have to do it yourself.<\/strong><\/p>\n<p>The <a href=\"https:\/\/nakedsecurity.sophos.com\/\" target=\"_blank\" rel=\"noopener noreferrer\"><em>Naked Security<\/em><\/a> blog points out that many companies, notably small businesses, outsource their IT to, or pay for lots of help from, outside contractors. These contractors might live in another part of town, or elsewhere in the country, or even on the other side of the world. To let remote sysadmins look after your Windows networks, the most widely used tool is <a title=\"Microsoft\" href=\"http:\/\/www.microsoft.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">Microsoft<\/a>&#8216;s (<a title=\"NASDAQ | MSFT\" href=\"https:\/\/www.google.com\/finance?cid=358464\" target=\"_blank\" rel=\"noopener noreferrer\">MSFT<\/a>) own <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/aa383015(v=vs.85).aspx\" target=\"_blank\" rel=\"noopener noreferrer\">Remote Desktop Protocol<\/a>\u00a0or RDP for short.<\/p>\n<p><a href=\"https:\/\/nakedsecurity.sophos.com\/2017\/11\/15\/ransomware-spreading-hackers-sneak-in-through-rdp\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-115779\" title=\"Microsoft Remote Desktop Protocol\" src=\"https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/msft_rpd.png?resize=110%2C104&#038;ssl=1\" alt=\"Microsoft Remote Desktop Protocol\" width=\"110\" height=\"104\" srcset=\"https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/msft_rpd.png?resize=150%2C142&amp;ssl=1 150w, https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/msft_rpd.png?resize=75%2C71&amp;ssl=1 75w, https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/msft_rpd.png?w=640&amp;ssl=1 640w\" sizes=\"auto, (max-width: 110px) 100vw, 110px\" \/><\/a>For those who haven\u2019t used it, the author describes RDP as a tool that allows remote use even of fully graphical applications that can\u2019t be scripted or operated via a command prompt. They can work like being right on-site.\u00a0 That means that the RDP password you\u2019ve chosen for your remote sysadmin (or that you\u2019ve let them choose for themselves) is essentially the key to your office \u2013 a weak password is like a server room door that\u2019s propped open, inviting any passing snooper to take a look inside.<\/p>\n<p><a href=\"https:\/\/repairregistryerrors.wordpress.com\/2014\/03\/07\/characteristics-of-a-top-microsoft-registry-cleaner\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignright\" title=\"brute force attack\" src=\"https:\/\/repairregistryerrors.files.wordpress.com\/2014\/02\/hammer-laptop.jpg?resize=162%2C108\" alt=\"brute force attack\" width=\"162\" height=\"108\" \/><\/a>So, if the crooks using a network search engine such as <a href=\"https:\/\/en.wikipedia.org\/wiki\/Shodan_(website)\" target=\"_blank\" rel=\"noopener noreferrer\">Shodan<\/a>, notice that you\u2019ve got RDP open to the internet, they\u2019ll take a poke around. Sophos security experts who\u2019ve investigated a number of recent RDP attacks have often found evidence that a tool called NLBrute was used to try a whole range of RDP passwords \u2013 a so-called <a href=\"http:\/\/searchsecurity.techtarget.com\/definition\/brute-force-cracking\" target=\"_blank\" rel=\"noopener noreferrer\">brute force attack<\/a> \u2013 in the hope of sneaking in.<\/p>\n<p>Once they\u2019ve got your RDP password \u2013 whether they use NLBrute, or simply look you up on Facebook to find your birthday and your pet\u2019s name \u2013 they\u2019ll log on and immediately create various brand new administrative accounts. That way, even if you get rid of the crooks and change your own admin password, they\u2019ve already got backup accounts they can use to sneak back in later.<\/p>\n<p>Here\u2019s what you can expect to happen next, based on what Sophos has seen in the attacks they have investigated:<\/p>\n<p><strong><a href=\"https:\/\/web.archive.org\/web\/20230925200547\/https:\/\/teachprivacy.com\/the-funniest-hacker-stock-photos\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignright\" title=\"Female hacker - teachprivacy.com\" src=\"https:\/\/i0.wp.com\/web.archive.org\/web\/20221207125547\/https%3A\/\/teachprivacy.com\/wp-content\/uploads\/Hacker-6.jpg?resize=82%2C123&#038;ssl=1\" alt=\"Female hacker - teachprivacy.com\" width=\"82\" height=\"123\" \/><\/a>Step 1:<\/strong> The crooks download and<strong> install low-level system tweaking software<\/strong>, such as the popular <a href=\"https:\/\/sourceforge.net\/projects\/processhacker\/\" target=\"_blank\" rel=\"noopener noreferrer\">Process Hacker tool<\/a>. Tools of this sort are regularly used by legitimate sysadmins for troubleshooting and emergency recovery. The bad guys can also use it for no good. They can modify the operating system, kill off processes, delete files, and change configuration settings that are usually locked down.<\/p>\n<p><strong>Step 2:<\/strong> The cybercriminals turn off or <strong>reconfigure anti-malware<\/strong> software, using the newly installed tweaking tools.<\/p>\n<p><strong>Step 3:<\/strong> The bad guys go after the <strong>passwords of administrator<\/strong> accounts. If they can\u2019t get an admin password, they may try logging in as a regular user and running hacking tools that try to exploit unpatched vulnerabilities to get what\u2019s called EoP, or <strong><a href=\"https:\/\/en.wikipedia.org\/wiki\/Privilege_escalation\" target=\"_blank\" rel=\"noopener noreferrer\">elevation of privilege<\/a><\/strong>.<\/p>\n<p>EoP means that already logged-on users can sneakily promote themselves to more powerful accounts to boost their powers. Sophos has seen EoP tools left on attacked systems that tried to abuse vulnerabilities dubbed <a href=\"https:\/\/www.rapid7.com\/db\/vulnerabilities\/msft-cve-2017-0213\" target=\"_blank\" rel=\"noopener noreferrer\">CVE-2017-0213<\/a>\u00a0patched by Microsoft in May 2017 and <a href=\"https:\/\/www.rapid7.com\/db\/modules\/exploit\/windows\/local\/ms16_032_secondary_logon_handle_privesc\" target=\"_blank\" rel=\"noopener noreferrer\">CVE-2016-0099<\/a>, patched by Microsoft back in March 2016.<\/p>\n<p><a href=\"https:\/\/web.archive.org\/web\/20210305192656\/https:\/\/racksimply.com\/evolution-of-data-centers-a-look-at-how-data-centers-have-evolved-over-the-past-50-years\/\" target=\"_blank\" rel=\"noopener noreferrer\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-115781\" title=\"database servers\" src=\"https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/data_center_icon-2-e1605839560889-150x116.jpg?resize=110%2C85&#038;ssl=1\" alt=\"database servers\" width=\"110\" height=\"85\" \/><\/a><\/p>\n<p><strong>Step 4:<\/strong> The crooks turn off database services (e.g. SQL) so that vital <strong>database files can be attacked by malware<\/strong>. Files such as SQL databases are usually locked while the database server software is active, as a precaution against corruption that could be caused by concurrent access by another program. The side-effect of this is that malware can\u2019t get direct access to database files either, and therefore can\u2019t scramble them to hold them to ransom.<\/p>\n<p><strong>Step 5:<\/strong> The crooks turn off <strong><a href=\"http:\/\/searchstorage.techtarget.com\/definition\/Microsoft-Volume-Shadow-Copy-Service-Microsoft-VSS\" target=\"_blank\" rel=\"noopener noreferrer\">Volume Shadow Copy<\/a><\/strong> (the Windows live backup service) and delete any existing backup files.\u00a0 Shadow copies act as real-time, online backups that can make recovery from ransomware a quick and easy process. That\u2019s why crooks often go looking for shadow copies first to remove them.<\/p>\n<p><strong>Step 6:<\/strong> The crooks <strong>upload and run ransomware<\/strong> of their choice.\u00a0Because these DIY criminals have used their illegitimate sysadmin powers to rig the system to be as insecure as they can, they can often use older versions of ransomware, perhaps even variants that other crooks have given up on and that are now floating around the internet \u201cfor free\u201d.<\/p>\n<p>These bespoke hacks mean the crooks don\u2019t have to worry about using the latest and greatest malware, or setting up a command-and-control server, or running a hit-and-hope spam campaign.<\/p>\n<p>In one attack, Sophos saw a folder on the desktop containing four different types of ransomware. The crooks ran each in turn until one of them worked.<\/p>\n<p>Many ransomware attacks are distributed indiscriminately, and therefore rely on a \u201cpay page\u201d \u2013 a Dark Web server set up specially to tell victims how much to pay, and how to pay it.<\/p>\n<p>But the author notes these RDP crooks are already personally involved to the extent of logging into your network themselves, so there\u2019s often what you might call a \u201cpersonal touch\u201d.<\/p>\n<p><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" class=\"alignright wp-image-115783\" title=\"Pay ransomware in bitcoin\" src=\"https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/bitcoin-4.png?resize=90%2C90&#038;ssl=1\" alt=\"Pay ransomware in bitcoin\" width=\"90\" height=\"90\" srcset=\"https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/bitcoin-4.png?resize=150%2C150&amp;ssl=1 150w, https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/bitcoin-4.png?resize=75%2C75&amp;ssl=1 75w, https:\/\/i0.wp.com\/rbach.net\/wp-content\/uploads\/bitcoin-4.png?w=680&amp;ssl=1 680w\" sizes=\"auto, (max-width: 90px) 100vw, 90px\" \/>Rather than automatically squeezing you via a website, the blog says you\u2019ll probably see a pop-up telling you to make contact via email to \u201cnegotiate\u201d the release of your data.\u00a0At the time of writing the Bitcoin address used by that attacker contained BTC 9.62, with 1 bitcoin valued at $11,388.33 (11-28-2017) currently worth almost $110,000.<\/p>\n<p>The Sophos investigators found that the victims of this kind of attack are almost always small-to-medium companies: the largest business in our investigation had 120 staff, but most had 30 or fewer. With small-scale comes a dependence on external IT suppliers or \u201cjack-of-all-trades\u201d IT generalists trying to manage cybersecurity along with many other responsibilities.<\/p>\n<p>In one case a victim was attacked repeatedly, because of a weak password used by a third-party application that demanded 24-hour administrator access for its support staff.<\/p>\n<p><strong>Sophos recommends these steps to cut your risk of becoming a victim of DIY Ransomware:<\/strong><\/p>\n<ol>\n<li>If you don\u2019t need RDP, make sure it\u2019s <strong>turned off<\/strong> on every computer on the network: RDP can be used to connect to servers, desktops, and laptops.<\/li>\n<li>Consider using a<strong> Virtual Private Network<\/strong> (<a href=\"https:\/\/computer.howstuffworks.com\/vpn.htm\" target=\"_blank\" rel=\"noopener noreferrer\">VPN<\/a>) for connections from outside your network. A VPN requires outsiders to authenticate with the <strong>firewall<\/strong> first and to connect from there to internal services. This means software such as RDP never needs to be exposed directly to the internet.<\/li>\n<li>Use <strong>two-factor authentication<\/strong> (<a href=\"http:\/\/rbachnet.wwwmi3-ss40.a2hosted.com\/index.php\/who-needs-two-factor-authentication\/\" target=\"_blank\" rel=\"noopener noreferrer\">2FA<\/a>) wherever you can. To log on with 2FA you need a one-time logon code every time. If crooks steal or guess your password, it\u2019s no use on its own.<\/li>\n<li><strong>Patch early, patch often<\/strong>. This prevents crooks from exploiting vulnerabilities against your network reducing your exposure to danger.<\/li>\n<li>After an attack, check to see what the crooks have changed. Don\u2019t just remove the malware or apply the missed patches and be done with it. Especially check for <strong>added applications, altered security settings, and newly created user accounts<\/strong>.<\/li>\n<li>Set a <strong>lockout policy<\/strong> to limit password guessing attacks. With three guesses at a time followed by a five-minute lockout, a crook can only try out 12 \u00d7 3 = 36 passwords an hour, which makes a brute force attack impractical.<\/li>\n<li>If you\u2019re using a<strong> third-party IT company<\/strong> and they haven\u2019t already suggested the precautions Sophos listed above, why not ask them why, and ask yourself if they\u2019re the right people to be looking after your network?<\/li>\n<\/ol>\n<p><strong>Related article<\/strong><\/p>\n<ul>\n<li>Hackers have cashed out on $143,000 of bitcoin from the massive WannaCry ransomware attack <a href=\"https:\/\/www.cnbc.com\/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\"> (CNBC)<\/a><\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<p><em><a title=\"Ralph Bach\" href=\"https:\/\/rbach.net\/index.php\/new-resume\/\" target=\"_blank\" rel=\"noopener noreferrer\">Ralph Bach<\/a>\u00a0has been in IT long enough to know better and has blogged from his\u00a0<a title=\"Bach Seat\" href=\"https:\/\/rbach.net\/\" target=\"_blank\" rel=\"noopener noreferrer\">Bach Seat<\/a> about IT, careers, and anything else that catches his attention since 2005. You can follow him on <a class=\"broken_link\" href=\"http:\/\/www.linkedin.com\/in\/rb48334\" target=\"_blank\" rel=\"noopener noreferrer nofollow\">LinkedIn<\/a>,\u00a0<a href=\"https:\/\/www.facebook.com\/ralph.bach.14\" target=\"_blank\" rel=\"noopener noreferrer\">Facebook<\/a>,\u00a0and\u00a0<a href=\"https:\/\/twitter.com\/rbach48334\" target=\"_blank\" rel=\"noopener noreferrer\">Twitter<\/a>. Email the Bach Seat\u00a0<a href=\"mailto:\/\/bach.seat@gmail.com\" target=\"_blank\" rel=\"noopener noreferrer\">here<\/a>.<\/em><\/p>\n","protected":false},"excerpt":{"rendered":"<p>cyber DIY\u2019ers are breaking into computers one at a time and manually running ransomware on them using MSFT&#8217;s built-in RDP<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[2990,2682,857,2107,82,421,2979,209,1507,2978,4,2168,2448,2930],"class_list":["post-85241","post","type-post","status-publish","format-standard","hentry","category-security","tag-2990","tag-2fa","tag-bitcoin","tag-firewall","tag-microsoft","tag-msft","tag-notpetya","tag-password","tag-ransomware","tag-rdp","tag-security","tag-sql","tag-vpn","tag-wannacry"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/posts\/85241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/comments?post=85241"}],"version-history":[{"count":15,"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/posts\/85241\/revisions"}],"predecessor-version":[{"id":130958,"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/posts\/85241\/revisions\/130958"}],"wp:attachment":[{"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/media?parent=85241"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/categories?post=85241"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rbach.net\/index.php\/wp-json\/wp\/v2\/tags?post=85241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}