{"id":427,"date":"2018-11-27T14:27:05","date_gmt":"2018-11-27T12:27:05","guid":{"rendered":"https:\/\/fortgale.com\/news\/?p=427"},"modified":"2026-06-08T22:44:36","modified_gmt":"2026-06-08T22:44:36","slug":"ursnif-malware-behaviour-removal","status":"publish","type":"post","link":"https:\/\/fortgale.com\/blog\/emerging-threats\/ursnif-malware-behaviour-removal\/","title":{"rendered":"Ursnif Malware \u2014 behaviour and removal"},"content":{"rendered":"<h2><strong>Follow on<\/strong>: <a href=\"https:\/\/www.linkedin.com\/company\/fortgale\/\">Linkedin<\/a> &amp;&nbsp;<a href=\"https:\/\/twitter.com\/Fortgale_Cyber\">Twitter<\/a><\/h2>\n<p style=\"text-align: justify\">In this article we provide a detailed analysis of the <strong>Ursnif malware<\/strong> (previously introduced:&nbsp;<a href=\"https:\/\/fortgale.com\/news\/2018\/11\/26\/ursnif-overview\/\">Ursnif, attacks in Italy &#8211; LINK<\/a>), identifying its infection and persistence characteristics.<\/p>\n<h2 style=\"text-align: justify\">MITRE ATT&amp;CK applied to Ursnif<\/h2>\n<p style=\"text-align: justify\">The infection chain resembles that of other malware:<\/p>\n<ol>\n<li style=\"text-align: justify\">an email sent with a malicious attachment<\/li>\n<li style=\"text-align: justify\">execution of PowerShell commands<\/li>\n<li style=\"text-align: justify\">download and execution of the <strong>Trojan<\/strong>.<\/li>\n<\/ol>\n<p style=\"text-align: justify\">Using the <strong>MITRE ATT&amp;CK<\/strong> matrix (<em>MITRE&#8217;s Adversarial Tactics, Techniques, and Common Knowledge<\/em>) we can map the malware&#8217;s characteristics (techniques and tactics) and correlate it with samples exhibiting identical behavior.<\/p>\n<figure id=\"attachment_370\" aria-describedby=\"caption-attachment-370\" style=\"width: 740px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"wp-image-370 size-large zoooom\" src=\"https:\/\/fortgale.com\/news\/wp-content\/uploads\/sites\/2\/2018\/11\/MITRE-ATTCK-1024x457.png\" alt=\"\" width=\"750\" height=\"335\" loading=\"lazy\"><figcaption id=\"caption-attachment-370\" class=\"wp-caption-text\">URSNIF MITRE ATT&amp;CK<\/figcaption><\/figure>\n<h2>Malware Details<\/h2>\n<table style=\"border-collapse: collapse;width: 94.0624%;height: 135px\" border=\"1\">\n<tbody>\n<tr style=\"height: 29px\">\n<td style=\"width: 50%;background-color: #22247a;height: 29px\"><span style=\"color: #ffffff;, courier, monospace;font-size: 10pt\"><strong>Info<\/strong><\/span><\/td>\n<td style=\"width: 50%;background-color: #22247a;height: 29px\"><span style=\"color: #ffffff;, courier, monospace;font-size: 10pt\"><strong>Value<\/strong><\/span><\/td>\n<\/tr>\n<tr style=\"height: 29px\">\n<td style=\"width: 50%;height: 29px\">\n<div class=\"enum\"><span style=\", courier, monospace;font-size: 10pt\"><strong><span class=\"field-key\">MD5<\/span><\/strong><\/span><\/div>\n<\/td>\n<td style=\"width: 50%;height: 29px;text-align: center\"><span style=\", courier, monospace;font-size: 10pt\">ab33b0f6560c16133339182b8c5030ce<\/span><\/td>\n<\/tr>\n<tr style=\"height: 29px\">\n<td style=\"width: 50%;height: 29px\"><span style=\", courier, monospace;font-size: 10pt\"><strong><span class=\"field-key\">SHA1<\/span><\/strong><\/span><\/td>\n<td style=\"width: 50%;height: 29px;text-align: center\"><span style=\", courier, monospace;font-size: 10pt\">261cb3e5595f4cca5a0c0a12006288e48a8f6d1e<\/span><\/td>\n<\/tr>\n<tr style=\"height: 29px\">\n<td style=\"width: 50%;height: 29px\"><span class=\"field-key\" style=\", courier, monospace;font-size: 10pt\"><strong>SHA256<\/strong><br><\/span><\/td>\n<td style=\"width: 50%;height: 29px;text-align: center\"><span style=\", courier, monospace;font-size: 10pt\">0ce4392261f6d8d0a2fa666b649860716527f41ea90de948fb03affed69a50ac<\/span><\/td>\n<\/tr>\n<tr style=\"height: 29px\">\n<td style=\"width: 50%;height: 29px\"><span style=\", courier, monospace;font-size: 10pt\"><strong>VirusTotal<\/strong><\/span><\/td>\n<td style=\"width: 50%;height: 29px;text-align: center\"><span style=\", courier, monospace;font-size: 10pt\"><a href=\"https:\/\/www.virustotal.com\/en\/file\/0ce4392261f6d8d0a2fa666b649860716527f41ea90de948fb03affed69a50ac\/analysis\/\">VirusTotal Link<\/a><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p style=\"text-align: justify\">The malware was compressed with the <strong>UPX 3.0.6<\/strong> packer:<\/p>\n<p style=\"text-align: justify\"><img decoding=\"async\" class=\"aligncenter wp-image-358 size-full\" src=\"https:\/\/fortgale.com\/news\/wp-content\/uploads\/sites\/2\/2018\/11\/Packer.png\" alt=\"\" width=\"498\" height=\"252\" loading=\"lazy\"><\/p>\n<p style=\"text-align: justify\">The <strong>PDB Path<\/strong> allows us to extend the search to other samples not covered in this analysis, but which we consider valuable for tracking the offensive operations of the criminal group:<\/p>\n<table style=\"border-collapse: collapse;width: 101.47%;height: 117px\" border=\"1\">\n<tbody>\n<tr style=\"height: 58px\">\n<td style=\"width: 30.1161%;background-color: #22247a;height: 58px\"><span style=\"color: #ffffff;, courier, monospace;font-size: 10pt\"><strong>PDB Path:<\/strong><\/span><\/td>\n<td style=\"width: 72.2861%;height: 58px;text-align: center\"><span style=\", courier, monospace;font-size: 10pt\">y:\\test4\\zzz1\\Release\\zzz1.pdb<\/span><\/td>\n<\/tr>\n<tr style=\"height: 59px\">\n<td style=\"width: 30.1161%;background-color: #22247a;height: 59px\"><span style=\"color: #ffffff;, courier, monospace;font-size: 10pt\"><strong>Related malware <\/strong><\/span><p><\/p>\n<p><span style=\"color: #ffffff;, courier, monospace;font-size: 10pt\"><strong>(same PDB path):<\/strong><\/span><\/p>\n<\/td>\n<td style=\"width: 72.2861%;height: 59px;text-align: center\"><span style=\", courier, monospace;font-size: 10pt\"><a href=\"https:\/\/www.hybrid-analysis.com\/sample\/5dc71d10206be0da38f7f56201ad758669d91763d25a267158df8d7d4c4bf00d\/5be704fd7ca3e14c5c2d52f4\">HYBRIDANALYSIS LINK<\/a><\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2>Dynamic Malware Analysis<\/h2>\n<p style=\"text-align: justify\">During the startup phase, the malware performs a series of operations. Through <strong>WMIC<\/strong> commands it executes activities for <strong>persistence<\/strong> by exploiting registry keys, then injects itself via <strong>PowerShell<\/strong> into system processes (<strong>explorer.exe<\/strong>). Our <a href=\"https:\/\/fortgale.com\/en\/managed-detection-and-response\/\">Managed Detection and Response<\/a> capabilities have identified this injection pattern as a critical indicator of compromise requiring immediate containment.<\/p>\n<figure id=\"attachment_380\" aria-describedby=\"caption-attachment-380\" style=\"width: 740px\" class=\"wp-caption aligncenter\"><img decoding=\"async\" class=\"wp-image-380 size-large zoooom\" src=\"https:\/\/fortgale.com\/news\/wp-content\/uploads\/sites\/2\/2018\/11\/Process-Map-Ursnif-1024x410.png\" alt=\"\" width=\"750\" height=\"300\" loading=\"lazy\"><figcaption id=\"caption-attachment-380\" class=\"wp-caption-text\">Process Map &#8211; Ursnif<\/figcaption><\/figure>\n<p style=\"text-align: justify\">Network indicators of compromise for Ursnif malware infection:<\/p>\n<table style=\"height: 60px;width: 101.245%;border-collapse: collapse\" border=\"1\" cellspacing=\"1\">\n<tbody>\n<tr style=\"height: 58px\">\n<td style=\"width: 62.9039%;background-color: #22247a;height: 10px\" align=\"left\" height=\"12\"><span style=\", courier, monospace;font-size: 10pt\"><strong><span style=\"color: #ffffff\">DNS requests<\/span><\/strong><\/span><\/td>\n<\/tr>\n<tr style=\"height: 29px\">\n<td style=\"width: 62.9039%;height: 10px\" align=\"left\"><span style=\", courier, monospace;font-size: 10pt\">ninasukash[.]com<\/span><\/td>\n<\/tr>\n<tr style=\"height: 29px\">\n<td style=\"width: 62.9039%;height: 10px\" align=\"left\"><span style=\", courier, monospace;font-size: 10pt\">cjwefomatt[.]com<\/span><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h2 style=\"text-align: justify\">Have we been compromised?<\/h2>\n<p style=\"text-align: justify\">To identify potential <strong>compromises within corporate infrastructure<\/strong>, it is necessary to search firewall, proxy, or router logs for the domains: &#8220;<span style=\", courier, monospace;font-size: 10pt\">ninasukash[.]com<\/span>&#8221; and &#8220;<span style=\", courier, monospace;font-size: 10pt\">cjwefomatt[.]com<\/span>&#8220;.<\/p>\n<p style=\"text-align: justify\">To verify whether a workstation has been affected by this malware, multiple tools exist for <strong>Incident Response<\/strong> activities. For manual inspection, anomalies can be identified in registry keys used by the malware for system startup, located at the following path:<\/p>\n<blockquote>\n<p><span style=\"color: #0000ff;font-size: 14pt\">HKCU:\\Software\\AppDataLow\\Software\\Microsoft\\<\/span><\/p>\n<\/blockquote>\n<h2 style=\"text-align: justify\">Persistence Details<\/h2>\n<p style=\"text-align: justify\">For persistent access to the compromised system, the malware is embedded within registry keys through an attack known as a <em><strong>fileless attack<\/strong><\/em> (T1547.001 &#8211; Registry Run Keys \/ Startup Folder). Nothing is written to disk and the malware is injected into system processes during operating system startup.<\/p>\n<blockquote>\n<p style=\"text-align: justify\"><span style=\"color: #0000ff;font-size: 12pt\">&#8220;C:\\Windows\\system32\\wbem\\wmic.exe&#8221; \/output:clipboard process call create &#8220;powershell -w hidden iex([System.Text.Encoding]::ASCII.GetString((get-itemproperty &#8216;HKCU:\\Software\\AppDataLow\\Software\\Microsoft\\89726C36-545A-A301-A6CD-C8873A517CAB&#8217;).crypptsp))&#8221;<\/span><\/p>\n<\/blockquote>\n<p style=\"text-align: justify\">The malware creates a series of <strong>registry subkeys<\/strong> at the following path (the final portion is randomized):<\/p>\n<blockquote>\n<p style=\"text-align: justify\"><span style=\"font-size: 12pt\"><span style=\"color: #0000ff\">HKCU:\\Software\\AppDataLow\\Software\\Microsoft\\89726C36-545A-A301-A6CD-C8873A517CAB<\/span><\/span><\/p>\n<\/blockquote>\n<p style=\"text-align: justify\">The <strong>Ursnif<\/strong> malware, positioned within the key &#8220;<span style=\"font-size: 12pt\"><span style=\"color: #0000ff\">89726C36-545A-A301-A6CD-C8873A517CAB<\/span><\/span>&#8220;, is executed at <strong>RUN<\/strong> via the command:<\/p>\n<blockquote>\n<p style=\"text-align: justify\"><span style=\"color: #0000ff;font-size: 12pt\">powershell -w hidden iex([System.Text.Encoding]::ASCII.GetString((get-itemproperty &#8216;HKCU:\\Software\\AppDataLow\\Software\\Microsoft\\89726C36-545A-A301-A6CD-C8873A517CAB&#8217;).<strong>crypptsp<\/strong>))<\/span><\/p>\n<\/blockquote>\n\n\n<h2 class=\"wp-block-heading\">Offensive Infrastructure Systems<\/h2>\n\n\n\n<p style=\"text-align: justify\">The Ursnif variant analysed is part of a malware campaign initiated on <strong>11 November<\/strong> and is characterised by the root folder &#8220;YER&#8221; used by the malware distribution system. Recent tracking has identified <strong>additional Ursnif campaigns<\/strong> by the team at <a href=\"https:\/\/reaqta.com\/2018\/11\/ursnif-reloaded-tracing-latest-campaigns\/\">Reaqta<\/a>:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>&#8220;WES&#8221; from November 5 to the present.<\/li>\n\n\n\n<li>&#8220;TJY&#8221; from October 29 to November 5.<\/li>\n\n\n\n<li>&#8220;RUI&#8221; from October 16 to October 28.<\/li>\n\n\n\n<li>&#8220;TNT&#8221; from August 22 to October 11.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Network indicators of compromise associated with the latest malware campaign:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>Domains:<\/strong><\/td><td>&nbsp;<\/td><\/tr><tr><td>&nbsp;<\/td><td>ninasukash.com<\/td><\/tr><tr><td>&nbsp;<\/td><td>cjwefomatt.com<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p style=\"text-align: justify\">This class of malware creates and dismantles infrastructure in short timeframes. Once infection is initiated, systems are decommissioned and abandoned:<\/p>\n\n\n<div class=\"wp-block-image wp-image-445 zoooom\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/fortgale.com\/news\/wp-content\/uploads\/sites\/2\/2018\/11\/ninasukash.png\" alt=\"Ninasukash Domain\" class=\"wp-image-445\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">Ninasukash Domain<\/figcaption><\/figure>\n<\/div>\n\n<div class=\"wp-block-image wp-image-446 zoooom\">\n<figure class=\"aligncenter\"><img decoding=\"async\" src=\"https:\/\/fortgale.com\/news\/wp-content\/uploads\/sites\/2\/2018\/11\/cjwefomatt.png\" alt=\"Cjwefomatt Domain\" class=\"wp-image-446\" loading=\"lazy\" \/><figcaption class=\"wp-element-caption\">Cjwefomatt Domain<\/figcaption><\/figure>\n<\/div>\n\n\n<p style=\"text-align: justify\">The access panel used for command-and-control server administration:<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/fortgale.com\/news\/wp-content\/uploads\/sites\/2\/2018\/11\/Accesso-al-pannello.png\"><img decoding=\"async\" data-id=\"436\" src=\"https:\/\/fortgale.com\/news\/wp-content\/uploads\/sites\/2\/2018\/11\/Accesso-al-pannello.png\" alt=\"Pannello Ursnif\" class=\"wp-image-436\" loading=\"lazy\" \/><\/a><figcaption class=\"wp-element-caption\">Ursnif Panel<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/fortgale.com\/news\/wp-content\/uploads\/sites\/2\/2018\/11\/moduli.png\"><img decoding=\"async\" data-id=\"437\" src=\"https:\/\/fortgale.com\/news\/wp-content\/uploads\/sites\/2\/2018\/11\/moduli.png\" alt=\"\" class=\"wp-image-437\" loading=\"lazy\" \/><\/a><figcaption class=\"wp-element-caption\">Ursnif Modules<\/figcaption><\/figure>\n<\/figure>\n\n\n\n<p style=\"text-align: justify\">Frequently these servers are misconfigured, permitting analysts to access valuable information, as observed in this instance:<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-2 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/fortgale.com\/news\/wp-content\/uploads\/sites\/2\/2018\/11\/index.png\"><img decoding=\"async\" data-id=\"438\" src=\"https:\/\/fortgale.com\/news\/wp-content\/uploads\/sites\/2\/2018\/11\/index.png\" alt=\"\" class=\"wp-image-438\" loading=\"lazy\" \/><\/a><figcaption class=\"wp-element-caption\">Ursnif Index<\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/fortgale.com\/news\/wp-content\/uploads\/sites\/2\/2018\/11\/Log.png\"><img decoding=\"async\" data-id=\"439\" src=\"https:\/\/fortgale.com\/news\/wp-content\/uploads\/sites\/2\/2018\/11\/Log.png\" alt=\"\" class=\"wp-image-439\" loading=\"lazy\" \/><\/a><\/figure>\n<\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Technical Implications<\/h2>\n\n\n\n<p style=\"text-align: justify\">Effective response to this threat class requires specialist capability to identify and track attacker infrastructure, enumerate affected systems, and restore security posture across compromised endpoints and network resources. Rapid identification of command-and-control domains, coupled with analysis of misconfigured administrative interfaces, remains critical to limiting dwell time and lateral movement within enterprise environments.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ursnif (Gozi\/ISFB) banking trojan: persistence mechanisms, web-injection capabilities, command-and-control patterns and remediation steps for infected hosts.<\/p>\n","protected":false},"author":1,"featured_media":380,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3],"tags":[3151,69,160,188,191,212,245,3200,311,368,374,3199,395],"class_list":["post-427","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-emerging-threats","tag-banking-trojan","tag-cjwefomatt","tag-gozi","tag-italia","tag-italy","tag-malware","tag-ninasukash","tag-removal-procedures","tag-service-provider","tag-ursnif","tag-virus","tag-web-injects","tag-yer"],"_links":{"self":[{"href":"https:\/\/fortgale.com\/blog\/wp-json\/wp\/v2\/posts\/427","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fortgale.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/fortgale.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/fortgale.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/fortgale.com\/blog\/wp-json\/wp\/v2\/comments?post=427"}],"version-history":[{"count":2,"href":"https:\/\/fortgale.com\/blog\/wp-json\/wp\/v2\/posts\/427\/revisions"}],"predecessor-version":[{"id":9867,"href":"https:\/\/fortgale.com\/blog\/wp-json\/wp\/v2\/posts\/427\/revisions\/9867"}],"wp:attachment":[{"href":"https:\/\/fortgale.com\/blog\/wp-json\/wp\/v2\/media?parent=427"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/fortgale.com\/blog\/wp-json\/wp\/v2\/categories?post=427"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/fortgale.com\/blog\/wp-json\/wp\/v2\/tags?post=427"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}