본문 바로가기

Reverse Engineering/CodeEngn.com

[CodeEngn.com] Advance RCE Level 07

Mission...
When the Name is CodeEngn, the Serial is 28BF522F-A5BE61D1-XXXXXXXX.
Find XXXXXXXX

(Difficulty : ... | Usefulness : 0/10 [Waste of Time])


Analysis...
Warning! This problem cannot be solved on 64bit Windows.
Why? It calls GetHashCode() for hash code of user name, however, the return value is platform dependent.
Most of .NET RCE challenges are worthless.

The source code is easily obtained with .NET tool.
Please refer Omake section for C++ rewritten (with remarks) codes of Advance RCE Level 7.


Solution and Coding...
Reverse2L07.cpp
Copyright (C) 2011 3735943886

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.


Result...







Omake...
Attachments are 'KeyGen' and 'C++ rewritten codes of essential subroutines' of Advance RCE level 07
Please feel free to test.
For testing purpose, you can use following values. (one of working Name and Serial)
Name : 3735943886
Serial : F64E8EB7-916F537E-C6E758F7 (for 64bit windows)
          6EFFCBFD-977B0809-BA0E3A30 (for 32bit windows)





(Compiled with Windows SDK 64bit)
(Compiled with Windows SDK 64bit)