Skip to main content
Mallory
Malware2 associated actors

PyDCrypt

Tracked since Dec 5, 2025 · Updated 3 months ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 daysNo mention activity in the last 30 days.
Vulns0Associated
Actors2Associated
ATT&CK19Techniques
IOCs0Tracked
Type
Loader
Capabilities
ExfiltrationLateral movementPost exploitationDefense evasionReconnaissanceSpoofing
Platforms
Windows

PyDCrypt is a custom Windows malware component associated with Moses Staff, an Iran-linked cluster also tracked under the broader Cobalt Sapling umbrella. It is described as a Python program packaged with PyInstaller and used in intrusions against victim organizations, particularly in operations involving data theft, network propagation, and preparation for disruptive follow-on activity. PyDCrypt has been observed alongside other Moses Staff tooling, notably DCSrv and StrifeWater, in campaigns targeting Israeli organizations and other victims across multiple countries.

Functionally, PyDCrypt appears to serve as a lateral movement and execution-enablement component rather than the final disruptive payload itself. It has been used to infect additional computers on a victim network and to ensure that the main payload, DCSrv, is executed properly. Observed behavior includes dropping DCSrv to disk while masquerading it as a legitimate Windows process, executing commands through PowerShell and WMIC, modifying firewall rules on remote machines to permit SMB, NetBIOS, and RPC connectivity, and probing compromised hosts with whoami to collect the current username. These behaviors indicate a role in post-compromise reconnaissance, remote execution, internal spread, and operational staging.

PyDCrypt has been linked to incidents in which files were exfiltrated from targeted organizations using custom Moses Staff malware. In the broader Moses Staff intrusion chain, PyDCrypt supports access expansion and payload deployment, while DCSrv has been associated with host lockout and DiskCryptor-based volume encryption. This places PyDCrypt within a toolset used for espionage, data theft, and disruptive operations against enterprise Windows environments.

Is this in your environment?See whether this family's indicators match your telemetry and which of your assets are exposed to the CVEs associated with it.
Check your exposure
Threat actors

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.

View more details →
Moses Staff

(Citation: Checkpoint MosesStaff Nov 2021)

via mitre attack structuredgithub.com
COBALT SAPLING

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.

via sentinelone labssentinelone.com
MITRE ATT&CK

Techniques & procedures

19 distinct techniques documented for this family, organized by ATT&CK tactic.

Resource Development

1 technique
T1587.001MalwareEvidence1

Moses Staff has built malware, such as DCSrv and PyDCrypt, for targeting victims' machines.

Execution

4 techniques
T1047Windows Management InstrumentationEvidence5

[PyDCrypt](https://attack.mitre.org/software/S1032) has attempted to execute with WMIC.(Citation: Checkpoint MosesStaff Nov 2021)

T1059.001PowerShellEvidence5

[PyDCrypt](https://attack.mitre.org/software/S1032) has attempted to execute with PowerShell.(Citation: Checkpoint MosesStaff Nov 2021)

T1059.003Windows Command ShellEvidence5

[PyDCrypt](https://attack.mitre.org/software/S1032) has used `cmd.exe` for execution.(Citation: Checkpoint MosesStaff Nov 2021)

T1059.006PythonEvidence4

[PyDCrypt](https://attack.mitre.org/software/S1032), along with its functions, is written in Python.(Citation: Checkpoint MosesStaff Nov 2021)

Stealth

7 techniques
T1027Obfuscated Files or InformationEvidence5

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.

T1027.002Software PackingEvidence2

Examples include 'Mosquito’s installer is obfuscated with a custom crypter,' 'PyDCrypt has been compiled and encrypted with PyInstaller, specifically using the --key flag,' and 'Threat Group-3390 malware is also obfuscated using Metasploit’s shikata_ga_nai encoder.'

T1027.013Encrypted/Encoded FileEvidence3

[PyDCrypt](https://attack.mitre.org/software/S1032) has been compiled and encrypted with PyInstaller, specifically using the --key flag during the build phase.(Citation: Checkpoint MosesStaff Nov 2021)

T1036MasqueradingEvidence2

During the 2016 Ukraine Electric Power Attack, DLLs and EXEs with filenames associated with common electric power sector protocols were used to masquerade files.

T1036.005Match Legitimate Resource Name or LocationEvidence3

[PyDCrypt](https://attack.mitre.org/software/S1032) has dropped [DCSrv](https://attack.mitre.org/software/S1033) under the `svchost.exe` name to disk.(Citation: Checkpoint MosesStaff Nov 2021)

T1070.004File DeletionEvidence8

[PyDCrypt](https://attack.mitre.org/software/S1032) will remove all created artifacts such as dropped executables.(Citation: Checkpoint MosesStaff Nov 2021)

T1140Deobfuscate/Decode Files or InformationEvidence7

[PyDCrypt](https://attack.mitre.org/software/S1032) has decrypted and dropped the [DCSrv](https://attack.mitre.org/software/S1033) payload to disk.(Citation: Checkpoint MosesStaff Nov 2021)

Defense Impairment

1 technique
T1686Disable or Modify System FirewallEvidence3

[PyDCrypt](https://attack.mitre.org/software/S1032) has modified firewall rules to allow incoming SMB, NetBIOS, and RPC connections using `netsh.exe` on remote machines.(Citation: Checkpoint MosesStaff Nov 2021)

Discovery

2 techniques
T1033System Owner/User DiscoveryEvidence7

[PyDCrypt](https://attack.mitre.org/software/S1032) has probed victim machines with <code>whoami</code> and has collected the username from the machine.(Citation: Checkpoint MosesStaff Nov 2021)

T1049System Network Connections DiscoveryEvidence3

[PyDCrypt](https://attack.mitre.org/software/S1032) has used [netsh](https://attack.mitre.org/software/S0108) to find RPC connections on remote machines.(Citation: Checkpoint MosesStaff Nov 2021)

Lateral Movement

1 technique
T1570Lateral Tool TransferEvidence1

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
T1041Exfiltration Over C2 ChannelEvidence1

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...

T1537Transfer Data to Cloud AccountEvidence1

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

1 technique
T1486Data Encrypted for ImpactEvidence1

Operations attributed to Moses Staff have involved RATs and ransomware with no indications of financial motivations, but rather disruption, destruction, and concealment of cyber espionage activities.

Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets match these IOCs, which detections are missing, which campaigns to expect next, and what to do in the next 30 minutes.
IOC matchingMatch every observed IP, domain, and hash against your live telemetry.
Associated threat actors2Groups linked to this family, with evidence pinned to each claim.
Associated vulnerabilitiesCVEs linked to this family, with the reporting behind each link.
Detection signaturesYARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
MITRE ATT&CK mapping19Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.