{"id":830,"date":"2013-02-28T22:21:11","date_gmt":"2013-03-01T06:21:11","guid":{"rendered":"http:\/\/e-olio.com\/cknow\/cms\/?p=830"},"modified":"2013-04-16T12:30:05","modified_gmt":"2013-04-16T19:30:05","slug":"spacefiller-cavity-viruses","status":"publish","type":"post","link":"https:\/\/www.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html","title":{"rendered":"Spacefiller (Cavity) Viruses"},"content":{"rendered":"<p><div class=\"simplePullQuote right\"><p><strong>A spacefiller (cavity) virus attempts to install itself inside of the file it is infecting. This is difficult but has become easier with new file formats designed to make executable files load and run faster.<\/strong><\/p>\n<\/div>Many viruses take the easy way out when infecting files; they simply attach themselves to the end of the file and then change the start of the program so that it first points to the virus and then to the actual program code. Many viruses that do this also implement some <a href=\"https:\/\/www.cknow.com\/cms\/vtutor\/stealth-viruses-and-rootkits.html\">stealth<\/a> techniques so you don&#8217;t see the increase in file length when the virus is active in memory.<\/p>\n<p>A spacefiller (cavity) virus, on the other hand, attempts to be clever. Some program files, for a variety of reasons, have empty space inside of them. This empty space can be used to house virus code. A spacefiller virus attempts to install itself in this empty space while not damaging the actual program itself. An advantage of this is that the virus then does not increase the length of the program and can avoid the need for some stealth techniques. The Lehigh virus was an early example of a spacefiller virus.<\/p>\n<p>Because of the difficulty of writing this type of virus and the limited number of possible hosts, cavity viruses are rare&#8230;however&#8230; A new Windows file format known as Portable Executable (PE) is designed to make loading and running programs faster. While a great goal, the implementation has the effect of leaving potentially large gaps in the program file. A cavity (spacefiller) virus can find these gaps and insert itself into them. The <a href=\"https:\/\/www.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html\">CIH virus family<\/a> takes advantage of this new file format. There will likely be more.<\/p>\n<p>To see an example of CIH at work, see this video&#8230;<\/p>\n<div align=\"center\">\n<iframe loading=\"lazy\"  id=\"_ytid_35758\"  width=\"480\" height=\"270\"  data-origwidth=\"480\" data-origheight=\"270\" src=\"https:\/\/www.youtube.com\/embed\/RrnWFAx5vJg?enablejsapi=1&#038;autoplay=0&#038;cc_load_policy=0&#038;cc_lang_pref=&#038;iv_load_policy=1&#038;loop=0&#038;rel=1&#038;fs=1&#038;playsinline=0&#038;autohide=2&#038;theme=dark&#038;color=red&#038;controls=1&#038;disablekb=0&#038;\" class=\"__youtube_prefs__  epyt-is-override  no-lazyload\" title=\"YouTube player\"  allow=\"fullscreen; accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen data-no-lazy=\"1\" data-skipgform_ajax_framebjll=\"\"><\/iframe>\n<\/div>\n<h4>Summary<\/h4>\n<ul>\n<li>A spacefiller (cavity) virus attempts to install itself inside of the file it is infecting.<\/li>\n<li>In the past this was difficult to do properly, but new file formats make it easier.<\/li>\n<\/ul>\n<table style=\"margin: 0pt; width: 100%;\" border=\"0\" cellspacing=\"0\" cellpadding=\"0\" align=\"center\">\n<tbody>\n<tr align=\"center\">\n<td style=\"padding: 0 0 0 0;\" colspan=\"2\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.cknow.com\/cms\/wp-content\/uploads\/2013\/02\/arrow_up.png\" alt=\"Up Arrow\" width=\"16\" height=\"16\" class=\"alignnone size-full wp-image-579\" \/> <a href=\"https:\/\/www.cknow.com\/cms\/vtutor\/how-viruses-infect.html\">How Viruses Infect<\/a> <img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.cknow.com\/cms\/wp-content\/uploads\/2013\/02\/arrow_up.png\" alt=\"Up Arrow\" width=\"16\" height=\"16\" class=\"alignnone size-full wp-image-579\" \/><\/td>\n<\/tr>\n<tr>\n<td style=\"padding: 0 0 0 0;\" align=\"right\"><a href=\"https:\/\/www.cknow.com\/cms\/vtutor\/multipartite-viruses.html\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.cknow.com\/cms\/wp-content\/uploads\/2013\/02\/arrow_prior.gif\" alt=\"Prior Page\" width=\"48\" height=\"32\" class=\"alignnone size-full wp-image-578\" \/><\/a><\/td>\n<td style=\"padding: 0 0 0 0;\" align=\"left\"><a href=\"https:\/\/www.cknow.com\/cms\/vtutor\/tunneling-viruses.html\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.cknow.com\/cms\/wp-content\/uploads\/2013\/02\/arrow_next.gif\" alt=\"Next Page\" width=\"48\" height=\"32\" class=\"alignnone size-full wp-image-577\" \/><\/a><\/td>\n<\/tr>\n<tr>\n<td style=\"padding-right: 20px; text-align: right; width: 50%;\"><a href=\"https:\/\/www.cknow.com\/cms\/vtutor\/multipartite-viruses.html\">Multipartite Viruses<\/a> <\/td>\n<td style=\"padding-left: 20px; width: 50%; text-align: left;\"> <a href=\"https:\/\/www.cknow.com\/cms\/vtutor\/tunneling-viruses.html\">Tunneling Viruses<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n","protected":false},"excerpt":{"rendered":"<p>Many viruses take the easy way out when infecting files; they simply attach themselves to the end of the file and then change the start of the program so that it first points to the virus and then to the actual program code. Many viruses that do this also implement some stealth techniques so you [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-830","post","type-post","status-publish","format-standard","hentry","category-vtutor","entry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Spacefiller (Cavity) Viruses - C-Know Media<\/title>\n<meta name=\"description\" content=\"A spacefiller (cavity) virus attempts to install itself inside of the file it is infecting. This has become easier with new file formats.\" \/>\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.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Spacefiller (Cavity) Viruses - C-Know Media\" \/>\n<meta property=\"og:description\" content=\"A spacefiller (cavity) virus attempts to install itself inside of the file it is infecting. This has become easier with new file formats.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html\" \/>\n<meta property=\"og:site_name\" content=\"C-Know Media\" \/>\n<meta property=\"article:published_time\" content=\"2013-03-01T06:21:11+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-04-16T19:30:05+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.cknow.com\/cms\/wp-content\/uploads\/2013\/02\/arrow_up.png\" \/>\n<meta name=\"author\" content=\"DaBoss\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"DaBoss\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/vtutor\\\/spacefiller-cavity-viruses.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/vtutor\\\/spacefiller-cavity-viruses.html\"},\"author\":{\"name\":\"DaBoss\",\"@id\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/#\\\/schema\\\/person\\\/47944007814fe46e32a1ebee5954638f\"},\"headline\":\"Spacefiller (Cavity) Viruses\",\"datePublished\":\"2013-03-01T06:21:11+00:00\",\"dateModified\":\"2013-04-16T19:30:05+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/vtutor\\\/spacefiller-cavity-viruses.html\"},\"wordCount\":350,\"image\":{\"@id\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/vtutor\\\/spacefiller-cavity-viruses.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/wp-content\\\/uploads\\\/2013\\\/02\\\/arrow_up.png\",\"articleSection\":[\"VTutor\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/vtutor\\\/spacefiller-cavity-viruses.html\",\"url\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/vtutor\\\/spacefiller-cavity-viruses.html\",\"name\":\"Spacefiller (Cavity) Viruses - C-Know Media\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/vtutor\\\/spacefiller-cavity-viruses.html#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/vtutor\\\/spacefiller-cavity-viruses.html#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/wp-content\\\/uploads\\\/2013\\\/02\\\/arrow_up.png\",\"datePublished\":\"2013-03-01T06:21:11+00:00\",\"dateModified\":\"2013-04-16T19:30:05+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/#\\\/schema\\\/person\\\/47944007814fe46e32a1ebee5954638f\"},\"description\":\"A spacefiller (cavity) virus attempts to install itself inside of the file it is infecting. This has become easier with new file formats.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/vtutor\\\/spacefiller-cavity-viruses.html#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.cknow.com\\\/cms\\\/vtutor\\\/spacefiller-cavity-viruses.html\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/vtutor\\\/spacefiller-cavity-viruses.html#primaryimage\",\"url\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/wp-content\\\/uploads\\\/2013\\\/02\\\/arrow_up.png\",\"contentUrl\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/wp-content\\\/uploads\\\/2013\\\/02\\\/arrow_up.png\",\"width\":16,\"height\":16,\"caption\":\"Up Arrow\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/vtutor\\\/spacefiller-cavity-viruses.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Spacefiller (Cavity) Viruses\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/#website\",\"url\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/\",\"name\":\"C-Know Media\",\"description\":\"Fun media for all\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/#\\\/schema\\\/person\\\/47944007814fe46e32a1ebee5954638f\",\"name\":\"DaBoss\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d4ba3f829b22682345f1dec9f43e839d822e1b4c570d7ce15475db8b4d5ce111?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d4ba3f829b22682345f1dec9f43e839d822e1b4c570d7ce15475db8b4d5ce111?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d4ba3f829b22682345f1dec9f43e839d822e1b4c570d7ce15475db8b4d5ce111?s=96&d=mm&r=g\",\"caption\":\"DaBoss\"},\"url\":\"https:\\\/\\\/www.cknow.com\\\/cms\\\/author\\\/daboss-2\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Spacefiller (Cavity) Viruses - C-Know Media","description":"A spacefiller (cavity) virus attempts to install itself inside of the file it is infecting. This has become easier with new file formats.","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.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html","og_locale":"en_US","og_type":"article","og_title":"Spacefiller (Cavity) Viruses - C-Know Media","og_description":"A spacefiller (cavity) virus attempts to install itself inside of the file it is infecting. This has become easier with new file formats.","og_url":"https:\/\/www.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html","og_site_name":"C-Know Media","article_published_time":"2013-03-01T06:21:11+00:00","article_modified_time":"2013-04-16T19:30:05+00:00","og_image":[{"url":"https:\/\/www.cknow.com\/cms\/wp-content\/uploads\/2013\/02\/arrow_up.png","type":"","width":"","height":""}],"author":"DaBoss","twitter_misc":{"Written by":"DaBoss","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html#article","isPartOf":{"@id":"https:\/\/www.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html"},"author":{"name":"DaBoss","@id":"https:\/\/www.cknow.com\/cms\/#\/schema\/person\/47944007814fe46e32a1ebee5954638f"},"headline":"Spacefiller (Cavity) Viruses","datePublished":"2013-03-01T06:21:11+00:00","dateModified":"2013-04-16T19:30:05+00:00","mainEntityOfPage":{"@id":"https:\/\/www.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html"},"wordCount":350,"image":{"@id":"https:\/\/www.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html#primaryimage"},"thumbnailUrl":"https:\/\/www.cknow.com\/cms\/wp-content\/uploads\/2013\/02\/arrow_up.png","articleSection":["VTutor"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html","url":"https:\/\/www.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html","name":"Spacefiller (Cavity) Viruses - C-Know Media","isPartOf":{"@id":"https:\/\/www.cknow.com\/cms\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html#primaryimage"},"image":{"@id":"https:\/\/www.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html#primaryimage"},"thumbnailUrl":"https:\/\/www.cknow.com\/cms\/wp-content\/uploads\/2013\/02\/arrow_up.png","datePublished":"2013-03-01T06:21:11+00:00","dateModified":"2013-04-16T19:30:05+00:00","author":{"@id":"https:\/\/www.cknow.com\/cms\/#\/schema\/person\/47944007814fe46e32a1ebee5954638f"},"description":"A spacefiller (cavity) virus attempts to install itself inside of the file it is infecting. This has become easier with new file formats.","breadcrumb":{"@id":"https:\/\/www.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html#primaryimage","url":"https:\/\/www.cknow.com\/cms\/wp-content\/uploads\/2013\/02\/arrow_up.png","contentUrl":"https:\/\/www.cknow.com\/cms\/wp-content\/uploads\/2013\/02\/arrow_up.png","width":16,"height":16,"caption":"Up Arrow"},{"@type":"BreadcrumbList","@id":"https:\/\/www.cknow.com\/cms\/vtutor\/spacefiller-cavity-viruses.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.cknow.com\/cms\/"},{"@type":"ListItem","position":2,"name":"Spacefiller (Cavity) Viruses"}]},{"@type":"WebSite","@id":"https:\/\/www.cknow.com\/cms\/#website","url":"https:\/\/www.cknow.com\/cms\/","name":"C-Know Media","description":"Fun media for all","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.cknow.com\/cms\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.cknow.com\/cms\/#\/schema\/person\/47944007814fe46e32a1ebee5954638f","name":"DaBoss","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/d4ba3f829b22682345f1dec9f43e839d822e1b4c570d7ce15475db8b4d5ce111?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/d4ba3f829b22682345f1dec9f43e839d822e1b4c570d7ce15475db8b4d5ce111?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d4ba3f829b22682345f1dec9f43e839d822e1b4c570d7ce15475db8b4d5ce111?s=96&d=mm&r=g","caption":"DaBoss"},"url":"https:\/\/www.cknow.com\/cms\/author\/daboss-2"}]}},"_links":{"self":[{"href":"https:\/\/www.cknow.com\/cms\/wp-json\/wp\/v2\/posts\/830","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.cknow.com\/cms\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.cknow.com\/cms\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.cknow.com\/cms\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.cknow.com\/cms\/wp-json\/wp\/v2\/comments?post=830"}],"version-history":[{"count":0,"href":"https:\/\/www.cknow.com\/cms\/wp-json\/wp\/v2\/posts\/830\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.cknow.com\/cms\/wp-json\/wp\/v2\/media?parent=830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.cknow.com\/cms\/wp-json\/wp\/v2\/categories?post=830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.cknow.com\/cms\/wp-json\/wp\/v2\/tags?post=830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}