Skip to main content
Challenges Encoded PowerShell
Reverse engineering Easy Statically decoding PowerShell -EncodedCommand Solves: 4

Encoded PowerShell

Author: CyberSamSU
Points
20

dropper.txt was taken from a mail gateway quarantine: powershell -nop -w hidden -EncodedCommand .... This text is a PowerShell script in UTF-16LE + base64 form. The script itself was written to be harmless for this exercise (it downloads nothing), but the basic rule stands: never run it — only decode it statically.

The script assembles the $k key from fragments: the -f format operator, [char] arithmetic (-bxor, subtraction), a reversed string and -join. $k — the flag is BAYROQ{...} (the last 16 characters are lowercase hex).

Attached files
dropper.txt Log in to download
Hints 3
Opening a hint reduces the points you get for solving this challenge.
Hint 1 −2 pts Log in
Hint 2 −4 pts Log in
Hint 3 −6 pts Log in
To submit a flag, log in.

First solvers

1. Mirjaxon Qaxxarov 24.11.2026
2. Odam 25.11.2026
3. Asmaa Mottery 25.11.2026
4. Doston Allayarov 28.11.2026