본문 바로가기

해킹&보안/악성코드 및 치트

cheat engine

문제 및 설명

Step 2: Exact Value scanning (PW=090453)
Now that you have opened the tutorial with Cheat Engine let's get on with the next step.

You can see at the bottom of this window is the text Health: xxx
Each time you click 'Hit me'  your health gets decreased.

To get to the next step you have to find this value and change it to 1000

To find the value there are different ways, but I'll tell you about the easiest, 'Exact Value':
First make sure value type is set to at least 2-bytes or 4-bytes. 1-byte will also work, but you'll run into an easy to fix problem when you've found the address and want to change it. The 8-byte may perhaps works if the bytes after the address are 0, but I wouldn't take the bet.
Single, double, and the other scans just don't work, because they store the value in a different way.

When the value type is set correctly, make sure the scantype is set to 'Exact Value'
Then fill in the number your health is in the value box. And click 'First Scan'
After a while (if you have an extremely slow pc) the scan is done and the results are shown in the list on the left.

If you find more than 1 address and you don't know for sure which address it is, click 'Hit me', fill in the new health value into the value box, and click 'Next Scan'
repeat this until you're sure you've found it. (that includes that there's only 1 address in the list.....)

Now double click the address in the list on the left. This makes the address pop-up in the list at the bottom, showing you the current value.
Double click the value, (or select it and press enter), and change the value to 1000.

If everything went ok the Next button should become enabled, and you're ready for the next step.

Note:
If you did anything wrong while scanning, click "New Scan" and repeat the scanning again.
Also, try playing around with the value and click 'Hit me'.


Health:100  ->  Health:1000

컴퓨터 메모리의 특정 변수의 값을 바꾸는 게 이번 목표입니다

 

기본으로 Health가 100으로 설정되어있습니다.

Hit를 해보라니까 한 번 해보겠습니다.

 

Hit me를 몇 번 눌렀더니 94까지 떨어졌습니다.

6번을 눌러서 6만큼 떨어진 게 아니라 1, 2, 3, 4, 6, 7 등등 랜덤으로 값이 떨어지는 것 같았습니다.

 

이 값을 변경하려면 어느 부분이 이 값을 카운트 하는 부분인지 찾아봐야합니다.

94로 스캔했더니 2개의 주소가 나왔습니다. 아직 어딘지 자세하게 모르기 때문에

더 확실하에 찾기 위해서 Hit me를 더 눌러보고 스캔을 해보겠습니다.

 

처음에 Health가 94였다가 89로 줄었다는 걸 확인했습니다.

주소가 2 → 1개로 줄어들었고, 그 주소에 있는 데이터 값이 바뀌었으니 여기가 우리가 찾던 주소인 것 같습니다.

이제 Health의 값을 1000으로바꾸면 될 것 같습니다.

 

이 주소를 리스트에 넣고 value값을 1000으로 변경해줍니다.

 

1000으로 바꾸고 나니 막혀있던 Next 버틍이 생겨 다음으로 넘어갈 수 있었습니다.

'해킹&보안 > 악성코드 및 치트' 카테고리의 다른 글

Cheat engine  (0) 2024.08.26
cheat engine  (0) 2024.08.25
Reverse Engineering 7  (0) 2024.05.17
악성코드 분석 간단 개념  (1) 2024.05.17
리버스 엔지니어링  (1) 2024.05.14