Xctdoor
- Type
- Backdoor
- Capabilities
- KeyloggingExfiltrationPersistenceInitial accessPost exploitationDefense evasionReconnaissanceDLL sideloadingProcess injection
- Delivery
- PhishingSpearphishingLureLanding page
- Platforms
- Windows
Xctdoor is a Windows backdoor associated with campaigns targeting South Korean users and organizations, and has been linked to activity tracked as Larva-26005. Reporting connects its operations to earlier CRAT intrusion sets and to tradecraft assessed as consistent with North Korea-aligned operators, with some analyses noting similarities to Lazarus and Andariel activity. Recent campaigns have focused on information theft and sustained remote access rather than confirmed ransomware deployment, although earlier related intrusions reportedly involved Hansom ransomware alongside CRAT and early Xctdoor usage.
Xctdoor has been observed delivered through social engineering and masquerading, including fake security-software installers and malicious shortcut-file lures. Infection chains commonly use DLL sideloading through legitimate executables, followed by script-based download stages and deployment of an auxiliary loader often referred to as XcLoader. That loader decrypts and injects Xctdoor into legitimate processes, enabling stealthier execution and helping evade detection. Both C++ and Go variants have been reported, with equivalent command functionality.
The malware provides full backdoor control of infected systems. Documented capabilities include system information collection, remote command execution, file and folder operations, upload and download of additional payloads, process enumeration and termination, keylogging, screenshot capture, clipboard monitoring, and monitoring of user-idle or session-lock conditions for reporting to command-and-control infrastructure. Xctdoor also supports downloading and executing additional malware, making it suitable as a post-compromise access platform.
Observed campaigns have also used persistence mechanisms such as startup shortcuts, scheduled execution, and loader execution via legitimate Windows utilities. Xctdoor and related components have been noted using runtime code obfuscation and string decryption to hinder analysis. Beyond phishing-style delivery, related intrusions have included web-shell-enabled compromises of Windows IIS servers, abuse of vulnerable groupware upload functionality, and tampering with software distribution or update workflows, indicating that operators use Xctdoor across both user-execution and supply-chain-style intrusion paths.
Associated vulnerabilities
1 CVE Mallory has correlated with this family across public research and vendor advisories. Each card links to the full Mallory page for that vulnerability.
Associated threat actors
3 distinct threat actors Mallory has associated with this family across public reporting. Open in Mallory to see the full evidence chain and overlapping campaigns.
"Analysis of the Connection Between Xctdoor and Past CRAT Attack Cases (Larva-26005)" published by Ahnlab. #CVE20178291, #Phishing, #LNK, #Xctdoor, #CRAT, #Larva26005, #Hansom
Techniques & procedures
34 distinct techniques documented for this family, organized by ATT&CK tactic.
Initial Access
4 techniques
Initial Access
또 다른 사례에서는 외부에 노출되어 있던 그룹웨어 시스템의 업로드 페이지를 통해 초기 침투를 시도한 것으로 추정된다. 취약한 파일 업로드 페이지를 이용해 공격자는 웹셸을 업로드했으며 그룹웨어 시스템에 대한 초기 제어권을 확보하였다.
사용자의 신뢰를 확보한 뒤, 시스템 감염 및 추가 악성 행위를 수행하는 지능형 공격 기법을 사용한다. ... 사용자에 의한 직접 실행 유도 (사회공학 기법 활용)
CRAT은 2020년 최초로 확인되었으며 스피어 피싱 공격이나 국내 커뮤니티 사이트에 업로드되어 유포되는 등 국내 사용자들을 대상으로 한 다양한 공격 사례에서 사용되었다.
자사 ASD 로그에서 확인되는 공격들은 대부분 스피어 피싱으로 추정된다. 최초 침투 과정에서 LNK가 사용되는데 LNK 악성코드는 드로퍼로서 위의 보안 프로그램 위장 사례처럼 미끼 문서 파일을 보여주고 동시에 3개의 스크립트 파일을 생성하고 실행한다.
Execution
9 techniques
Execution
“{Random}.Bat” performs its downloader function while simultaneously registering the VBS downloader malware “%PUBLIC%\videos\p{random}.Vbs,” located in the same Path, in the Task Scheduler.
“{random}.bat”은 다운로더 기능을 수행함과 동시에 동일 경로에 위치한 VBS 다운로더 악성코드 “%PUBLIC%\videos\p{random}.vbs”를 작업 스케줄러에 등록한다.
최종적으로 XCTDoor 악성코드가 실행되며, 다음과 같은 기능을 수행한다. ... 원격 명령 실행 (RCE)
“p{random}.vbs”는 파워쉘 스크립트 “%PUBLIC%\videos\2.ps1″를 다운로드한다.
“s{random}.vbs”는 동일 경로에 위치한 BAT 다운로더 악성코드 “%PUBLIC%\videos\{random}.bat”를 실행한다.
먼저 VBS 런처 악성코드인 “%PUBLIC%\videos\s{random}.vbs”가 실행된다.
사용자에 의한 직접 실행 유도 (사회공학 기법 활용)
"Analysis of the Connection Between Xctdoor and Past CRAT Attack Cases (Larva-26005)" published by Ahnlab. #CVE20178291, #Phishing, #LNK, #Xctdoor, #CRAT, #Larva26005, #Hansom
업데이트 기능을 담당하는 모듈에 Regsvr32.exe 프로세스를 이용해 악성 DLL을 실행하는 루틴을 삽입하였다.
Persistence
5 techniques
Persistence
“{Random}.Bat” performs its downloader function while simultaneously registering the VBS downloader malware “%PUBLIC%\videos\p{random}.Vbs,” located in the same Path, in the Task Scheduler.
“{random}.bat”은 다운로더 기능을 수행함과 동시에 동일 경로에 위치한 VBS 다운로더 악성코드 “%PUBLIC%\videos\p{random}.vbs”를 작업 스케줄러에 등록한다.
관리되지 않은 윈도우 IIS 웹 서버를 공격해 웹쉘을 설치한 후 XcLoader와 Xctdoor를 설치한 사례가 있었다.
자동 실행을 통한 지속성 유지
여기까지의 과정이 끝나면 지속성 유지를 위해 시작 프로그램 경로에 바로가기를 생성하고 실행하는 데 XcLoader를 RegSvr32를 통해 실행시키는 명령이다.
Privilege Escalation
5 techniques
Privilege Escalation
“{Random}.Bat” performs its downloader function while simultaneously registering the VBS downloader malware “%PUBLIC%\videos\p{random}.Vbs,” located in the same Path, in the Task Scheduler.
“{random}.bat”은 다운로더 기능을 수행함과 동시에 동일 경로에 위치한 VBS 다운로더 악성코드 “%PUBLIC%\videos\p{random}.vbs”를 작업 스케줄러에 등록한다.
해당 프로세스에 앞서 디코딩한 roaming.dat PE 파일을 인젝션한다.
자동 실행을 통한 지속성 유지
여기까지의 과정이 끝나면 지속성 유지를 위해 시작 프로그램 경로에 바로가기를 생성하고 실행하는 데 XcLoader를 RegSvr32를 통해 실행시키는 명령이다.
Stealth
7 techniques
Stealth
4.1 코드 은닉 기법 DLL 및 함수명 커스텀 암호화 적용 문자열 기반 동적 복호화 수행
오픈 소스 메신저인 BeeBEEP의 설치 파일을 변조하여 Xctdoor를 생성 및 실행하는 루틴을 삽입하였으며 그룹웨어에 존재하는 기존의 설치 파일을 악성 설치 파일로 교체하여 내부 전파하였다는 점이다.
국내 은행 및 공공기관 웹사이트 이용 시 필수적으로 설치가 요구되는 통합 보안 프로그램으로 위장한 악성코드 유포 사례가 확인되었다. ... 정상 소프트웨어 파일명 및 아이콘 모방
해당 프로세스에 앞서 디코딩한 roaming.dat PE 파일을 인젝션한다.
Some of the downloaded files are encoded in Base64 and, after decoding, are saved as additional PowerShell scripts
실행 명령 : C:\WINDOWS\system32\regsvr32.exe /s %LOCALAPPDATA%\Packages\Microsoft.MicrosoftOffice365Hub_8wekyb3d8bbwe\Settings\settings.lock
업데이트 기능을 담당하는 모듈에 Regsvr32.exe 프로세스를 이용해 악성 DLL을 실행하는 루틴을 삽입하였다.
Credential Access
1 technique
Credential Access
0x10018 키로깅 시작
Discovery
3 techniques
Discovery
0x10016 프로세스 목록 가져오기 (PID, PPID, 스레드 개수, 프로세스 경로)
최종적으로 XCTDoor 악성코드가 실행되며, 다음과 같은 기능을 수행한다. 시스템 정보 수집 및 모니터링
0x10005 특정 폴더 내부 파일 목록 가져오기
Collection
3 techniques
Collection
0x10018 키로깅 시작
0x10024 스크린샷 즉시 찍기
18 클립보드 내용이 변경될 때 마다 데이터 전달
Command and Control
4 techniques
Command and Control
추가 페이로드 동작 외부 C&C 서버 통신 수행
CRAT은 HTTP 프로토콜을 이용해 C&C 서버와 통신하는 백도어 악성코드로서
추가 악성 페이로드 다운로드 복호화 후 메모리 또는 디스크 상에서 실행
CRAT은 HTTP 프로토콜을 이용해 C&C 서버와 통신하는 백도어 악성코드로서 시스템 정보 수집, 파일 작업, 명령 실행, 추가 페이로드 다운로드, 사용자 파일 압축 후 탈취와 같은 기능을 지원한다.
Exfiltration
1 technique
Exfiltration
When transmitting data, it is segmented... and sent to the C2 server... 3 Transmission of shell command results... 17 Transmit keylog data... 18 Send data whenever the clipboard content changes... 24 Submitting Screenshots
Impact
1 technique
Impact
Cisco Talos의 보고서에 따르면 Hansom 랜섬웨어를 설치해 감염 시스템을 암호화하였는데 국내 ASD 로그에서도 동일한 유형의 공격 사례가 확인되었다.
Observables
25 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.