지환태 2008. 11. 19. 20:37
이번 주 부터는 부터는 abex시리즈를 크랙하겠습니다.


실행해보면


Make me think your HD is a CD-Rom
해석해보면 "내가 너의 딱딱한 물건을 CD롬으로 생각하게 만들어줘"입니다.

올리디버거로 농락해줍니다.



처음에 메시지박스를 띄우고 GetDriveTypeA함수를 호출하는 게 보입니다.
GetDriveTypeA함수를 MSDN에게 물어보면

The return value specifies the type of drive, which can be one of the following values.

Return code/value Description

DRIVE_UNKNOWN
0

The drive type cannot be determined.

DRIVE_NO_ROOT_DIR
1

The root path is invalid; for example, there is no volume is mounted at the path.

DRIVE_REMOVABLE
2

The drive has removable media; for example, a floppy drive, thumb drive, or flash card reader.

DRIVE_FIXED
3

The drive has fixed media; for example, a hard drive or flash drive.

DRIVE_REMOTE
4

The drive is a remote (network) drive.

DRIVE_CDROM
5

The drive is a CD-ROM drive.

DRIVE_RAMDISK
6

The drive is a RAM disk.

이렇게 친절히 알려줍니다.
JE SHORT abexcm1.0040103D를 무조건 점프 JMP SHORT abexcm1.0040103D로 바꿔주겠습니다.

수정한 게 보이죠?
안보이면 색맹검사 - 메드시티



실행하면