강의

멘토링

커뮤니티

Inflearn Community Q&A

majaegeon's profile image
majaegeon

asked

Reversing School Level 3 - Reversing Windows

디버거 제작 실습2 질문

Written on

·

256

0

OpenProcess() 를 통해 가져온 메모장의 Pid 를 DebugActiveProcess() 에 전달해주었더니 오류가 발생하고

GetLastError()의 반환값으로 50 이 출력되었습니다.

MSDN 의 System Error Codes 에서 확인해보니 'The request is not supported.' 입니다.

의미를 잘몰라서 예제플을 만들고 재시도하였더니 오류없이 정상적으로 작동됩니다.

즉, 메모장에서 DebugActiveProcess() 를 막고있다는것같은데 영상강의에서는 별도의 우회로직이 존재하지않았던것같은데

어떻게 되었는지 의문입니다...

물론 OpenProcess의 첫번째 인자는 'PROCESS_ALL_ACCESS'를 줫습니다.

리버싱

Answer

This question is waiting for answers
Be the first to answer!
majaegeon's profile image
majaegeon

asked

Ask a question