{"id":175025,"date":"2013-04-01T23:59:03","date_gmt":"2013-04-01T19:59:03","guid":{"rendered":"http:\/\/savepearlharbor.com\/?p=175025"},"modified":"-0001-11-30T00:00:00","modified_gmt":"-0001-11-29T21:00:00","slug":"","status":"publish","type":"post","link":"https:\/\/savepearlharbor.com\/?p=175025","title":{"rendered":"<span class=\"post_title\">\u0412\u0440\u0435\u043c\u044f \u0432\u0441\u043f\u044f\u0442\u044c\u2026<\/span>"},"content":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" align=\"right\" src=\"http:\/\/habrastorage.org\/storage2\/94b\/73e\/6e1\/94b73e6e1fff45f0a5b1be689c8e0cf6.gif\"\/>\u0412\u043e\u0442 \u0438 \u043e\u0442\u0433\u0440\u0435\u043c\u0435\u043b\u043e \u043f\u0435\u0440\u0432\u043e\u0435 \u0430\u043f\u0440\u0435\u043b\u044f. \u041a\u0442\u043e-\u0442\u043e \u0432 \u044d\u0442\u043e\u0442 \u0434\u0435\u043d\u044c \u043d\u044e\u0445\u0430\u043b \u0441\u0432\u043e\u0438 \u0434\u0435\u0432\u0430\u0439\u0441\u044b \u0432 \u043d\u043e\u0432\u043e\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 <a href=\"https:\/\/www.google.ru\/intl\/ru\/landing\/nose\/\">Google \u041d\u043e\u0441<\/a>, \u043a\u0442\u043e-\u0442\u043e \u0438\u0433\u0440\u0430\u043b \u0432 <a href=\"http:\/\/www.yandex.ru\/\">\u00ab\u041f\u043e\u043b\u0435 \u0447\u0443\u0434\u0435\u0441\u00bb<\/a>, \u0430 \u043a\u0442\u043e-\u0442\u043e, \u043f\u043e\u0437\u0430\u0431\u044b\u0432 \u043e \u0440\u043e\u043a\u043e\u0432\u043e\u0439 \u0434\u0430\u0442\u0435, \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0433\u0440\u044e\u043c\u043e \u043e\u0442\u0440\u044f\u0445\u0438\u0432\u0430\u043b \u0441\u043f\u0438\u043d\u0443 \u043e\u0442 \u043c\u0435\u043b\u0430\u2026<\/p>\n<p>  \u042f \u0436\u0435, \u0432\u043e\u043e\u0434\u0443\u0448\u0435\u0432\u043b\u0451\u043d\u043d\u044b\u0439 <a href=\"http:\/\/habrahabr.ru\/post\/174593\">\u0441\u0442\u0430\u0442\u044c\u0451\u0439<\/a> \u043f\u0440\u043e \u0441\u043a\u0440\u044b\u0442\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 explorer.exe, \u0442\u043e\u0436\u0435 \u0440\u0435\u0448\u0438\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0437\u0430\u0431\u0430\u0432\u043d\u043e\u0435.<br \/>  \u041f\u0443\u0441\u0442\u044c \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u043c\u043e\u044f \u0441\u0435\u043a\u0443\u043d\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u0435\u043b\u043a\u0430 \u0447\u0430\u0441\u043e\u0432 \u0432 Windows \u0438\u0434\u0451\u0442 \u0432 \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443! \u041d\u0435 \u0441\u0430\u043c\u044b\u0439, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u0432 \u0445\u043e\u0437\u044f\u0439\u0441\u0442\u0432\u0435 \u043c\u043e\u0434, \u043d\u043e \u0432 \u0430\u043a\u0430\u0434\u0435\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438 \u0440\u0435\u043a\u0440\u0435\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445 \u0432\u043f\u043e\u043b\u043d\u0435 \u0441\u0433\u043e\u0434\u0438\u0442\u0441\u044f \ud83d\ude42  <\/p>\n<blockquote><p>\u0427\u0430\u0441\u043e\u0432\u0443\u044e \u0438 \u043c\u0438\u043d\u0443\u0442\u043d\u0443\u044e \u0441\u0442\u0440\u0435\u043b\u043a\u0438 \u044f \u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0432 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u043c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438. \u0418\u043d\u043e\u0433\u0434\u0430 \u0432\u0441\u0451 \u0436\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u043b\u0433\u044f\u0434\u044b\u0432\u0430\u0442\u044c \u043d\u0430 \u0447\u0430\u0441\u044b \u0432 \u0442\u0440\u0435\u0435 \u2014 \u043f\u0443\u0441\u0442\u044c \u043e\u043d\u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u0432\u0440\u0435\u043c\u044f \u0441 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c\u044e \u0445\u043e\u0442\u044f \u0431\u044b \u0434\u043e \u043c\u0438\u043d\u0443\u0442\u044b&#8230;<\/p><\/blockquote>\n<p>  <a name=\"habracut\"><\/a><\/p>\n<h4>\u041f\u043e\u0434\u0433\u043e\u0442\u043e\u0432\u043a\u0430<\/h4>\n<p>  \u041f\u043e\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u0435\u043b\u044c\u043d\u043e\u0441\u0442\u044c \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0439 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043f\u0440\u0438\u043c\u0435\u0440\u043d\u043e \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439:  <\/p>\n<ol>\n<li>\u041f\u043e\u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u0442\u044c explorer.exe \u0438 \u043f\u043e\u043d\u044f\u0442\u044c \u043a\u0430\u043a\u0438\u043c \u043e\u0431\u0440\u0430\u0437\u043e\u043c \u043e\u043d \u0441\u0447\u0438\u0442\u0430\u0435\u0442 \u0432\u0440\u0435\u043c\u044f<\/li>\n<li>\u041a\u0430\u043a-\u0442\u043e \u0447\u0442\u043e-\u0442\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u0432 \u043b\u043e\u0433\u0438\u043a\u0435, \u0447\u0442\u043e\u0431\u044b \u0447\u0430\u0441\u044b \u0448\u043b\u0438 \u043e\u0431\u0440\u0430\u0442\u043d\u043e<\/li>\n<\/ol>\n<p>  \u041d\u0435\u043c\u043d\u043e\u0433\u043e \u043f\u043e\u043c\u0435\u043d\u044f\u0442\u044c \u043b\u043e\u0433\u0438\u043a\u0443 \u043a\u0430\u043a\u043e\u0433\u043e-\u043d\u0438\u0431\u0443\u0434\u044c 32-\u0431\u0438\u0442\u043d\u043e\u0433\u043e usermode-\u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 \u043d\u0435 \u043f\u0440\u0435\u0434\u0441\u0442\u0430\u0432\u043b\u044f\u0435\u0442 \u0441\u043b\u043e\u0436\u043d\u043e\u0441\u0442\u0435\u0439: \u0434\u0430\u0432\u043d\u043e \u0435\u0441\u0442\u044c \u043f\u043e\u043b\u044e\u0431\u0438\u0432\u0448\u0438\u0439\u0441\u044f \u043c\u043d\u043e\u0433\u0438\u043c \u043e\u0442\u043b\u0430\u0434\u0447\u0438\u043a <a href=\"http:\/\/www.ollydbg.de\/\">OllyDbg<\/a>, \u0442\u0443\u0442\u043e\u0440\u0438\u0430\u043b\u043e\u0432 \u043f\u043e \u043a\u043e\u0442\u043e\u0440\u043e\u043c\u0443 \u043f\u0440\u0435\u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0434\u0430\u0436\u0435 \u043d\u0430 \u0440\u0443\u0441\u0441\u043a\u043e\u043c \u044f\u0437\u044b\u043a\u0435. \u041f\u043e\u044d\u0442\u043e\u043c\u0443, \u0434\u043b\u044f \u043f\u0440\u0438\u0434\u0430\u043d\u0438\u044f \u0438\u0437\u044e\u043c\u0438\u043d\u043a\u0438 \u0431\u044b\u043b\u043e \u0440\u0435\u0448\u0435\u043d\u043e \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u044b\u0432\u0430\u0442\u044c \u0437\u0430\u0434\u0430\u0447\u0443 \u043d\u0430 \u043c\u043e\u0435\u0439 64-\u0431\u0438\u0442\u043d\u043e\u0439 Windows 7 \u2014 \u0434\u0430\u0432\u043d\u043e \u0445\u043e\u0442\u0435\u043b \u0443\u0437\u043d\u0430\u0442\u044c \u043a\u0430\u043a\u043e\u0432\u043e\u0301 \u0442\u0430\u043c \u0436\u0438\u0432\u0451\u0442\u0441\u044f \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430\u043c \u0441 \u0443\u0434\u0432\u043e\u0435\u043d\u043d\u043e\u0439 \u0440\u0430\u0437\u0440\u044f\u0434\u043d\u043e\u0441\u0442\u044c\u044e\u2026<\/p>\n<p>  \u0412 64-\u0431\u0438\u0442\u043d\u043e\u043c \u043c\u0438\u0440\u0435 \u043d\u0430 \u0443\u0440\u043e\u0432\u043d\u0435 \u0434\u0438\u0437\u0430\u0441\u0441\u0435\u043c\u0431\u043b\u0435\u0440\u0430 \u043f\u043e\u043a\u0430, \u043a \u0441\u043e\u0436\u0430\u043b\u0435\u043d\u0438\u044e, \u0436\u0438\u0432\u0435\u0442\u0441\u044f \u043d\u0435 \u043e\u0447\u0435\u043d\u044c \u0441\u043b\u0430\u0434\u043a\u043e: \u043d\u0438 \u0442\u0435\u0431\u0435 \u043a\u043e\u043c\u0444\u043e\u0440\u0442\u043d\u043e\u0433\u043e Olly \u0434\u043b\u044f \u043e\u0442\u043b\u0430\u0434\u043a\u0438, \u043d\u0438 \u0442\u0435\u0431\u0435 \u0443\u0434\u043e\u0431\u043d\u0435\u0439\u0448\u0435\u0433\u043e <acronym>Detours<\/acronym>, \u0437\u0430 \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u043f\u0440\u043e\u0441\u044f\u0442 \u0432\u044b\u043b\u043e\u0436\u0438\u0442\u044c \u043d\u0438 \u043c\u043d\u043e\u0433\u043e \u043d\u0438 \u043c\u0430\u043b\u043e $9,999.95 (\u043d\u0443, \u0441\u043f\u0430\u0441\u0438\u0431\u043e, \u0447\u0442\u043e \u043d\u0435 $10k \u2014 \u043c\u0430\u0440\u043a\u0435\u0442\u043e\u043b\u043e\u0433\u0438 \u0437\u043d\u0430\u044e\u0442 \u043a\u0430\u043a \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0446\u0435\u043d\u0443 \u043f\u0440\u0438\u0432\u043b\u0435\u043a\u0430\u0442\u0435\u043b\u044c\u043d\u0435\u0435). \u0414\u0430\u0436\u0435 \u0441\u0442\u0430\u0440\u044b\u0435 32-\u0431\u0438\u0442\u043d\u044b\u0435 <acronym>\u0438\u043d\u0436\u0435\u043a\u0442\u043e\u0440\u044b<\/acronym> \u043d\u0435\u043b\u044c\u0437\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u0434\u043b\u044f \u0432\u043d\u0435\u0434\u0440\u0435\u043d\u0438\u044f 64-\u0431\u0438\u0442\u043d\u044b\u0445 dll. \u0412\u0438\u0434\u0438\u043c\u043e, \u043c\u043e\u0435\u043c\u0443 <a href=\"http:\/\/www.google.com\/\">\u043f\u043e\u0438\u0441\u043a\u043e\u0432\u0438\u043a\u0443 \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e<\/a> \u043f\u0440\u0438\u0434\u0451\u0442\u0441\u044f \u043d\u0435\u0441\u043b\u0430\u0431\u043e \u043f\u043e\u0440\u0430\u0431\u043e\u0442\u0430\u0442\u044c\u2026<\/p>\n<p>  \u0414\u0430 \u043f\u0440\u043e\u0441\u0442\u044f\u0442 \u043c\u0435\u043d\u044f \u043b\u044e\u0431\u0438\u0442\u0435\u043b\u0438 \u0441\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0430\u043d\u0430\u043b\u0438\u0437\u0430, \u0441 IDA Pro \u0443 \u043c\u0435\u043d\u044f \u043e\u0442\u043d\u043e\u0448\u0435\u043d\u0438\u044f \u043d\u0435 \u0441\u043b\u043e\u0436\u0438\u043b\u0438\u0441\u044c, \u0442\u0430\u043a \u0447\u0442\u043e \u0432\u044b\u0431\u043e\u0440\u0430 \u0443 \u043c\u0435\u043d\u044f \u043f\u043e\u0447\u0442\u0438 \u043d\u0435 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u2014 \u0441\u0442\u0430\u0440\u0438\u0447\u043e\u043a WinDbg \u0434\u043e\u0436\u0434\u0430\u043b\u0441\u044f \u0441\u0432\u043e\u0435\u0433\u043e \u0447\u0430\u0441\u0430.  <\/p>\n<blockquote><p>\u0412 \u0432\u043e\u043f\u0440\u043e\u0441\u0430\u0445 \u0440\u0430\u0431\u043e\u0442\u044b \u0441 WinDbg \u0446\u0435\u043d\u043d\u0435\u0439\u0448\u0438\u043c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u0440\u0435\u0441\u0443\u0440\u0441 <a href=\"http:\/\/www.windbg.info\/doc\/1-common-cmds.html\">windbg.info<\/a><\/p><\/blockquote>\n<p>  <\/p>\n<h4>\u0418\u0441\u0441\u043b\u0435\u0434\u0443\u0435\u043c explorer.exe<\/h4>\n<p>  \u041f\u043e\u0434\u043a\u043b\u044e\u0447\u0430\u0435\u043c\u0441\u044f \u043a \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0443 \u0438 \u0438\u0449\u0435\u043c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0441\u0432\u044f\u0437\u0430\u043d\u043d\u043e\u0435 \u0441\u043e \u0441\u043b\u043e\u0432\u043e\u043c &quot;<i>clock<\/i>&quot;:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/cf0\/833\/15d\/cf083315de90ae4d167b9aefd4515028.png\"\/><\/p>\n<p>  \u041f\u0440\u0438\u0441\u043c\u043e\u0442\u0440\u0435\u0432\u0448\u0438\u0441\u044c \u043f\u043e\u043b\u0443\u0447\u0448\u0435 \u043a \u0432\u044b\u0434\u0430\u043d\u043d\u043e\u043c\u0443 \u0441\u043f\u0438\u0441\u043a\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u0439, \u043c\u043e\u0436\u043d\u043e \u0437\u0430\u043c\u0435\u0442\u0438\u0442\u044c \u043d\u0435\u043f\u0440\u0438\u043c\u0435\u0442\u043d\u0443\u044e \u0444\u0443\u043d\u043a\u0446\u0438\u044e <code>explorer!CClockCtl::_RecalcCurTime<\/code>. \u041d\u0435\u0443\u0436\u0435\u043b\u0438 \u043f\u0435\u0440\u0432\u044b\u0439 \u0432\u044b\u0441\u0442\u0440\u0435\u043b \u0441\u0440\u0430\u0437\u0443 \u0432 \u0446\u0435\u043b\u044c? \u041f\u043e\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0447\u0442\u043e \u0443 \u043d\u0435\u0451 \u0432\u043d\u0443\u0442\u0440\u0438:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/652\/120\/9e0\/6521209e02309763891a025eda36bea7.png\"\/><\/p>\n<p>  \u0412\u0441\u0451 \u0432\u0435\u0440\u043d\u043e, \u0441\u0440\u0430\u0437\u0443 \u0437\u0430 \u043f\u0440\u043e\u043b\u043e\u0433\u043e\u043c \u0444\u0443\u043d\u043a\u0446\u0438\u0438 \u0432\u0438\u0434\u0438\u043c \u0432\u044b\u0437\u043e\u0432 <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/desktop\/ms724338%28v=vs.85%29.aspx\">GetLocalTime<\/a>, \u043a\u043e\u0442\u043e\u0440\u0430\u044f, \u043a\u0430\u043a \u0438\u0437\u0432\u0435\u0441\u0442\u043d\u043e, \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u0442 \u043c\u0435\u0441\u0442\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0438 \u0434\u0430\u0442\u0443. \u0415\u0441\u043b\u0438 \u043c\u044b \u0441\u043c\u043e\u0436\u0435\u043c \u0432\u043b\u0438\u044f\u0442\u044c \u043d\u0430 \u0432\u043e\u0437\u0432\u0440\u0430\u0449\u0430\u0435\u043c\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u044d\u0442\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438, \u0442\u043e \u0441\u043c\u043e\u0436\u0435\u043c \u0442\u0430\u043a\u0436\u0435 \u0438 \u0438\u0437\u043c\u0435\u043d\u044f\u0442\u044c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0435 \u0441\u0435\u043a\u0443\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u0435\u043b\u043a\u0438 \u2014 \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u043f\u043e\u0441\u0442\u0430\u0432\u0438\u0442\u044c <acronym>\u0445\u0443\u043a<\/acronym> \u043d\u0430 \u044d\u0442\u0443 \u0444\u0443\u043d\u043a\u0446\u0438\u044e.<\/p>\n<p>  \u0427\u0442\u043e\u0431\u044b \u0440\u0435\u0430\u043b\u0438\u0437\u043e\u0432\u0430\u0442\u044c \u0437\u0430\u0434\u0443\u043c\u0430\u043d\u043d\u043e\u0435, \u043d\u0430\u043c \u043d\u0443\u0436\u043d\u043e \u043a\u0430\u043a-\u0442\u043e \u043f\u043e\u043f\u0430\u0441\u0442\u044c \u0432 \u0430\u0434\u0440\u0435\u0441\u043d\u043e\u0435 \u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0441\u0442\u0432\u043e \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 explorer.exe. \u0418 \u0432 \u044d\u0442\u043e\u043c \u043a\u0430\u043a \u043d\u0435\u043b\u044c\u0437\u044f \u043b\u0443\u0447\u0448\u0435 \u043d\u0430\u043c \u043f\u043e\u043c\u043e\u0436\u0435\u0442 \u0443\u0442\u0438\u043b\u0438\u0442\u0430 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u043e\u0439 \u0441\u0442\u0440\u043e\u043a\u0438 <a href=\"http:\/\/code.google.com\/p\/injector\/\">CLI DLL-Injector<\/a>. \u041e\u043d\u0430 \u043c\u0430\u043b\u043e \u0442\u043e\u0433\u043e \u0447\u0442\u043e \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0435\u0442 32 \u0438 64 \u0431\u0438\u0442\u0430, \u0442\u0430\u043a \u0435\u0449\u0435 \u0438 \u0443\u043c\u0435\u0435\u0442 \u0432\u043d\u0435\u0434\u0440\u044f\u0442\u044c dll \u0434\u0432\u0443\u043c\u044f \u0441\u043f\u043e\u0441\u043e\u0431\u0430\u043c\u0438: \u0447\u0435\u0440\u0435\u0437 \u0438\u043d\u0436\u0435\u043a\u0442 LoadLibrary, \u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e \u043f\u0440\u044f\u043c\u043e\u0439 \u0437\u0430\u043f\u0438\u0441\u0438 \u043a\u043e\u0434\u0430 \u0447\u0435\u0440\u0435\u0437 WriteProcessMemory \u0441 \u043f\u043e\u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u043c \u043f\u0435\u0440\u0435\u043d\u043e\u0441\u043e\u043c reloc&#8217;\u043e\u0432.<\/p>\n<p>  \u041d\u0435\u043f\u043e\u0441\u0440\u0435\u0434\u0441\u0442\u0432\u0435\u043d\u043d\u043e \u0434\u043b\u044f \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0438 \u0445\u0443\u043a\u043e\u0432 \u0432\u043d\u0443\u0442\u0440\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 explorer.exe \u0432\u043e\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0439 \u0438 \u043d\u0430\u0434\u0451\u0436\u043d\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u043e\u0439 <a href=\"http:\/\/www.codeproject.com\/Articles\/44326\/MinHook-The-Minimalistic-x86-x64-API-Hooking-Libra\">MinHook<\/a>.  <\/p>\n<blockquote><p>\u0421\u0442\u043e\u0438\u0442 \u043e\u0431\u0440\u0430\u0442\u0438\u0442\u044c \u0432\u043d\u0438\u043c\u0430\u043d\u0438\u0435, \u0447\u0442\u043e \u0437\u0430 \u043a\u0430\u0436\u0443\u0449\u0435\u0439\u0441\u044f \u043f\u0440\u043e\u0441\u0442\u043e\u0442\u043e\u0439 \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0438, \u0432\u043d\u0443\u0442\u0440\u0438 \u0441\u043a\u0440\u044b\u0432\u0430\u0435\u0442\u0441\u044f \u043e\u0447\u0435\u043d\u044c \u043f\u0440\u043e\u0434\u0443\u043c\u0430\u043d\u043d\u0430\u044f \u043b\u043e\u0433\u0438\u043a\u0430, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442 \u0434\u0430\u0436\u0435 \u0432 \u0434\u043e\u0441\u0442\u0430\u0442\u043e\u0447\u043d\u043e \u0441\u043b\u043e\u0436\u043d\u044b\u0445 \u0441\u043b\u0443\u0447\u0430\u044f\u0445. \u0422\u0430\u043a, \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0430 <a href=\"http:\/\/www.codeproject.com\/Articles\/21414\/Powerful-x86-x64-Mini-Hook-Engine\">Powerful x86\/x64 Mini Hook-Engine<\/a>, \u043a\u043e\u0442\u043e\u0440\u0443\u044e \u044f \u043f\u044b\u0442\u0430\u043b\u0441\u044f \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c \u043f\u043e\u043d\u0430\u0447\u0430\u043b\u0443, \u043f\u0440\u0438\u0432\u043e\u0434\u0438\u043b\u0430 \u043a Access Violention \u0432\u0441\u0432\u044f\u0437\u0438 \u0441 \u0442\u0435\u043c, \u0447\u0442\u043e \u043f\u0435\u0440\u0432\u0430\u044f \u0436\u0435 \u0438\u043d\u0441\u0442\u0440\u0443\u043a\u0446\u0438\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u0438 GetLocalTime \u2014 \u044d\u0442\u043e \u043e\u0442\u043d\u043e\u0441\u0438\u0442\u0435\u043b\u044c\u043d\u044b\u0439 \u043f\u0435\u0440\u0435\u0445\u043e\u0434 JMP. \u0412 \u044d\u0442\u043e\u043c \u0441\u043b\u0443\u0447\u0430\u0435 \u0437\u0430\u0434\u0430\u0447\u0430 \u0443\u0441\u043b\u043e\u0436\u043d\u044f\u0435\u0442\u0441\u044f \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u044c\u044e \u043f\u0435\u0440\u0435\u0440\u0430\u0441\u0447\u0451\u0442\u0430 \u0441\u043c\u0435\u0449\u0435\u043d\u0438\u044f.<\/p><\/blockquote>\n<p>  <\/p>\n<h4>\u0420\u0435\u0430\u043b\u0438\u0437\u0430\u0446\u0438\u044f<\/h4>\n<p>  \u0421 \u0438\u043d\u0441\u0442\u0440\u0443\u043c\u0435\u043d\u0442\u0430\u043c\u0438 \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u0438\u043b\u0438\u0441\u044c. \u0422\u0435\u043f\u0435\u0440\u044c \u043e\u0441\u0442\u0430\u043b\u043e\u0441\u044c \u043d\u0430\u043f\u0438\u0441\u0430\u0442\u044c dll, \u043a\u043e\u0442\u043e\u0440\u0430\u044f \u043f\u0440\u0438 DLL_PROCESS_ATTACH \u0431\u0443\u0434\u0435\u0442 \u0441\u0442\u0430\u0432\u0438\u0442\u044c \u0445\u0443\u043a \u043d\u0430 \u0444\u0443\u043d\u043a\u0446\u0438\u044e GetLocalTime:<\/p>\n<pre><code class=\"cpp\">#include &lt;windows.h&gt; #include &quot;MinHook.h&quot;  \/\/ \u0421\u0442\u0430\u0442\u0438\u0447\u0435\u0441\u043a\u0438 \u043b\u0438\u043d\u043a\u0443\u0435\u043c\u0441\u044f \u0441 libMinHook.dll #pragma comment(lib, &quot;libMinHook.x64.lib&quot;)  \/\/ \u0423\u043a\u0430\u0437\u0430\u0442\u0435\u043b\u044c \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 GetLocalTime static void (WINAPI *GetLocalTime_)(LPSYSTEMTIME lpSystemTime);  void WINAPI MyGetLocalTime(LPSYSTEMTIME lpSystemTime) {   \/\/ \u0412\u044b\u0437\u044b\u0432\u0430\u0435\u043c \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b\u044c\u043d\u044b\u0439 GetLocalTime   GetLocalTime_(lpSystemTime);    \/\/ \u0418\u043d\u0432\u0435\u0440\u0442\u0438\u0440\u0443\u0435\u043c \u043a\u043e\u043b\u0438\u0447\u0435\u0441\u0442\u0432\u043e \u0441\u0435\u043a\u0443\u043d\u0434: 59 -&gt; 0, 0 -&gt; 59   lpSystemTime-&gt;wSecond = 59 - lpSystemTime-&gt;wSecond; }  BOOL APIENTRY DllMain(HMODULE hModule, DWORD dwReason, LPVOID lpReserved) {   switch (dwReason) {   case DLL_PROCESS_ATTACH:     \/\/ \u041d\u0435 \u043f\u043e\u0432\u0442\u043e\u0440\u044f\u0439\u0442\u0435 \u044d\u0442\u043e\u0433\u043e \u0432 \u043f\u0440\u043e\u0434\u0430\u043a\u0448\u0435\u043d\u0435!     \/\/ \u0412\u043e \u0438\u0437\u0431\u0435\u0436\u0430\u043d\u0438\u0435 \u043d\u0435\u043f\u0440\u0438\u044f\u0442\u043d\u044b\u0445 \u0434\u0435\u0434\u043b\u043e\u043a\u043e\u0432, \u0432\u043d\u0443\u0442\u0440\u0438 DllMain() \u043d\u0443\u0436\u043d\u043e \u043e\u0441\u0442\u0430\u0432\u043b\u044f\u0442\u044c \u0442\u043e\u043b\u044c\u043a\u043e \u0441\u0430\u043c\u044b\u0439 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u044b\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u043e\u043d\u0430\u043b      \/\/ \u0418\u043d\u0438\u0446\u0438\u0430\u043b\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0431\u0438\u0431\u043b\u0438\u043e\u0442\u0435\u043a\u0443 libMinHook     if (MH_Initialize() != MH_OK) {       return FALSE;     }      \/\/ \u0421\u043e\u0437\u0434\u0430\u0451\u043c \u0445\u0443\u043a (\u043f\u043e\u043a\u0430 \u0447\u0442\u043e \u043e\u043d \u0431\u0443\u0434\u0435\u0442 \u0432 \u0432\u044b\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u043e\u043c \u0441\u043e\u0441\u0442\u043e\u044f\u043d\u0438\u0438)     if (MH_CreateHook(&GetLocalTime, &MyGetLocalTime, reinterpret_cast&lt;void**&gt;(&GetLocalTime_)) != MH_OK) {       return FALSE;     }      \/\/ \u0410\u043a\u0442\u0438\u0432\u0438\u0437\u0438\u0440\u0443\u0435\u043c \u0445\u0443\u043a     if (MH_EnableHook(&GetLocalTime) != MH_OK) {       return FALSE;     }   }    return TRUE; } <\/code><\/pre>\n<p>  <\/p>\n<h4>\u0418\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c \u043f\u043e\u043b\u0443\u0447\u0435\u043d\u043d\u0443\u044e dll<\/h4>\n<p>  \u0422\u0435\u043f\u0435\u0440\u044c \u043c\u043e\u0436\u043d\u043e \u0432\u043d\u0435\u0434\u0440\u044f\u0442\u044c dll. \u0417\u0430\u043f\u0443\u0441\u043a\u0430\u0435\u043c \u0432 \u043a\u043e\u043d\u0441\u043e\u043b\u0438 \u0438\u043d\u0436\u0435\u043a\u0442\u043e\u0440 \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0435\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n<p>  <img decoding=\"async\" src=\"http:\/\/habrastorage.org\/storage2\/0ad\/73a\/b1b\/0ad73ab1b8b20ed481820c624d60faa5.png\"\/><\/p>\n<p>  \u0412\u0441\u0451, \u043c\u043e\u0436\u043d\u043e \u043d\u0430\u0441\u043b\u0430\u0436\u0434\u0430\u0442\u044c\u0441\u044f \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c\u0438! (\u043e\u0441\u0442\u043e\u0440\u043e\u0436\u043d\u043e, \u0433\u0438\u043f\u043d\u043e\u0442\u0438\u0437\u0438\u0440\u0443\u0435\u0442)    \t \t\t   \t<\/p>\n<div class=\"clear\"><\/div>\n<\/p><\/div>\n<p> \u0441\u0441\u044b\u043b\u043a\u0430 \u043d\u0430 \u043e\u0440\u0438\u0433\u0438\u043d\u0430\u043b \u0441\u0442\u0430\u0442\u044c\u0438 <a href=\"http:\/\/habrahabr.ru\/post\/175025\/\"> http:\/\/habrahabr.ru\/post\/175025\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<div class=\"content html_format\">   \t<img decoding=\"async\" align=\"right\" src=\"http:\/\/habrastorage.org\/storage2\/94b\/73e\/6e1\/94b73e6e1fff45f0a5b1be689c8e0cf6.gif\"\/>\u0412\u043e\u0442 \u0438 \u043e\u0442\u0433\u0440\u0435\u043c\u0435\u043b\u043e \u043f\u0435\u0440\u0432\u043e\u0435 \u0430\u043f\u0440\u0435\u043b\u044f. \u041a\u0442\u043e-\u0442\u043e \u0432 \u044d\u0442\u043e\u0442 \u0434\u0435\u043d\u044c \u043d\u044e\u0445\u0430\u043b \u0441\u0432\u043e\u0438 \u0434\u0435\u0432\u0430\u0439\u0441\u044b \u0432 \u043d\u043e\u0432\u043e\u043c \u0441\u0435\u0440\u0432\u0438\u0441\u0435 <a href=\"https:\/\/www.google.ru\/intl\/ru\/landing\/nose\/\">Google \u041d\u043e\u0441<\/a>, \u043a\u0442\u043e-\u0442\u043e \u0438\u0433\u0440\u0430\u043b \u0432 <a href=\"http:\/\/www.yandex.ru\/\">\u00ab\u041f\u043e\u043b\u0435 \u0447\u0443\u0434\u0435\u0441\u00bb<\/a>, \u0430 \u043a\u0442\u043e-\u0442\u043e, \u043f\u043e\u0437\u0430\u0431\u044b\u0432 \u043e \u0440\u043e\u043a\u043e\u0432\u043e\u0439 \u0434\u0430\u0442\u0435, \u043f\u0440\u043e\u0441\u0442\u043e \u0443\u0433\u0440\u044e\u043c\u043e \u043e\u0442\u0440\u044f\u0445\u0438\u0432\u0430\u043b \u0441\u043f\u0438\u043d\u0443 \u043e\u0442 \u043c\u0435\u043b\u0430\u2026<\/p>\n<p>  \u042f \u0436\u0435, \u0432\u043e\u043e\u0434\u0443\u0448\u0435\u0432\u043b\u0451\u043d\u043d\u044b\u0439 <a href=\"http:\/\/habrahabr.ru\/post\/174593\">\u0441\u0442\u0430\u0442\u044c\u0451\u0439<\/a> \u043f\u0440\u043e \u0441\u043a\u0440\u044b\u0442\u044b\u0435 \u0432\u043e\u0437\u043c\u043e\u0436\u043d\u043e\u0441\u0442\u0438 \u043a\u0430\u0441\u0442\u043e\u043c\u0438\u0437\u0430\u0446\u0438\u0438 \u043f\u0440\u043e\u0446\u0435\u0441\u0441\u0430 explorer.exe, \u0442\u043e\u0436\u0435 \u0440\u0435\u0448\u0438\u043b \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0447\u0442\u043e-\u043d\u0438\u0431\u0443\u0434\u044c \u0437\u0430\u0431\u0430\u0432\u043d\u043e\u0435.<br \/>  \u041f\u0443\u0441\u0442\u044c \u0441\u0435\u0433\u043e\u0434\u043d\u044f \u043c\u043e\u044f \u0441\u0435\u043a\u0443\u043d\u0434\u043d\u0430\u044f \u0441\u0442\u0440\u0435\u043b\u043a\u0430 \u0447\u0430\u0441\u043e\u0432 \u0432 Windows \u0438\u0434\u0451\u0442 \u0432 \u043e\u0431\u0440\u0430\u0442\u043d\u0443\u044e \u0441\u0442\u043e\u0440\u043e\u043d\u0443! \u041d\u0435 \u0441\u0430\u043c\u044b\u0439, \u043a\u043e\u043d\u0435\u0447\u043d\u043e, \u043f\u043e\u043b\u0435\u0437\u043d\u044b\u0439 \u0432 \u0445\u043e\u0437\u044f\u0439\u0441\u0442\u0432\u0435 \u043c\u043e\u0434, \u043d\u043e \u0432 \u0430\u043a\u0430\u0434\u0435\u043c\u0438\u0447\u0435\u0441\u043a\u0438\u0445 \u0438 \u0440\u0435\u043a\u0440\u0435\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0446\u0435\u043b\u044f\u0445 \u0432\u043f\u043e\u043b\u043d\u0435 \u0441\u0433\u043e\u0434\u0438\u0442\u0441\u044f \ud83d\ude42  <\/p>\n<blockquote><p>\u0427\u0430\u0441\u043e\u0432\u0443\u044e \u0438 \u043c\u0438\u043d\u0443\u0442\u043d\u0443\u044e \u0441\u0442\u0440\u0435\u043b\u043a\u0438 \u044f \u043e\u0441\u0442\u0430\u0432\u0438\u043b \u0432 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u043e\u043c \u043d\u0430\u043f\u0440\u0430\u0432\u043b\u0435\u043d\u0438\u0438. \u0418\u043d\u043e\u0433\u0434\u0430 \u0432\u0441\u0451 \u0436\u0435 \u043f\u0440\u0438\u0445\u043e\u0434\u0438\u0442\u0441\u044f \u043f\u043e\u043b\u0433\u044f\u0434\u044b\u0432\u0430\u0442\u044c \u043d\u0430 \u0447\u0430\u0441\u044b \u0432 \u0442\u0440\u0435\u0435 \u2014 \u043f\u0443\u0441\u0442\u044c \u043e\u043d\u0438 \u043f\u043e\u043a\u0430\u0437\u044b\u0432\u0430\u044e\u0442 \u0432\u0440\u0435\u043c\u044f \u0441 \u0442\u043e\u0447\u043d\u043e\u0441\u0442\u044c\u044e \u0445\u043e\u0442\u044f \u0431\u044b \u0434\u043e \u043c\u0438\u043d\u0443\u0442\u044b&#8230;<\/p><\/blockquote>\n<p>  <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-175025","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/175025","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=175025"}],"version-history":[{"count":0,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=\/wp\/v2\/posts\/175025\/revisions"}],"wp:attachment":[{"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=175025"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=175025"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/savepearlharbor.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=175025"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}