Papa brought me a packed present! let's open it.
This is reversing task. all you need is binary.
아빠는 내게 포장된 선물을 주었다. 어서 열어봐야지!
이번 레벨은 리버싱 문제입니다. 당신이 필요로 하는 것은 바이너리 뿐입니다.
You can check it with EIT101(Detect It Easy) program. this file is 64Bit ELF (Linux executable file) and packed in UPX format.
EIT101(Detect It Easy) 프로그램으로 확인해본 결과, 이 파일은 64Bit ELF(리눅스 실행 파일) 파일이며, UPX 형식으로 패킹 되었다.
Unpacking with upx increases the file size and you can now disassemble the file.
upx로 언패킹 하면 파일 사이즈가 늘어나며, 이제는 디스어셈블을 할 수 있다.
If you check the main function with IDA, you can see the comment "I will malloc and strcpy the flag" and also know that the value of cs:flag is put in rdx.
IDA로 main 함수를 확인하면, "I will malloc and strcpy the flag" 라는 주석을 확인할 수 있으며 cs:flag 값을 rdx에 넣는 것을 확인할 수 있다.
You can double-click the cs: flag to see which string is in this position. Enter the flag value to clear the level.
cs:flag를 더블클릭 하면, 이 위치에 어떤 문자열이 있는지 확인할 수 있다. 이 값을 입력하여 레벨 클리어.