Malware Analysis Report

2024-11-16 13:30

Sample ID 240621-wedddssgjm
Target portmap.exe
SHA256 39ca4ba8dd7b0324302767752719eb5198b5cc52dcb14d05a3dbd0756fc543f9
Tags
xworm persistence rat trojan
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK

Enterprise Matrix V15

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

39ca4ba8dd7b0324302767752719eb5198b5cc52dcb14d05a3dbd0756fc543f9

Threat Level: Known bad

The file portmap.exe was found to be: Known bad.

Malicious Activity Summary

xworm persistence rat trojan

Detect Xworm Payload

Xworm

Xworm family

Drops startup file

Executes dropped EXE

Looks up external IP address via web service

Adds Run key to start application

Unsigned PE

Enumerates physical storage devices

Suspicious use of WriteProcessMemory

Uses Task Scheduler COM API

Suspicious use of AdjustPrivilegeToken

Delays execution with timeout.exe

Scheduled Task/Job: Scheduled Task

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-06-21 17:49

Signatures

Detect Xworm Payload

Description Indicator Process Target
N/A N/A N/A N/A

Xworm family

xworm

Unsigned PE

Description Indicator Process Target
N/A N/A N/A N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-06-21 17:49

Reported

2024-06-21 18:09

Platform

win11-20240508-en

Max time kernel

453s

Max time network

1172s

Command Line

"C:\Users\Admin\AppData\Local\Temp\portmap.exe"

Signatures

Detect Xworm Payload

Description Indicator Process Target
N/A N/A N/A N/A
N/A N/A N/A N/A

Xworm

trojan rat xworm

Drops startup file

Description Indicator Process Target
File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Windows backup.lnk C:\Users\Admin\AppData\Local\Temp\portmap.exe N/A
File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\Windows backup.lnk C:\Users\Admin\AppData\Local\Temp\portmap.exe N/A

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\Users\Admin\Windows backup N/A

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-3433428765-2473475212-4279855560-1000\Software\Microsoft\Windows\CurrentVersion\Run\Windows backup = "C:\\Users\\Admin\\Windows backup" C:\Users\Admin\AppData\Local\Temp\portmap.exe N/A

Looks up external IP address via web service

Description Indicator Process Target
N/A ip-api.com N/A N/A

Enumerates physical storage devices

Delays execution with timeout.exe

evasion
Description Indicator Process Target
N/A N/A C:\Windows\system32\timeout.exe N/A

Scheduled Task/Job: Scheduled Task

persistence execution
Description Indicator Process Target
N/A N/A C:\Windows\System32\schtasks.exe N/A

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\portmap.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\portmap.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\Windows backup N/A

Uses Task Scheduler COM API

persistence

Processes

C:\Users\Admin\AppData\Local\Temp\portmap.exe

"C:\Users\Admin\AppData\Local\Temp\portmap.exe"

C:\Windows\System32\schtasks.exe

"C:\Windows\System32\schtasks.exe" /create /f /RL HIGHEST /sc minute /mo 1 /tn "Windows backup" /tr "C:\Users\Admin\Windows backup"

C:\Users\Admin\Windows backup

"C:\Users\Admin\Windows backup"

C:\Windows\System32\schtasks.exe

"C:\Windows\System32\schtasks.exe" /delete /f /tn "Windows backup"

C:\Windows\system32\cmd.exe

C:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmpAF5A.tmp.bat""

C:\Windows\system32\timeout.exe

timeout 3

Network

Country Destination Domain Proto
US 8.8.8.8:53 ip-api.com udp
US 208.95.112.1:80 ip-api.com tcp
DE 193.161.193.99:53065 Jamalhacker-53065.portmap.io tcp
DE 193.161.193.99:53065 Jamalhacker-53065.portmap.io tcp

Files

memory/4840-0-0x00007FFB728F3000-0x00007FFB728F5000-memory.dmp

memory/4840-1-0x00000000003C0000-0x00000000003D0000-memory.dmp

memory/4840-2-0x00007FFB728F0000-0x00007FFB733B2000-memory.dmp

C:\Users\Admin\Windows backup

MD5 65bdfee5e4d9099b10d35fd68a9b44cb
SHA1 20f380d3064186587069464becedadae24ad305a
SHA256 39ca4ba8dd7b0324302767752719eb5198b5cc52dcb14d05a3dbd0756fc543f9
SHA512 69350a193ab4c9d2ba6629f2265fff4f3e21e074ec3b02b5a972c9af21724af12aad669834677c7b9ae6d4c96a74044f04e95570643393cda80130febbc09186

memory/1516-8-0x00007FFB728F0000-0x00007FFB733B2000-memory.dmp

memory/1516-10-0x00007FFB728F0000-0x00007FFB733B2000-memory.dmp

memory/4840-11-0x000000001C160000-0x000000001C16C000-memory.dmp

memory/4840-12-0x00007FFB728F3000-0x00007FFB728F5000-memory.dmp

memory/4840-18-0x00007FFB728F0000-0x00007FFB733B2000-memory.dmp

C:\Users\Admin\AppData\Local\Temp\tmpAF5A.tmp.bat

MD5 d869ea8606472ff08137ad940a234bbc
SHA1 6c02da5e608465ed5015a84cb9f6bef45df6f5f0
SHA256 ca587e9b3bea722e3f839b691f8f3dd817fc59f450aaf1af73097f2b09c4a66c
SHA512 806110fbb79b5d762cc2e740e16ca56ba5fcca58760d2bd084a4c598c59f2176308e4f173853deacad232b2c6aa6db528c2f32e957eb9169d6512bf7cd7011a4