1. First, unzip the file with unzip but it shows the Error.
2. Now we search the error and got that it involves AES encryption which can be unzipped with 7zip.
command:- 7z x Baby_RE.zip
3. Now we got the file baby.
4. Check the type of file with the "file" command.
command:- file baby
5. you will see ELF which means the file is executable.
6. Now check the file content with distinct editor( gedit, notepad, etc) file or you can use the “strings”command contains some letters and some encoded letters in that we found some text with HTB and key in that file.
7. now change the access permission with "chmod" command.
command:- chmod 700 baby
8. execute the file: ./baby
Ask for the key. Type the key we got in file i.e abc*****
9. And at last, we got the flag.

Comments
Post a Comment