{"id":103597,"date":"2021-08-12T10:00:37","date_gmt":"2021-08-12T10:00:37","guid":{"rendered":"https:\/\/kasperskycontenthub.com\/securelist\/?p=103597"},"modified":"2021-08-12T10:12:36","modified_gmt":"2021-08-12T10:12:36","slug":"it-threat-evolution-q2-2021","status":"publish","type":"post","link":"https:\/\/securelist.com\/it-threat-evolution-q2-2021\/103597\/","title":{"rendered":"IT threat evolution Q2 2021"},"content":{"rendered":"
It is quite common for Chinese-speaking threat actors to share tools and methodologies: one such example is the infamous “DLL side-loading triad”: a legitimate executable, a malicious DLL to be\u00a0side-loaded<\/a>\u00a0by it and an encoded payload, generally dropped from a self-extracting archive. This was first thought to be a signature of LuckyMouse<\/a>, but we have observed other groups using similar “triads”, including HoneyMyte. While it is not possible to attribute attacks based on this technique alone, efficient detection of such triads reveals more and more malicious activity.<\/p>\n We recently described one such file, called “FoundCore”, which caught our attention because of the various improvements it brought to this well-known infection vector. We discovered the malware as part of an attack against a high-profile organization in Vietnam. From a high-level perspective, the infection chain follows the expected execution flow:<\/p>\n <\/a><\/p>\n However, in this case, the shellcode was heavily obfuscated \u2013 the technical details were presented in the ‘The leap of a Cycldek-related threat actor<\/a>‘ report. We found the loader for this file so interesting that we decided to base one of the tracks of our Targeted Malware Reverse Engineering<\/a> course on it.<\/p>\n The final payload is a remote administration tool that provides full control over the victim machine to its operators. Communication with the server can take place either over raw TCP sockets encrypted with RC4, or via HTTPS.<\/p>\n In the vast majority of the incidents we discovered, FoundCore executions were preceded by the opening of malicious RTF documents downloaded from static.phongay[.]com \u2013 all generated using\u00a0RoyalRoad<\/a>\u00a0and attempting to exploit CVE-2018-0802. All of these documents were blank, suggesting the existence of precursor documents \u2013 possibly delivered by means of spear-phishing or a previous infection \u2013 that trigger the download of the RTF files. Successful exploitation leads to the deployment of further malware \u2013 named DropPhone and CoreLoader.<\/p>\n <\/a><\/p>\n Our telemetry indicates that dozens of organizations were affected, belonging to the government or military sector, or otherwise related to the health, diplomacy, education or political verticals. Eighty percent of the targets were in Vietnam, though we also identified occasional targets in Central Asia and Thailand.<\/p>\n While Cycldek has so far been considered one of the least sophisticated Chinese-speaking threat actors, its targeting is consistent with what we observed in this campaign \u2013 which is why we attribute the campaign, with low confidence, to this threat actor.<\/p>\n While analyzing the CVE-2021-1732<\/a> exploit, first discovered by DBAPPSecurity Threat Intelligence Center and used by the BITTER APT group, we found another zero-day exploit that we believe is linked to the same threat actor. We reported this new exploit to Microsoft in February and, after confirmation that it is indeed a zero-day, Microsoft released a patch<\/a> for the new zero-day (CVE-2021-28310) as part of its April security updates.<\/p>\n CVE-2021-28310 is an out-of-bounds (OOB) write vulnerability in dwmcore.dll, which is part of Desktop Window Manager (dwm.exe). Due to the lack of bounds checking, attackers are able to create a situation that allows them to write controlled data at a controlled offset using the DirectComposition API.\u00a0DirectComposition<\/a>\u00a0is a Windows component that was introduced in Windows 8 to enable bitmap composition with transforms, effects and animations, with support for bitmaps of different sources (GDI, DirectX, etc.).<\/p>\n The exploit was initially identified by our advanced exploit prevention technology and related detection records. Over the past few years, we have built a multitude of exploit protection technologies into our products that have detected several zero-days, proving their effectiveness time and again.<\/p>\n We believe this exploit is used in the wild, potentially by several threat actors, and it is probably used together with other browser exploits to escape sandboxes or obtain system privileges for further access.<\/p>\n You can find technical details on the exploit in the ‘Zero-day vulnerability in Desktop Window Manager (CVE-2021-28310) used in the wild<\/a>‘ post. Further information about BITTER APT and IOCs are available to customers of the Kaspersky Intelligence Reporting service: contact\u00a0intelreports@kaspersky.com<\/a>.<\/p>\n Windows rootkits, especially those operating in kernel space, enjoy high privileges in the system, allowing them to intercept and potentially tamper with core I\/O operations conducted by the underlying OS, like reading or writing to files or processing incoming and outgoing network packets. Their ability to blend into the fabric of the operating system itself is how rootkits have gained their notoriety for stealth and evasion.<\/p>\n Nevertheless, over the years, it has become more difficult to deploy and execute a rootkit component in Windows. The introduction by Microsoft of Driver Signature Enforcement and Kernel Patch Protection (PatchGuard) has made it harder to tamper with the system. As a result, the number of Windows rootkits in the wild has decreased dramatically: most of those that are still active are often used in high-profile APT attacks.<\/p>\n One such example came to our attention during an investigation last year, in which we uncovered a previously unknown and stealthy implant in the networks of regional inter-governmental organizations in Asia and Africa. This rootkit, which we dubbed “Moriya”, was used to deploy passive backdoors on public facing servers, facilitating the creation of a covert C2 (Command and Control) communication channel through which they can be silently controlled.<\/p>\n <\/a><\/p>\n This tool was used as part of an ongoing campaign that we named “TunnelSnake<\/a>“. The rootkit was detected on the targeted machines as early as November 2019; and another tool we found, showing significant code overlaps with the rootkit, suggests that the developers had been active since at least 2018.<\/p>\n Since neither the rootkit nor other lateral movement tools that accompanied it during the campaign relied on hardcoded C2 servers, we could gain only partial visibility into the attacker’s infrastructure. However, the bulk of the detected tools besides Moriya, consist of both proprietary and well-known pieces of malware that were previously in use by Chinese-speaking threat actors, giving a clue to the attacker’s origin.<\/p>\n On April 14-15, Kaspersky technologies detected a wave of highly targeted attacks against multiple companies. Closer analysis revealed that all these attacks exploited a chain of Google Chrome and Microsoft Windows zero-day exploits.<\/p>\n While we were not able to retrieve the exploit used for Remote Code Execution (RCE) in the Chrome web-browser, we were able to find and analyze an Escalation of Privilege (EoP) exploit used to escape the sandbox and obtain system privileges. This EoP exploit was fine-tuned to work against the latest and most prominent builds of Windows 10 (17763 – RS5, 18362 – 19H1, 18363 – 19H2, 19041 – 20H1, 19042 – 20H2), and exploits two distinct vulnerabilities in the Microsoft Windows OS kernel.<\/p>\n On April 20, we reported these vulnerabilities to Microsoft and they assigned CVE-2021-31955 to the Information Disclosure vulnerability and CVE-2021-31956 to the EoP vulnerability. Both vulnerabilities were patched on June 8, as a part of the June Patch Tuesday.<\/p>\n The exploit-chain attempts to install malware in the system through a dropper. The malware starts as a system service and loads the payload, a “remote shell”-style backdoor, which in turns connects to the C2 to get commands.<\/p>\n We weren’t able to find any connections or overlaps with a known threat actor, so we tentatively named this cluster of activity PuzzleMaker<\/a>.<\/p>\n In April, we discovered a suspicious Word document containing a Korean file name and decoy uploaded to VirusTotal. The document contained an unfamiliar macro and used novel techniques to implant the next payload. Our telemetry revealed two infection methods used in these attacks, with each payload having its own loader for execution in memory. The threat actor only delivered the final stage payload for selected victims.<\/p>\n <\/a><\/p>\n During the course of our research, Malwarebytes published a report<\/a> with technical details about the same series of attacks, which attributed it to the Lazarus group. However, after thorough analysis, we reached the conclusion that the attacks were the work of Andariel, a sub-group of Lazarus, based on code overlaps between the second stage payload in this campaign and previous malware from this threat actor.<\/p>\n Historically, Andariel has mainly targeted organizations in South Korea; and our telemetry suggests that this is also the case in this campaign. We confirmed several victims in the manufacturing, home network service, media and construction sectors.<\/p>\n <\/a><\/p>\n We also found additional connections with the Andariel group. Each threat actor has a characteristic habit when they interactively work with a backdoor shell in the post-exploitation phase of an attack. The way Windows commands and their options were used in this campaign is almost identical to previous Andariel activity.<\/p>\n Notably, in addition to the final backdoor, we discovered one victim infected with custom ransomware, underlying the financial motivation of this threat actor.<\/p>\n Ferocious Kitten<\/a> is an APT threat actor that has targeted Persian-speaking individuals who appear to be based in Iran. The group has mostly operated under the radar and, as far as we know, has not been covered by security researchers. The threat actor attracted attention recently when a lure document was uploaded to VirusTotal and went public thanks to\u00a0researchers on Twitter<\/a>. Since then, one of its implants\u00a0has been analyzed<\/a>\u00a0by a Chinese threat intelligence firm.<\/p>\n We were able to expand on some of the findings about the group and provide insights into the additional variants that it uses. The malware dropped from the lure document, dubbed “MarkiRAT”, records keystrokes, clipboard content, and provides file download and upload capabilities as well as the ability to execute arbitrary commands on the victim’s computer. We were able to trace the implant back to at least 2015, along with variants intended to hijack the execution of Telegram and Chrome applications as a persistence method.<\/p>\n Ferocious Kitten is one of the groups that operate in a wider eco-system intended to track individuals in Iran. Such threat groups aren’t reported very often; and so are able to re-use infrastructure and toolsets without worrying about them being taken down or flagged by security solutions. Some of the TTPs used by this threat actor are reminiscent of other groups that are active against a similar set of targets, such as Domestic Kitten and Rampant Kitten.<\/p>\n While ransomware has been around for a long time, it has evolved over time as attackers have improved their technologies and refined their tactics. We have seen a shift away from the random, speculative attacks of five years ago, and even from the massive outbreaks such as WannaCry<\/a> and\u00a0NotPetya<\/a>. Many ransomware gangs have switched to the more profitable tactic of “big-game hunting”; and news of ransomware attacks affecting large corporations, and even critical infrastructure installations, has become commonplace. Moreover, there’s now a well-developed eco-system underpinning ransomware attacks<\/a>.<\/p>\n As a result, even though the number of ransomware attacks has fallen<\/a>, and individuals are probably less likely to encounter ransomware than a few years ago, the threat to organizations is greater than ever.<\/p>\n We recently published analysis of one such ransomware family, named\u00a0JSWorm<\/a>. This malware was discovered in 2019, and since then different variants have gained notoriety under various names such as\u00a0Nemty,\u00a0Nefilim,\u00a0Offwhite\u00a0and others.<\/p>\n <\/a><\/p>\n Each “re-branded” version has included alterations to different aspects of the code \u2013 file extensions, cryptographic schemes, encryption keys, programming language and distribution model. Since it emerged, JSWorm has developed from a typical mass-scale ransomware threat affecting mostly individual users into a typical big-game hunting ransomware threat attacking high-profile targets and demanding massive ransom payments.<\/p>\n Black Kingdom<\/a> first appeared in 2019; in 2020 the group was observed exploiting vulnerabilities (such as CVE-2019-11510) in its attacks. In recent activity, the ransomware was used by an unknown adversary for exploiting a Microsoft Exchange vulnerability (CVE-2021-27065, aka ProxyLogon<\/a>). This ransomware family is much less sophisticated than other Ransomware-as-a-Service<\/a> (RaaS) or big game hunting families. The group’s involvement in the Microsoft Exchange exploitation campaign suggests opportunism rather than a resurgence in activity from this ransomware family.<\/p>\n The malware is coded in Python and compiled to an executable using PyInstaller. The ransomware supports two encryption modes: one generated dynamically and one using a hardcoded key. Code analysis revealed an amateurish development cycle and the possibility of recovering files that have been encrypted with Black Kingdom with the help of the hardcoded key. At the time of analysis, there was already a script to recover files encrypted with the embedded key<\/a>.<\/p>\n Black Kingdom changes the desktop background to a note that the system is infected while it encrypts files, disabling the mouse and keyboard as it does so.<\/p>\n After decompiling the Python code, we discovered that the code base for Black Kingdom has its origins in an open-source ransomware builder\u00a0available on GitHub<\/a>. The group adapted parts of the code, adding features that were not originally presented in the builder, such as the hardcoded key. We were not able to attribute Black Kingdom to any known threat group.<\/p>\n Based on our telemetry, we could see only a few hits by Black Kingdom in Italy and Japan.<\/p>\n Gootkit<\/a> belongs to a class of Trojans that are extremely tenacious, but not widespread. Since it’s not very common, new versions of the Trojan may remain under the researchers’ radar for long periods.<\/p>\n It is complex multi-stage banking malware, which was initially discovered by Doctor Web in 2014. Initially, it was distributed via spam and exploits kits such as Spelevo and RIG. In conjunction with spam campaigns, the adversaries later switched to compromised websites where visitors are tricked into downloading the malware.<\/p>\n Gootkit is capable of stealing data from the browser, performing man-in-the-browser attacks, keylogging, taking screenshots, and lots of other malicious actions. The Trojan’s loader performs various virtual machine and sandbox checks and uses sophisticated persistence algorithms.<\/p>\n In 2019, Gootkit stopped operating after it experienced a\u00a0data leak<\/a>, but has been\u00a0active again<\/a>\u00a0since November 2020. Most of the victims are located in EU countries such as Germany and Italy.<\/p>\n Bizarro is one more banking Trojan family originating from Brazil that is now found in other parts of the world. We have seen people being targeted in\u00a0Spain, Portugal, France and Italy. This malware has been used to steal credentials from customers of 70 banks from different European and South American countries.<\/p>\n <\/a><\/p>\n As with Tetrade<\/a>, Bizarro uses affiliates or recruits money mules to cash out or simply to help with money transfers.<\/p>\n Bizarro is distributed via MSI packages downloaded by victims from links in spam emails. Once launched, it downloads a ZIP archive from a compromised website. We observed hacked WordPress, Amazon and Azure servers used by the Trojan for storing archives. The backdoor, which is the core component of Bizarro, contains more than 100 commands and allows the attackers to steal online banking account credentials. Most of the commands are used to display fake pop-up messages and seek to trick people into entering two-factor authentication codes. The Trojan may also use social engineering to convince victims to download a smartphone app.<\/p>\n <\/a><\/p>\n Bizarro is one of several banking Trojans from South America that have extended their operations into other regions \u2013 mainly Europe. They include Guildma, Javali, Melcoz, Grandoreiro and Amavaldo.<\/p>\n <\/a><\/p>\n In early April, we discovered malicious code in version 3.17.18 of the official client of the APKPure app store<\/a>, a popular alternative source of Android apps. The incident seems to be similar to what happened with CamScanner<\/a>, when the app’s developer implemented an adware SDK from an unverified source.<\/p>\n When launched, the embedded\u00a0Trojan dropper, which our solutions detect as HEUR:Trojan-Dropper.AndroidOS.Triada.ap, unpacks and runs its\u00a0payload, which is able to show ads on the lock screen, open browser tabs, collect information about the device, and download other malicious code. The Trojan downloaded depends on the version of Android and how recently security updates have been installed. In the case of relatively recent versions of the operating system (Android 8 or higher) it loads additional modules for the Triada Trojan<\/a>. If the device is older (Android 6 or 7, and without security updates installed) it could be the\u00a0xHelper Trojan<\/a>.<\/p>\n We reported the issue to APKPure on April 8. APKPure acknowledged the problem the following day and, soon afterwards, posted a new version (3.17.19) that does not contain the malicious component.<\/p>\n Browser lockers are designed to prevent the victim from using their browser unless they pay a ransom. The “locking” consists of preventing the victim from leaving the current tab, which displays intimidating messages, often with sound and visual effects. The locker tries to trick the victim into making a payment with threats of losing data or legal liability.<\/p>\n This type of fraud has long been on the radar of researchers, and over the last decade there have been numerous browser locking campaigns targeting people worldwide. The tricks used by the scammers include imitating the infamous “Blue Screen of Death<\/a>” (BSOD)\u00a0in the browser, false warnings about system errors or detected malware, threats to encrypt files and legal liability notices.<\/p>\n In our report on browser lockers<\/a>, we examined two families of lockers that mimic government websites.<\/p>\n <\/a><\/p>\n Both families spread mainly via advertising networks, primarily aimed at selling “adult” content and movies in an intrusive manner; for example, through tabs or windows that open on top of the visited site when loading a page with an embedded ad module (pop-ups), or after clicking anywhere on the page (click-unders).<\/p>\n These threats are not technically complex: they simply aim to create the illusion of having locked the computer and intimidate victims into paying money. Landing on such a page by mistake will not harm your device or compromise your data, as long as you don’t fall for the cybercriminals’ smoke-and-mirror tactics.<\/p>\n Last November, Apple unveiled its M1 chip. The new chip, which has replaced Intel processors in several of its products, is based on ARM architecture instead of the x86 architecture traditionally used in personal computers. This lays the foundation for Apple to switch completely to its own processors and unify its software under a single architecture. Unfortunately, just months after the release, malware writers had already adapted several malware families to the new processor<\/a>.<\/p>\nZero-day vulnerability in Desktop Window Manager used in the wild<\/h3>\n
Operation TunnelSnake<\/h3>\n
PuzzleMaker<\/h3>\n
Andariel adds ransomware to its toolset<\/h3>\n
Ferocious Kitten<\/h3>\n
Other malware<\/h2>\n
Evolution of JSWorm ransomware<\/h3>\n
Black Kingdom ransomware<\/h3>\n
***************************\r\n| We Are Back ?\r\n***************************\r\n\r\nWe hacked your (( Network )), and now all files, documents, images,\r\ndatabases and other important data are safely encrypted using the strongest algorithms ever.\r\nYou cannot access any of your files or services .\r\nBut do not worry. You can restore everthing and get back business very soon ( depends on your actions )\r\n\r\nbefore I tell how you can restore your data, you have to know certain things :\r\n\r\nWe have downloaded most of your data ( especially important data ) , and if you don't contact us within 2 days, your data will be released to the public.\r\n\r\nTo see what happens to those who didn't contact us, just google : ( Blackkingdom Ransomware )\r\n\r\n***************************\r\n| What guarantees ?\r\n***************************\r\n\r\nWe understand your stress and anxiety. So you have a free opportunity to test our service by instantly decrypting one or two files for free\r\njust send the files you want to decrypt to (support_blackkingdom2@protonmail.com\r\n\r\n***************************************************\r\n| How to contact us and recover all of your files ?\r\n***************************************************\r\n\r\nThe only way to recover your files and protect from data leaks, is to purchase a unique private key for you that we only posses .\r\n\r\n\r\n[ + ] Instructions:\r\n\r\n1- Send the decrypt_file.txt file to the following email ===> support_blackkingdom2@protonmail.com\r\n\r\n2- send the following amount of US dollars ( 10,000 ) worth of bitcoin to this address :\r\n\r\n[ 1Lf8ZzcEhhRiXpk6YNQFpCJcUisiXb34FT ]\r\n\r\n3- confirm your payment by sending the transfer url to our email address\r\n\r\n4- After you submit the payment, the data will be removed from our servers, and the decoder will be given to you,\r\nso that you can recover all your files.\r\n\r\n## Note ##\r\n\r\nDear system administrators, do not think you can handle it on your own. Notify your supervisors as soon as possible.\r\nBy hiding the truth and not communicating with us, what happened will be published on social media and yet in news websites.\r\n\r\nYour ID ==>\r\nFDHJ91CUSzXTquLpqAnP<\/pre>\n
Gootkit: the cautious banking Trojan<\/h3>\n
Bizarro banking Trojan expands into Europe<\/h3>\n
Malicious code in APKPure app<\/h3>\n
Browser lockers<\/h3>\n
Malware targets Apple M1 chip<\/h3>\n
Attempted supply-chain attack using PHP<\/h3>\n