Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
gluegate — Memory API proxy via signed mozglue.dll | Kitploit
Tools/GitHubGitHub/sbousseaden/gluegate
Defensive ToolsPrivilege EscalationMemory ForensicsIDS/IPS EvasionRed Teaming
GitHubsbousseaden/gluegate

gluegate

Memory API proxy via signed mozglue.dll

View Repository
397173 months agoReviewed by Kitploit

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

gluegate

Detection research PoC: proxy memory operations (memory mapping, local memory allocation) through Mozilla's signed mozglue.dll so kernel callbacks attribute the final user module to a trusted vendor DLL (Mozilla signed) instead of untrusted or unsigned module.

Proxied APIs

Both are MFBT_API exports from mozglue.dll (Firefox install required):

ModeExportMozilla source
injectmozilla::MapRemoteViewOfFileWindowsMapRemoteView.cpp · header
allocMozVirtualAllocmozjemalloc.cpp · mozmemory_wrap.h

x64 MSVC mangled names:

?MapRemoteViewOfFile@mozilla@@YAPEAXPEAX0_K01KK@Z
MozVirtualAlloc

Build

MSYS2 mingw-w64:

./build.sh
./build.sh shellcode   # optional: rebuild shellcode/msgbox.bin

Usage

A prebuilt mozglue_gate.exe is included in the repo for quick detection-engineering tests (64-bit, requires Firefox installed).

# Cross-process map + APC (MapRemoteViewOfFile)
.\mozglue_gate.exe inject <pid> shellcode\msgbox.bin

# Local RWX alloc (MozVirtualAlloc)
.\mozglue_gate.exe alloc --size 10240

shellcode/msgbox.bin pops "Hello from Mozglue" / caption gluegate (no child process).

Requires classic Firefox: C:\Program Files\Mozilla Firefox\mozglue.dll (or --mozglue / MOZGLUE_DLL).

image

Expected telemetry

Final user module is Mozilla Corporation signed/trusted

MapViewOfFile

image

VirtualAlloc

image

Detection

  • mozglue.dll!MozVirtualAlloc or mozglue.dll!?MapRemoteViewOfFile in call stack from unsigned or non Mozilla signed process.
  • Unusual process loading mozilla.dll (especially already installed one in programfiles).

Disclaimer

For authorized security research and detection testing only.

Download Tool