{"id":534,"date":"2012-02-13T00:51:44","date_gmt":"2012-02-13T00:51:44","guid":{"rendered":"http:\/\/www.hexacorn.com\/blog\/?p=534"},"modified":"2012-02-20T01:09:10","modified_gmt":"2012-02-20T01:09:10","slug":"purple-haze-anti-forensics-and-andi-detection","status":"publish","type":"post","link":"https:\/\/www.hexacorn.com\/blog\/2012\/02\/13\/purple-haze-anti-forensics-and-andi-detection\/","title":{"rendered":"Purple Haze &#8211; Anti-forensics and anti-detection"},"content":{"rendered":"<p>Purple Haze is a new malware that is similar to TDL. I recently got a sample from an excellent malware analysis\/reversing forum <a href=\"http:\/\/www.kernelmode.info\/forum\/index.php\">kernelmode.info<\/a> and had a quick look at the code (goodbye my weekend :)).<\/p>\n<p>The code is actually very interesting\u00a0and some parts of it have been already covered by <a href=\"http:\/\/blog.eset.com\/2012\/02\/02\/tdl4-reloaded-purple-haze-all-in-my-brain\">ESET&#8217;s <\/a>blog. What caught my attention from a forensics perspective though was that one of the modules malware uses (ad clicker component I presume) is relying on a simple anti-forensics code to clean up the cache:<\/p>\n<p><a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2012\/02\/ph5.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-535\" title=\"ph5\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2012\/02\/ph5-300x144.png\" alt=\"\" width=\"300\" height=\"144\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2012\/02\/ph5-300x144.png 300w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2012\/02\/ph5.png 810w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a><br \/>\nIt also patches the waveOutOpen function to prevent the clicker from making sounds &#8211; simple, yet effective way to avoid detection.<br \/>\n<a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2012\/02\/ph4.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter size-medium wp-image-536\" title=\"ph4\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2012\/02\/ph4-300x262.png\" alt=\"\" width=\"300\" height=\"262\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2012\/02\/ph4-300x262.png 300w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2012\/02\/ph4.png 800w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>I will post bits and bobs about other findings soon.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Purple Haze is a new malware that is similar to TDL. I recently got a sample from an excellent malware analysis\/reversing forum kernelmode.info and had a quick look at the code (goodbye my weekend :)). The code is actually very &hellip; <a href=\"https:\/\/www.hexacorn.com\/blog\/2012\/02\/13\/purple-haze-anti-forensics-and-andi-detection\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[13,9],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/534"}],"collection":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/comments?post=534"}],"version-history":[{"count":7,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/534\/revisions"}],"predecessor-version":[{"id":540,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/534\/revisions\/540"}],"wp:attachment":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/media?parent=534"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/categories?post=534"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/tags?post=534"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}