{"id":8435,"date":"2015-07-03T10:26:43","date_gmt":"2015-07-03T08:26:43","guid":{"rendered":"http:\/\/blog.zhaw.ch\/icclab\/?p=8435"},"modified":"2015-08-27T13:45:38","modified_gmt":"2015-08-27T11:45:38","slug":"making-xifi-secure-against-venom-repost-from-xifi-blog","status":"publish","type":"post","link":"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/","title":{"rendered":"Making XiFi secure against Venom"},"content":{"rendered":"<p><em>[This post originally appeared on the <a href=\"https:\/\/blog.fi-xifi.eu\/making-xifi-secure-against-venom\/\">XiFi blog<\/a> &#8211; ICCLab@ZHAW is a partner in XiFi and is responsible for operating the Zurich node.]<\/em><\/p>\n<p>As with any open compute systems, security is a serious issue which cannot be taken lightly. XiFi takes security seriously and has regular reviews of security issues which arise during node operations.<\/p>\n<p>As well as being reactive to specific incidents, proper security processes require regular upgrading and patching of systems. The <a href=\"http:\/\/venom.crowdstrike.com\/\">Venom<\/a> threat which was announced in April is real for many of the systems in XiFi as the <a href=\"http:\/\/www.linux-kvm.org\/page\/Main_Page\">KVM<\/a> hypervisor is quite widely used. Consequently, it was necessary to upgrade systems to secure them against this threat. Here we offer a few points on our experience with this quite fundamental upgrade.<\/p>\n<p>The Venom vulnerability exploits a weakness in the Floppy Disk Controller in <a href=\"http:\/\/wiki.qemu.org\/Main_Page\">qemu<\/a>. Securing systems against Venom requires upgrading to a newer version of qemu (terminating any existing qemu processes and typically restarting the host). In an operational KVM-based system, the VMs are running in qemu environments so a simple qemu upgrade without terminating existing qemu process does not remove the vulnerability; for this reason, upgrading the system with minimal user impact is a little complex.<\/p>\n<p>Our basic approach to perform the upgrade involved evacuating a single host &#8211; moving all VMs on that host to other hosts in the system &#8211; and then performing the upgrade on that system. As <a href=\"https:\/\/www.openstack.org\/\">Openstack<\/a> is not a bulletproof platform as yet, we did this with caution, moving VMs one by one, ensuring that VMs were not affected by the move (by checking network connectivity for those that had public IP address and checking the console for a sample of the remainder). We used the <a href=\"http:\/\/www.sebastien-han.fr\/blog\/2012\/07\/12\/openstack-block-migration\/\">block migration mechanism<\/a> supported by Openstack &#8211; even though this can be somewhat less efficient (depending on configuration), it is more widely applicable and does not require setup of NFS shares between hosts. Overall, this part of the process was quite time-consuming.<\/p>\n<p>Once all VMs had been moved from a host, it was relatively straightforward to upgrade qemu. As we had deployed our node using <a href=\"https:\/\/www.mirantis.com\/products\/mirantis-openstack-software\/openstack-deployment-fuel\/\">Mirantis Fuel<\/a>, we followed the <a href=\"http:\/\/online.mirantis.com\/hubfs\/Technical_Bulletins\/Mirantis-Technical-Bulletin-12-VENOM-QEMU-Vulnerability-v4-ext.pdf\">instructions provided by Mirantis<\/a> to perform the upgrade. For us, there were a couple of points missing in this documentation &#8211; there were more package dependencies (not so many &#8211; about 10) which we had to install manually from the Mirantis repo. Also, for a deployment with Fuel 5.1.1 (which we had), the documentation erroneously omits an upgrade to one important process &#8211; qemu-kvm. Once we had downloaded and installed the packages manually (using <a href=\"http:\/\/manpages.ubuntu.com\/manpages\/lucid\/man1\/dpkg.1.html\">dpkg<\/a>), we could reboot the system and it was then secure.<\/p>\n<p>In this manner, we upgraded all of our hosts and service to the users was not impacted (as far as we know)&#8230;and now we wait for the next vulnerability to be discovered!<\/p>\n<div class=\"pt-sm\">Schlagw\u00f6rter: <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/cloud-security\/\">cloud security<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/kvm\/\">kvm<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/qemu\/\">qemu<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/venom\/\">venom<\/a>, <a href=\"https:\/\/blog.zhaw.ch\/icclab\/tag\/xifi\/\">XIFI<\/a><br><\/div>","protected":false},"excerpt":{"rendered":"<p>[This post originally appeared on the XiFi blog &#8211; ICCLab@ZHAW is a partner in XiFi and is responsible for operating the Zurich node.] As with any open compute systems, security is a serious issue which cannot be taken lightly. XiFi takes security seriously and has regular reviews of security issues which arise during node operations. [&hellip;]<\/p>\n","protected":false},"author":92,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[1,15],"tags":[618,207,514,617,351],"features":[],"class_list":["post-8435","post","type-post","status-publish","format-standard","hentry","category-allgemein","category-howtos","tag-cloud-security","tag-kvm","tag-qemu","tag-venom","tag-xifi"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v27.2 (Yoast SEO v27.2) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>Making XiFi secure against Venom - Service Engineering (ICCLab &amp; SPLab)<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Making XiFi secure against Venom\" \/>\n<meta property=\"og:description\" content=\"[This post originally appeared on the XiFi blog &#8211; ICCLab@ZHAW is a partner in XiFi and is responsible for operating the Zurich node.] As with any open compute systems, security is a serious issue which cannot be taken lightly. XiFi takes security seriously and has regular reviews of security issues which arise during node operations. [&hellip;]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/\" \/>\n<meta property=\"og:site_name\" content=\"Service Engineering (ICCLab &amp; SPLab)\" \/>\n<meta property=\"article:published_time\" content=\"2015-07-03T08:26:43+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2015-08-27T11:45:38+00:00\" \/>\n<meta name=\"author\" content=\"Sean Murphy\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sean Murphy\" \/>\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:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/\"},\"author\":{\"name\":\"Sean Murphy\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/c87a6eef7e1f4a152aeec5f8b9527b8d\"},\"headline\":\"Making XiFi secure against Venom\",\"datePublished\":\"2015-07-03T08:26:43+00:00\",\"dateModified\":\"2015-08-27T11:45:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/\"},\"wordCount\":479,\"commentCount\":0,\"keywords\":[\"cloud security\",\"kvm\",\"qemu\",\"venom\",\"XIFI\"],\"articleSection\":[\"*.*\",\"HowTos\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/\",\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/\",\"name\":\"Making XiFi secure against Venom - Service Engineering (ICCLab &amp; SPLab)\",\"isPartOf\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#website\"},\"datePublished\":\"2015-07-03T08:26:43+00:00\",\"dateModified\":\"2015-08-27T11:45:38+00:00\",\"author\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/c87a6eef7e1f4a152aeec5f8b9527b8d\"},\"breadcrumb\":{\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Startseite\",\"item\":\"https:\/\/blog.zhaw.ch\/icclab\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Making XiFi secure against Venom\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#website\",\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/\",\"name\":\"Service Engineering (ICCLab &amp; SPLab)\",\"description\":\"A Blog of the ZHAW Zurich University of Applied Sciences\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/blog.zhaw.ch\/icclab\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/c87a6eef7e1f4a152aeec5f8b9527b8d\",\"name\":\"Sean Murphy\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/4514cb0ddfe236fd05d5ddb715bc19e1e1e35dafa16bb1b911e6094d278211d6?s=96&d=mm&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4514cb0ddfe236fd05d5ddb715bc19e1e1e35dafa16bb1b911e6094d278211d6?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4514cb0ddfe236fd05d5ddb715bc19e1e1e35dafa16bb1b911e6094d278211d6?s=96&d=mm&r=g\",\"caption\":\"Sean Murphy\"},\"url\":\"https:\/\/blog.zhaw.ch\/icclab\/author\/murp\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"Making XiFi secure against Venom - Service Engineering (ICCLab &amp; SPLab)","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:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/","og_locale":"en_US","og_type":"article","og_title":"Making XiFi secure against Venom","og_description":"[This post originally appeared on the XiFi blog &#8211; ICCLab@ZHAW is a partner in XiFi and is responsible for operating the Zurich node.] As with any open compute systems, security is a serious issue which cannot be taken lightly. XiFi takes security seriously and has regular reviews of security issues which arise during node operations. [&hellip;]","og_url":"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/","og_site_name":"Service Engineering (ICCLab &amp; SPLab)","article_published_time":"2015-07-03T08:26:43+00:00","article_modified_time":"2015-08-27T11:45:38+00:00","author":"Sean Murphy","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Sean Murphy","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/#article","isPartOf":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/"},"author":{"name":"Sean Murphy","@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/c87a6eef7e1f4a152aeec5f8b9527b8d"},"headline":"Making XiFi secure against Venom","datePublished":"2015-07-03T08:26:43+00:00","dateModified":"2015-08-27T11:45:38+00:00","mainEntityOfPage":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/"},"wordCount":479,"commentCount":0,"keywords":["cloud security","kvm","qemu","venom","XIFI"],"articleSection":["*.*","HowTos"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/","url":"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/","name":"Making XiFi secure against Venom - Service Engineering (ICCLab &amp; SPLab)","isPartOf":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/#website"},"datePublished":"2015-07-03T08:26:43+00:00","dateModified":"2015-08-27T11:45:38+00:00","author":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/c87a6eef7e1f4a152aeec5f8b9527b8d"},"breadcrumb":{"@id":"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/blog.zhaw.ch\/icclab\/making-xifi-secure-against-venom-repost-from-xifi-blog\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Startseite","item":"https:\/\/blog.zhaw.ch\/icclab\/"},{"@type":"ListItem","position":2,"name":"Making XiFi secure against Venom"}]},{"@type":"WebSite","@id":"https:\/\/blog.zhaw.ch\/icclab\/#website","url":"https:\/\/blog.zhaw.ch\/icclab\/","name":"Service Engineering (ICCLab &amp; SPLab)","description":"A Blog of the ZHAW Zurich University of Applied Sciences","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/blog.zhaw.ch\/icclab\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/blog.zhaw.ch\/icclab\/#\/schema\/person\/c87a6eef7e1f4a152aeec5f8b9527b8d","name":"Sean Murphy","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4514cb0ddfe236fd05d5ddb715bc19e1e1e35dafa16bb1b911e6094d278211d6?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4514cb0ddfe236fd05d5ddb715bc19e1e1e35dafa16bb1b911e6094d278211d6?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4514cb0ddfe236fd05d5ddb715bc19e1e1e35dafa16bb1b911e6094d278211d6?s=96&d=mm&r=g","caption":"Sean Murphy"},"url":"https:\/\/blog.zhaw.ch\/icclab\/author\/murp\/"}]}},"_links":{"self":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts\/8435","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/users\/92"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/comments?post=8435"}],"version-history":[{"count":2,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts\/8435\/revisions"}],"predecessor-version":[{"id":8437,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/posts\/8435\/revisions\/8437"}],"wp:attachment":[{"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/media?parent=8435"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/categories?post=8435"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/tags?post=8435"},{"taxonomy":"features","embeddable":true,"href":"https:\/\/blog.zhaw.ch\/icclab\/wp-json\/wp\/v2\/features?post=8435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}