US-CERT- AA18-337A: SamSam Ransomware

Started by Netwörkheäd, September 21, 2019, 06:18:51 PM

Previous topic - Next topic

Netwörkheäd

AA18-337A: SamSam Ransomware

Original release date: December 3, 2018<br/><h3>Summary</h3><p>The Department of Homeland Security (DHS) National Cybersecurity and Communications Integration Center (NCCIC) and the Federal Bureau of Investigation (FBI) are issuing this activity alert to inform computer network defenders about SamSam ransomware, also known as MSIL/Samas.A. Specifically, this product shares analysis of vulnerabilities that cyber actors exploited to deploy this ransomware. In addition, this report provides recommendations for prevention and mitigation.</p><p>The SamSam actors targeted multiple industries, including some within critical infrastructure. Victims were located predominately in the United States, but also internationally. Network-wide infections against organizations are far more likely to garner large ransom payments than infections of individual systems. Organizations that provide essential functions have a critical need to resume operations quickly and are more likely to pay larger ransoms.</p><p>The actors exploit Windows servers to gain persistent access to a victim's network and infect all reachable hosts. According to reporting from victims in early 2016, cyber actors used the JexBoss Exploit Kit to access vulnerable JBoss applications. Since mid-2016, FBI analysis of victims' machines indicates that cyber actors use Remote Desktop Protocol (RDP) to gain persistent access to victims' networks. Typically, actors either use brute force attacks or stolen login credentials. Detecting RDP intrusions can be challenging because the malware enters through an approved access point.</p><p>After gaining access to a particular network, the SamSam actors escalate privileges for administrator rights, drop malware onto the server, and run an executable file, all without victims' action or authorization. While many ransomware campaigns rely on a victim completing an action, such as opening an email or visiting a compromised website, RDP allows cyber actors to infect victims with minimal detection.</p><p>Analysis of tools found on victims' networks indicated that successful cyber actors purchased several of the stolen RDP credentials from known darknet marketplaces. FBI analysis of victims' access logs revealed that the SamSam actors can infect a network within hours of purchasing the credentials. While remediating infected systems, several victims found suspicious activity on their networks unrelated to SamSam. This activity is a possible indicator that the victims' credentials were stolen, sold on the darknet, and used for other illegal activity.</p><p>SamSam actors leave ransom notes on encrypted computers. These instructions direct victims to establish contact through a Tor hidden service site. After paying the ransom in Bitcoin and establishing contact, victims usually receive links to download cryptographic keys and tools to decrypt their network.</p><h3>Technical Details</h3><p>NCCIC recommends organizations review the following SamSam Malware Analysis Reports. The reports represent four SamSam malware variants. This is not an exhaustive list.</p><ul><li><a href="https://www.us-cert.gov/ncas/analysis-reports/AR18-337A">MAR-10219351.r1.v2 – SamSam1</a></li><li><a href="https://www.us-cert.gov/ncas/analysis-reports/AR18-337B">MAR-10166283.r1.v1 – SamSam2</a></li><li><a href="https://www.us-cert.gov/ncas/analysis-reports/AR18-337C">MAR-10158513.r1.v1 – SamSam3</a></li><li><a href="https://www.us-cert.gov/ncas/analysis-reports/AR18-337D">MAR-10164494.r1.v1 – SamSam4</a></li></ul><p>For general information on ransomware, see the NCCIC Security Publication at <a href="https://www.us-cert.gov/security-publications/Ransomware">https://www.us-cert.gov/security-publications/Ransomware</a>.</p><h3>Mitigations</h3><p>DHS and FBI recommend that users and administrators consider using the following best practices to strengthen the security posture of their organization's systems. System owners and administrators should review any configuration changes before implementation to avoid unwanted impacts.</p><ul><li>Audit your network for systems that use RDP for remote communication. Disable the service if unneeded or install available patches. Users may need to work with their technology venders to confirm that patches will not affect system processes.</li><li>Verify that all cloud-based virtual machine instances with public IPs have no open RDP ports, especially port 3389, unless there is a valid business reason to keep open RDP ports. Place any system with an open RDP port behind a firewall and require users to use a virtual private network (VPN) to access that system.</li><li>Enable strong passwords and account lockout policies to defend against brute force attacks.</li><li>Where possible, apply two-factor authentication.</li><li>Regularly apply system and software updates.</li><li>Maintain a good back-up strategy.</li><li>Enable logging and ensure that logging mechanisms capture RDP logins. Keep logs for a minimum of 90 days and review them regularly to detect intrusion attempts.</li><li>When creating cloud-based virtual machines, adhere to the cloud provider's best practices for remote access.</li><li>Ensure that third parties that require RDP access follow internal policies on remote access.</li><li>Minimize network exposure for all control system devices. Where possible, disable RDP on critical devices.</li><li>Regulate and limit external-to-internal RDP connections. When external access to internal resources is required, use secure methods such as VPNs. Of course, VPNs are only as secure as the connected devices.</li><li>Restrict users' ability (permissions) to install and run unwanted software applications.</li><li>Scan for and remove suspicious email attachments; ensure the scanned attachment is its "true file type" (i.e., the extension matches the file header).</li><li>Disable file and printer sharing services. If these services are required, use strong passwords or Active Directory authentication.</li></ul><p>Additional information on malware incident prevention and handling can be found in Special Publication 800-83, <em>Guide to Malware Incident Prevention and Handling for Desktops and Laptops</em>, from the National Institute of Standards and Technology.<a href="https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-83r1.pdf">[1]</a></p><h3>Contact Information</h3><p>To report an intrusion and request resources for incident response or technical assistance, contact NCCIC, FBI, or the FBI's Cyber Division via the following information:</p><ul><li>NCCIC<ul><li><a href="https://www.us-cert.govmailto:NCCICCustomerService@hq.dhs.gov">NCCICCustomerService@hq.dhs.gov</a></li><li>888-282-0870</li></ul></li><li>FBI's Cyber Division<ul><li><a href="https://www.us-cert.govmailto:CyWatch@fbi.gov">CyWatch@fbi.gov</a></li><li>855-292-3937</li></ul></li><li>FBI through a local field office</li></ul><h3>Feedback</h3><p>DHS strives to make this report a valuable tool for our partners and welcomes feedback on how this publication could be improved. You can help by answering a few short questions about this report at the following URL: <a href="https://www.us-cert.gov/forms/feedback">https://www.us-cert.gov/forms/feedback</a>.</p>                    <h3>References</h3>
        <ul>             <li><a href="https://nvlpubs.nist.gov/nistpubs/SpecialPublications/NIST.SP.800-83r1.pdf">[1] NIST SP 800-83: Guide to Malware Incident Prevention and Handling for Desktops and Laptops</a></li>         </ul>            <h3>Revisions</h3>
<ul>             <li>December 3, 2018: Initial version</li> </ul>
<hr />
            <div class="field field--name-body field--type-text-with-summary field--label-hidden field--item"><p class="privacy-and-terms">This product is provided subject to this <a href="https://www.us-cert.gov/privacy/notification">Notification</a> and this <a href="https://www.dhs.gov/privacy-policy">Privacy &amp; Use</a> policy.</p>


</div>
Source: AA18-337A: SamSam Ransomware
Let's not argue. Let's network!