Ransom.Samas is Malwarebytes’ detection name for a family of ransomware applications also known as SamSam ransomware.
Affected systems may display ransome notes similar to this one, after all the files have been encrypted.
Ransom.Samas ransom note
Type and source of infection
Ransom.Samas in general encrypts your files, then forces you to pay a ransom to get them back. The threat actors have been known to target cities and hospitals among others.
Ransom.Samas knows several variants, but most of them are spread by brute-forcing RDP endpoints.
Businesses should protect and limit the RDP access to their networks. You can find some pointers in the blogpost How to protect your RDP access from ransomware attacks.
Malwarebytes protects users from Ransom.Samas by using real-time protection.
Malwarebytes blocks Ransom.Samas
To remove Ransom.Samas using Malwarebytes business products, follow the instructions below.
How to remove Ransom.Samas with Malwarebytes Endpoint Protection
- Go to the Malwarebytes Cloud console.
- To allow you to invoke a scan while the machine is off the network, go to Settings > Policies > your policy > General.
- Under Endpoint Interface Options, turn ON:
- Show Malwarebytes icon in notification area
- Allow users to run a Threat Scan (all threats will be quarantined automatically)
- Temporarily enable Anti-Rootkit scanning for all invoked threat scans.
Go to Settings > Policies > your policy > Endpoint Protection > Scan Options
- Set Scan Rootkits to ON.
- Once the endpoint has been updated with the latest policy changes:
- Take the client off the network
- From the system tray icon, run an Anti-Rootkit threat scan.
If you have infected machines that are not registered endpoints in Malwarebytes Endpoint Protection, you can remove Ransom.Samas with our Breach Remediation tool (MBBR).
- Log into your My Account page and copy your license key. The key is needed to activate MBBR tool.
- Open your Cloud console.
- From a clean and safe machine, go to Endpoints > Add > Malwarebytes Breach Remediation. This will download the MBBR zip package.
- Unzip the package.
- Access a Windows command line prompt and issue the following commands:
mbbr register –key:<prodkey>
Note: You must substitute your license key for <prodkey>.
- Copy the MBBR folder to a flash drive.
- From an infected, offline machine, copy the MBBR folder from the flash drive.
- Start a scan using the following command:
mbbr scan –full –ark –remove –noreboot
- Refer to the Malwarebytes Breach Remediation Windows Administrator Guide for all supported scanning commands.
How to remove Ransom.Samas with Malwarebytes Endpoint Security
You can use Malwarebytes Anti-Malware v1.80, which is included in your Malwarebytes Endpoint Security deployment to scan and remove Ransom.Samas.
- Remove the infected endpoint from the network.
- On the infected machine, right click the system tray icon and click on Start Scanner.
- Select Perform full scan.
- Click on Scan button.
- Open CMD
- CD to C:\Program Files (x86)\Malwarebytes’ Anti-Malware
- Run mbamapi /scan –full –remove -reboot
It is recommended to follow the MBAM scan with an Anti-Rootkit (MBAR) tool scan.
- From a safe computer, download the Anti-Rootkit tool.
- Once Anti-Rootkit is updated (steps 1 – 4), copy it to a flash drive.
- Go to an infected machine that has been scanned/cleaned with Anti-Malware and is still off the network.
- Copy the Anti-Rootkit files from the flash drive to the machine.
- Turn off Anti-Malware. Right click the Anti-Malware system tray icon and select Exit.
- Run the Anti-Rootkit program to scan for threats.
After removing the infection and restoring any lost files (if necessary) it is imperative to find out how the threat-actors gained access. Close the access and scan for any tools or backdoors they may have lft behind.
Malwarebytes can detect and remove Ransom.Samas without further user interaction.
- Please download Malwarebytes to your desktop.
- Double-click MBSetup.exe and follow the prompts to install the program.
- When your Malwarebytes for Windows installation completes, the program opens to the Welcome to Malwarebytes screen.
- Click on the Get started button.
- Click Scan to start a Threat Scan.
- Click Quarantine to remove the found threats.
- Reboot the system if prompted to complete the removal process.
Take note, however, that removing this ransomware does not decrypt your files. You can only get your files back from backups you made before the infection happened.