{"id":3369,"date":"2015-11-07T16:40:26","date_gmt":"2015-11-07T16:40:26","guid":{"rendered":"http:\/\/www.hexacorn.com\/blog\/?p=3369"},"modified":"2015-11-08T05:37:48","modified_gmt":"2015-11-08T05:37:48","slug":"antiedr-samples-targeting-edr-endpoint-detection-and-response-solutions","status":"publish","type":"post","link":"https:\/\/www.hexacorn.com\/blog\/2015\/11\/07\/antiedr-samples-targeting-edr-endpoint-detection-and-response-solutions\/","title":{"rendered":"AntiEDR &#8211; Samples targeting EDR (Endpoint Detection and Response) solutions"},"content":{"rendered":"<p>I have recently came across an non-intriguing intriguing sample belonging to a family of applications commonly known as a PUA\/PUP (Potentially Unwanted Application\/Program). The &#8216;intriguing&#8217; part is that it is the first one I have ever came across that actively tries to detect an EDR solution installed on the system, and in this particular case &#8211; CarbonBlack.<\/p>\n<p>The sample md5 is <a href=\"https:\/\/www.virustotal.com\/en\/file\/c4a6e49acd269702ab8e04acea08b284232fc7e83bf63bb371da7a318c2801dc\/analysis\/\">1233411098A5EE69EB925C559B815510<\/a>.<\/p>\n<p>What caught my attention was a string &#8216;IsRunningCarbon&#8217; that I came across when i was eyeballing some of the logs generated by my batch analysis script.<\/p>\n<p>It was placed among many other interesting strings f.ex.:<\/p>\n<ul>\n<li>IsTestingBox<\/li>\n<li>IsVirtualMachine<\/li>\n<li>HasVirtualDrive<\/li>\n<li>IsRunningOnVMWare<\/li>\n<li>IsRunningOnHyperV<\/li>\n<li>IsRunningOnVBox<\/li>\n<li>IsRunningOnXEN<\/li>\n<li>IsRunningVPN<\/li>\n<li>IsRunningIPSECLP2<\/li>\n<li>IsRunningOpenVPN<\/li>\n<li>IsRunningPPTP<\/li>\n<li>IsRunningTools<\/li>\n<li>IsRunningFiddler<\/li>\n<li>IsRunningFiddlerCert<\/li>\n<li>IsRunningDeepFreeze<\/li>\n<li>IsRunningPacketCapture<\/li>\n<li>IsRunningAVs<\/li>\n<li>IsRunningESET<\/li>\n<li>IsRunningVipre<\/li>\n<li>IsRunningCarbon<\/li>\n<li>IsFlashInstalled<\/li>\n<\/ul>\n<p>so it looked like a part of a generic &#8216;sandbox\/monitor\/security product detection&#8217; pack of routines.<\/p>\n<p>When loaded into ILSPY, the code of the function referenced by the name turned out to be a simple &#8216;directory present&#8217; check (if the &#8216;CarbonBlack&#8217; directory exists in a predetermined location), but the message the existence of this routine in the code sends to the EDR vendors is that they start to be recognized.<\/p>\n<p><a href=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/11\/carbon.png\"><img decoding=\"async\" loading=\"lazy\" class=\"aligncenter wp-image-3379 size-full\" src=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/11\/carbon.png\" alt=\"carbon\" width=\"600\" height=\"163\" srcset=\"https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/11\/carbon.png 600w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/11\/carbon-300x82.png 300w, https:\/\/www.hexacorn.com\/blog\/wp-content\/uploads\/2015\/11\/carbon-598x163.png 598w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a>Perhaps it&#8217;s not a big deal, but certainly notable. Maybe it is time to introduce randomization in the way EDR-specific directories are named? Or hide them completely (rootkit)?<\/p>\n<p>Of course, the detection of EDR was always possible, but since now it is being actively done I bet it&#8217;s just a matter of time when we will see first evasions&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I have recently came across an non-intriguing intriguing sample belonging to a family of applications commonly known as a PUA\/PUP (Potentially Unwanted Application\/Program). The &#8216;intriguing&#8217; part is that it is the first one I have ever came across that actively &hellip; <a href=\"https:\/\/www.hexacorn.com\/blog\/2015\/11\/07\/antiedr-samples-targeting-edr-endpoint-detection-and-response-solutions\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[43,13,28,15,19,46,9],"tags":[],"_links":{"self":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/3369"}],"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=3369"}],"version-history":[{"count":9,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/3369\/revisions"}],"predecessor-version":[{"id":3380,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/posts\/3369\/revisions\/3380"}],"wp:attachment":[{"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/media?parent=3369"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/categories?post=3369"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hexacorn.com\/blog\/wp-json\/wp\/v2\/tags?post=3369"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}