Welcome to hackvshack.net Forum!
Download Free HvH CS2/CS:GO Cheats, CFG, LUA/JS Scripts, and More!
Register

Unknown⠀ Moon client open source

MxchU666

Emma Watson My Wife Fr
Silver
Ex Staff
User ID:
110428
Messages:
1,093
Reactions:
471
Badges:
27
REP:
−1/12+
Level:
869
moon client cheat from hypixel that bypasses the anticheat watchdog (old ncp fork)

Description:
Moon Client is one of the cheats for Hypixel that is particularly effective at bypassing the server's own anti-cheat. It is currently available to the general public for free at moonclient.dev. Furthermore, the user yxzeroo has made the source code available—up to version 4.1.1—though build 4.0.0 had previously been free, it was never successfully free.

Screenshot:
1796490396138.webp

Supported versions:
- 1.8.9 forge

Menu key: right shift

CFG Location: client\build\libs\Moon 4.0\configs


How to run:

Building & Testing​

  • Java 27 (Temurin/Adoptium recommended) for :client and :vendor:java
  • Java 17 (Temurin/Adoptium recommended) for :libs:*
  • Rust 1.68.0 (optional) to build or test vendor/native

​

Build Client, Libraries & Verification Tests​

Code:
Expand Collapse Copy
# Build all modules, run JUnit tests, and verify vendor isolation:
./gradlew clean build verifyVendorIsolation

# Parity build without debug tables (-g:none):
./gradlew :client:jar -Pparity

Outputs:
Code:
Expand Collapse Copy
client/build/libs/client-4.1.1.jar
libs/*/build/libs/*-4.1.1.jar

Build & Test Isolated Native Module (Optional)​

Code:
Expand Collapse Copy
cd vendor/native
cargo test
cargo build --release

Their official acc:

showcase of the client:

OpenMoon​

Open-source reconstruction of Moon Client 4.1.1 (4.1.1-eb51d9dcbf7e / commit 0b672c3, Minecraft 1.8.9, OptiFine 1.8.9 HD U M5, LWJGL 3.4.3 + HarfBuzz, Java 27).

The project builds cleanly from source via Gradle into the full client JAR and its four companion libraries, while keeping the reconstructed vendor security module strictly isolated and detached from the client runtime.

Important

Anti-DMCA Backup Mirror:

Please save or bookmark this mirror in case the GitHub repository is taken down.

openmoon/
├── client/ # Moon Client 4.1.1 (Minecraft 1.8.9 + OptiFine M5 + Moon + LWJGL 2->3 shim)
│ ├── libs/ # Pinned modified third-party jars (patched-authlib, ViaBackwards, ViaRewind)
│ └── src/
│ ├── main/java/ # Deobfuscated Java 27 source (Lombok annotations restored)
│ ├── main/resources/ # Shaders, GPU SLUG TTF fonts, assets, Log4j2 config
│ └── test/java/ # ASM bytecode vendor-isolation verification test
├── libs/ # Moon companion libraries (Java 17)
│ ├── commons/ # com.moon.commons (0.1.1)
│ ├── events/ # com.moon.events (0.2.1)
│ ├── scripting-api/ # com.moon.scripting.api (1.0.33)
│ └── scripting-annotations/ # com.moon.scripting.documentation.annotation (1.1.0)
├── vendor/ # Isolated vendor security layer (never referenced or loaded by client)
│ ├── java/ # com.moon.security.API JNI declarations + signature tests
│ └── native/ # Reconstructed api_native Rust cdylib (rustc 1.68.0)
└── mappings/
└── moon-4.1.1.tiny # Bijective Tiny v2 mapping (3,942 classes, 17,638 fields, 28,206 methods)


  • GPU SLUG + HarfBuzz vector text engine: Replaced the MSDF bitmap font system (14 classes, 29 PNG/JSON/shader assets) with an on-GPU SLUG quadratic-Bezier rasterizer (SlugFontManager, SlugFontFace, SlugGlyphOutlineExtractor, SlugBandBuilder, SlugDataTexture, SlugGlyphAtlas, SlugRasterizer, SlugFontRenderer) backed by LWJGL 3.4.3 HarfBuzz (lwjgl-harfbuzz + Windows/Linux natives, bringing total dependencies from 97 to 100), 14 TTF fonts under engine/font/ttf/, and slug_raster/slug_text shaders.
  • New modules & modes: Added AntiPlateModule, FastUseModule (Vanilla, Timer, Test), NcpHClipSpeedMode (NCP hClip for SpeedModule), and PacketNoFallMode (Packet + Set Ground for NoFallModule).
  • Module, HUD & renderer updates: Added silent timer boost to FlightModule (Old Watchdog), delay queue to AutoPlayModule, jump-key aware keep-Y/tower handling in ScaffoldWalkModule, redesigned rounded HUD cards in CustomMinecraftModule, GlStateManager viewport caching synced across OptiFine Shaders/ShadersRender, borderless fullscreen window handling in Display.update, and NametagsModule + off-screen chest projection cleanup.

Moon Client 4.1.1 combines Java bytecode obfuscation on the client JAR with VMProtect on two bundled Rust JNI native libraries (moon-api-linux.so and moon-api-win64.dll, unchanged from 4.1.0).

  • Aggressive name obfuscation & package flattening (-repackageclasses ''): Nearly all client classes (3,787 of 3,942 in 4.1.1) were collapsed into the default package with 1–3 letter class, field, and method names (only org/lwjgl/** and paulscode/sound/libraries/** kept package prefixes).
  • Stripped debug info: SourceFile, LineNumberTable, LocalVariableTable, and LocalVariableTypeTable were removed from all client classes (the four Moon companion libraries in libs/ shipped unobfuscated with full debug tables).
  • Java-keyword identifiers: Classes, fields, and methods were renamed to do and if — valid in JVM bytecode, but syntax errors in Java source to break naive decompilation.
  • Hidden bridges & visibility narrowing: ACC_BRIDGE flags were stripped from 298 synthetic covariant/erased bridge methods while their target implementations were renamed, and ProGuard narrowed visibility across classes that shared the flattened default package.
  • No heavy Java anti-reverse-engineering: There is no string encryption, control-flow flattening, invokedynamic call-site hiding, or custom classloader in client.jar. Additionally, nothing in the shipped 4.1.1 Java bytecode references or loads com.moon.security.API or the bundled natives.
  1. Structural & call-graph matching against public references: Matched client.jar classes against official Minecraft 1.8.9, MCP 9.18, OptiFine 1.8.9 HD U M5, LWJGL 2.9.4, and Paul Lamb SoundSystem using name-agnostic member fingerprints, string constants, inheritance hierarchies, and ProGuard's alphabetical package boundary (a..aeo for Moon classes vs. aep+ for vanilla/OptiFine in 4.1.1). Incremental updates (4.1.0 → 4.1.1) are tracked via structural fingerprinting and iterative caller/field co-refinement across all 3,942 classes.
  2. Evidence-based naming of Moon-owned code: Recovered Moon class and member names from surviving bytecode evidence — Lombok @ToString/@Builder class literals, 34 Java record component names, 66 module registrations in MoonClient (67 Module implementations including scripting), 188 Lua function registrations (ZeroArgFunction/OneArgFunction/VarArgFunction), 246 enums, @Subscribe event classes, and commands — producing a complete bijective Tiny v2 mapping (mappings/moon-4.1.1.tiny).
  3. Bytecode pre-passes & ASM remapping: Remapped client.jar at the bytecode level before decompiling: resolved all keyword identifiers, re-linked all 298 hidden bridge methods, propagated cross-package override visibility, preserved all unobfuscated LWJGL 3 JNI native names (GL11, GL15, GL20, ARBShaderObjects, AL, ALC10), and audited the entire 3,942-class inheritance graph against original bytecode to reach 0 false or broken overrides.
  4. Decompilation, Lombok restoration & local-variable recovery:
    • Decompiled with Vineflower 1.12.0, fixed Java 27 compilation and decompiler narrowing issues (e.g., byte loop-counter overflows and raw generic casts), and hoisted 188 Lua*Func local classes back to member classes so bytecode class names match.
    • Replaced Lombok @Generated boilerplate members back into real Lombok annotations (@Getter, @Setter, @Builder, @ToString, @EqualsAndHashCode, @SneakyThrows, constructors).
    • Recovered client parameter and local-variable names via MCP 9.18 source alignment and AST-verified naming passes, leaving 0 varN placeholders across Moon, SoundSystem, LWJGL shim, and Vanilla code.
    • Normalized ASM bytecode verification reached 92.28% exact (92.52% including slot/label-only) instruction-for-instruction method parity across 31,913 methods (and 59 / 59 byte-for-byte exact classes across the four Moon libraries).

Both shipped natives are Rust cdylib builds (api_native, compiled with rustc 1.68.0) exposing four JNI functions for com.moon.security.API: initialize(String), getHost(), getHWID(boolean), and getSparkyDisabler().

  • VMProtect packing & section scrambling:
    • Linux ELF: Packed .text/.rodata/.data, shifted PT_LOAD segments (+0x2e0), and used a VMProtect DT_INIT loader stub to unpack sections and populate 80 GOT slots at runtime.
    • Windows PE64: Packed sections unpacked via a VMProtect TLS callback and entry-point stub, cleared .pdata runtime function tables, and replaced 247 import call/jump sites across 66 WinAPI/CRT imports with VMProtect import-protection stubs.
  • Virtualized anti-debug / anti-VM SDK guards: All four JNI exports begin with virtualized VMProtectIsDebuggerPresent(true) and VMProtectIsVirtualMachinePresent() checks (inspecting /proc/self/status, DMI sys_vendor, and CPUID leaf 1 on Linux; Windows debugger/VM artifacts on Win64), returning "INVALID" (or returning early in initialize) if tripped.
  • Handshake & HWID obfuscation:
    • initialize(String token) decodes a Unix-millisecond timestamp by character-level XOR against a 20-byte repeating key (KEY_A), parses it as u128, and unlocks global RwLock<bool> state only if |now_ms - parsed| < 20000 (20-second window).
    • getHWID(boolean obfuscate) reads the primary disk serial (lsblk --nodeps -no serial on Linux; IOCTL_STORAGE_QUERY_PROPERTY on \\.\PhysicalDrive0 on Windows, or base64 + KEY_B XOR of Z:/tmp/hwid_moon_launcher under Wine) and optionally XORs the output with a second 20-byte repeating key (KEY_B).
    • getSparkyDisabler() returns "EASYANTICHEAT_X64.DLL" (or "CHINASPYWARE.APPIMAGE" on Windows when both HKLM\Software\Wine and HKCU\Software\Wine exist).
  1. Linux ELF unpacking (Unicorn emulation):
    • Loaded the packed moon-api-linux.so into a Unicorn CPU emulator with stubbed libc functions and Linux syscalls (never executing the packed native on the host).
    • Ran VMProtect's DT_INIT unpacker to completion, dumped the decrypted memory image, resolved all 80 GOT entries populated by the loader back to libc/unwind symbols, and rebuilt a flat, page-aligned ELF with restored .dynamic.orig and .got.orig headers for IDA Pro.
    • Invoked every JNI export directly inside Unicorn with a fake JNIEnv and mocked lsblk output to trace every code path, error string, and edge case.
  2. Windows PE64 unpacking (isolated VM dump + Unicorn import devirtualization + PE rebuild):
    • Loaded moon-api-win64.dll inside an isolated, network-disabled VirtualBox VM via LoadLibraryW so VMProtect unpacked .text/.rdata/.data, then dumped the unpacked memory image, load base, and loaded module export tables.
    • Scanned .text for all 247 VMProtect import-protection stubs (call stub + junk byte, push reg; call stub, rex.W tail jumps, and 6-byte thunks) and emulated each stub in Unicorn against the dumped image and export tables to resolve all 66 unique APIs across 7 DLLs (KERNEL32, ADVAPI32, ole32, VCRUNTIME140, and UCRT — confirming zero networking imports).
    • Reconstructed a clean, loadable PE64 DLL: rebuilt .idata and the original IAT, patched all 247 obfuscated call sites back to clean RIP-relative FF 15 / FF 25 IAT instructions, restored all 356 .pdata RUNTIME_FUNCTION entries and .reloc fixups, stripped VMProtect's TLS unpacker callback, and reset the entry point to the original _DllMainCRTStartup OEP.
  3. Static analysis & clean-room Rust reconstruction:
    • Analyzed both unpacked binaries in IDA Pro to recover the exact compiler (rustc 1.68.0), crate dependencies (jni, base64 0.20.0, windows 0.34.0), XOR keys (KEY_A, KEY_B), and platform behavior (including fixing a CoTaskMemFree use-after-free present in the original Windows serial reader).
    • Modeled the VMProtect SDK guards behind an off-by-default Cargo feature (vmprotect, defaulting to a no-op stub) with no protector linked.
    • Verified behavioral equivalence differentially against the unpacked original Linux binary in Unicorn and via fake-JNIEnv tests on Windows.


    • Security & Isolation Note​

      vendor/java (com.moon.security.API) and vendor/native (api_native) are included strictly for completeness and research reference. Nothing in :client or :libs:* imports, loads, or calls any vendor code or native library, and gradlew verifyVendorIsolation (along with VendorIsolationTest) enforces zero inbound bytecode or Gradle edges at build time.

SRC CODE Here: &
Code:
Expand Collapse Copy
# How to Run OpenMoon Client (4.1.1)

### Requirements
* **Java 27 (Eclipse Temurin / Adoptium JDK 27)** – *Required.* This client is compiled against Java 27 (`class file version 71.0`). Running it on Java 8, 17, or 21 will result in an `UnsupportedClassVersionError`.
  * Download it from [Adoptium](https://adoptium.net) and make sure to enable **"Set JAVA_HOME variable"** and **"Add to PATH"** during installation.
* **Minecraft 1.8.9 Assets & Natives** (either via a Launcher or standalone `natives` folder).

---

### Method 1: Running via Minecraft Launcher (Recommended)
1. Download the release `.zip` and extract the **`OpenMoon`** folder (containing `OpenMoon.jar` and `OpenMoon.json`).
2. Press `Win + R`, type `%appdata%\.minecraft\versions`, and press **Enter**.
3. Move the extracted **`OpenMoon`** folder into your `versions` directory.
4. Open your Launcher (Prism, MultiMC, Legacy, Official, etc.) and create a new **1.8.9** profile/installation selecting **`OpenMoon`** as the version.
5. **Important:** Go to your profile's Java settings and set the Java executable path to your **JDK 27** installation (e.g., `C:\Program Files\Eclipse Adoptium\jdk-27...\bin\javaw.exe`).
6. Launch the game.

---

### Method 2: Running Standalone (Batch Script)
If you are using the standalone package with the `natives` folder included:
1. Extract the entire `.zip` archive into a single folder (do **not** move `client-4.1.1.jar` out of the folder, as it needs the `natives` directory alongside it).
2. Double-click **`start.bat`** (or create one next to the `.jar` with the following content):
   ```bat
   @echo off
   title OpenMoon Client 4.1.1
   java -Xmx2G -Djava.library.path="natives" -Dfile.encoding=UTF-8 -jar client-4.1.1.jar
   pause
   ```
3. If the console says `UnsupportedClassVersionError`, open a terminal and run `java -version` to verify that **Java 27** is set as your default system Java, or replace `java` in `start.bat` with the full quoted path to your Java 27 `java.exe`.

---

### Troubleshooting
* **`UnsupportedClassVersionError`:** You are running an older Java version (Java 8/17/21). Switch your Launcher or system `PATH` to **JDK 27**.
* **`UnsatisfiedLinkError: no lwjgl in java.library.path`:** The `natives` folder is missing or `-Djava.library.path` is not pointing to the folder containing the `.dll` files.
* **Crash on startup (`LogManager` / `UnsupportedOperationException`):** Make sure you are using the official pre-built JAR from this thread (with `Multi-Release: true` configured in the manifest).

Download:

My version with fix a error cause when u do java -jar client-4.1.1 it doesnt work now should work: (you can check the code by yourself)
 
Last edited by a moderator:
  • Like
Reactions: furryagency
Unknown file: analysis inconclusive, use at your own risk
Reason: Packed/Virtualized/Obfuscated, full security analysis inconclusive. However, initial execution showed no malicious indications.
 

Who has read this thread (Total: 9) in last 1 hours View details