EndRAT
EndRAT is a remote access trojan written in AutoIt, also referred to in the provided content as EndClient RAT and in some reporting as AutoItRAT. It has been associated with Konni APT campaigns, including the campaign dubbed Operation Poseidon. Reported delivery chains used spear-phishing lures themed around North Korean human-rights organizations and South Korean financial institutions, as well as ZIP archives containing malicious LNK files. In observed infections, an AutoIt script disguised as a PDF or a compiled AutoIt payload masquerading as a PDF was executed, after which EndRAT was loaded and executed directly in memory. One reported chain used PowerShell to decode a decoy PDF from an LNK, download AutoIt3.exe and a disguised payload named APDNHFU.pdf from drfeysal[.]com into C:\Users\Public\Videos, and create a scheduled task named APDNHFU for persistence.
Capabilities directly described in the content include host information collection and exfiltration of sensitive information, with system data sent to C2 in JSON format. EndRAT supports file listing, file upload, file download, and interactive remote shell or command execution. One sample created the mutex Global\B073W15Z-D8QD-87B1-7465-CE77A8819E701 to prevent duplicate execution. Reported command support included cmd, exit, download, upload, listdir, delete, and run. Communications used a custom socket protocol rather than real HTTP, including use over port 80 with delimiters such as endServer9688 and endClient9688; related identifiers endServerFile9688 and endClientFile9688 were also reported. Another sample was described as hardcoding C2 157.180.88[.]26 on port 443.
The malware was observed in campaigns targeting victims in South Korea, with broader Konni reporting also tying related activity to targeting in Japan, Australia, and India. In the described Konni intrusions, operators used EndRAT for long-term access and collection of internal documents, account information, and system environment data, and in one campaign abused victims' KakaoTalk PC sessions for secondary propagation. Persistence mechanisms mentioned alongside EndRAT activity included scheduled tasks and startup-folder entries. Additional artifacts reported in connection with EndRAT include the disguised AutoIt payload APDNHFU.pdf containing the AU3!EA06 signature at offset 0x2720, startup execution via C:\ProgramData\NuGetPacks\AutoIt3.exe with mmlib.au3, and embedded developer build paths such as D:\3_Attack Weapon\Autoit\Build_Poseidon - Manage\client3.3.14.a3x and D:\3_Attack Weapon\Autoit\Build_ Poseidon - Attack\client3.3.14.a3x.
Associated threat actors
2 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
This script runs without requiring further user interaction and functions by loading and executing EndRAT-variant remote access trojans directly into memory.
After the spear-phishing attack succeeded, the victim executed a malicious LNK file, resulting in infection with remote access malware.
Techniques & procedures
36 distinct techniques documented for this family, organized by ATT&CK tactic.
Resource Development
1 technique
Resource Development
"Poorly secured WordPress websites were abused as malware distribution points and C2 infrastructure"
Initial Access
4 techniques
Initial Access
After gaining unauthorized access to the victim’s KakaoTalk PC application, the threat actor selectively chose contacts from the friend list for secondary distribution of the malicious file.
Malicious files were delivered through the KakaoTalk messenger, leveraging impersonation of acquaintances to conduct trust-based attacks... the attacker accessed the victim’s logged-in KakaoTalk PC version and used it as a channel to distribute malicious files.
The threat actors infiltrated specific individuals’ devices through spear-phishing that spoofed organizations such as the National Tax Service... Another victim opened an email impersonating the National Tax Service and executed the attached malicious file.
A spear phishing campaign disguised as advertising URLs was used to bypass security filtering mechanisms and user awareness.
Execution
7 techniques
Execution
it creates a scheduled task set to run every minute to continuously execute the malicious AutoIt script.
Following the initial infection, the threat actor established persistence by registering scheduled tasks...
The AutoIt script 'IoKlTr.au3,' which is run periodically by Task Scheduler, is a core component designed to perform persistent malicious activity on the system.
Specifically, after LNK execution, the platform detects cases where the actually invoked processes transition not to legitimate document viewers but to cmd.exe, powershell.exe, or AutoIt executables.
%SystemRoot%\system32\cmd.exe /c %APPDATA%\스트레스 클리어\install.bat
"The EndRAT malware was loaded through the execution of an AutoIt script masquerading as a PDF file"
After the spear-phishing attack succeeded, the victim executed a malicious LNK file, resulting in infection with remote access malware.
Persistence
5 techniques
Persistence
it creates a scheduled task set to run every minute to continuously execute the malicious AutoIt script.
Following the initial infection, the threat actor established persistence by registering scheduled tasks...
After gaining unauthorized access to the victim’s KakaoTalk PC application, the threat actor selectively chose contacts from the friend list for secondary distribution of the malicious file.
The analysis also showed that the attacker abused the Windows Startup folder to establish persistence.
a malicious shortcut file (.lnk) is registered in Startup so it launches automatically after a system restart... in this case it was changed to 'Smart_Web.lnk.'
Privilege Escalation
5 techniques
Privilege Escalation
it creates a scheduled task set to run every minute to continuously execute the malicious AutoIt script.
Following the initial infection, the threat actor established persistence by registering scheduled tasks...
After gaining unauthorized access to the victim’s KakaoTalk PC application, the threat actor selectively chose contacts from the friend list for secondary distribution of the malicious file.
The analysis also showed that the attacker abused the Windows Startup folder to establish persistence.
a malicious shortcut file (.lnk) is registered in Startup so it launches automatically after a system restart... in this case it was changed to 'Smart_Web.lnk.'
Stealth
6 techniques
Stealth
The threat actor concealed various malware components by encoding or encrypting them within AutoIt scripts... this script performs HMAC-based hash derivation to generate an AES decryption key and uses that key to decrypt an AES-encrypted payload.
The archive contains a Microsoft Installer (MSI) package disguised as 'Stress Clear.msi.' The MSI contains a valid digital signature... This represents an abuse of code signing... it makes a copy of... 'schtasks.exe' and renames it to 'hwpviewer.exe'.
스크립트는 remove-item -force로 원본 LNK 파일 자체를 삭제합니다
After gaining unauthorized access to the victim’s KakaoTalk PC application, the threat actor selectively chose contacts from the friend list for secondary distribution of the malicious file.
LNK 실행 이후 실제 호출되는 프로세스가 정상적인 문서 뷰어가 아닌 cmd.exe, powershell.exe, AutoIt 실행 파일 등으로 이어지는 비정상적인 프로세스 트리를 실시간으로 식별할 수 있습니다.
숨김 속성이 적용된 ProgramData 및 Public 경로 하위 폴더에서 AutoIt 기반 악성 스크립트를 실행
Discovery
4 techniques
Discovery
The actor then remained concealed on the infected system for an extended period while collecting internal documents, user account information, and system environment data.
The actor then remained concealed on the infected system for an extended period while collecting internal documents, user account information, and system environment data.
파일 목록 조회 기능 ... DriveGetDrive("ALL")를 통해 드라이브 목록을 수집하고 ... 파일/디렉터리 목록을 만들고
A key characteristic of this campaign is the threat actor’s unauthorized access to the victim’s KakaoTalk PC application and abuse of the active messaging session.
Lateral Movement
2 techniques
Lateral Movement
원격 셸(Remote Command Shell) ... Windows API의 파이프 핸들(WriteFile/PeekNamedPipe/ReadFile)을 이용해 구현된 인터랙티브 셸
The actor selected certain contacts from the victim’s friend list and sent them additional malicious files.
Collection
2 techniques
Collection
감염 단말에 장기간 은닉하면서 내부 문서, 사용자 계정 정보, 시스템 환경 정보 등을 수집
These files were mainly delivered in ZIP archive format, and structures containing LNK-based malicious files or additional malware were observed within the archives.
Command and Control
8 techniques
Command and Control
This delimiter-based message handling is a communication pattern consistently observed in earlier EndRAT variants, and is intended to increase the likelihood of the traffic being mistaken for normal web traffic in IDS environments.
One of EndRAT’s defining characteristics is that it uses a custom socket protocol over HTTP port 80 without actually using the HTTP protocol itself.
its command-and-control (C2) connection is made through a Germany-based domain. The domain is built on WordPress... multiple C2 servers were hosted on WordPress.
피해자의 카카오톡 PC 버전에 비인가 접근하여 친구 목록 중 일부를 선별 대상으로 삼아 추가 악성파일을 전송
실제 HTTP 프로토콜을 사용하지 않는 Custom Socket Protocol 구조 ... 문자열 기반 패킷 구분자(Delimiter)가 사용
Evidence indicates that this threat actor continuously compromises poorly managed WordPress-based websites to use them as malware distribution points and C2 infrastructure.
Specifically, the 'AutoIt3.exe' executable and a malicious AutoIt script disguised as a PDF file are downloaded from the C2 server and executed.
The threat actor used an AutoIt script to launch RemcosRAT (Remote Access Trojan)... On some victims’ systems, RemcosRAT 7.0.4 Pro was identified.
Exfiltration
1 technique
Exfiltration
the threat actor... collected and exfiltrated the victim’s sensitive information and key account credentials
Observables
69 indicators attributed across vendor reports, sandbox runs, and researcher write-ups. Values are masked here and available in full in Mallory.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.