Pedex (VirTool:Win32/Pedex)

Category: crypter · Aliases: VirTool:Win32/Pedex, Trojan:Win32/Pedex, Trojan.Pedex, Win32/Pedex, VirTool:Win32/Pedex.A · Sample count (EMBER 2018): 23 · Enrichment: curated_sourced · Updated: 2026-10-15
Category: CrypterStatus: Automated SignatureFirst seen: 2015Motivation: Payload Protection, Defense Evasion & Antivirus Bypass🕸 Explore Relationship Graph⚙ API JSON⚡ Sigma Rule💾 YARA RuleOS: Windows 11, Windows 10, Windows 8.1
Executive Summary
Pedex (cataloged in antimalware repositories under signatures including VirTool:Win32/Pedex, Trojan:Win32/Pedex, and Trojan.Pedex) is an evasive binary crypter, runtime PE packer, and initial access stager active since 2015.

Table of Contents

Overview

Pedex (cataloged in antimalware repositories under signatures including VirTool:Win32/Pedex, Trojan:Win32/Pedex, and Trojan.Pedex) is an evasive binary crypter, runtime PE packer, and initial access stager active since 2015. Engineered to conceal commodity malware payloads (such as banking trojans, keyloggers, and ransomware) from signature-based antivirus scanning, Pedex encrypts the target executable and wraps it inside an obfuscated loader stub. Upon execution, Pedex checks for virtual machine artifacts and debugging hooks, allocates executable memory, dynamically resolves native NT APIs via Process Environment Block (PEB) hashing, and unpacks the original binary directly into memory using process hollowing techniques into svchost.exe or explorer.exe.

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/Pedex.A · Trojan:Win32/Pedex.B

MITRE ATT&CK Techniques

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

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

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-PHAProcess Hollowing AnalysisDetectT1055.012Inspect unbacked executable memory regions (PAGE_EXECUTE_READWRITE) for replaced PE image headers inside legitimate host processes.
D3-EEDExecution Environment DetectionDetectT1497.001Configure malware sandboxes to emulate legitimate hardware metrics, realistic mouse movements, and valid system uptimes.
D3-RPMRegistry Persistence MonitoringDetectT1547.001Audit and restrict write privileges to user and machine-level Registry Run/RunOnce keys using Endpoint Privilege Management.

Detection rule examples

These generated examples are starting points for local testing. Their detection rate and false-positive rate have not been measured. Correlate any match with endpoint evidence and the primary reports cited below.

Tier 1 Primitive Artifact Rule (Fast Triage)

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

rule MALWARE_WIN_PEDEX_T1_ARTIFACT
{
    meta:
        description = "Tier 1 Primitive Artifact: Raw string matches for Pedex (Crypter)"
        category = "Crypter"
        tier = "T1 - Primitive Artifact"
        confidence = "Medium (Fast Triage)"
        author = "SystemHelpDesk Threat Research Desk"
        reference = "https://malware-families-catalog.systemhelpdesk.com/families/pedex"
        date = "2026-11-21"
    strings:
        $fam_name = "pedex" ascii wide nocase
        $alias_1 = "virtool:win32/pedex" ascii wide nocase
        $alias_2 = "trojan:win32/pedex" ascii wide nocase
        $alias_3 = "trojan.pedex" ascii wide nocase
        $alias_4 = "win32/pedex" ascii wide nocase
        $alias_5 = "virtool:win32/pedex.a" ascii wide nocase
    condition:
        uint16(0) == 0x5a4d and any of them
}

Tier 2 Behavioral Context Rule (Process Chains & Sigma)

Looks for selected process and command-line patterns. Validate the fields against your event source and review approved administration activity.

title: SystemHelpDesk Detection - Pedex (Crypter) Execution & Triage
id: baa79649-dc3a-5652-94ff-5e8c42df9301
status: experimental
description: Experimental process-event hunting example associated with Pedex (VirTool:Win32/Pedex).
  Measure detection and false-positive rates in your own environment. Shared administration
  behavior needs additional incident evidence.
references:
- https://malware-families-catalog.systemhelpdesk.com/families/pedex
- 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.crypter
- author.ricky-jordan
- source.systemhelpdesk-mfc
- attack.t1027_002
- attack.t1055_012
- attack.t1497_001
- attack.t1140
- attack.t1547_001
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 String and PE-marker example

Combines a family-name string with common PE markers. A match needs investigation before family attribution.

rule MALWARE_WIN_PEDEX_T3_ATTRIBUTION
{
    meta:
        description = "Tier 3 Attribution Fingerprint: Heuristic detection for Pedex tradecraft"
        category = "Crypter"
        tier = "T3 - Attribution Fingerprint"
        confidence = "Experimental example; validation pending"
        author = "SystemHelpDesk Threat Research Desk"
        reference = "https://malware-families-catalog.systemhelpdesk.com/families/pedex"
        date = "2026-11-21"
    strings:
        $attrib_str = "pedex" ascii wide nocase
        $generic_marker1 = "CreateProcess" ascii
        $generic_marker2 = "VirtualAlloc" ascii
    condition:
        uint16(0) == 0x5a4d and $attrib_str and 1 of ($generic_marker*)
}
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/Pedex?

Pedex is a binary crypter and runtime packer used by malware authors to hide trojans and ransomware from antivirus scanners.

How does Pedex execute hidden payloads?

It decrypts payloads in memory and injects them into legitimate Windows processes like svchost.exe using process hollowing.

What anti-analysis checks are performed by Pedex?

It checks for hypervisors, monitors execution timing with RDTSC, and detects active debuggers before unpacking.

What malware families are commonly packed with Pedex?

Cybercriminals use Pedex to pack infostealers, banking trojans, remote access trojans, and ransomware.

How can security teams detect Pedex crypters?

Deploy behavioral EDR to detect process hollowing and memory unpacking into svchost.exe, and analyze high-entropy PE sections.

How do I remove the Pedex Crypter from Windows?

Manual removal of Pedex 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 Pedex a virus or a Crypter?

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

What are the main symptoms of a Pedex infection?

Symptoms of Pedex 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 Malware Crypters

Want to prevent Pedex 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/pedex.json

Ecosystem & Interactive Environments

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