Malware Analysis Report

2024-09-23 03:50

Sample ID 240526-p6y1vafc84
Target ob.exe
SHA256 97e9d58c9203373d457756c312075cf6d529115df21b1ccb02e22d8808cd9b23
Tags
metasploit backdoor execution persistence trojan
score
10/10

Table of Contents

Analysis Overview

MITRE ATT&CK Matrix

Analysis: static1

Detonation Overview

Signatures

Analysis: behavioral1

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

97e9d58c9203373d457756c312075cf6d529115df21b1ccb02e22d8808cd9b23

Threat Level: Known bad

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

Malicious Activity Summary

metasploit backdoor execution persistence trojan

MetaSploit

Metasploit family

Creates new service(s)

Blocklisted process makes network request

Executes dropped EXE

Drops file in System32 directory

Launches sc.exe

Unsigned PE

Suspicious use of WriteProcessMemory

MITRE ATT&CK Matrix V13

Analysis: static1

Detonation Overview

Reported

2024-05-26 12:57

Signatures

Metasploit family

metasploit

Unsigned PE

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

Analysis: behavioral1

Detonation Overview

Submitted

2024-05-26 12:57

Reported

2024-05-26 13:26

Platform

win7-20240419-en

Max time kernel

143s

Max time network

144s

Command Line

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

Signatures

MetaSploit

trojan backdoor metasploit

Blocklisted process makes network request

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\rundll32.exe N/A

Creates new service(s)

persistence execution

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\sms_service.exe N/A

Drops file in System32 directory

Description Indicator Process Target
File created \??\c:\windows\SysWOW64\sms_service.exe C:\Users\Admin\AppData\Local\Temp\ob.exe N/A
File opened for modification \??\c:\windows\SysWOW64\sms_service.exe C:\Windows\SysWOW64\rundll32.exe N/A

Launches sc.exe

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\sc.exe N/A
N/A N/A C:\Windows\SysWOW64\sc.exe N/A
N/A N/A C:\Windows\SysWOW64\sc.exe N/A
N/A N/A C:\Windows\SysWOW64\sc.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 2204 wrote to memory of 2536 N/A C:\Users\Admin\AppData\Local\Temp\ob.exe C:\Windows\SysWOW64\cmd.exe
PID 2204 wrote to memory of 2536 N/A C:\Users\Admin\AppData\Local\Temp\ob.exe C:\Windows\SysWOW64\cmd.exe
PID 2204 wrote to memory of 2536 N/A C:\Users\Admin\AppData\Local\Temp\ob.exe C:\Windows\SysWOW64\cmd.exe
PID 2204 wrote to memory of 2536 N/A C:\Users\Admin\AppData\Local\Temp\ob.exe C:\Windows\SysWOW64\cmd.exe
PID 2536 wrote to memory of 2592 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 2536 wrote to memory of 2592 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 2536 wrote to memory of 2592 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 2536 wrote to memory of 2592 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 2536 wrote to memory of 1048 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\findstr.exe
PID 2536 wrote to memory of 1048 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\findstr.exe
PID 2536 wrote to memory of 1048 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\findstr.exe
PID 2536 wrote to memory of 1048 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\findstr.exe
PID 2536 wrote to memory of 988 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 2536 wrote to memory of 988 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 2536 wrote to memory of 988 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 2536 wrote to memory of 988 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 2536 wrote to memory of 2148 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 2536 wrote to memory of 2148 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 2536 wrote to memory of 2148 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 2536 wrote to memory of 2148 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 2292 wrote to memory of 1284 N/A C:\Windows\SysWOW64\sms_service.exe C:\Windows\SysWOW64\rundll32.exe
PID 2292 wrote to memory of 1284 N/A C:\Windows\SysWOW64\sms_service.exe C:\Windows\SysWOW64\rundll32.exe
PID 2292 wrote to memory of 1284 N/A C:\Windows\SysWOW64\sms_service.exe C:\Windows\SysWOW64\rundll32.exe
PID 2292 wrote to memory of 1284 N/A C:\Windows\SysWOW64\sms_service.exe C:\Windows\SysWOW64\rundll32.exe
PID 2292 wrote to memory of 1284 N/A C:\Windows\SysWOW64\sms_service.exe C:\Windows\SysWOW64\rundll32.exe
PID 2292 wrote to memory of 1284 N/A C:\Windows\SysWOW64\sms_service.exe C:\Windows\SysWOW64\rundll32.exe
PID 2292 wrote to memory of 1284 N/A C:\Windows\SysWOW64\sms_service.exe C:\Windows\SysWOW64\rundll32.exe
PID 2292 wrote to memory of 1284 N/A C:\Windows\SysWOW64\sms_service.exe C:\Windows\SysWOW64\rundll32.exe
PID 1284 wrote to memory of 3020 N/A C:\Windows\SysWOW64\rundll32.exe C:\Windows\SysWOW64\cmd.exe
PID 1284 wrote to memory of 3020 N/A C:\Windows\SysWOW64\rundll32.exe C:\Windows\SysWOW64\cmd.exe
PID 1284 wrote to memory of 3020 N/A C:\Windows\SysWOW64\rundll32.exe C:\Windows\SysWOW64\cmd.exe
PID 1284 wrote to memory of 3020 N/A C:\Windows\SysWOW64\rundll32.exe C:\Windows\SysWOW64\cmd.exe
PID 3020 wrote to memory of 2980 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 3020 wrote to memory of 2980 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 3020 wrote to memory of 2980 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 3020 wrote to memory of 2980 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 3020 wrote to memory of 2500 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\findstr.exe
PID 3020 wrote to memory of 2500 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\findstr.exe
PID 3020 wrote to memory of 2500 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\findstr.exe
PID 3020 wrote to memory of 2500 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\findstr.exe

Processes

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

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

C:\Windows\SysWOW64\cmd.exe

cmd.exe /c sc query TextService | findstr /I /C:"SERVICE_NAME: TextService" && exit 0 || (echo "Service does not exist, proceeding..." && sc create TextService binPath= "C:\windows\system32\sms_service.exe" start= auto && sc start TextService)

C:\Windows\SysWOW64\sc.exe

sc query TextService

C:\Windows\SysWOW64\findstr.exe

findstr /I /C:"SERVICE_NAME: TextService"

C:\Windows\SysWOW64\sc.exe

sc create TextService binPath= "C:\windows\system32\sms_service.exe" start= auto

C:\Windows\SysWOW64\sc.exe

sc start TextService

C:\Windows\SysWOW64\sms_service.exe

C:\Windows\SysWOW64\sms_service.exe

C:\Windows\SysWOW64\rundll32.exe

rundll32.exe

C:\Windows\SysWOW64\cmd.exe

cmd.exe /c sc query TextService | findstr /I /C:"SERVICE_NAME: TextService" && exit 0 || (echo "Service does not exist, proceeding..." && sc create TextService binPath= "C:\windows\system32\sms_service.exe" start= auto && sc start TextService)

C:\Windows\SysWOW64\sc.exe

sc query TextService

C:\Windows\SysWOW64\findstr.exe

findstr /I /C:"SERVICE_NAME: TextService"

Network

Country Destination Domain Proto
US 146.190.15.117:60170 tcp
US 146.190.15.117:60170 tcp

Files

memory/2204-0-0x0000000000020000-0x0000000000021000-memory.dmp

memory/2204-2-0x0000000000290000-0x00000000002C1000-memory.dmp

memory/2204-6-0x0000000000290000-0x00000000002C1000-memory.dmp

memory/2204-1-0x00000000001C0000-0x00000000001EC000-memory.dmp

memory/2204-7-0x0000000000290000-0x00000000002C1000-memory.dmp

memory/2204-14-0x0000000002070000-0x0000000002170000-memory.dmp

memory/2204-15-0x0000000002170000-0x00000000021D3000-memory.dmp

memory/2204-20-0x0000000000290000-0x00000000002C1000-memory.dmp

memory/2204-35-0x0000000002560000-0x0000000002585000-memory.dmp

memory/2204-40-0x0000000002070000-0x0000000002170000-memory.dmp

memory/2204-41-0x0000000000290000-0x00000000002C1000-memory.dmp

memory/2204-45-0x0000000000290000-0x00000000002C1000-memory.dmp

memory/2204-56-0x0000000000290000-0x00000000002C1000-memory.dmp

memory/2204-55-0x0000000000290000-0x00000000002C1000-memory.dmp

C:\Windows\SysWOW64\sms_service.exe

MD5 a764d19701c5fc1d48083270e945743a
SHA1 d4af43b67757b89b9cf0c8ef11308b3d2ba56e43
SHA256 d364328da5e9db108ea3aaa5a87c1524386552aeae57778daa2789a2213ed359
SHA512 9b75e6a1375d136be6451cf62ef910508bfc24fc453074996bec70a7913ef5e8261c5c1c887fc1dd812ac9ee98c474942d9de28ee5cc0e66bf342b1a03915195

memory/2292-58-0x0000000000400000-0x0000000000409000-memory.dmp

memory/2292-62-0x0000000000400000-0x0000000000409000-memory.dmp

memory/1284-60-0x0000000000090000-0x0000000000091000-memory.dmp

memory/1284-59-0x0000000000090000-0x0000000000091000-memory.dmp

memory/1284-63-0x0000000000090000-0x0000000000091000-memory.dmp

memory/1284-68-0x0000000000230000-0x0000000000261000-memory.dmp

memory/1284-64-0x0000000000230000-0x0000000000261000-memory.dmp

memory/1284-69-0x0000000000200000-0x000000000022C000-memory.dmp

memory/1284-70-0x0000000000230000-0x0000000000261000-memory.dmp

memory/1284-82-0x0000000001280000-0x0000000001380000-memory.dmp

memory/1284-103-0x00000000005F0000-0x00000000006F0000-memory.dmp

\??\c:\windows\SysWOW64\sms_service.exe

MD5 d41d8cd98f00b204e9800998ecf8427e
SHA1 da39a3ee5e6b4b0d3255bfef95601890afd80709
SHA256 e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855
SHA512 cf83e1357eefb8bdf1542850d66d8007d620e4050b5715dc83f4a921d36ce9ce47d0d13c5d85f2b0ff8318d2877eec2f63b931bd47417a81a538327af927da3e

memory/2204-123-0x00000000001C0000-0x00000000001EC000-memory.dmp

memory/2204-124-0x0000000002070000-0x0000000002170000-memory.dmp

memory/2204-125-0x0000000002070000-0x0000000002170000-memory.dmp

memory/1284-128-0x0000000001280000-0x0000000001380000-memory.dmp

memory/1284-129-0x00000000005F0000-0x00000000006F0000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-05-26 12:57

Reported

2024-05-26 13:26

Platform

win10v2004-20240508-en

Max time kernel

144s

Max time network

146s

Command Line

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

Signatures

MetaSploit

trojan backdoor metasploit

Blocklisted process makes network request

Description Indicator Process Target
N/A N/A C:\windows\SysWOW64\rundll32.exe N/A

Creates new service(s)

persistence execution

Executes dropped EXE

Description Indicator Process Target
N/A N/A C:\windows\SysWOW64\sms_service.exe N/A

Drops file in System32 directory

Description Indicator Process Target
File created \??\c:\windows\SysWOW64\sms_service.exe C:\Users\Admin\AppData\Local\Temp\ob.exe N/A
File opened for modification \??\c:\windows\SysWOW64\sms_service.exe C:\windows\SysWOW64\rundll32.exe N/A

Launches sc.exe

Description Indicator Process Target
N/A N/A C:\Windows\SysWOW64\sc.exe N/A
N/A N/A C:\Windows\SysWOW64\sc.exe N/A
N/A N/A C:\Windows\SysWOW64\sc.exe N/A
N/A N/A C:\Windows\SysWOW64\sc.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 5084 wrote to memory of 3740 N/A C:\Users\Admin\AppData\Local\Temp\ob.exe C:\Windows\SysWOW64\cmd.exe
PID 5084 wrote to memory of 3740 N/A C:\Users\Admin\AppData\Local\Temp\ob.exe C:\Windows\SysWOW64\cmd.exe
PID 5084 wrote to memory of 3740 N/A C:\Users\Admin\AppData\Local\Temp\ob.exe C:\Windows\SysWOW64\cmd.exe
PID 3740 wrote to memory of 3524 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 3740 wrote to memory of 3524 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 3740 wrote to memory of 3524 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 3740 wrote to memory of 4784 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\findstr.exe
PID 3740 wrote to memory of 4784 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\findstr.exe
PID 3740 wrote to memory of 4784 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\findstr.exe
PID 3740 wrote to memory of 4740 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 3740 wrote to memory of 4740 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 3740 wrote to memory of 4740 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 3740 wrote to memory of 868 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 3740 wrote to memory of 868 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 3740 wrote to memory of 868 N/A C:\Windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 1676 wrote to memory of 1656 N/A C:\windows\SysWOW64\sms_service.exe C:\windows\SysWOW64\rundll32.exe
PID 1676 wrote to memory of 1656 N/A C:\windows\SysWOW64\sms_service.exe C:\windows\SysWOW64\rundll32.exe
PID 1676 wrote to memory of 1656 N/A C:\windows\SysWOW64\sms_service.exe C:\windows\SysWOW64\rundll32.exe
PID 1676 wrote to memory of 1656 N/A C:\windows\SysWOW64\sms_service.exe C:\windows\SysWOW64\rundll32.exe
PID 1656 wrote to memory of 2456 N/A C:\windows\SysWOW64\rundll32.exe C:\windows\SysWOW64\cmd.exe
PID 1656 wrote to memory of 2456 N/A C:\windows\SysWOW64\rundll32.exe C:\windows\SysWOW64\cmd.exe
PID 1656 wrote to memory of 2456 N/A C:\windows\SysWOW64\rundll32.exe C:\windows\SysWOW64\cmd.exe
PID 2456 wrote to memory of 2860 N/A C:\windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 2456 wrote to memory of 2860 N/A C:\windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 2456 wrote to memory of 2860 N/A C:\windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\sc.exe
PID 2456 wrote to memory of 4068 N/A C:\windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\findstr.exe
PID 2456 wrote to memory of 4068 N/A C:\windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\findstr.exe
PID 2456 wrote to memory of 4068 N/A C:\windows\SysWOW64\cmd.exe C:\Windows\SysWOW64\findstr.exe

Processes

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

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

C:\Windows\SysWOW64\cmd.exe

cmd.exe /c sc query TextService | findstr /I /C:"SERVICE_NAME: TextService" && exit 0 || (echo "Service does not exist, proceeding..." && sc create TextService binPath= "C:\windows\system32\sms_service.exe" start= auto && sc start TextService)

C:\Windows\SysWOW64\sc.exe

sc query TextService

C:\Windows\SysWOW64\findstr.exe

findstr /I /C:"SERVICE_NAME: TextService"

C:\Windows\SysWOW64\sc.exe

sc create TextService binPath= "C:\windows\system32\sms_service.exe" start= auto

C:\Windows\SysWOW64\sc.exe

sc start TextService

C:\windows\SysWOW64\sms_service.exe

C:\windows\SysWOW64\sms_service.exe

C:\windows\SysWOW64\rundll32.exe

rundll32.exe

C:\windows\SysWOW64\cmd.exe

cmd.exe /c sc query TextService | findstr /I /C:"SERVICE_NAME: TextService" && exit 0 || (echo "Service does not exist, proceeding..." && sc create TextService binPath= "C:\windows\system32\sms_service.exe" start= auto && sc start TextService)

C:\Windows\SysWOW64\sc.exe

sc query TextService

C:\Windows\SysWOW64\findstr.exe

findstr /I /C:"SERVICE_NAME: TextService"

Network

Country Destination Domain Proto
US 146.190.15.117:60170 tcp
US 8.8.8.8:53 8.8.8.8.in-addr.arpa udp
US 8.8.8.8:53 117.15.190.146.in-addr.arpa udp
US 8.8.8.8:53 97.17.167.52.in-addr.arpa udp
US 8.8.8.8:53 91.90.14.23.in-addr.arpa udp
US 8.8.8.8:53 95.221.229.192.in-addr.arpa udp
US 8.8.8.8:53 75.159.190.20.in-addr.arpa udp
US 146.190.15.117:60170 tcp
US 8.8.8.8:53 13.86.106.20.in-addr.arpa udp
US 8.8.8.8:53 157.123.68.40.in-addr.arpa udp
US 8.8.8.8:53 206.23.85.13.in-addr.arpa udp
US 8.8.8.8:53 82.90.14.23.in-addr.arpa udp
US 8.8.8.8:53 30.243.111.52.in-addr.arpa udp

Files

memory/5084-0-0x0000000000630000-0x0000000000631000-memory.dmp

memory/5084-1-0x00000000008C0000-0x00000000008EC000-memory.dmp

memory/5084-2-0x0000000000930000-0x0000000000961000-memory.dmp

memory/5084-6-0x0000000000930000-0x0000000000961000-memory.dmp

memory/5084-7-0x0000000000930000-0x0000000000961000-memory.dmp

memory/5084-14-0x0000000002690000-0x00000000026F3000-memory.dmp

memory/5084-19-0x0000000002590000-0x0000000002690000-memory.dmp

memory/5084-20-0x0000000000930000-0x0000000000961000-memory.dmp

memory/5084-35-0x0000000002700000-0x0000000002725000-memory.dmp

memory/5084-40-0x0000000002590000-0x0000000002690000-memory.dmp

memory/5084-41-0x0000000000930000-0x0000000000961000-memory.dmp

memory/5084-45-0x0000000000930000-0x0000000000961000-memory.dmp

memory/5084-55-0x0000000000930000-0x0000000000961000-memory.dmp

memory/5084-56-0x0000000000930000-0x0000000000961000-memory.dmp

C:\Windows\SysWOW64\sms_service.exe

MD5 a764d19701c5fc1d48083270e945743a
SHA1 d4af43b67757b89b9cf0c8ef11308b3d2ba56e43
SHA256 d364328da5e9db108ea3aaa5a87c1524386552aeae57778daa2789a2213ed359
SHA512 9b75e6a1375d136be6451cf62ef910508bfc24fc453074996bec70a7913ef5e8261c5c1c887fc1dd812ac9ee98c474942d9de28ee5cc0e66bf342b1a03915195

memory/1676-59-0x0000000000400000-0x0000000000409000-memory.dmp

memory/1656-60-0x00000000007C0000-0x00000000007C1000-memory.dmp

memory/1656-62-0x00000000007C0000-0x00000000007C1000-memory.dmp

memory/1656-63-0x0000000001230000-0x0000000001261000-memory.dmp

memory/1656-67-0x0000000001230000-0x0000000001261000-memory.dmp

memory/1656-68-0x0000000001200000-0x000000000122C000-memory.dmp

memory/1656-70-0x0000000001230000-0x0000000001261000-memory.dmp

memory/1656-77-0x00000000017B0000-0x0000000001813000-memory.dmp

memory/1656-82-0x00000000016B0000-0x00000000017B0000-memory.dmp

memory/1656-103-0x00000000016B0000-0x00000000017B0000-memory.dmp

memory/5084-124-0x00000000008C0000-0x00000000008EC000-memory.dmp

memory/5084-125-0x0000000002590000-0x0000000002690000-memory.dmp

memory/5084-128-0x0000000002590000-0x0000000002690000-memory.dmp

memory/1656-129-0x00000000016B0000-0x00000000017B0000-memory.dmp

memory/1656-130-0x00000000016B0000-0x00000000017B0000-memory.dmp