← All Challenges
Challenge 02: XOR Encoding
Difficulty: Easy
Category: Signature Detection Bypass
Objective
Bypass the scanner’s signature detection using a cryptographic approach. Your script must reconstruct a blocked string at runtime while storing only transformed (unrecognizable) data on disk.
Scanner Behavior
The scanner performs static byte-pattern matching against file contents. It searches for the following strings as contiguous byte sequences:
malwarevirustrojanevil_payloaddropperransomwarepayload.exe
The scanner reads raw file bytes and checks for exact matches. It does not interpret or execute the code. It does not perform any decryption or decoding.
Rules
- Your script must produce one of the blocked strings at runtime.
- The method must involve a mathematical/cryptographic transformation of the data.
- The scanner must not find any signature matches in the file.
Hints
- What if each byte in your string was transformed using a reversible mathematical operation before being stored?
- Think about bitwise operations that are their own inverse.
- If you XOR something twice with the same key, you get the original back.
- The scanner sees the transformed bytes, not the original string.
AMSI Raccoon Lab