DCSrv
- Type
- Ransomware
- Capabilities
- PersistenceDefense evasionReconnaissance
- Platforms
- Windows
DCSrv is a Windows disk-encrypting ransomware payload developed and deployed by Moses Staff. It uses the core encryption mechanism of the legitimate open-source DiskCryptor utility to encrypt system volumes and block access to compromised computers. Its deployment is associated with disruptive operations against Israeli organizations rather than conventional financially motivated ransomware activity; Moses Staff typically provides no practical mechanism for ransom payment and data recovery.
DCSrv is dropped and executed by PyDCrypt, a companion tool that spreads within compromised networks. It disguises its executable and service as a legitimate Windows service-host component and establishes persistence by creating Windows Registry entries and registering services. It compares the infected host’s current time with a configured value to determine when encryption should begin, uses Windows APIs including DeviceIoControl during encryption, and includes a function that waits two hours before rebooting the system.
DCSrv forms part of Moses Staff’s custom malware arsenal alongside PyDCrypt and StrifeWater. Its role is volume encryption and system disruption; network propagation and remote-access functions are supplied by companion tools.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
Although the threat intelligence research community has identified custom offensive tooling observed in Moses Staff attacks, such as StrifeWater, PyDCrypt and DCSrv, we do not exclude the possibility of Moses Staff and Abraham’s Ax sharing tooling and operational practices making accurate clustering challenging at this time.
Techniques & procedures
18 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
Moses Staff has built malware, such as DCSrv and PyDCrypt, for targeting victims' machines.
Execution
3 techniques
Execution
PyDCrypt is a program written in Python and built with PyInstaller that is used to infect other computers on the network and ensure that the main payload DCSrv is executed properly.
[DCSrv](https://attack.mitre.org/software/S1033) has used various Windows API functions, including `DeviceIoControl`, as part of its encryption process.(Citation: Checkpoint MosesStaff Nov 2021)
They also replaced the ImagePath registry value of a Windows service with a new backdoor binary.
Persistence
3 techniques
Persistence
[DCSrv](https://attack.mitre.org/software/S1033) has created Registry keys for persistence.(Citation: Checkpoint MosesStaff Nov 2021)
[DCSrv](https://attack.mitre.org/software/S1033) has created new services for persistence by modifying the Registry.(Citation: Checkpoint MosesStaff Nov 2021)
Agent Tesla can achieve persistence by modifying Registry key entries. Attor's dispatcher can modify the Run registry key. Kimsuky has also modified the registry entry for HKCU:\Software\Microsoft\Windows\CurrentVersion\Run registry key for persistence with the name WindowsSecurityCheck. PLAINTEE uses reg add to add a Registry Run key for persistence.
Privilege Escalation
2 techniques
Privilege Escalation
[DCSrv](https://attack.mitre.org/software/S1033) has created new services for persistence by modifying the Registry.(Citation: Checkpoint MosesStaff Nov 2021)
Agent Tesla can achieve persistence by modifying Registry key entries. Attor's dispatcher can modify the Run registry key. Kimsuky has also modified the registry entry for HKCU:\Software\Microsoft\Windows\CurrentVersion\Run registry key for persistence with the name WindowsSecurityCheck. PLAINTEE uses reg add to add a Registry Run key for persistence.
Stealth
5 techniques
Stealth
The content repeatedly describes payloads, strings, configuration files, scripts, URLs, and binaries being obfuscated or encoded using Base64, XOR, RC4, AES, RSA, hex encoding, custom algorithms, and other methods across many malware families and threat actors.
[DCSrv](https://attack.mitre.org/software/S1033)'s configuration is encrypted.(Citation: Checkpoint MosesStaff Nov 2021)
During the 2016 Ukraine Electric Power Attack, DLLs and EXEs with filenames associated with common electric power sector protocols were used to masquerade files.
[DCSrv](https://attack.mitre.org/software/S1033) has masqueraded its service as a legitimate svchost.exe process.(Citation: Checkpoint MosesStaff Nov 2021)
They also replaced the ImagePath registry value of a Windows service with a new backdoor binary.
Defense Impairment
1 technique
Defense Impairment
[DCSrv](https://attack.mitre.org/software/S1033) has created Registry keys for persistence.(Citation: Checkpoint MosesStaff Nov 2021)
Discovery
1 technique
Discovery
[DCSrv](https://attack.mitre.org/software/S1033) can compare the current time on an infected host with a configuration value to determine when to start the encryption process.(Citation: Checkpoint MosesStaff Nov 2021)
Lateral Movement
1 technique
Lateral Movement
PyDCrypt is a program written in Python and built with PyInstaller that is used to infect other computers on the network and ensure that the main payload DCSrv is executed properly.
Exfiltration
2 techniques
Exfiltration
Overall, the leaked data seems to be the result of hacking operations by Moses Staff: the files seem to have been exfiltrated through the use of malware from computers belonging to the targeted organization...
Their main activity is to damage Israeli companies by stealing and publishing sensitive data... The archive was first published by Moses Staff in June 2022, it included leaked data from multiple companies in Israel.
Impact
3 techniques
Impact
[DCSrv](https://attack.mitre.org/software/S1033) has encrypted drives using the core encryption mechanism from DiskCryptor.(Citation: Checkpoint MosesStaff Nov 2021)
DCSrv blocks all access to the computer and encrypts all its volumes using the legitimate open-source encryption utility DiskCryptor.
[DCSrv](https://attack.mitre.org/software/S1033) has a function to sleep for two hours before rebooting the system.(Citation: Checkpoint MosesStaff Nov 2021)
Recent activity
19 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.