본문 바로가기

[Wargame Write-up]/NewbieContest

[NewbieContest] [Crackme] Visuel et basique

Crackme 첫 번째 문제이다.


제목을 영어로 하면, Visual and basic이라는 뜻이다.




번역하면,


Welcome to the first Crack-me event.

All events in this category have the same goal: to find out how to crack the program provided (coded by Folcan).


첫 번째 문제답게, 소개하는 글로 채워놨다.




아이콘을 보면, VB로 만들었다는 것을 단번에 알 수 있으니, p32dasm이라는 툴로 어떠한 메소드가 있는지 살펴보자.


무슨 버튼이 있는지, Click 이벤트를 처리하는 부분이 있다.




실행하면 이러한 Form이 뜬다. Valider(Eng: Validate) 버튼을 누를 때의 이벤트였나 보다.




위에서 발견한 주소로 이동하고 조금 내려보면, vbaStrCmp 함수를 호출하는 것을 볼 수 있다.


물론 입력값과 정답을 비교하는 루틴이다.




입력하면, 


Password accepts, enter this pass to validate on the site라고 번역되는 문구가 나온다.