Table of Contents
Open Table of Contents
Gophers Language
Challenge Description
I know go is not a popular language, so I decided of creating a reversing challenge out of it. I’m sure now go will overtake java!!
Author: @5h1kh4r
main.exe
is provided
Solution
Challenge is written in Go.
We have our flag.
Another Python Game
Challenge Description
You know, I love Pygame why don’t you. Prove your love for Pygame by solving this challenge Note: It is necessary to keep the background.png file in the same place as the exe file so that the exe file runs properly
Author: @5h1kh4r
source.exe
and background.png
is provided.
Solution
The exe file looks like a Python compiled binary. We run (pyinstxtractor)[https://github.com/extremecoders-re/pyinstxtractor] to decompile the file. We get source.pyc
.
We have our flag.
Avengers Assemble
Challenge Description
The Avengers have assembled but for what? To solve this!? Why call Avengers for such a simple thing, when you can solve it yourself
FLAG FORMAT: OSCTF{Inp1_Inp2_Inp3} (Integer values)
Author: @Inv1s1bl3
Solution
We have to input 3 numbers to pass the conditional checks. The program asks for 3 inputs at the start.
This moves DWORD[ebp-0xc]
(second input) to ebx
and adds the first input to ebx
. The result should be 0xdeadbeef
Our first input should be less than 0x6f56df65, and the second input should be exactly 0x6f56df8d (jg and jl would jump to the label N if true). So our first input is thus 0xdeadbeef - 0x6f56df8d = 1867964258
The second input is XOR’ed with the third input to get 2103609845. To get the third input, we xor the known second input with 2103609845. So 0x6f56df8d ^ 2103609845 = 305419896
The flag is thus OSCTF{1867964258_1867964301_305419896}
.
The Broken Sword
Challenge Description
The time for the reforging of the The Sword That Was Broken has come.. Elendil left a riddle, solving which will give the password, which is what you need to find :p..
Flag Format: OSCTF{valueof'flag'variable_valueof'a'variable_valueof'v2'variable} / OSCTF{flag_a_v2}
Author: @Inv1s1bl3
Solution
The for loop in the challenge is negligible as v2
remains constant every iteration, thus the outcome of h
is the same. We write as solve script to work backwards using simple math to obtain the original values. pi
is taken to be 3.14 such that h
remains a whole number.
The flag is thus OSCTF{29260723_13226835162127_136745387}
.