Reversed loader
Storing an encoded payload backwards hides the telltale prefixes that signatures look for: base64 of zlib data starts with eJ, and here it ends with it. The loader reverses the string, decodes it, inflates it, and passes the result to new Function. The payload here is a harmless console.log. disclude reports the reversed input feeding a decoder, the encoded blob, and the dynamic execution.
- Credit
- disclude-rs test fixture
- File
reversed_loader.js(download)- Signals
- 1 critical · 4 warn · 0 info
- Disclude version
- 4.3.0
Source
Hidden characters are shown as ⟨U+…⟩. Each signal below links to its line.
// Reversed-input decoder: the payload is base64-of-zlib stored backwards so// neither signatures nor the telltale `eJ` prefix of base64-zlib appear in// source. It is reversed, base64-decoded, inflated, then run via Function.// The decoded payload is benign (console.log).const zlib = ;const _p = "XQnjIBgApHSdHJZutSDlTJ1SLNpUrIFFSN/EyHwTO3USIFFTPlMzsiEKR1kTq0yStokKQd9TJvc1J9szr8szLpNe";const _s = zlib..;const _t = ;;
Signals
Ordered by severity.
-
; -
const _p = "XQnjIBgApHSdHJZutSDlTJ1SLNpUrIFFSN/EyHwTO3USIFFTPlMzsiEKR1kTq0yStokKQd9TJvc1J9szr8szLpNe"; const _s = zlib..; -
const _s = zlib..; const _t = ; -
const _s = zlib..; const _t = ; ; -
const _s = zlib..; const _t = ; ;
Reproduce
Download the file and scan it. Copying it from this page won't work: the hidden characters are shown as markers.