RsaCtfTool

Well I’ve run the tool against it, I’m out of ideas!

I’m gonna guess that it’s more than just the tool

Someone with this error?
Error: key file does not have a valid BOM

@R4J Very nice challenge. I didn’t think I had anything to learn from these specific types of challenges, but you proved me wrong with that function, I’d never seen that before. Thanks for reality checking me.

Found something interesting about n

Type your comment> @yota5 said:

Maybe we need to allocate more ram memory for our vm kali

You don’t have to

Same here, no idea of what to do with the key file

the number in the key file is a prime number?

NVM get it, !

Finally solved it, not sure if I solved it using an intented way as I do not understand the relevance of the challenge name. Also something is wrong with my openssl as I was getting “bad magic number” on the last step, so used an online tool to perform aes decryption

Type your comment> @joeblogg801 said:

Finally solved it, not sure if I solved it using an intented way as I do not understand the relevance of the challenge name. Also something is wrong with my openssl as I was getting “bad magic number” on the last step, so used an online tool to perform aes decryption

rsactftool will not at all help in solving the challenge

Type your comment> @R4J said:

Type your comment> @joeblogg801 said:

Finally solved it, not sure if I solved it using an intented way as I do not understand the relevance of the challenge name. Also something is wrong with my openssl as I was getting “bad magic number” on the last step, so used an online tool to perform aes decryption

rsactftool will not at all help in solving the challenge

Thank you for this.

I’m absolutely not even started yet, but you’ve just saved me from a very disappointing rabbit hole.

Well, I found that the key is 192 bytes long if you assume that the key is hex… Meaning that it gives me a hint for the one type of encryption the symmetrical one. I’m guessing that there should be an asymmetrical type of encryption probably. One over the other but i cannot find out which is over the other.

I really liked this challenge.
After understanding the “peculiarity” of the challenge I enjoyed studying the difference with how I tipically approach this encryption type.
I like when challenges teach you something.

Interesting challenge, learned a lot. I struggled a lot with the tools (openssl and such) and though I suspected (correctly) what the solution should be, it was really difficult for me to execute it just right and work around all the tooling issues.

Resolved! The challenge is very interesting, the name only helps to discard things hahaha

if they’re lost with the “key” file here a hint;
You should know that RSA is used to share symmetric encryption keys, not to encrypt messages.
if you need it you can send MP

Thanks to @kd3n4, I was able to solve this. It’s actually good ol’ fundamental and basic mathematics (modular arithmetic to be precise). You just need a really good calculator. No, not Windows calculator.

i think my decrypt is correct because i can read the "key file: se****** ", but i can’t decrypt with openssl (i get bad magic number) and the online tools… if someone can help me, a small detail that i forget… thank’s

got it, I hadn’t used the right online tool, feel free to PM me. thanks @kd3n4