Skip to main content
Mallory
MalwareRansomwareUsed by 1 actor

PyDCrypt

PyDCrypt is a custom malware tool used by Moses Staff. It is described as a Python program built with PyInstaller that is used to infect other computers on the network and ensure that the main payload DCSrv is executed properly. Reported behavior includes attempting execution via PowerShell and WMIC, dropping DCSrv to disk under the filename svchost.exe, and modifying firewall rules on remote machines with netsh.exe to allow incoming SMB, NetBIOS, and RPC connections. PyDCrypt has been referenced alongside other Moses Staff tooling such as DCSrv and StrifeWater in operations targeting victim organizations, including Israeli entities and other international organizations. Supporting reporting assesses that Moses Staff used malware-enabled exfiltration in some intrusions and that PyDCrypt was part of that broader toolset. Known related indicators mentioned in the content include the hashes 48220a3a4c72317ae0fbb08e255b8350, 4cba27111c5fca7a1ae78566de2df5b3, a7704fbccaeb78678a5f94714993567c, aa579d5f062f02d9ff76910560bb312c, and f8c06e955718639ba9ffdd4265965593, though the content does not explicitly map individual hashes to PyDCrypt specifically.

Share:
For your environment

Hunt this family in your stack

Mallory pivots from this family to the IOCs, detections, and named campaigns that touch your stack, and pages you when something new lands.

THREAT ACTORS

Groups observed using it

1 distinct threat actor attributed by public researchers. Open in Mallory to see the full evidence chain and overlapping campaigns.

View more details
Moses Staff

the files seem to have been exfiltrated through the use of malware from computers belonging to the targeted organization, and this behavior has been carried out by this threat actor using custom tools, such as PyDCrypt, DCSrv, and StrifeWater. 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.

via securelistsecurelist.com
MITRE ATT&CK

Techniques & procedures

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

T1587.001MalwareEvidence1

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

Execution

4 techniques
T1047Windows Management InstrumentationEvidence3
TacticExecution

The content repeatedly describes threat actors and malware using WMI/WMIC/wmiexec for remote execution, lateral movement, discovery, persistence, and administrative actions; e.g., 'APT41 used WMI in several ways, including for execution of commands via WMIEXEC as well as for persistence via PowerSploit' and 'Scattered Spider used Windows Management Instrumentation (WMI) to move laterally via Impacket.'

T1059.001PowerShellEvidence3
TacticExecution

The content repeatedly describes threat actors and malware using PowerShell scripts/commands for execution, download, staging, reconnaissance, persistence, credential access, lateral movement, and defense evasion; e.g., "Sandworm Team used PowerShell scripts to run a credential harvesting tool in memory to evade defenses."

T1059.003Windows Command ShellEvidence3
TacticExecution

During the 2016 Ukraine Electric Power Attack, Sandworm Team used the xp_cmdshell command in MS-SQL. During the 2025 Poland Wiper Attacks, the adversaries leveraged PsExec to run cmd.exe commands on multiple victim machines. Numerous malware families and groups are described as using cmd.exe, cmd /c, Windows command shell, or command-line interfaces to execute commands, payloads, reconnaissance, persistence, cleanup, and ransomware actions.

T1059.006PythonEvidence2
TacticExecution

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.

Stealth

7 techniques
T1027Obfuscated Files or InformationEvidence5
TacticStealth

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
TacticStealth

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 FileEvidence1
TacticStealth
T1036MasqueradingEvidence2
TacticStealth

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 LocationEvidence1
TacticStealth
T1070.004File DeletionEvidence6
TacticStealth

The content repeatedly describes threat actors and malware deleting files, tools, scripts, logs, droppers, staged data, and artifacts from compromised systems to cover tracks, remove evidence, or self-delete.

T1140Deobfuscate/Decode Files or InformationEvidence4
TacticStealth

The content repeatedly describes malware and threat actors decoding, decrypting, or deobfuscating payloads, strings, configuration data, commands, and C2 traffic prior to execution or use, e.g., 'APT28 macro uses the command certutil -decode to decode contents of a .txt file storing the base64 encoded payload' and 'Action RAT can use Base64 to decode actor-controlled C2 server communications.'

Discovery

2 techniques
T1033System Owner/User DiscoveryEvidence3
TacticDiscovery

The content repeatedly describes malware and threat actors collecting usernames, identifying logged-in users, running whoami/query user/quser, checking admin status, and enumerating user sessions.

T1049System Network Connections DiscoveryEvidence1
TacticDiscovery

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.

Other

1 technique
T1562.004Disable or Modify System FirewallEvidence1
What this page doesn’t show

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 matching

Match every observed IP, domain, and hash against your live telemetry.

Threat actor attribution1

Named campaigns wielding this family, with evidence pinned to each claim.

Exploited vulnerabilities

CVEs this family uses for access and lateral movement.

Detection signatures

YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.

MITRE ATT&CK mapping18

Every documented technique, ranked by evidence weight.

Researcher chatter

Reddit, Mastodon, and CTI community discussion around this family.