Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
????, ?????????? ??? Detours ????????????? ??????? Win32 API. ???? ???? ????????. ? ?????? ??????? ??????? ??????????? JMP ?? ??????? ???????????. ??? ????, ????? ??????? ???????????? ???????, ?? ???, ?? ????? ???????? ?????????? JMP, ?????????? ? ????? ? ??????????? ??????????? JMP ?? ?????? ?????????? ??????????.
?????????, ??????, ?? ???, ? ??????? ?????????????? ???????? ????????, ????? ???????? ?????????? ????? ??????:
- ??????????, ?? ????????? ?? ????????? ?? ??????????????? ???????, ?? ?? ???? ???????, ? ?? ??????? ??????? ???????. ???? ???, ?? ? ???????? ????????? ??????? imm32 ?? JMP;
- ??????????? ????? ???????, ?????? ?????????, ??? ??????? ????? ??????????? RET, JMP (?????? ????????) ??? INT3. ????????? ??? ???????? ?? ????? ????????, ???? ??? ??????? ?? ??? ?????????? ????, ??? ? ????;
- ????? JMP, ???????????? ????????????? ?? ??????? ???, ??????? INT3. ?? ??, ?? ?????? ??????;
- ??? ????????? ????????????? ???????? ? ??????????. ??????????????? (??? ?????????) ???? ??? ????????????, ???? ?????????? ????????????. ???????, 100% ???????? ??? ??? ????? ?? ????;
- ?? ? ???? ?? ????? ?????????????? ??????????? ????????? ?????????????, ??? ??? ????? ???????? ??????? ? ???????????? ??????????.
? ???? ?????? ?? ??????? ?????? ????????? hotpatching. ???, ???????????????? ? ?????????? hotpatching ????? ??????? ????? ?? ????, ?? ???????????? ?????? ? ????????.
Cross-posted from blog.not-a-kernel-guy.com.