Skip to main content
Mallory
Malware2 associated actors

Small Sieve

Tracked since Dec 5, 2025 · Updated 1 month 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
IOCs27Tracked
Type
Backdoor
Capabilities
PersistencePost exploitationDefense evasionReconnaissance
Platforms
Windows
Also known asGRAMDOOR

Small Sieve, also known as GRAMDOOR, is a Python-based Windows backdoor used by MuddyWater, an Iranian cyberespionage group subordinate to Iran’s Ministry of Intelligence and Security. It is distributed through a Nullsoft Scriptable Install System (NSIS) installer, with analyzed payloads packaged using PyInstaller and Python 3.9. The installer establishes persistence through a per-user Windows Registry Run entry. Small Sieve forms part of MuddyWater’s malware arsenal used in operations against government and private-sector organizations, including telecommunications, defense, local government, and oil and natural gas.

The backdoor uses the Telegram Bot API over HTTPS for beaconing, receiving commands, and returning results. Its functionality includes identifying the logged-in user, downloading files, executing commands through the Windows command shell, changing its Telegram authentication token, and disconnecting. It applies custom byte-shuffling and string-encoding routines, including Base64 and a custom alphabet, to obscure communications and stored configuration. Malicious components masquerade as Microsoft, Outlook, or Windows Defender-related artifacts, sometimes using misspelled product names. Execution requires a specific command-line argument, providing an execution guardrail. An analyzed termination command stops the backdoor without removing its persistence mechanism.

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 →
MuddyWater

Small Sieve is a simple Python backdoor distributed using a Nullsoft Scriptable Install System (NSIS) installer, gram_app.exe.

via cisa advisoriescisa.gov
MuddyCoast

"Mandiant has named this backdoor GRAMDOOR due to its ability to use the Telegram Bot API for communication."

via mandiant threat intelligencecloud.google.com
MITRE ATT&CK

Techniques & procedures

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

Execution

2 techniques
T1059.003Windows Command ShellEvidence7

[Small Sieve](https://attack.mitre.org/software/S1035) can use `cmd.exe` to execute commands on a victim's system.(Citation: NCSC GCHQ Small Sieve Jan 2022)

T1059.006PythonEvidence5

[Small Sieve](https://attack.mitre.org/software/S1035) can use Python scripts to execute commands.(Citation: NCSC GCHQ Small Sieve Jan 2022)

Persistence

1 technique
T1547.001Registry Run Keys / Startup FolderEvidence10

[Small Sieve](https://attack.mitre.org/software/S1035) has the ability to add itself to `HKCU\Software\Microsoft\Windows\CurrentVersion\Run\OutlookMicrosift` for persistence.(Citation: NCSC GCHQ Small Sieve Jan 2022)

Privilege Escalation

1 technique
T1547.001Registry Run Keys / Startup FolderEvidence10

[Small Sieve](https://attack.mitre.org/software/S1035) has the ability to add itself to `HKCU\Software\Microsoft\Windows\CurrentVersion\Run\OutlookMicrosift` for persistence.(Citation: NCSC GCHQ Small Sieve Jan 2022)

Stealth

4 techniques
T1027Obfuscated Files or InformationEvidence10

[Small Sieve](https://attack.mitre.org/software/S1035) has the ability to use a custom hex byte swapping encoding scheme combined with an obfuscated Base64 function to protect program strings and Telegram credentials.(Citation: NCSC GCHQ Small Sieve Jan 2022)

T1036MasqueradingEvidence3

The malicious file impersonates a legitimate file that is signed as a Google Update executable file.

T1036.005Match Legitimate Resource Name or LocationEvidence4

[Small Sieve](https://attack.mitre.org/software/S1035) can use variations of Microsoft and Outlook spellings, such as "Microsift", in its file names to avoid detection.(Citation: NCSC GCHQ Small Sieve Jan 2022)

T1480Execution GuardrailsEvidence4

[Small Sieve](https://attack.mitre.org/software/S1035) can only execute correctly if the word `Platypus` is passed to it on the command line.(Citation: NCSC GCHQ Small Sieve Jan 2022)

Discovery

2 techniques
T1016System Network Configuration DiscoveryEvidence6

[Small Sieve](https://attack.mitre.org/software/S1035) can obtain the IP address of a victim host.(Citation: NCSC GCHQ Small Sieve Jan 2022)

T1033System Owner/User DiscoveryEvidence8

[Small Sieve](https://attack.mitre.org/software/S1035) can obtain the id of a logged in user.(Citation: NCSC GCHQ Small Sieve Jan 2022)

Command and Control

9 techniques
T1071Application Layer ProtocolEvidence4

It says the Small Sieve's beacons and tasking are performed using Telegram API.

T1071.001Web ProtocolsEvidence7

[Small Sieve](https://attack.mitre.org/software/S1035) can contact actor-controlled C2 servers by using the Telegram API over HTTPS.(Citation: DHS CISA AA22-055A MuddyWater February 2022)

T1102Web ServiceEvidence1

"APT28 has used Google Drive for C2."; "APT37 leverages social networking sites and cloud platforms ... for C2."; "FIN7 used legitimate services like Google Docs, Google Scripts, and Pastebin for C2."

T1102.002Bidirectional CommunicationEvidence3

[Small Sieve](https://attack.mitre.org/software/S1035) has the ability to use the Telegram Bot API from Telegram Messenger to send and receive messages.(Citation: NCSC GCHQ Small Sieve Jan 2022)

T1105Ingress Tool TransferEvidence3

[Small Sieve](https://attack.mitre.org/software/S1035) has the ability to download files.(Citation: NCSC GCHQ Small Sieve Jan 2022)

T1132.001Standard EncodingEvidence1

T1132.001 MuddyWater has used tools to encode C2 communications including Base64 encoding.

T1132.002Non-Standard EncodingEvidence4

[Small Sieve](https://attack.mitre.org/software/S1035) can use a custom hex byte swapping encoding scheme to obfuscate tasking traffic.(Citation: DHS CISA AA22-055A MuddyWater February 2022)(Citation: NCSC GCHQ Small Sieve Jan 2022)

T1573Encrypted ChannelEvidence1

The content repeatedly describes malware and threat actors using SSL, TLS, HTTPS, RSA, AES, Blowfish, RC4, ECIES, Diffie-Hellman, OpenSSL, WolfSSL, and mutual TLS to protect command and control traffic.

T1573.002Asymmetric CryptographyEvidence4

[Small Sieve](https://attack.mitre.org/software/S1035) can use SSL/TLS for its HTTPS Telegram Bot API-based C2 channel.(Citation: DHS CISA AA22-055A MuddyWater February 2022)

Exfiltration

1 technique
T1041Exfiltration Over C2 ChannelEvidence1

It also uses multiple malware sets, such as PowGoop, Small Sieve, Canopy/Starwhale, Mori and POWERSTATS for loading malware, backdoor access, persistence and exfiltration.

Indicators of compromise

Observables

27 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.

View all in app →
Indicator values are available in Mallory. Pivot on every hash, domain, URL, and IP, or pipe them straight into your SIEM.View all in Mallory
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 matching27Match 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.