Fog Ransomware: In-Depth Analysis, Detection, and Mitigation
What Is Fog Ransomware?
Fog Ransomware emerged in April of 2024 with operations targeting both Windows and Linux endpoints. Fog is a multi-pronged extortion operation, leveraging a TOR-based DLS to list victims and host data for those that refuse to comply with their ransom demands.
What Does Fog Ransomware Target?
Fog ransomware targeting has been primarily focused on education, recreation and travel, and manufacturing sectors. Targeting is mainly on United States entities, though there is nothing to indicate they would not target entities outside of the United States.
How Does Fog Ransomware Work?
Fog threat actors rely heavily on exploitation of known-vulnerable applications. Operators typically achieved initial access via the purchase of compromised credentials from an Initial Access Broker (IAB). Operators will leverage the purchased accounts to establish a foothold in the environment then move laterally in a methodical way.
Fog ransomware variants exist for both Windows and Linux platforms. The Linux-flavored variants include specific targeting tuned for virtual environments (e.g., VMSD and VMDK files). The Fog payloads will also make attempts to terminate various processes associated with these virtualized environments.
Fog Ransomware supports multiple command-line parameters. These include:
Command-Line Parameters | Description |
–help | display all available syntax |
–offvm | force termination of VM-related processes |
–size | file encryption percentage (e.g., 70%) |
–target | path/directory to encrypt |
–id | ID/password to execute (required) |
–fork | without terminal, daemon mode |
–log (file) | switch on log to terminal and file, if file not set then defaults to terminal |
–nomutex | do not check for existing running processes |
–showtalkid | show talkid (campaign ID) and exit – no encryption |
–processallfiles | ignore hard coded extension configuration and encode all files on disk |
–thread | use N threads (resource management) |
Upon encryption, the extensions .fog, .Fog or .FLOCKED are appended to the affected files.
Windows-based variants of Fog ransomware will attempt to delete volume shadow copies via vssadmin.exe.
Vssadmin.exe delete shadows / all /quiet
Additionally, the Windows versions of Fog include a JSON-based configuration section. Operators are able to customize the extension appended to encrypted files along with configuration of the ransom note name, process/service termination and the RSA public key to be embedded for encryption use.
Fog ransom notes are written to each location containing encrypted files as “readme.txt”. The note instructs victims to communicate with the attackers via their TOR-based victim portal.
The Fog ransomware DLS was first observed in July 2024 and is available via TOR only with no clearnet mirrors as of this writing.
How to Detect Fog Ransomware
The SentinelOne Singularity XDR Platform can identify and stop any malicious activities and items related to Fog ransomware.
In case you do not have SentinelOne deployed, detecting Fog ransomware requires a combination of technical and operational measures designed to identify and flag suspicious activity on the network. This allows the organization to take appropriate action, and to prevent or mitigate the impact of the ransomware attack.
To detect Fog ransomware without SentinelOne deployed, it is important to take a multi-layered approach, which includes the following steps:
- Use anti-malware software or other security tools capable of detecting and blocking known ransomware variants. These tools may use signatures, heuristics, or machine learning algorithms, to identify and block suspicious files or activities.
- Monitor network traffic and look for indicators of compromise, such as unusual network traffic patterns or communication with known command-and-control servers.
- Conduct regular security audits and assessments to identify network and system vulnerabilities and ensure that all security controls are in place and functioning properly.
- Educate and train employees on cybersecurity best practices, including identifying and reporting suspicious emails or other threats.
- Implement a robust backup and recovery plan to ensure that the organization has a copy of its data and can restore it in case of an attack.
How to Mitigate Fog Ransomware
The SentinelOne Singularity XDR Platform can return systems to their original state using either the Quarantine or Repair.
In case you do not have SentinelOne deployed, there are several steps that organizations can take to mitigate the risk of Fog ransomware attacks:
Educate employees: Employees should be educated on the risks of ransomware, and on how to identify and avoid phishing emails, malicious attachments, and other threats. They should be encouraged to report suspicious emails or attachments, and to avoid opening them, or clicking on links or buttons in them.
Implement strong passwords: Organizations should implement strong, unique passwords for all user accounts, and should regularly update and rotate these passwords. Passwords should be at least 8 characters long, and should include a combination of uppercase and lowercase letters, numbers, and special characters.
Enable multi-factor authentication: Organizations should enable multi-factor authentication (MFA) for all user accounts, to provide an additional layer of security. This can be done through the use of mobile apps, such as Google Authenticator or Microsoft Authenticator, or through the use of physical tokens or smart cards.
Update and patch systems: Organizations should regularly update and patch their systems, to fix any known vulnerabilities, and to prevent attackers from exploiting them. This includes updating the operating system, applications, and firmware on all devices, as well as disabling any unnecessary or unused services or protocols.
Implement backup and disaster recovery: Organizations should implement regular backup and disaster recovery (BDR) processes, to ensure that they can recover from ransomware attacks, or other disasters. This includes creating regular backups of all data and systems, and storing these backups in a secure, offsite location. The backups should be tested regularly, to ensure that they are working, and that they can be restored quickly and easily.