BabysFirstRE
ELF>@@@L@8
@@@@��� � ��000��>NN��(>(N(N��888 XXXDDS�td888 P�tdP4P4P4��Q�tdR�td>NN��/lib64/ld-linux-x86-64.so.2GNU��GNUs{���C����C$͔��� GNU���e�mgUa� �t�6� � FX�, �'"�P_ITM_deregisterTMCloneTable__gmon_start___ITM_registerTMCloneTablegcry_cipher_setivgcry_cipher_get_algo_keylengcry_cipher_encryptgcry_strsourcegcry_cipher_get_algo_blklengcry_cipher_opengcry_cipher_decryptgcry_cipher_setkeygcry_strerrorstrncmpputsstdinprintffgetsstrlenmalloc__cxa_finalize__libc_start_mainlibgcrypt.so.20libc.so.6GCRYPT_1.6GLIBC_2.2.5H f�^bXui m�P�P�O�O �O�O�O�PP P(P0P8P@PHPPP
XPP
hPpPxP�P�PH��H��?H��t���Y�$H����5�?�%�?@�%�?h������%�?h������%�?h������%�?h�����%�?h�����%�?h�����%�?h�����%�?h�p����%�?h�����%�?h �P����%�?h
�@����%z?h�0����%r?h� ����%j?h
�����%b?h�����%�>f�1�I��^H��H���PTL��H�
sH�=}�v>�DH�=)?H�"?H9�tH�N>H��t �����H�=�>H�5�>H)�H��H��?H��H�H��tH�%>H��t��fD�����=�>u{UH�=>H��ATStH�=�>�&���H�<H�<H)�I��H��>H��H��H9�s!fDH��H�m>A��H�b>H9�r�����[A\�F>]�@�����'���UH��}��E� �E�]�UH��}��m��E�]�UH��}��m��E�]�UH��}��E� �E�]�UH��}��E��E�]�UH��}��m��E�]�UH��}��E��E�]�UH��}��m�5�E�]�UH��}��E� �E�]�UH��}��m�@�E�]�UH��H��H�}�H�E�H�E��?H�E�������������������[������D�����������H�E�H�PH�U��ʈH�E����u�����UH��H��H�}�H�E�H�E��?H�E�������e������N������7������������������H�E�H�PH�U��ʈH�E����u�����UH��SH��hH�H���T���H��H���E���H��<H�������H������H������H��H��H�Ǹ�\���H�������H��H��H���������uH��H��������H�������H��H��H��������uH��H��������H�������H��H�H���r�����uH�H���o�����E��E�H�H�������H�E�g��������������������|������U�����H�E���c�������������e������N������'�����H�E�H����r�q������Z������3������������������H�E�H����y�?������(�������������������������H�E�H�����
�������������������������������H�E�H����c���������������������������_�����H�E�H����i�������������k������T������-�����H�E�H����p�w������������9������"������������H�E�H����h�E������.�������������������������H�E�H����e��������������������������������H�E�H�� ��r���������������������������e�����H�E�H��
���������������q������Z������3�����H�E�H����c�}������f������?������(�����������H�E�H����a�K������4������
�������������������H�E�H��
��m��������������������������������H�E�H����e���������������������������k�����H�E�H����l�������������w������������9�����H�E�H����l�������l������E������.�����������H�E�H����i�Q������:�������������������������H�E�H����a��������������������������������H�E�H����R���������������������������q�����H�E�H����U�������������}������f������?�����H�E�H����V�������r������K������4������
�����H�E�H���H�E�H���H�E�H�������H�E�H�������H��H�M�H������H��H����������H�EH�������8�+���H�Eؿ8�����H�Eп �����H�Eȿd���������������������������^�����H�EȈ���������������n������W������0�����H�E�H������z������c������<������%������������H�E�H������H������1������
�������������������H�E�H����c���������������������������������H�E�H����t���������������������������h�����H�E�H����f�������������t������]������6�����H�E�H������������i������B������+�����������H�E�H����b�N������7�������������������������H�E�H����Q��������������������������������H�E�H�� ������������������������������n�����H�E�H��
��S�������������z������c������<�����H�E�H����M�������o������H������1������
�����H�E�H����U�T������=�������������������������H�E�H��
����"�������������������������������H�E�H�������������������������������t�����H�E�H������������������������i������B�����H�E�H����M�������u������N������7�����������H�E�H����c�Z������C������������������������H�E�H������(�������������������������������H�E�H����b���������������������������z�����H�E�H����S��������������������o������H�����H�E�H������������{������T������=�����������H�E�H����M�������I������"������������������H�E�H����b�.�������������������������������H�E�H����P��������������������������������H�E�H�������������������������u������N�����H�E�H�����������������Z������C�����������H�E�H������f������O������(������������������H�E�H����t�4�������������������������������H�E�H�������������������������������������H�E�H���H�E�H���H�H�E�H�E�H������H��H�E�H�E�H������H�E�H�E�H������H�E�H��H�E�H�E����8H���Q����E��}�u"�YH��H�������H�E�H�������b����E��������H�ËE����o���H��H��H��H�Ǹ������E���H�E�H�U�H�M�H��H���v����E��}�t9�E�������H�ËE�������H��H��H��H�Ǹ�|����E��H�E�H�U�H�M�H��H�������E��}�t9�E����:���H�ËE�������H��H��H�XH�Ǹ�#����E��AH�E�H�������H�E�H�}�H�M�H�U�H�u�I��H��������E��}�t9�E��������H�ËE����P���H��H��H�H�Ǹ�����E���H�E�H�U�H�M�H��H��������E��}�t6�E����t���H�ËE��������H��H��H��H�Ǹ�]����E��~H�E�H�}�H�M�H�U�H�u�I��H�������E��}�t6�E�������H�ËE�������H��H��H��H�Ǹ������E�� H�E�H��H��H�Ǹ������H�]���@AWL�=/+AVI��AUI��ATA��UH�-+SL)�H������H��t1�L��L��D��A��H��H9�u�H��[]A\A]A^A��f.�D��H��H���t/UH��SH��H�����H�C�H��H���u�H�]���f��H���S���H���Hello! This is rather embarassing:
We have the encryption key
We have the ciphertext (definitely!)
We even have the IV!
The one thing we don't have: what encryption algorithm was used to secure the flag!
We're sure that some proof of it exists in the program, so...figure it out!
When you're ready, type the full name, in all caps, of the constant used
to represent the encryption library (e.g.: GCRY_CIPHER_AES128)
If you need a hint, you can type 'hint[1-3]'
Enter the name of the encryption algorithm used: response: %s
hint1Hint #1: strings won't do much good, the answer was obfuscated at compile time.
hint2Hint #2: There has to be a reason for all those functions at the top of the source file.
hint3Hint #3: Read the reference manual.
Congrats! You got the right answer!a test ini valueASECRETSECRETKEYSorry, that isn't what we were looking for. :(
gcry_cipher_open failed: %s/%s
gcry_cipher_setkey failed: %s/%s
gcry_cipher_setiv failed: %s/%s
gcry_cipher_encrypt failed: %s/%s
gcry_cipher_decrypt failed: %s/%s
Your flag is: %s
;���������������)���(9���HI���hY����i����y�����������������(����H����h-������������������zRx�0���+zRx�$����FJw�?;*3$"D����\����A�C
K|����A�C
K�����A�C
K�����A�C
K�����A�C
K�����A�C
K����A�C
K<����A�C
K\y���A�C
K|i���A�C
K�Y���dA�C
_�����dA�C
_$������A�C
H��D����]B�I�E �E(�D0�H8�G@j8A0A(B BBBL��������������������HX
�#���o���
yPhh�� ���o���o����o���oR���o(NFVfv��������&�PGCC: (Debian 11.2.0-16) 11.2.0�� | ��N,N:p<�O�e�Pq�P|p���N�|7�@#������N�(N�N�P4P�0#+? J �P[�]�_p�r�t v�P���P�%�#��� N6H�PU}d^z ��P�0���"]��������y��P�N@+�P ��%Lk�Pw Wd�"�Scrt1.o__abi_tagcrtstuff.cCTOR_LISTDTOR_LISTderegisterm_cloneso_global_orsauxcompleted.1dtodx.0fraummy__CTOEND__FRAMEND____do_global_ctors_auxchallenge.c__init_array_end_DYNAMIC__init_array_start__GNU_EH_FRAME_HDRGLOBAL_OFFSET_TABLE__libc_csu_finistrncmp@GLIBC_2.2.5_ITM_deregisterTMCloneTableDBputs@GLIBC_2.2.5HFJstdin@GLIBC_2.2.5gcry_cipher_setkey@GCRYPT_1.6_edatagcry_cipher_encrypt@GCRYPT_1.6strlen@GLIBC_2.2.5gcry_strerror@GCRYPT_1.6printf@GLIBC_2.2.5DTOR_END__libc_start_main@GLIBC_2.2.5fgets@GLIBC_2.2.5__data_startunmanglegcry_cipher_open@GCRYPT_1.6gmon_start__dso_handle_IO_stdin_usedgcry_cipher_get_algo_blklen@GCRYPT_1.6__libc_csu_initmalloc@GLIBC_2.2.5EGgcry_cipher_setiv@GCRYPT_1.6AI__bss_startmaingcry_cipher_get_algo_keylen@GCRYPT_1.6gcry_cipher_decrypt@GCRYPT_1.6TMC_END_ITM_registerTMCloneTable__cxa_finalize@GLIBC_2.2.5gcry_strsource@GCRYPT_1.6.symtab.strtab.shstrtab.interp.note.gnu.property.note.gnu.build-id.note.ABI-tag.gnu.hash.dynsym.dynstr.gnu.version.gnu.version_r.rela.dyn.rela.plt.init.plt.got.text.fini.rodata.eh_frame_hdr.eh_frame.ctors.dtors.dynamic.got.plt.data.bss.comment#88 6XX$I|| W���o��(a��i��yq���oRR,~���o��@�����Bhhh�!�00�00�@@A��#�#�00M�P4P4���4�4��N>�N>�(N(>���O�?(�P@���P�@�P�@0�@�@� hG�.K
Writeups
Official
No official writeup linked.
Community
No community writeups yet. Solved it? Share how.
Log in to add a community writeup.