SBN

Enter 666: Unmasking Beast Ransomware


Key Takeaways

  • Beast’s built-in GUI lets affiliates discover resources, select targets, and start, pause, or stop encryption while monitoring progress.
  • Affiliates can override embedded settings through command-line arguments, adjusting encryption coverage, target selection, and recovery inhibition.
  • The analyzed sample uses a public IP logger to report victim identifiers and signal the start and end of encryption.

AttackIQ has released a new assessment that emulates the Tactics, Techniques, and Procedures (TTPs) associated with Beast Ransomware to help customers validate their security controls and their ability to defend against this threat.

By using this emulation in the AttackIQ Adversarial Exposure Validation (AEV) Platform, security teams will be able to:

  • Evaluate security control performance against baseline behaviors associated with Beast Ransomware.
  • Assess their security posture against an opportunistic adversary.
  • Continuously validate detection and prevention pipelines against a realistic playbook.

Threat Overview

Beast is a Ransomware-as-a-Service (RaaS) family that emerged on the RAMP underground forum in June 2024. It is reportedly the successor to Monster ransomware, an earlier RaaS operation that was advertised on the same forum in March 2022. In August 2024, the Beast operators promoted an offline builder capable of generating ransomware payloads for Windows systems, network-attached storage (NAS) devices, and VMware ESXi hypervisors.

Beast provides affiliates with extensive control over the encryption process through a graphical user interface (GUI). The interface allows operators to discover available storage and network resources, select encryption targets, and manage and monitor the encryption process. This provides affiliates with greater operational flexibility than ransomware families that rely primarily on command-line execution.

Symantec and Carbon Black attribute the development of Beast and its predecessor, Monster, to the actor tracked as Hyadina. In July 2026, Symantec reported that the operation had re-emerged under the name GodDamn Ransomware, identifying significant technical continuity between the two. GodDamn shares substantial similarities with Beast, while introducing additional defensive evasion capabilities, suggesting that it may represent a later iteration of the same ransomware lineage.

The original Beast leak site is currently active, and the most recent reported Beast activity dates to August 30, 2026. The emergence of GodDamn, however, suggests that the operators may be continuing the operation under a new identity rather than having ceased activity entirely.

This report presents AttackIQ’s internal analysis of the Beast Ransomware payload, examining its execution flow, defense evasion techniques, recovery inhibition mechanisms, command-line capabilities, and encryption process.

Sample Overview

Field Value
Family Beast Ransomware
Hash (SHA-256) 4c44ac1eea4bc7f4ea542d611b5658d7ac2729d79abe750da83f1581cd832eaf
File Type PE32 Executable
Compilation Timestamp 2024-08-09 14:52:00 UTC
File Size 81.00 KB

The analyzed sample is a 32-bit Windows executable written in C/C++ with a file size of 81.00 KB. Strings are obfuscated and don’t show up in a standard strings dump. Beast assembles strings on the stack from immediate constants and decodes them in place with a single-byte XOR key of 0x55. Beyond this encoding and the encrypted configuration described below, the sample implements no further anti-analysis measures.

Configuration Flags

Flags are toggled with a trailing + or -. A bare -K or an explicit -K+ enables the behavior; -K- disables it. Switches that take a value use =. Flag letters are case-insensitive.

Flag Behavior
-A Autorun: HKCU CurrentVersion\Run persistence
-C Rename encrypted files (append ID + extension)
-E=<extension> Extension: Change the extension appended
-F Force: ignore the folder/extension exclusion lists
-I Install: self-copy to %ALLUSERSPROFILE% and relaunch
-K Kill target processes and stop target services
-L Enumerate and encrypt local logical drives
-M Mount unmounted volumes before encrypting
-N Network discovery (ARP/subnet, TCP 445) and share encryption
-O Offline Mode: Suppress the HTTP beacon
-P=<percentage> Percentage, clamped to 100
-R Empty the Recycle Bin
-S Delete volume shadow copies via WMI (requires admin)
-V GUI/operator mode
-W Drop the ransom note into every traversed directory
-X=<path> Include note from external file
-Z Wrap each encrypted file in a ZIP container carrying the note

Configuration File

At startup, Beast loads its configuration from an encrypted blob embedded in the executable’s .data section. The blob is protected with ChaCha20 and is decrypted in place using a key and nonce stored immediately before it, making it recoverable through static analysis.

The configuration contains two attacker public keys, the encryption percentage, the output extension, the exclusion lists, the service and process kill lists, the ransom note, the beacon URL, and the behavior flags. The extension, percentage, ransom note and behavior flags act as defaults and can be overridden through command-line arguments.

The sample checks for the literal strings !!!CONFIG!!! and !!!PASSWORD!!! before decrypting anything. These are builder placeholders marking where the configuration and its key are written when a payload is generated. If either is still present, the sample skips configuration decryption entirely.

GUI

One of Beast’s most distinctive features is its graphical user interface (GUI), which provides affiliates with direct control over the ransomware’s encryption process. Rather than relying exclusively on command-line arguments or configuration files, Beast presents operators with an interface designed to manage an attack interactively. The GUI is accessible by pressing ALT+CTRL and typing 666.

The GUI provides visibility into the storage and network resources available to the compromised system. Affiliates can enumerate logical drives, network shares, and accessible subnetworks before selecting the resources they want to target. This allows encryption to be directed toward specific drives or network locations instead of indiscriminately processing every accessible resource.

Once targets have been selected, the GUI provides controls for managing the encryption operation. Affiliates can start, pause, resume, or stop the process, as well as reset the operation when required. Encryption progress is displayed within the interface, giving the operator real-time visibility into the status of the attack.

This level of interaction provides affiliates with considerably more operational control than is typically exposed by ransomware payloads. It allows the encryption process to be adjusted after deployment based on the environment being compromised, while also providing visibility into which resources have been processed.

Execution Walkthrough

Execution Guard

Early in execution, before any persistence or encryption, Beast creates a named mutex to ensure only one instance runs at a time:

BEAST HERE?

Victim Identification and Beacon

Beast uses a public IP-logging service as a lightweight victim-identification channel. During each infection, it makes two requests to:

https://iplogger[.]co/1v1i85.torrent

This URL is contacted twice: once immediately before encryption begins and again after encryption completes. This provides the operator with a BEGIN/END pair that can confirm execution and approximate how long the encryption phase took. Victim information is transmitted entirely through HTTP metadata:

  • User-Agent: contains the victim ID.
  • Referer: contains either BEGIN or END, constructed as “Referer: " + <status> + "rn“.
  • Source IP: recorded by the IP-logging service when the request reaches it.

When InternetOpenUrlW returns a valid handle, Beast writes a message to its GUI:

"knocked", "URL: https://iplogger[.]co/1v1i85.torrent; Notice: BEGIN"

Geographic Exclusion

Beast implements a geographic exclusion mechanism across its supported variants to prevent execution and encryption on systems located in Commonwealth of Independent States (CIS) and additional countries. It retrieves the system’s default UI language using the GetSystemDefaultUILanguage Windows API and locale information with GetLocaleInfoW and uses these values to identify systems that should be excluded from execution and encryption.

The country list is AR, AM, AZ, BY, CY, GE, KZ, KG, MD, RU, TJ, TM, UA, UZ, VN

Persistence and Relocation

Beast establishes persistence through a Run key named after the victim ID:

HKCUSOFTWAREMicrosoftWindowsCurrentVersionRun
Value Name: {victim-GUID}

The key is written under HKEY_CURRENT_USER, so no administrative rights are required and persistence applies only to the compromised user.

When the -I flag is set, Beast first relocates itself. It resolves %ALLUSERSPROFILE%, creates a directory named after the victim GUID, deletes any existing .exe files already in that directory, and copies itself to a filename of eight random lowercase letters:

%ALLUSERSPROFILE%{victim-GUID}<8 random letters>.exe

It then relaunches from the new location with the original command-line arguments and exits. The original executable is not deleted. Because relocation precedes the Run key write, the persisted path points at the relocated copy rather than the original execution path.

System and Process Discovery

Beast then profiles the execution environment by collecting operating system, system architecture, computer name, and running process information. It also enables the SeTakeOwnershipPrivilege, which provides the process with the ability to take ownership of securable objects when required during subsequent operations.

GetNativeSystemInfo
GetSystemInfo
GetVersionExW
GetComputerNameW
CreateToolhelp32Snapshot & Process32FirstW
AdjustTokenPrivileges & SeTakeOwnershipPrivilege

Network Resource Discovery

Beast enumerates available network resources to identify accessible shares and other network locations that may be targeted during encryption. NetShareEnum is used to enumerate shared resources, while WNetOpenEnumW and WNetEnumResourceW enumerate network resources exposed through the Windows networking subsystem.

Host discovery begins from the ARP cache. GetIpNetTable is used to retrieve neighboring hosts, which are filtered to private address ranges beginning 10., 172., 192.168. and 169., and reduced to a list of unique /24 subnets. Those subnets are then probed asynchronously for TCP/445 using a completion port. Hosts that respond have their shares enumerated, with ADMIN$ explicitly excluded, and each remaining share is converted to a UNC path and queued as an encryption target.

Beast searches for available volumes and mounts volumes that are not currently associated with a drive letter, making them accessible for subsequent processing. GetDriveTypeW is used to identify available drive types, while FindFirstVolumeW and FindNextVolumeW enumerate system volumes. GetVolumePathNamesForVolumeNameW retrieves the paths associated with each volume, and GetVolumeNameForVolumeMountPointW and SetVolumeMountPointW are used to associate volumes with mount points.

Stop Processes and Services

Before beginning encryption, Beast terminates processes and stops services that may interfere with file access or hold targeted files open. The configuration carries a list of 52 process names and 73 service names, covering backup products, database engines, security software, and common office applications.

Processes are enumerated with CreateToolhelp32Snapshot and Process32FirstW/Process32NextW, matched against the list, and terminated with OpenProcess and TerminateProcess. Services are handled through the Service Control Manager: OpenSCManagerW and OpenServiceW obtain handles, EnumDependentServicesW identifies dependent services so they can be stopped first, and ControlService issues the stop request.

The full list of processes and services targeted can be found in the appendix

Unlocking Files in Use

When a file cannot be opened because another process holds it open, Beast uses the Windows Restart Manager to release it. The relevant functions are resolved at runtime from rstrtmgr.dll. RmStartSession opens a session, RmRegisterResources registers the locked file, RmGetList identifies the processes holding it, and RmShutdown terminates them before RmEndSession closes the session. The file open is then retried.

This allows Beast to encrypt files held open by applications that were not covered by the process and service kill lists.

Delete Shadow Copies

Beast removes existing Volume Shadow Copies to inhibit recovery of encrypted files through Windows shadow-copy mechanisms. It queries the Win32_ShadowCopy WMI class to enumerate available shadow copies and then deletes each identified instance.

IWbemServices::ExecQuery("WQL", "SELECT * FROM Win32_ShadowCopy")
IWbemServices::DeleteInstance("\MachineName\ROOT\CIMV2:Win32_ShadowCopy.ID="{Shadow Copy ID}"")

The routine sets __ProviderArchitecture to handle WOW64 execution and verifies administrative rights before proceeding, as shadow copy deletion will otherwise fail.

Empty Recycle Bin

Beast empties the Windows Recycle Bin using SHEmptyRecycleBin, removing files that may otherwise remain available for recovery.

File and Drive Discovery

Beast enumerates logical drives and traverses their file systems to identify files eligible for encryption. GetLogicalDriveStringsW is used to enumerate available logical drives, while FindFirstFileW and FindNextFileW recursively enumerate files and directories within the identified locations.

Encryption

Beast then encrypts the identified files across the previously discovered storage locations. The encryption process operates on the files selected during the preceding discovery stages, completing the ransomware’s execution chain.

Beast combines ChaCha20 with a Curve25519-based ECDH key hierarchy designed to give every encrypted file unique key material while allowing either of two attacker-held keys to recover the victim’s session key.

Key Hierarchy

Beast uses three levels of key material:

Tier Scope Purpose
Attacker public keys Per build Used to protect the victim session key
Victim session keypair Per machine Provides the long-lived key material from which individual files can be recovered
Per-file keypair Per file Produces unique key material for each encrypted file

On first execution, Beast generates a random Curve25519 session keypair for the victim. The session private key is then protected twice, once using each of the two attacker public keys embedded in the configuration. This gives two independent attacker-side keys the ability to recover the same victim session material. Once both protected copies exist, the plaintext session private key is wiped from memory.

Beast writes a 128-byte key file named default.key, placed beside the executable or in the %TEMP% folder. This file holds the public session key and the two protected copies of the private session key. On subsequent runs Beast reuses this file if present, which keeps the victim identifier and session keys consistent across executions.

For every file, Beast generates another temporary Curve25519 keypair. The per-file private key is combined with the victim’s session public key through ECDH, and the resulting shared secret is hashed with SHA-512 to produce the ChaCha20 key and nonce for that file. Because a new ephemeral keypair is generated for every file, files encrypted on the same machine do not share the same key.

Every encrypted file receives a 160-byte footer containing the victim’s session public key, both protected copies of the session private key, that file’s ephemeral public key, the original file size, the number of encrypted chunks, a checksum used to confirm the correct key was derived, and an 8-byte marker. The marker lets Beast recognise files it has already processed and skip them, which is how re-runs avoid double encryption regardless of what extension was configured.

# Beast magic marker
66 6B EA 57 1A BE 16 66

In this layered design, the attacker only needs to recover the victim’s session private key once; the information stored alongside each encrypted file can then be used to reconstruct its individual encryption key.

Intermittent Encryption

Beast divides files into fixed 128 KiB chunks and processes only a configurable proportion of them. The analyzed build is configured for 25% encryption, but Beast enforces a minimum of three encrypted chunks. Consequently, sufficiently small files are effectively encrypted in full even when the percentage is set below 100%.

Below 1 GiB, the encrypted chunks are distributed across the whole file. At 1 GiB and above, Beast instead encrypts alternating chunks sequentially from the beginning of the file and stops after 4096 of them, capping the total encrypted volume at 512 MiB, all of it within the first gigabyte. Very large files such as database and backup volumes are therefore damaged only at the front, with the remainder left untouched. This intermittent approach substantially reduces the amount of data that must be processed when encrypting large file shares. The percentage is stored in the embedded configuration and can also be changed at runtime.

Encrypted files

Beast renames encrypted files using the victim identifier and configured extension. For the analyzed build the extension is moon:

<original_filename>.{<victim-id>}.moon

Beast also supports an alternative ZIP mode. When enabled, ZIP structures are written into the encrypted file alongside its contents, with the ransom note included as an archive entry. The configuration contains both the plaintext README.TXT ransom note and a pre-compressed copy used by this mode.

Excluded filenames, extensions and folders can be found in the Appendix.

Emulating Beast Ransomware

The behaviors described above have been operationalized into an AttackIQ attack graph that reproduces the observed execution flow, enabling teams to validate detection and prevention across a realistic attack chain rather than isolated events.

Stage 1: Discovery & Persistence – Beast Ransomware Deployment

In this stage, Beast ransomware is deployed on the system and collects host information using Windows APIs. It first retrieves the system’s default UI language through GetSystemDefaultUILanguage and locale information through GetLocaleInfoW. It then calls GetNativeSystemInfo and GetSystemInfo to gather system architecture and processor details, GetVersionExW to retrieve operating system version information, and GetComputerNameW to obtain the computer name. Finally, Beast establishes persistence through registry Run keys, configuring itself to execute automatically when a user logs on.

In this stage, Beast enumerates running processes using CreateToolhelp32Snapshot and Process32FirstW with Process32NextW. It then attempts to enable SeTakeOwnershipPrivilege through AdjustTokenPrivileges, allowing it to take ownership of files and other securable objects. Beast also reads the ARP cache using GetIpNetTable to identify neighboring hosts on private subnets and enumerates network resources through WNetOpenEnumW and WNetEnumResourceW. Finally, it enumerates shares on reachable hosts using NetShareEnum, queuing discovered shares for encryption.

Stage 3: Impact – Beast Ransomware Encryption

In this stage, Beast identifies accessible storage locations and prepares them for encryption. It enumerates logical drives using GetLogicalDriveStringsW and determines their types through GetDriveTypeW. It also discovers volumes using FindFirstVolumeW and FindNextVolumeW, retrieves their associated paths through GetVolumePathNamesForVolumeNameW, resolves volume names through GetVolumeNameForVolumeMountPointW, and assigns volume mount points using SetVolumeMountPointW. Beast then traverses the file system using FindFirstFileW and FindNextFileW to identify files for encryption.

To inhibit recovery, Beast queries Win32_ShadowCopy instances through IWbemServices::ExecQuery and deletes the identified Volume Shadow Copies using IWbemServices::DeleteInstance. Finally, it encrypts targeted files using ChaCha20, with Curve25519 to protect the encryption keys.

Scope note: AttackIQ adversary emulations are built to run safely in live production environments. Any behavior that is destructive, that affects systems beyond the test host, or that cannot be cleanly reversed is intentionally excluded from the emulation.

Wrap Up

In summary, this emulation evaluates security and incident-response processes and supports improving your security control posture against the behaviors exhibited by Beast Ransomware. With data generated from continuous testing, you can focus your teams on key security outcomes, tune your controls, and elevate total security program effectiveness against a known threat.

AttackIQ is the leader in threat-informed Continuous Threat Exposure Management (CTEM), helping organizations continuously validate defenses, optimize security controls, and reduce threat debt through evidence-based security operations. Through AVA Agentic OS, AttackIQ introduces the industry’s first agentic operating system for CTEM, enabling organizations to execute it autonomously at scale. By orchestrating specialized AI agents across threat intelligence, security validation, detection engineering, control optimization, threat debt reduction, and AI security validation, AttackIQ transforms fragmented security activities into continuous cyber resilience.


Appendix

Indicators of Compromise

Host

Type Value
SHA-256 4c44ac1eea4bc7f4ea542d611b5658d7ac2729d79abe750da83f1581cd832eaf
Mutex BEAST HERE?
Encrypted file extension .{<victim-GUID>}.moon
File footer marker (last 8 bytes) 66 6B EA 57 1A BE 16 66
Ransom note README.TXT
Key file default.key
Registry persistence HKCUSOFTWAREMicrosoftWindowsCurrentVersionRun, value {<victim-GUID>}
Relocation path %ALLUSERSPROFILE%{<victim-GUID>}<8 random letters>.exe

Network

Type Value
Beacon URL https://iplogger[.]co/1v1i85.torrent
HTTP User-Agent Victim GUID
HTTP Referer BEGIN or END
Type Value
Email vortexecho@zohomail[.]eu
Email (reserve) somran@onionmail[.]com
Telegram @somran2024

Targeted Services (73)

AcronisAgent, AcrSch2Svc, backup, BackupExecAgentAccelerator, BackupExecAgentBrowser, BackupExecDiveciMediaService, BackupExecJobEngine, BackupExecManagementService, BackupExecRPCService, BackupExecVSSProvider, CAARCUpdateSvc, CASAD2DWebSvc, ccEvtMgr, ccSetMgr, DefWatch, GxBlr, GxCIMgr, GxCVD, GxFWD, GxVss, Intuit.QuickBooks.FCS, memtas, mepocs, msexchange, PDVFSService, QBCFMonitorService, QBFCService, QBIDPService, RTVscan, SavRoam, sophos, sql, stc_raw_agent, svc$, veeam, VeeamDeploymentService, VeeamNFSSvc, VeeamTransportSvc, VSNAPVSS, vss, wscsvc, wuauserv, YooBackup, YooIT, zhudongfangyu, MSSQLFDLauncher", MSSQLSERVER, SQLSERVERAGENT, SQLBrowser, SQLTELEMETRY, MsDtsServer130, SSISTELEMETRY130, SQLWriter, MSSQL$VEEAMSQL2012, SQLAgent$VEEAMSQL2012, MSSQL, SQLAgent, MSSQLServerADHelper100, MSSQLServerOLAPService, MsDtsServer100, ReportServer, SQLTELEMETRY$HL, TMBMServer, MSSQL$PROGID, MSSQL$WOLTERSKLUWER, SQLAgent$PROGID, SQLAgent$WOLTERSKLUWER, MSSQLFDLauncher$OPTIMA, MSSQL$OPTIMA, SQLAgent$OPTIMA, ReportServer$OPTIMA, msftesql$SQLEXPRESS, postgresql-x64-9.4

Targeted Processes (52)

agntsvc.exe, agntsvc.exeagntsvc.exe, agntsvc.exeencsvc.exe, agntsvc.exeisqlplussvc.exe, apache.exe, backup.exe, dbeng50.exe, dbsnmp.exe, encsvc.exe, excel.exe, firefox.exe, firefoxconfig.exe, infopath.exe, isqlplussvc.exe, kingdee.exe, msaccess.exe, msftesql.exe, mspub.exe, mydesktopqos.exe, mydesktopservice.exe, mysqld-nt.exe, mysqld-opt.exe, mysqld.exe, ncsvc.exe, notepad.exe, ocautoupds.exe, ocomm.exe, ocssd.exe, onenote.exe, oracle.exe, outlook.exe, powerpnt.exe, sqbcoreservice.exe, sql.exe, sqlagent.exe, sqlbrowser.exe, sqlserver.exe, sqlservr.exe, sqlwriter.exe, steam.exe, synctime.exe, tbirdconfig.exe, thebat.exe, thunderbird.exe, tomcat.exe, tomcat6.exe, u8.exe, ufida.exe, visio.exe, winword.exe, wordpad.exe, xfssvccon.exe

Excluded Filenames (16):

autorun.inf, boot.ini, bootfont.bin, bootmgfw.efi, bootmgr, bootmgr.efi, bootsect.bak, desktop.ini, GDIPFONTCACHEV1.DAT, iconcache.db, ntdetect.com, ntldr, ntuser.dat, ntuser.dat.log, ntuser.ini, thumbs.db

Excluded Extensions (51):

.386, .adv, .ani, .bat, .bin, .cab, .cmd, .com, .cpl, .cur, .deskthemepack, .diagcab, .diagcfg, .diagpkg, .dll, .drv, .exe, .hlp, .hta, .icl, .icns, .ico, .ics, .idx, .key, .ldf, .lnk, .lock, .mod, .mpa, .msc,  .msi, .msp, .msstyles, .msu, .nls, .nomedia, .ocx, .pdb, .prf, .ps1, .rom, .rtp, .scr, .search-ms, .shs, .spl, .sys, .theme, .themepack, .wpx

Excluded Folders (53):

#recycle, EFI.Boot, EFI.Microsoft, $Recycle.Bin, $Windows.~bt, $Windows.~ws, All Users, AppData, Application Data, Avast Software, Bitdefender, Boot, Common Files, config.msi, Embedded Lockdown Manager, Google, GoogleChrome, inetpublogs, intel, Internet Explorer, Microsoft Help, Microsoft.NET, Microsoft, Mozilla Firefox, Mozilla, MSBuild, MSOCache, nvidia, Opera Software, Opera, Package Cache, PerfLogs, ProgramData, Reference Assemblies, System Volume Information, Tor Browser, Trend Micro, Windows Defender Advanced Threat Protection, Windows Defender, Windows Journal, Windows Mail, Windows Media Player, Windows Multimedia Platform, Windows NT, Windows Photo Viewer, Windows Portable Devices, Windows Security, Windows Sidebar, Windows.old, Windows, WindowsPowerShell, Program Files, Program Files (x86)