Jump to content
Tuts 4 You

LabyREnth Capture the Flag (CTF) Challenge - 2017


Recommended Posts

Posted
  On 6/17/2017 at 9:56 PM, crystalboy said:

@Etor Madiv

  Reveal hidden contents

 

Expand  

Thanks! Solved it! This probably was my favorite challenge do date! 

Posted

Can anyone give a hint at doc2. I think I know what to do and I get the following key

  Reveal hidden contents

but it is wrong :rolleyes:.

Can anyone tell if it is just me not getting the ascii art correct or if I have misunderstood the task.

Thanks!

crystalboy
Posted

@pivskid 

  Reveal hidden contents

 

Posted

Thanks crystalboy! Finally, got the right key :P 

Does anyone know how to programatically extract the key for the xor'ing? the key that is overwritten on document open?

I tried oletools and oledump to no avail but maybe there is another way...

Posted (edited)

Any hints of mobile 2? I figured out what file is looking for, pretty sure how many chars it is looking for in that file; 29, but not sure what it is doing after that. I tried strace to see if the response is different if a character matches, but that doesnt seem to be the case... kinda stuck. I have been trying to use gdb-multiarch and radare2, but cant really debug the program. I also tried NOPing out the ptrace... 

Thanks! 

Edited by ctfallday
Posted

is the second binary from rev 1 a ping binary? just want to make sure i didnt miss anything. 

Posted

@ctfallday

It decrypts something, keep debugging.

 

Regards,

akkaldama.

Posted
  On 7/6/2017 at 3:28 PM, ctfallday said:

Any hints of mobile 2? I figured out what file is looking for, pretty sure how many chars it is looking for in that file; 29, but not sure what it is doing after that. I tried strace to see if the response is different if a character matches, but that doesnt seem to be the case... kinda stuck. I have been trying to use gdb-multiarch and radare2, but cant really debug the program. I also tried NOPing out the ptrace... 

Thanks! 

Expand  

It's in there. You got the first part done, you're just overlooking the rest somewhere. I did it in QEMU-MIPS with gdb.

Posted (edited)
  On 7/10/2017 at 5:38 PM, Rurik said:

It's in there. You got the first part done, you're just overlooking the rest somewhere. I did it in QEMU-MIPS with gdb.

Expand  

Thanks Rurik... i had tried doing that, but the stack and all pointers come up as blank of gdb for some reason. for some reason, i have having issues with reading process memory no matter which debugger i am using. sudo or not. 

Edited by ctfallday
Posted

Any hints on docs4?

Got the first macro, i have edited to set the resolution.. etc as per the calculation value, got the xor encrypted content from pos 83012 but stuck at the the xor decryption as it gives invalid .doc file based on my language settings.

 

Regards,

akkaldama

Posted

Any hints for binary 3?

  Reveal hidden contents

 

Posted
  On 7/16/2017 at 8:01 AM, akkaldama said:

Any hints on docs4?

Got the first macro, i have edited to set the resolution.. etc as per the calculation value, got the xor encrypted content from pos 83012 but stuck at the the xor decryption as it gives invalid .doc file based on my language settings.

 

Regards,

akkaldama

Expand  

Wrong offset!

There are system calls other than resolution. Try all combinations of parameters.

  • Like 1
Posted
  On 7/17/2017 at 7:21 PM, kirby said:

Any hints for binary 3?

  Reveal hidden contents

 

Expand  
  Reveal hidden contents

 

Posted

nvm...solved

Posted (edited)

This is a nice writeup for the binary challenges which goes more into detail than necessary in my opinion but still really good: https://fevral.github.io/

and congrats to everyone who solved the challenges!

Edited by Castor
  • 2 weeks later...

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...