We would like to enable websites to hide their Javasctipt code, and we are doing so by sending Decoders.
Decoder is a method to hide code by creating it at run-time.
Each of the following is a standalone decoder:
Project | Description |
---|---|
Phase 1 | Poc - running Js code from Wasm |
Phase 3 | Encryption, using substitution cipher, at preprocessing, decryption at run-time |
Phase 4 | Encryption, using AES cipher, at preprocessing, decryption at run-time |
Phase 5 | Read the code from text file |
Phase 6 | Create a Lookup Tabel of chars |
Phase 7 | Create a Lookup Tabel of chars, and saving it dynamically |
Phase 8 | Create a Lookup Tabel of stings |
Phase 9 | Create the code by a web library |
Phase 10 | Steganography. Hide the code inside an image |
Phase 11 | Hide the code inside classes, and build it using virtual functions |
Phase 12 | Hide the encrypted code inside an image |
Phase 13 | Combination of P.9, P.11 |
Phase 14 | Run the code only when the user move his mouse to certain location |
Phase 15 | Like P.14, with advance to how we run the code |
Phase 16 | Combination of P.13, P.15 |
Every phase has tree folders:
Folder | Purpose |
---|---|
src | Source files |
build | Bat build script |
code | where we saved the code we wanted to hide |
- Emscripten - we assume it stand next to repository folder
|-- WebAssDecoder
|-- emsdk-master
- Go to
build
folder and runbuild_and_run.bat
first arg: files to compile root folder, second arg: output location (assume: build/main.js) - The script run server. Navigate to: http://localhost:8080/PhaseX.html (Replace X with the Phase)
We created a simple html to each phase.
- Open main file
- In the toolbar. Terminal -> Run Task... -> Wasm Build
- The script run server. Navigate to: http://localhost:8080/PhaseX.html (Replace X with the Phase)
We created a simple html to each phase.