Skip to main content
Mallory
Malware

Kramer

Tracked since Mar 26, 2026 · Updated 11 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
Vulns0Associated
Actors0Associated
ATT&CK11Techniques
IOCs22Tracked
Type
Crypter
Capabilities
Defense evasionProcess injection
Delivery
Lure
Platforms
Windows

Kramer is a Python obfuscation framework whose name is also used to classify obfuscated Python malware. It conceals malicious code using compiled Python bytecode and runtime deobfuscation through exec() and eval(). Observed Windows deployments have used Python 3.12 bytecode disguised as Python source files and distributed with bundled Python runtimes. Kramer-associated payloads include remote-access and information-stealing components; observed Python components have performed memory injection, shellcode execution, and outbound network communication.

Kramer-protected payloads have appeared in multistage cybercrime campaigns targeting UK and German-speaking victims with invoice and scanned-document lures. Delivery chains use disguised shortcuts or Windows script files, batch stagers, and downloaded archives, with payloads hosted through WebDAV-accessible infrastructure and Cloudflare Quick Tunnels. Supporting scripts establish persistence through the Windows Startup folder, conceal staging directories, and remove intermediate scripts. One associated campaign was linked to the operator behind Operation Nutten Tunnel. Kramer denotes the obfuscation layer and associated detection label, rather than establishing that every protected payload belongs to the same remote-access malware family.

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
MITRE ATT&CK

Techniques & procedures

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

Execution

5 techniques
T1059Command and Scripting InterpreterEvidence1

This execution pattern shows a separation of responsibilities: VBS file acts as an obfuscated launcher, PowerShell serves as a fileless delivery mechanism... Combined with batch scripting and PowerShell, this multi-language approach provides resilience against partial detection or containment.

T1059.003Windows Command ShellEvidence1

The batch script was encoded in UTF-16LE... Upon execution, it ran in a hidden context and established outbound connections to external URLs hosting additional ZIP, BAT, and TXT-based payloads.

T1059.006PythonEvidence1

Sandbox detonation of these files confirmed that this delivery chain facilitated the deployment of Python-based payloads in addition to script-based components.

T1204.001Malicious LinkEvidence1

The ZIP file did not contain a legitimate document, but an Internet Shortcut file disguised as a PDF. When executed, the shortcut redirected the system to attacker-controlled, Cloudflare domains...

T1204.002Malicious FileEvidence1

The /invoice/ directory hosted a separate attack chain with a malicious batch script and a ZIP folder containing a fake PDF internet shortcut file.

Privilege Escalation

1 technique
T1055Process InjectionEvidence1

Behavioral telemetry associated with the Python components included indicators of memory injection, shellcode execution, and outbound network activity...

Stealth

3 techniques
T1027Obfuscated Files or InformationEvidence2

All five use a custom "Kramer" obfuscator that compiles Python source to .pyc bytecode and disguises the compiled files with .py extensions. Static analysis tools that parse Python source code see garbage.

T1055Process InjectionEvidence1

Behavioral telemetry associated with the Python components included indicators of memory injection, shellcode execution, and outbound network activity...

T1140Deobfuscate/Decode Files or InformationEvidence1

Only a Python bytecode decompiler reveals the actual logic.

Collection

1 technique
T1560Archive Collected DataEvidence1

Artifacts within this directory included a batch script (44rrr.bat) and a compressed archive masquerading as a PDF (Invoice-JL1852586778.pdf.zip).

Command and Control

1 technique
T1105Ingress Tool TransferEvidence1

The decoded PowerShell command exhibited behavior consistent with a fileless malware loader. It explicitly enforced the use of TLS 1.2 and leveraged the Net.WebClient class to retrieve remote content over HTTP.

Exfiltration

1 technique
T1048Exfiltration Over Alternative ProtocolEvidence1

At the network level, blocking or tightly controlling WebDAV traffic would disrupt Internet Shortcut–based delivery methods... bacteria-spent-endless-grammar.trycloudflare[.]com@SSL\DavWWWRoot\okl\Scan704370326.wsh

Indicators of compromise

Observables

22 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 matching22Match every observed IP, domain, and hash against your live telemetry.
Associated threat actorsGroups 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 mapping11Every documented technique, ranked by evidence weight.
Researcher chatterReddit, Mastodon, and CTI community discussion around this family.