Kimsuky LNK Campaign Adds Multi-Stage Scripts to Deliver Python Backdoor

· Original article ↗

Summary

ASEC reports that a Kimsuky-attributed LNK campaign adds XML, VBS, PowerShell and BAT stages, uses scheduled tasks and Dropbox, and delivers Python malware with a custom C2 protocol supporting remote commands and file operations.

Key points

  • Recent LNK files start a chain of PowerShell, XML, VBS, PS1 and BAT stages before scheduled tasks launch Python malware.
  • The BAT stage combines downloaded ZIP fragments containing a Python interpreter, scripts and XML Task Scheduler files.
  • The Python backdoor uses a fixed-size 4096-byte protocol with magic bytes and supports shell commands, file transfers, deletion and execution of files.
  • ASEC observed commands on an infected system including drive-capacity checks, ipconfig, tasklist and directory listing.
  • The campaign uses Dropbox to transmit collected host information and retrieve additional scripts; ASEC also identified a separate downloader that runs without a console window and removes its temporary files.
  • ASEC linked the activity to Kimsuky based on similarities in scheduled-task names, XML filenames and decoy files from earlier activity.

Article Details

Attack Vectors
  • Malicious LNK files disguised as document files launch PowerShell and a multi-stage XML, VBS, PS1, and BAT chain that downloads and executes Python payloads.
  • BAT scripts retrieve ZIP fragments from attacker-controlled URLs, merge and extract them, then use XML Task Scheduler files to execute payloads.
  • A Python backdoor communicates with a C2 server using a custom fixed-size protocol and supports remote shell commands, file transfer, deletion, and execution.
  • The actor uses Dropbox to exfiltrate collected system information and retrieve additional scripts.
Defensive Notes
  • Users should be cautious about executing LNK files from unknown sources, even when they appear to be document files.

Indicators of compromise

TypeIndicatorContext
DOMAINqugesr[.]onlineAttacker-used domain hosting BAT, ZIP-fragment, and other payload-download resources.
DOMAINracswera[.]onlineListed by the report as a domain hosting payloads or fragments in the campaign.
DOMAINwhaincloud[.]storeAttacker-used domain hosting payload and fragment URLs listed in the report.
DOMAINzoommet[.]siteListed by the report as a domain hosting payloads or fragments in the campaign.
IPV445[.]95[.]186[.]232C2 server contacted by the Python backdoor on port 8080.
MD5059bb6c439ffedc61d9168c23552202cMD5 hash listed in the report among malware sample indicators.
MD50633d5f93a5f08a909c039a3f7e90830MD5 hash listed in the report among malware sample indicators.
MD5063faa06c63e4091ff8df4acffeb10beMD5 hash listed in the report among malware sample indicators.
MD5130ce31e1fe7c0aa5fae32d96afff4c6MD5 hash listed in the report among malware sample indicators.
MD52052261efb1e9d486997fc1795d7d489MD5 hash listed in the report among malware sample indicators.
URLhxxp[:]//whaincloud[.]store/kk/cc/p-index[.]php?au=bListed as an attacker-used payload or fragment URL.
URLhxxp[:]//whaincloud[.]store/kk/cc/p-index[.]php?au=vListed as an attacker-used payload or fragment URL.
URLhxxp[:]//whaincloud[.]store/kk/view/view[.]php?in=commListed as an attacker-used payload or fragment URL.
URLhxxp[:]//zoommet[.]site/man/logo[.]php?au=beautyListed as an attacker-used payload or fragment URL.
URLhxxps[:]//qugesr[.]online/cuckoo_cc/p-index[.]php?au=baattListed as an attacker-used payload or fragment URL.
URLhxxps[:]//qugesr[.]online/dwparts_view/view.php?in=comm.part000Attacker-used URL serving a ZIP fragment for payload delivery.
URLhxxps[:]//qugesr[.]online/dwparts_view/view.php?in=comm.part001Attacker-used URL serving a ZIP fragment for payload delivery.
URLhxxps[:]//qugesr[.]online/dwparts_view/view.php?in=normalAttacker-used URL serving a decoy file in the distribution chain.
URLhxxps[:]//qugesr[.]online/m/bDwAttacker-controlled URL used to download a malicious BAT file.
URLhxxps[:]//quickcon[.]store/man/logo.php?au=beauty.part000Attacker-used URL serving a ZIP fragment containing the backdoor distribution.
URLhxxps[:]//quickcon[.]store/man/logo.php?au=beauty.part001Attacker-used URL serving a ZIP fragment containing the backdoor distribution.

MITRE ATT&CK

Threat Actors

Malware

Products

Related Articles