{"id":7101,"date":"2017-03-23T16:10:12","date_gmt":"2017-03-24T00:10:12","guid":{"rendered":"http:\/\/www.palada.net\/index.php\/2017\/03\/23\/news-892\/"},"modified":"2017-03-23T16:10:12","modified_gmt":"2017-03-24T00:10:12","slug":"news-892","status":"publish","type":"post","link":"http:\/\/www.palada.net\/index.php\/2017\/03\/23\/news-892\/","title":{"rendered":"New targeted attack against Saudi Arabia Government"},"content":{"rendered":"<p><strong>Credit to Author: Malwarebytes Labs| Date: Thu, 23 Mar 2017 22:26:26 +0000<\/strong><\/p>\n<p>A new spear phishing campaign\u00a0is targeting Saudi Arabia governmental organizations. The attack originates from a phishing email containing a Word document in Arabic language. If the victim opens it up, it will not only infect their system but send the same phishing document\u00a0to other contacts via their Outlook inbox.<\/p>\n<p>We know that at least about a dozen Saudi agencies were targeted. As with most email-borne attacks, this one leverages social engineering to execute malicious code via a Macro.<\/p>\n<p><a href=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/macro_doc.png\" data-rel=\"lightbox-0\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16994\" src=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/macro_doc.png\" alt=\"\" width=\"910\" height=\"762\" srcset=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/macro_doc.png 910w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/macro_doc-300x251.png 300w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/macro_doc-600x502.png 600w\" sizes=\"auto, (max-width: 910px) 100vw, 910px\" \/><\/a><\/p>\n<h3>Document overview:<\/h3>\n<pre><span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Macro might run executable<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Contains obfuscated macro code<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Loads DLL into its own memory<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Runs dropped executable<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Macro might read system main characteristics<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Runs existing executable<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Macro might overwrite file<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Access Windows sensitive data: Windows Address Book<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Suspicious delay<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Starts macro code when document is opened<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Searches inside certificate store database<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Gathers system main data (MachineGuid, ComputerName, SystemBiosVersion ...)<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Check user main folders path<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Access Windows sensitive data: Windows Profiles information<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Contains macro<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Contains macro with create file functionalities<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Drops .EXE file<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Drops .DLL file<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Access Windows sensitive data: certificates<\/span><\/span><\/pre>\n<p>A quick analysis with <em>oletools<\/em> shows us the sections within the macro:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16979\" src=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/olevba.png\" alt=\"\" width=\"723\" height=\"591\" srcset=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/olevba.png 723w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/olevba-300x245.png 300w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/olevba-600x490.png 600w\" sizes=\"auto, (max-width: 723px) 100vw, 723px\" \/><\/p>\n<p>The payload is embedded in\u00a0the macro as Base64 code. It uses the <em>certutil<\/em> program to decode the Base64 into a PE file which is then\u00a0executed:<\/p>\n<p><a href=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/certutil.png\" target=\"_blank\" data-rel=\"lightbox-1\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16980\" src=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/certutil.png\" alt=\"\" width=\"872\" height=\"978\" srcset=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/certutil.png 872w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/certutil-267x300.png 267w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/certutil-535x600.png 535w\" sizes=\"auto, (max-width: 872px) 100vw, 872px\" \/><\/a><\/p>\n<h3>Binary overview:<\/h3>\n<pre><span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Searches inside certificate store database<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Loads DLL into its own memory<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Gathers system main data (MachineGuid, ComputerName, SystemBiosVersion ...)<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Access Windows sensitive data: Windows Profiles information<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Access Windows sensitive data: Windows Address Book<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Drops .DLL file<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Drops .EXE file<\/span><\/span>  <span style=\"font-family: Calibri, sans-serif;font-size: small\"><span style=\"color: black;font-size: medium\">Access Windows sensitive data: certificates<\/span><\/span><\/pre>\n<p>Let&#8217;s take a look at the dropped binary itself. It is coded in .NET and not obfuscated. Here&#8217;s the encrypted payload:<\/p>\n<p><a href=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/encrypted_payload.png\" data-rel=\"lightbox-2\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16981\" src=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/encrypted_payload.png\" alt=\"\" width=\"666\" height=\"244\" srcset=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/encrypted_payload.png 666w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/encrypted_payload-300x110.png 300w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/encrypted_payload-600x220.png 600w\" sizes=\"auto, (max-width: 666px) 100vw, 666px\" \/><\/a><\/p>\n<p>Decrypting it we can see the main payload\u00a0(<em>neuro_client.exe\u00a0<\/em>renamed to <em>Firefox-x86-ui.exe <\/em>here) and two helper DLLs:\u00a0<a href=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/decrypting.png\" data-rel=\"lightbox-3\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16982\" src=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/decrypting.png\" alt=\"\" width=\"1322\" height=\"232\" srcset=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/decrypting.png 1322w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/decrypting-300x53.png 300w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/decrypting-600x105.png 600w\" sizes=\"auto, (max-width: 1322px) 100vw, 1322px\" \/><\/a><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16985\" src=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/installed.png\" alt=\"\" width=\"610\" height=\"176\" srcset=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/installed.png 610w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/installed-300x87.png 300w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/installed-600x173.png 600w\" sizes=\"auto, (max-width: 610px) 100vw, 610px\" \/><\/p>\n<p>It sets persistence for auto-relaunch via the Task Scheduler:<\/p>\n<p><a href=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/task.png\" data-rel=\"lightbox-4\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16986\" src=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/task.png\" alt=\"\" width=\"770\" height=\"482\" srcset=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/task.png 770w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/task-300x188.png 300w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/task-600x376.png 600w\" sizes=\"auto, (max-width: 770px) 100vw, 770px\" \/><\/a><\/p>\n<p>The purpose of this piece of malware appears to be stealing information and uploading it to a remote server:<\/p>\n<p><a href=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/uploading.png\" data-rel=\"lightbox-5\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16991\" src=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/uploading.png\" alt=\"\" width=\"1358\" height=\"363\" srcset=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/uploading.png 1358w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/uploading-300x80.png 300w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/uploading-600x160.png 600w\" sizes=\"auto, (max-width: 1358px) 100vw, 1358px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/sync_storage.png\" data-rel=\"lightbox-6\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16992\" src=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/sync_storage.png\" alt=\"\" width=\"1067\" height=\"287\" srcset=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/sync_storage.png 1067w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/sync_storage-300x81.png 300w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/sync_storage-600x161.png 600w\" sizes=\"auto, (max-width: 1067px) 100vw, 1067px\" \/><\/a><\/p>\n<p>According to reports from sources, Malwarebytes Anti-Exploit blocked the targeted attack proactively without the use of signature updates thanks to its Application Behavior protection layer for all consumer and corporate users of Malwarebytes. Malwarebytes Anti-Malware also detects and remediates the threat completely.<\/p>\n<p>We\u00a0will continue to analyze this threat and update the\u00a0post at a later time with more information.<\/p>\n<p><a href=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/MBAE_business_.png\" data-rel=\"lightbox-7\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16996\" src=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/MBAE_business_.png\" alt=\"\" width=\"859\" height=\"597\" srcset=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/MBAE_business_.png 859w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/MBAE_business_-300x208.png 300w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/MBAE_business_-600x417.png 600w\" sizes=\"auto, (max-width: 859px) 100vw, 859px\" \/><\/a><\/p>\n<p><a href=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/Malwarebytes_block_.png\" data-rel=\"lightbox-8\" title=\"\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-16997\" src=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/Malwarebytes_block_.png\" alt=\"\" width=\"856\" height=\"596\" srcset=\"https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/Malwarebytes_block_.png 856w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/Malwarebytes_block_-300x209.png 300w, https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/Malwarebytes_block_-600x418.png 600w\" sizes=\"auto, (max-width: 856px) 100vw, 856px\" \/><\/a><\/p>\n<h3>IOCs:<\/h3>\n<p>Word dropper:<\/p>\n<pre>MD5: 3cd5fa46507657f723719b7809d2d1f9  SHA256: a6dbc36c472b3ba70a98efd0db35e75c340086be15d3c3ab4e39033604d0bcf9<\/pre>\n<p>Binary payload:<\/p>\n<pre>MD5: 4ed42233962a89deaa89fd7b989db081  SHA256: a96c57c35df18ac20d83b08a88e502071bd0033add0914b951adbd1639b0b873<\/pre>\n<p>Payload names:<\/p>\n<pre>C:ProgramData**-x86-ui.exe with * being one of these:    firefox|chrome|opera|abby|mozilla|google|hewlet|epson|xerox|ricoh|adobe|corel|java|nvidia|realtek|oracle|winrar|7zip|vmware|juniper|kaspersky|mcafee|symantec|yahoo|goog<\/pre>\n<p>Network communications:<\/p>\n<pre>mail.spa.gov.sa\/ews\/exchange\/exchange.asmx  webmail.ecra\/ews\/exchange\/exchange.asmx<\/pre>\n<pre>62.149.118.67  85.194.112.9<\/pre>\n<p>The post <a rel=\"nofollow\" href=\"https:\/\/blog.malwarebytes.com\/cybercrime\/social-engineering-cybercrime\/2017\/03\/new-targeted-attack-saudi-arabia-government\/\">New targeted attack against Saudi Arabia Government<\/a> appeared first on <a rel=\"nofollow\" href=\"https:\/\/blog.malwarebytes.com\">Malwarebytes Labs<\/a>.<\/p>\n<p><a href=\"https:\/\/blog.malwarebytes.com\/cybercrime\/social-engineering-cybercrime\/2017\/03\/new-targeted-attack-saudi-arabia-government\/\" target=\"bwo\" >https:\/\/blog.malwarebytes.com\/feed\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p><strong>Credit to Author: Malwarebytes Labs| Date: Thu, 23 Mar 2017 22:26:26 +0000<\/strong><\/p>\n<table cellpadding='10'>\n<tr>\n<td valign='top' align='center'><a href='https:\/\/blog.malwarebytes.com\/cybercrime\/social-engineering-cybercrime\/2017\/03\/new-targeted-attack-saudi-arabia-government\/' title='New targeted attack against Saudi Arabia Government'><img src='https:\/\/blog.malwarebytes.com\/wp-content\/uploads\/2017\/03\/Malwarebytes_block_.png' border='0'  width='300px'  \/><\/a><\/td>\n<\/tr>\n<tr>\n<td valign='top' align='left'>Several Saudi Arabia organizations are being targeted in a new spear phishing campaign.<\/p>\n<p>Categories: <\/p>\n<ul class=\"post-categories\">\n<li><a href=\"https:\/\/blog.malwarebytes.com\/category\/cybercrime\/social-engineering-cybercrime\/\" rel=\"category tag\">Social engineering<\/a><\/li>\n<\/ul>\n<p>Tags: <a href=\"https:\/\/blog.malwarebytes.com\/tag\/anti-exploit\/\" rel=\"tag\">anti exploit<\/a><a href=\"https:\/\/blog.malwarebytes.com\/tag\/phishing\/\" rel=\"tag\">phishing<\/a><a href=\"https:\/\/blog.malwarebytes.com\/tag\/saudi-arabia\/\" rel=\"tag\">saudi arabia<\/a><a href=\"https:\/\/blog.malwarebytes.com\/tag\/spear-phishing\/\" rel=\"tag\">spear phishing<\/a><\/p>\n<table width='100%'>\n<tr>\n<td align=right>\n<p><b>(<a href='https:\/\/blog.malwarebytes.com\/cybercrime\/social-engineering-cybercrime\/2017\/03\/new-targeted-attack-saudi-arabia-government\/' title='New targeted attack against Saudi Arabia Government'>Read more&#8230;<\/a>)<\/b><\/p>\n<\/td>\n<\/tr>\n<\/table>\n<\/td>\n<\/tr>\n<\/table>\n<p>The post <a rel=\"nofollow\" href=\"https:\/\/blog.malwarebytes.com\/cybercrime\/social-engineering-cybercrime\/2017\/03\/new-targeted-attack-saudi-arabia-government\/\">New targeted attack against Saudi Arabia Government<\/a> appeared first on <a rel=\"nofollow\" href=\"https:\/\/blog.malwarebytes.com\">Malwarebytes Labs<\/a>.<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"colormag_page_container_layout":"default_layout","colormag_page_sidebar_layout":"default_layout","footnotes":""},"categories":[10488,10378],"tags":[11725,3924,11726,10510,11727],"class_list":["post-7101","post","type-post","status-publish","format-standard","hentry","category-malwarebytes","category-security","tag-anti-exploit","tag-phishing","tag-saudi-arabia","tag-social-engineering","tag-spear-phishing"],"_links":{"self":[{"href":"http:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/posts\/7101","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"http:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/comments?post=7101"}],"version-history":[{"count":0,"href":"http:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/posts\/7101\/revisions"}],"wp:attachment":[{"href":"http:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/media?parent=7101"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/categories?post=7101"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/www.palada.net\/index.php\/wp-json\/wp\/v2\/tags?post=7101"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}