Jump to content
Tuts 4 You

Recommended Posts

Posted
  Quote

Madame de Maintenon (AKA “IDA lady”) is locked in a castle and needs help to escape. Do you think you could free her? Be careful, you might get lost or caught by vicious guardians. Traps are laid along the way, so keep your eyes open, your mind sharp, and capture the flag.

Send us proof of your success (you will receive instructions upon solving the puzzle) before 17:00 CEST, May 26th, 2023. Over 90 brave reversers are already trying to solve it, but do not worry… speed is not essential! We will randomly pick ten winners and award them.

Here is what awaits the winners:

  • One Hex-Rays hoodie
  • Two T-shirts
  • One F5 cap
  • Five cup coasters
  • For the bravest and luckiest, there will be some BIG Surprises! Want to know what? Follow the updates on our website and social networks, and you’ll find out very soon.
Expand  

https://hex-rays.com/blog/free-madame-de-maintenon-ctf-challenge/ 

 

 

  • Like 1
  • Thanks 2
Posted

 

Has anyone managed to solve it? Could you provide some hints?

I've tried using the Z3 solver, angr, and a partial brute-force approach with a known-plaintext attack (assuming the PNG signature from the encrypted image), but so far, I haven't been successful.

Posted (edited)

@NotSure: 

  Reveal hidden contents

 

 

 

Edited by kao
spoilerssss
  • Thanks 2
Posted (edited)

Where is my IDA Pro license!1!?1

Jokes aside, it's a fun challenge. I recommend it to any beginner that is just getting into RE and writing solvers.

  Reveal hidden contents

 

Edited by Washi
  • Like 1
Posted

@Washi: I guess we'll have to do a sword fight for that... :)

Posted
  On 5/24/2023 at 10:17 PM, kao said:

@Washi: I guess we'll have to do a sword fight for that... :)

Expand  

well...not so fast guys, I guess we will have to split the license in 3 since I also got the holly image decrypted 🤓.

But to be honest I'm more interested in the Hex-Rays hoodie or T-shirt.

  • Haha 1
Posted

I tried to take part in this challange, but I'm a noot at z3solver, so I couldn't quickly find a way to cast two 8-bit elements to a 16-bit one (within the bitvector array) and this week I was so fu**ing busy at work, so I gave up (shame on me).

 

Now that the constest is over, is anybody willing to share a papers about how you solved it? Thank you very much.

 

Ah, @Washi @kao and @NotSure I sincerely hope you can get the goods you desire. You guys really deserve an award.

Posted (edited)

@Luca91  I just saw Elias Bachaalany made a video about it on his YouTube channel here: All things IDA

 

 my script with comments:

  Reveal hidden contents

 

Edited by NotSure
  • Like 1
Posted

Thanks a lot @NotSure

Ok, that's how to extract 16/32/64 bits value from a bitvector! 👍

  • Like 1
Posted

That's obviously one way of doing things. My solution was completely different.

Considering that I'm Z3 newbie, I'm sure Elias' solution is much cleaner. :)

Posted

At first I tried to solve it with angr to automatically collect the constraints (using hooks to skip the decryption loops), but but it ended up being much faster to do it by hand:

  Reveal hidden contents

 

  • Like 3
Posted

Hex-Rays SA

@HexRaysSA

And the big prize - the IDA Pro license goes to: Harald Andreasen

  • Sad 3

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