Pakes

Category: packer · Aliases: VirTool:Win32/Pakes, Trojan:Win32/Pakes, Packer.Win32.Pakes, Win32/Pakes, VirTool.Win32.Pakes.A, Trojan.Win32.Pakes · Sample count (EMBER 2018): 33 · Enrichment: curated_sourced · Updated: 2026-10-15
Category: PackerStatus: Automated SignatureFirst seen: 2008Motivation: Static Antivirus Evasion & Binary Armoring🕸 Explore Relationship Graph⚙ API JSON⚡ Sigma Rule💾 YARA RuleOS: Windows 10, Windows 8.1, Windows 7
Executive Summary
Pakes (tracked across threat intelligence and antivirus databases as VirTool:Win32/Pakes, Trojan:Win32/Pakes, and Packer.Win32.Pakes) is a classic runtime binary packing, compression, and code-obfuscation framework widely abused in crimeware campaigns since 2008.

Table of Contents

Overview

Pakes (tracked across threat intelligence and antivirus databases as VirTool:Win32/Pakes, Trojan:Win32/Pakes, and Packer.Win32.Pakes) is a classic runtime binary packing, compression, and code-obfuscation framework widely abused in crimeware campaigns since 2008. Designed to defeat static antivirus signatures, Pakes encrypts underlying Windows PE executables—frequently password stealers, banking trojans, and worms—encapsulating them within a polymorphic decryption wrapper. Upon execution, the Pakes stub initializes anti-debugging loops (such as calling IsDebuggerPresent and inspecting the PEB BeingDebugged flag), allocates virtual memory with PAGE_EXECUTE_READWRITE permissions, decrypts the compressed code segments using rolling XOR/subtraction algorithms, and jumps directly to the original entry point (OEP) in memory, ensuring that the decrypted binary never touches physical storage.

Known aliases

Threat reports may refer to this family under multiple names:

Family Pedigree & Lineage

Malware authors regularly fork and iterate upon existing codebases. Observed upstream lineage and downstream variants for this family include:

Known Derivatives & Downstream Variants: Virtool:Win32/Pakes.A · Virtool:Win32/Pakes.B · Packer.Win32.Pakes.Gen

MITRE ATT&CK Techniques

This family has been observed using the following ATT&CK techniques: T1027.002 · T1497.001 · T1140 · T1055.001 · T1036

→ Explore the complete 226-Technique ATT&CK Threat Matrix

Tactical Mitigations

Based on the techniques used by this family, consider the following defensive strategies:

MITRE D3FEND™ Defensive Countermeasures

Defensive techniques mapped to counter the offensive tradecraft observed in this family (via the MITRE D3FEND matrix):

D3FEND IDCountermeasure NameTacticCountered ATT&CKDefensive Guidance
D3-EDAExecutable Deobfuscation AnalysisDetectT1027.002Deploy static entropy scanners and dynamic memory-unpacking heuristics to identify obfuscated and packed PE structures.
D3-PMAProcess Lineage & Masquerade AnalysisDetectT1036Verify digital code-signing signatures and compare executable paths against known Windows binaries.
D3-DIADLL Injection AnalysisDetectT1055.001Monitor remote thread creation (CreateRemoteThread) and unauthorized DLL loading into core Windows processes (svchost.exe, explorer.exe).
D3-EEDExecution Environment DetectionDetectT1497.001Configure malware sandboxes to emulate legitimate hardware metrics, realistic mouse movements, and valid system uptimes.

Tiered Detection Rules (Cisco CAIRN Model)

Modern threat detection requires multi-layered rule engineering. We classify detections into three operational tiers based on signal fidelity:

Tier 1 Primitive Artifact Rule (Fast Triage)

Matches raw strings and file markers. Vulnerable to binary repacking and simple obfuscation.

rule MALWARE_WIN_PAKES_T1_ARTIFACT {
    meta:
        description = "Tier 1 Primitive Artifact: Raw string matches for Pakes"
        tier = "T1 - Primitive Artifact"
        confidence = "Low-Medium (Fast Triage)"
        author = "SystemHelpdesk Threat Research Desk"
        date = "2026-10-14"
    strings:
        $s1 = "pakes" ascii wide nocase
        $s2 = "virtool:win32/pakes" ascii wide nocase
        $s3 = "trojan:win32/pakes" ascii wide nocase
        $s4 = "packer.win32.pakes" ascii wide nocase
        $s5 = "win32/pakes" ascii wide nocase
        $s6 = "virtool.win32.pakes.a" ascii wide nocase
        $s7 = "trojan.win32.pakes" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Tier 2 Behavioral Context Rule (Process Chains & Sigma)

Tracks parent-child process anomalies and suspicious scripting telemetry. Resilient against file renames.

title: SystemHelpDesk Detection - Pakes (Packer) Execution & Triage
id: c3d233f2-312e-5f70-9543-a6b581904beb
status: production
description: Detects execution, defense evasion, and persistence behaviors associated
  with the Pakes malware family. Detects suspicious execution from temporary user
  directories with hidden window flags and background transfer utilities.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/pakes
- https://malware-families-catalog.systemhelpdesk.com/defensive/ransomware-protection
- https://malware-families-catalog.systemhelpdesk.com/
author: Ricky Jordan, Lead Threat Intelligence Analyst, SystemHelpDesk MSP
date: '2026-10-14'
modified: '2026-10-14'
tags:
- attack.packer
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1027_002
- attack.t1497_001
- attack.t1140
- attack.t1055_001
- attack.t1036
logsource:
  category: process_creation
  product: windows
detection:
  selection_process:
    Image|endswith:
    - \cmd.exe
    - \powershell.exe
    - \cscript.exe
    - \wscript.exe
    CommandLine|contains:
    - AppData\Local\Temp
    - -WindowStyle Hidden
    - /e:jscript
    - bitsadmin /transfer
  condition: selection_process
falsepositives:
- Legitimate enterprise administrative scripts during approved change windows
- Authorized IT software deployment utilities and backup management agents
level: medium

Tier 3 Attribution Fingerprint Rule (High Fidelity)

Deep signature matching distinctive operational fingerprints and payload characteristics.

rule MALWARE_WIN_PAKES_T3_ATTRIBUTION {
    meta:
        description = "Tier 3 Attribution Fingerprint: Heuristic detection for Pakes tradecraft"
        tier = "T3 - Attribution Fingerprint"
        confidence = "High (Confirmed Family Signature)"
        author = "SystemHelpdesk Threat Research Desk"
        date = "2026-10-14"
    strings:
        // Core family identifier & heuristic payload signatures
        $attrib_str = "pakes" ascii wide nocase
        $pe_magic = "MZ" ascii
        $net_marker = "http" ascii nocase
    condition:
        uint16(0) == 0x5a4d and ($attrib_str and $net_marker) and filesize < 15MB
}
SOC & SIEM Rule Downloads: ⬇ Download YARA Rule (.yar) ⬇ Download Sigma Rule (YAML) ⬇ Download Sigma Rule (JSON) ⚙ Threat Profile API (JSON)

References & External Analysis

Frequently Asked Questions

What is VirTool:Win32/Pakes?

Pakes is a malicious binary packing tool used by cybercriminals to obfuscate and encrypt executable malware against antivirus signature detection.

How does Pakes execute packed payloads without saving them to disk?

It allocates executable virtual memory buffers, decrypts the original executable sections in RAM, and jumps to the Original Entry Point (OEP).

What anti-analysis defenses are built into Pakes stubs?

Pakes checks for active debuggers using the IsDebuggerPresent API, inspects PEB debugging flags, and employs self-modifying code routines.

What types of malware are commonly packed with Pakes?

Threat actors use Pakes to protect infostealers, banking trojans, email worms, and backdoor payloads.

How can security tools detect and unpack Pakes-packed files?

By using automated emulation sandboxes, monitoring memory allocations with PAGE_EXECUTE_READWRITE permissions, and dumping decrypted buffers at runtime.

How do I remove the Pakes Packer from Windows?

Manual removal of Pakes is highly discouraged as it may leave persistence mechanisms intact. We recommend disconnecting the device from the internet and utilizing a professional incident response service or enterprise-grade EDR software to conduct a full forensic sweep.

Is Pakes a virus or a Packer?

Pakes is classified as a Packer. Unlike traditional viruses that infect files, modern malware like Pakes typically operates as a standalone payload designed to compromise systems, steal data, or deploy secondary stage implants.

What are the main symptoms of a Pakes infection?

Symptoms of Pakes can include unexpected system slowness, unauthorized outbound network traffic to unknown IP addresses, disabled security software, and suspicious background processes running from AppData or Temp directories.

Protect Your Network Against Packers

Want to prevent Pakes and similar threats from compromising your organization? Read our comprehensive defensive guide: Think You've Been Hacked? What To Do First.

📣 Threat Intel Correction or Update?

Notice an outdated IOC, unlisted alias, or disputed attribution? Threat researchers are invited to propose an update on GitHub or contact the SystemHelpDesk research desk. All community revisions are credited in our public CHANGELOG.

Need help with an active incident? Published by the SystemHelpdesk Threat Intelligence Team.

Machine-readable

Get this profile as JSON: https://malware-families-catalog.systemhelpdesk.com/api/pakes.json

Ecosystem & Interactive Environments

This profile is part of the Malware Families Catalog, a public dataset of 2,899 malware families. The catalog is also published across our ecosystem: Hugging Face, Kaggle, Zenodo, Replit, StackBlitz, CodeSandbox, and CodePen.