MCPcopy Index your code
hub / github.com/Tylous/ZipExec

github.com/Tylous/ZipExec @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
21 symbols 42 edges 4 files 0 documented · 0%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

ZipExec

ZipExec is a Proof-of-Concept (POC) tool to wrap binary-based tools into a password-protected zip file. This zip file is then base64 encoded into a string that is rebuilt on disk. This encoded string is then loaded into a JScript file that when executed, would rebuild the password-protected zip file on disk and execute it. This is done programmatically by using COM objects to access the GUI-based functions in Windows via the generated JScript loader, executing the loader inside the password-protected zip without having to unzip it first. By password protecting the zip file, it protects the binary from EDRs and disk-based or anti-malware scanning mechanisms.

Installation

The first step as always is to clone the repo. Before you compile ZipExec you'll need to install the dependencies. To install them, run following commands:

go get github.com/yeka/zip

Then build it

go build ZipExec.go

or

go install github.com/Tylous/ZipExec@latest

Help

./ZipExec -h

__________.__      ___________                     
\____    /|__|_____\_   _____/__  ___ ____   ____  
  /     / |  \____ \|    __)_\  \/  // __ \_/ ___\ 
 /     /_ |  |  |_> >        \>    <\  ___/\  \___ 
/_______ \|__|   __/_______  /__/\_ \\___  >\___  >
        \/   |__|          \/      \/    \/     \/ 
                (@Tyl0us)

Usage of ./ZipExec:
  -I string
        Path to the file containing binary to zip.
  -O string
        Name of output file (e.g. loader.js)
  -sandbox
        Enables sandbox evasion using IsDomainedJoined.

Core symbols most depended-on inside this repo

VarNumberLength
called by 34
Cryptor/Cryptor.go
check
called by 2
ZipExec.go
Writefile
called by 1
ZipExec.go
options
called by 1
ZipExec.go
Zipit
called by 1
Loader/Loader.go
JScriptLoader_Buff
called by 1
Loader/Loader.go
JSfile
called by 1
Loader/Loader.go
WScript_Sandbox
called by 1
Loader/Loader.go

Shape

Function 17
Struct 4

Languages

Go86%
TypeScript14%

Modules by API surface

ZipExec.go6 symbols
Loader/Loader.go6 symbols
Cryptor/Cryptor.go6 symbols
Demo/Example.js3 symbols

For agents

$ claude mcp add ZipExec \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact