Skip to content

Umbra 3.4.0

Choose a tag to compare

@github-actions github-actions released this 08 Nov 07:35
· 5 commits to main since this release

Umbra 3.4.0 - Java bytecode protection suite.

Highlights

Cross-class guard fields (flow.crossClass, on by default)
A guarded class now reads its second predicate field from a different
protected class, so single-class constant propagation can no longer fold the
pair. ~1200 guard sites on the demo artifact.

MBA opaque predicates (flow.mbaPredicates, on by default)
A four-term mixed-boolean-arithmetic identity (x&~y, x|y, x^y, ~x&y
solved against y*5 by Gaussian elimination) compared through DCMPL.
~520 sites on the demo.

RSA-blind watermark (watermark.blind, on by default)
The payload (build time, builder, customer id, seed) is blinded with textbook
RSA, encrypted with ChaCha20 and stored as an LDC/POP pair behind four decoy
LineNumberTable rows in three random classes. Nothing readable reaches the
artifact; --trace-watermark recovers it with the private key only.

Keyword and whitespace dictionaries (renamer.dictionary)
keywords names members after Java keywords (private, synchronized,
goto, const); spaces uses U+2000..U+200F; any custom character set is
expanded with a mixed-radix generator. Member names only.

Entry shuffle (flow.entryShuffle, opt-in)
Every unused local slot is initialised to its default value before a GOTO to
the real entry, so the method head becomes a synthetic prologue.

Native monitors
synchronized methods and blocks now translate to JNI MonitorEnter/MonitorExit
with a null check and exception dispatch, instead of rejecting the whole class.

Silent runtime
Protected artifacts no longer print loader class names, pinned digests, anchor
state or key-material hashes on stderr. Only -Dumbra.debug=true re-enables the
diagnostics; antiDebug.action=log signals are still emitted.

Algorithm names out of the constant pool
HmacSHA256, AES/CTR/NoPadding and SHA-256 are no longer ldc literals; the
runtime templates build them from masked integer tables.

Assets

  • umbra.jar - engine only, JDK 8+, no JavaFX required
  • umbra-3.4.0.zip - engine + JavaFX console + launchers + example config + docs
  • SHA256SUMS - checksums for both artifacts

Use the zip for the desktop console; the bare jar is enough for CLI, YAML and
build-plugin use.

Notes

  • Archives protected by an earlier 3.x line must be rebuilt with 3.4.0.
  • flow.bogusPops is present but experimental: it emits INVOKESTATIC against a
    non-existent owner purely to balance the stack, which the transform gate
    rejects today. Leave it off.
  • 26/26 test runners green; demo protected at --preset maximum prints OK
    with 0 bytes on stderr and passes --verify.

Requirements

JDK 8 or newer to run Umbra. Protected output keeps the input class-file version
and runs on JDK 8+. The JavaFX console needs a JDK 8 that ships JavaFX.