Malware Analysis Report

2024-11-30 07:44

Sample ID 240603-he714sgc23
Target A284 - 20240531_104518.bat.exe
SHA256 2fd124c946b4f17ea425efc750a9523c8e06c17b6e23671f706fe889bd2492e0
Tags
agenttesla keylogger persistence spyware stealer 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: behavioral2

Detonation Overview

Command Line

Signatures

Processes

Network

Files

Analysis Overview

score
10/10

SHA256

2fd124c946b4f17ea425efc750a9523c8e06c17b6e23671f706fe889bd2492e0

Threat Level: Known bad

The file A284 - 20240531_104518.bat.exe was found to be: Known bad.

Malicious Activity Summary

agenttesla keylogger persistence spyware stealer trojan

AgentTesla

Reads user/profile data of web browsers

Reads WinSCP keys stored on the system

Reads data files stored by FTP clients

Reads user/profile data of local email clients

Looks up external IP address via web service

Adds Run key to start application

Suspicious use of SetThreadContext

Suspicious use of WriteProcessMemory

Suspicious behavior: EnumeratesProcesses

Suspicious use of AdjustPrivilegeToken

MITRE ATT&CK

Analysis: static1

Detonation Overview

Reported

2024-06-03 06:40

Signatures

N/A

Analysis: behavioral1

Detonation Overview

Submitted

2024-06-03 06:40

Reported

2024-06-03 06:42

Platform

win7-20240221-en

Max time kernel

121s

Max time network

122s

Command Line

"C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe"

Signatures

AgentTesla

keylogger trojan stealer spyware agenttesla

Reads WinSCP keys stored on the system

spyware stealer

Reads data files stored by FTP clients

spyware stealer

Reads user/profile data of local email clients

spyware stealer

Reads user/profile data of web browsers

spyware stealer

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-1298544033-3225604241-2703760938-1000\Software\Microsoft\Windows\CurrentVersion\Run\GrOcCQC = "C:\\Users\\Admin\\AppData\\Roaming\\GrOcCQC\\GrOcCQC.exe" C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe N/A

Looks up external IP address via web service

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

Suspicious use of SetThreadContext

Description Indicator Process Target
PID 2164 set thread context of 1184 N/A C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe N/A

Suspicious use of WriteProcessMemory

Description Indicator Process Target
PID 2164 wrote to memory of 1184 N/A C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe
PID 2164 wrote to memory of 1184 N/A C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe
PID 2164 wrote to memory of 1184 N/A C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe
PID 2164 wrote to memory of 1184 N/A C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe
PID 2164 wrote to memory of 1184 N/A C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe
PID 2164 wrote to memory of 1184 N/A C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe
PID 2164 wrote to memory of 1184 N/A C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe
PID 2164 wrote to memory of 1184 N/A C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe
PID 2164 wrote to memory of 1184 N/A C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe

Processes

C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe

"C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe"

C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe

"C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe"

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

Files

memory/2164-0-0x0000000074C9E000-0x0000000074C9F000-memory.dmp

memory/2164-1-0x00000000012B0000-0x00000000013C0000-memory.dmp

memory/2164-2-0x0000000074C90000-0x000000007537E000-memory.dmp

C:\Users\Admin\AppData\LocalLow\Microsoft\CryptnetUrlCache\Content\94308059B57B3142E455B38A6EB92015

MD5 49aebf8cbd62d92ac215b2923fb1b9f5
SHA1 1723be06719828dda65ad804298d0431f6aff976
SHA256 b33efcb95235b98b48508e019afa4b7655e80cf071defabd8b2123fc8b29307f
SHA512 bf86116b015fb56709516d686e168e7c9c68365136231cc51d0b6542ae95323a71d2c7acec84aad7dcecc2e410843f6d82a0a6d51b9acfc721a9c84fdd877b5b

C:\Users\Admin\AppData\Local\Temp\Tar2285.tmp

MD5 4ea6026cf93ec6338144661bf1202cd1
SHA1 a1dec9044f750ad887935a01430bf49322fbdcb7
SHA256 8efbc21559ef8b1bcf526800d8070baad42474ce7198e26fa771dbb41a76b1d8
SHA512 6c7e0980e39aacf4c3689802353f464a08cd17753bd210ee997e5f2a455deb4f287a9ef74d84579dbde49bc96213cd2b8b247723919c412ea980aa6e6bfe218b

memory/2164-100-0x00000000007B0000-0x00000000007C6000-memory.dmp

memory/2164-101-0x0000000000A90000-0x0000000000A9E000-memory.dmp

memory/2164-102-0x0000000000B20000-0x0000000000B30000-memory.dmp

memory/2164-103-0x0000000005C80000-0x0000000005D38000-memory.dmp

memory/1184-109-0x0000000000400000-0x0000000000476000-memory.dmp

memory/1184-116-0x0000000000400000-0x0000000000476000-memory.dmp

memory/1184-114-0x0000000000400000-0x0000000000476000-memory.dmp

memory/1184-112-0x0000000000400000-0x0000000000476000-memory.dmp

memory/1184-110-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

memory/1184-108-0x0000000000400000-0x0000000000476000-memory.dmp

memory/1184-106-0x0000000000400000-0x0000000000476000-memory.dmp

memory/1184-105-0x0000000000400000-0x0000000000476000-memory.dmp

memory/2164-117-0x0000000074C90000-0x000000007537E000-memory.dmp

memory/1184-118-0x0000000074C90000-0x000000007537E000-memory.dmp

memory/1184-121-0x0000000074C90000-0x000000007537E000-memory.dmp

Analysis: behavioral2

Detonation Overview

Submitted

2024-06-03 06:40

Reported

2024-06-03 06:42

Platform

win10v2004-20240508-en

Max time kernel

128s

Max time network

149s

Command Line

"C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe"

Signatures

AgentTesla

keylogger trojan stealer spyware agenttesla

Reads WinSCP keys stored on the system

spyware stealer

Reads data files stored by FTP clients

spyware stealer

Reads user/profile data of local email clients

spyware stealer

Reads user/profile data of web browsers

spyware stealer

Adds Run key to start application

persistence
Description Indicator Process Target
Set value (str) \REGISTRY\USER\S-1-5-21-1337824034-2731376981-3755436523-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\GrOcCQC = "C:\\Users\\Admin\\AppData\\Roaming\\GrOcCQC\\GrOcCQC.exe" C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe N/A

Looks up external IP address via web service

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

Suspicious use of SetThreadContext

Description Indicator Process Target
PID 4368 set thread context of 4032 N/A C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe

Suspicious use of AdjustPrivilegeToken

Description Indicator Process Target
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe N/A
Token: SeDebugPrivilege N/A C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe N/A

Processes

C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe

"C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe"

C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe

"C:\Users\Admin\AppData\Local\Temp\A284 - 20240531_104518.bat.exe"

Network

Country Destination Domain Proto
US 8.8.8.8:53 196.249.167.52.in-addr.arpa udp
US 8.8.8.8:53 73.159.190.20.in-addr.arpa udp
US 8.8.8.8:53 88.156.103.20.in-addr.arpa udp
NL 23.62.61.155:443 www.bing.com tcp
US 8.8.8.8:53 155.61.62.23.in-addr.arpa udp
US 8.8.8.8:53 232.168.11.51.in-addr.arpa udp
US 8.8.8.8:53 ip-api.com udp
US 208.95.112.1:80 ip-api.com tcp
US 8.8.8.8:53 1.112.95.208.in-addr.arpa udp
US 8.8.8.8:53 mail.medicalhome.com.pe udp
CA 144.217.159.195:587 mail.medicalhome.com.pe tcp
US 8.8.8.8:53 195.159.217.144.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 172.210.232.199.in-addr.arpa udp
US 8.8.8.8:53 45.19.74.20.in-addr.arpa udp
US 8.8.8.8:53 23.236.111.52.in-addr.arpa udp

Files

memory/4368-0-0x00000000746DE000-0x00000000746DF000-memory.dmp

memory/4368-1-0x0000000000250000-0x0000000000360000-memory.dmp

memory/4368-2-0x0000000005340000-0x00000000058E4000-memory.dmp

memory/4368-3-0x0000000004D90000-0x0000000004E22000-memory.dmp

memory/4368-4-0x0000000004F90000-0x00000000052E4000-memory.dmp

memory/4368-5-0x0000000004F00000-0x0000000004F0A000-memory.dmp

memory/4368-6-0x00000000746D0000-0x0000000074E80000-memory.dmp

memory/4368-7-0x0000000005B80000-0x0000000005B96000-memory.dmp

memory/4368-8-0x00000000063B0000-0x00000000063BE000-memory.dmp

memory/4368-9-0x00000000063C0000-0x00000000063D0000-memory.dmp

memory/4368-10-0x0000000006430000-0x00000000064E8000-memory.dmp

memory/4368-11-0x0000000008C70000-0x0000000008D0C000-memory.dmp

memory/4032-12-0x0000000000400000-0x0000000000476000-memory.dmp

C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\A284 - 20240531_104518.bat.exe.log

MD5 b7b9acb869ccc7f7ecb5304ec0384dee
SHA1 6a90751c95817903ee833d59a0abbef425a613b3
SHA256 8cb00a15cd942a1861c573d86d6fb430512c8e2f80f6349f48b16b8709ca7aa4
SHA512 7bec881ac5f59ac26f1be1e7e26d63f040c06369de10c1c246e531a4395d27c335d9acc647ecdedb48ed37bdc2dc405a4cfc11762e1c00659a49be259eaf8764

memory/4032-15-0x00000000746D0000-0x0000000074E80000-memory.dmp

memory/4368-16-0x00000000746D0000-0x0000000074E80000-memory.dmp

memory/4032-17-0x00000000746D0000-0x0000000074E80000-memory.dmp

memory/4032-18-0x0000000005270000-0x00000000052D6000-memory.dmp

memory/4032-21-0x00000000066B0000-0x0000000006700000-memory.dmp

memory/4032-22-0x00000000746D0000-0x0000000074E80000-memory.dmp