Hacking Arts
후킹 (Hooking) 본문
- Windows Hook : 훅이라는 단어는 사전적으로는 낚시바늘이나 갈고리 같이 낚다라는 뜻을 가지고 있다. 그러므로 Windows Hook이라고 하면 Windows OS에서 무언가를 낚아챈다라고 이해 할 수 있다.
- Windows Hook 종류
- Code Project의 Three Ways to Inject Your Code into Another Process에서의 Windows Hook 종류
1.Local hooks : 자신의 프로세스에 구성된 스레드들의 메시지 트래픽을 감시
2.Remote hooks : 다른 프로세스에 속해진 스레드들의 메시지 트래픽을 감시
3.Remote hooks : 현재 시스템에서 동작하는 모든 스레드들의 메시지 트래픽을 감시
Local hooks의 경우를 제외하고는 수행 코드가 dll로 작성되어 타켓 프로세스에 로드되는 형태에만 가능합니다.
- 참고 문서
http://www.codeproject.com/Articles/4610/Three-Ways-to-Inject-Your-Code-into-Another-Proces
lucid7 - Windows Hook Introduce
'Reversing > Hooking' 카테고리의 다른 글
메세지 후킹 (Message Hooking) - 2 (0) | 2014.09.20 |
---|---|
메세지 후킹 (Message Hooking) - 1 (0) | 2014.09.19 |