beauty.py
beautypy refers to a Python backdoor delivered in a Kimsuky campaign using malicious Windows LNK files disguised as document shortcuts. In the reported infection chain, the LNK launches PowerShell, which creates a hidden folder at C:\windirr, drops intermediary XML/VBS/PS1 components, and establishes persistence via scheduled tasks with Google-themed names. A PowerShell stage collects host information including user domain, username, running processes, OS version, public IP, and antivirus details, exfiltrates that data via Dropbox, then retrieves and executes hh.bat. That BAT downloads ZIP fragments from quickcon.store, reconstructs and extracts an archive to C:\winii containing the XML scheduler file norton.db and the Python backdoor beauty.py, then registers a scheduled task named GoogleExtension{02-2032121-098} to execute C:\winii\beauty.py. The backdoor communicates with C2 server 45.95.186[.]232:8080, sends packets containing the string "HAPPY," and uses a custom 4096-byte protocol with magic bytes 0x99 0x0A 0xBD 0x99. Reported capabilities include remote shell/command execution, drive enumeration, directory listing, file upload and download, file deletion with random-data overwrite, execution of .exe, .bat, and .vbs files, and termination. ASEC attributed the activity to Kimsuky based on similarities in scheduled task naming, XML scheduler filenames, and reuse of decoy documents seen in prior Kimsuky operations. Observed related infrastructure included quickcon.store, qugesr[.]online, whaincloud[.]store, zoommet[.]site, and racswera[.]online.
Associated threat actors
1 distinct threat actor Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
압축 파일 내부에는 XML 작업 스케줄러 파일(norton.db)과 파이썬 백도어 파일(beauty.py)이 포함되어 있다. ... hh.bat 파일은 GoogleExtension{02-2032121-098} 이라는 작업 스케줄러 이름으로 C:\winii\beauty.py 파일을 실행하도록 작업을 등록하며, 이를 통해 파이썬 백도어가 실행된다.
Techniques & procedures
21 distinct techniques documented for this family, organized by ATT&CK tactic.
Execution
7 techniques
Execution
Based on the XML file, a scheduled task named Microsoft_Upgrade{10-9903-09-821392134} is registered.
Depending on the command code, it performs the following functions: Shell command execution
Once opened, the LNK file triggers a hidden PowerShell script that creates a concealed folder at C:\windirr... In the past, the attack flow moved from an LNK file to PowerShell and directly to a BAT file. In the recent version, the intermediate stage now runs through an XML file, a VBS file, a PS1 file, and finally a BAT file before reaching the payload.
cmd.exe /c C:\Users\Public\Music\hh.bat 명령을 통해 이를 실행한다.
After the LNK file is opened, the PowerShell script creates the hidden folder and drops three files: an XML task scheduler file ( sch_ha.db ), a VBS script ( 11.vbs ), and a PowerShell script ( pp.ps1 ). When the VBS file runs, it launches pp.ps1.
Two types of Python-based malicious code were identified: a downloader that fetches additional payloads from an external server, and a backdoor that remotely executes attacker commands.
최근 유포된 LNK 파일인 “이력서(박성민).hwp.lnk” 및 “데이터 백업 및 복구 절차 수립 가이드(참고).lnk”는, 과거에 유포된 사례와 동일하게 PowerShell 스크립트를 실행하며...
Persistence
1 technique
Persistence
Based on the XML file, a scheduled task named Microsoft_Upgrade{10-9903-09-821392134} is registered.
Privilege Escalation
1 technique
Privilege Escalation
Based on the XML file, a scheduled task named Microsoft_Upgrade{10-9903-09-821392134} is registered.
Stealth
2 techniques
Stealth
File deletion (with random data overwrite before deletion)
Once opened, the LNK file triggers a hidden PowerShell script that creates a concealed folder at C:\windirr with hidden and system attributes, keeping it out of normal file browsing views.
Discovery
5 techniques
Discovery
During analysis, actions such as collecting drive information, network configuration (via ipconfig), and running processes (via tasklist) were observed.
During analysis, actions such as collecting drive information, network configuration (via ipconfig), and running processes (via tasklist) were observed.
During analysis, actions such as collecting drive information, network configuration (via ipconfig), and running processes (via tasklist) were observed.
Depending on the command code, it performs the following functions: Shell command execution Drive list enumeration
명령 기능 0100 드라이브 용량 조회
Collection
1 technique
Collection
The hh.bat file downloads two split ZIP fragments from the URLs below, merges them into a single ZIP at %TEMP%\G9081234.zip , and extracts it to C:\winii .
Command and Control
4 techniques
Command and Control
The backdoor sends a packet containing the string “ HAPPY ” to the C2 server at 45.95.186[.]232:8080 to signal successful infection.
The backdoor sends packets with the string “HAPPY” to the C2 server, 45.95.186[.]232:8080... communicates with a fixed-size (4096 bytes) custom protocol based on magic bytes
The downloader connects to the attacker-controlled server, saves VBS and BAT files to the %TEMP% path, and executes them in the background
Once the backdoor is fully installed, the attacker gains remote command access over the infected machine. The threat actor can run shell commands, browse directories, upload and download files, delete files, and execute other programs.
Exfiltration
1 technique
Exfiltration
The stolen data is then sent to the attacker through Dropbox, a legitimate cloud service used here to blend into normal network traffic and avoid detection.
Impact
1 technique
Impact
file deletion (random data overwriting before deletion)
Recent activity
2 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.