Jump to content
Tuts 4 You

LabyREnth Capture the Flag (CTF) Challenge


kao

Recommended Posts

On 8/10/2016 at 3:55 PM, m0rphiz3 said:

i am talking about the shellcode one, algo is *c4, 11 len key, in which 5 are constants..

Four are constants, not five.

Link to comment
Share on other sites

Yes, only four constants. I already calculated 4billion keys but still no valid one. I think, something is wrong with my code.

Link to comment
Share on other sites

Since everyone is bruteforcing that one, let's reduce the keyspace a tad.
fs[30] should be 0x01

That should cut it in half :)

Link to comment
Share on other sites

Yes you're right. I think it must be 0x00 which means the process is not being debugged. You sure about 0x01 Rurik?

I changed a little bit of my code and the key space is now 803520 keys long.

Can anybody confirm this?

I still can't find the correct key. 

Spoiler

Maybe my RC4 implementation is wrong.

 

Edited by lazydaemon
Link to comment
Share on other sites

Extreme Coders

@lazydaemon There are 5 constants including dbg flag which should be zero.  
Maybe you have missed out some keys. My keyspace was 1571328 keys long and that was found after taking into account of the possible values as per MSDN.
In the end size of the keyspace didn't matter as it took just a few seconds to brute.

I ripped out the encryption algo from the binary, so implementation did not matter.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...