Analysis
-
max time kernel
94s -
max time network
155s -
platform
windows10-2004_x64 -
resource
win10v2004-20240226-en -
resource tags
arch:x64arch:x86image:win10v2004-20240226-enlocale:en-usos:windows10-2004-x64system -
submitted
27-03-2024 07:32
Static task
static1
Behavioral task
behavioral1
Sample
rInquiry.exe
Resource
win7-20240221-en
Behavioral task
behavioral2
Sample
rInquiry.exe
Resource
win10v2004-20240226-en
General
-
Target
rInquiry.exe
-
Size
602KB
-
MD5
cdef16a2a2116cd907aa817b11217cfd
-
SHA1
d23ba1f017c0e65ba65203c889a2bea963d63d3a
-
SHA256
da6572812314662cf364e04dc4db580245e4598063fe952cb509575ca88392f6
-
SHA512
9ad7168fd876ceb36229330092f2f70d5a305e9422ff7cc321684c3210ad217a214ed517041f0738eb1a98b977232dcf01d8f8e6a3ca03e3a6261baef94d90ae
-
SSDEEP
12288:lYyGYZS6ESbpYa4i2BzmVNhsBQN/nRTOPihFr3iUR42q6N:IUDESbwylT/nRKWrPN
Malware Config
Extracted
agenttesla
Protocol: smtp- Host:
terminal4.veeblehosting.com - Port:
587 - Username:
[email protected] - Password:
Ifeanyi1987@ - Email To:
[email protected]
Signatures
-
AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
-
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
Processes:
rInquiry.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-513485977-2495024337-1260977654-1000\Control Panel\International\Geo\Nation rInquiry.exe -
Executes dropped EXE 1 IoCs
Processes:
svchost.exepid process 5084 svchost.exe -
Adds Run key to start application 2 TTPs 1 IoCs
Processes:
rInquiry.exedescription ioc process Set value (str) \REGISTRY\USER\S-1-5-21-513485977-2495024337-1260977654-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\svchost = "\"C:\\Users\\Admin\\AppData\\Roaming\\svchost.exe\"" rInquiry.exe -
Looks up external IP address via web service 1 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
Processes:
flow ioc 38 ip-api.com -
Suspicious use of SetThreadContext 1 IoCs
Processes:
svchost.exedescription pid process target process PID 5084 set thread context of 4736 5084 svchost.exe msbuild.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Creates scheduled task(s) 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
-
Delays execution with timeout.exe 1 IoCs
Processes:
timeout.exepid process 1128 timeout.exe -
Suspicious behavior: EnumeratesProcesses 26 IoCs
Processes:
rInquiry.exemsbuild.exepid process 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 1972 rInquiry.exe 4736 msbuild.exe 4736 msbuild.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
Processes:
rInquiry.exesvchost.exemsbuild.exedescription pid process Token: SeDebugPrivilege 1972 rInquiry.exe Token: SeDebugPrivilege 5084 svchost.exe Token: SeDebugPrivilege 4736 msbuild.exe -
Suspicious use of WriteProcessMemory 18 IoCs
Processes:
rInquiry.execmd.execmd.exesvchost.exedescription pid process target process PID 1972 wrote to memory of 3756 1972 rInquiry.exe cmd.exe PID 1972 wrote to memory of 3756 1972 rInquiry.exe cmd.exe PID 1972 wrote to memory of 2108 1972 rInquiry.exe cmd.exe PID 1972 wrote to memory of 2108 1972 rInquiry.exe cmd.exe PID 3756 wrote to memory of 4304 3756 cmd.exe schtasks.exe PID 3756 wrote to memory of 4304 3756 cmd.exe schtasks.exe PID 2108 wrote to memory of 1128 2108 cmd.exe timeout.exe PID 2108 wrote to memory of 1128 2108 cmd.exe timeout.exe PID 2108 wrote to memory of 5084 2108 cmd.exe svchost.exe PID 2108 wrote to memory of 5084 2108 cmd.exe svchost.exe PID 5084 wrote to memory of 4736 5084 svchost.exe msbuild.exe PID 5084 wrote to memory of 4736 5084 svchost.exe msbuild.exe PID 5084 wrote to memory of 4736 5084 svchost.exe msbuild.exe PID 5084 wrote to memory of 4736 5084 svchost.exe msbuild.exe PID 5084 wrote to memory of 4736 5084 svchost.exe msbuild.exe PID 5084 wrote to memory of 4736 5084 svchost.exe msbuild.exe PID 5084 wrote to memory of 4736 5084 svchost.exe msbuild.exe PID 5084 wrote to memory of 4736 5084 svchost.exe msbuild.exe -
Uses Task Scheduler COM API 1 TTPs
The Task Scheduler COM API can be used to schedule applications to run on boot or at set times.
Processes
-
C:\Users\Admin\AppData\Local\Temp\rInquiry.exe"C:\Users\Admin\AppData\Local\Temp\rInquiry.exe"1⤵
- Checks computer location settings
- Adds Run key to start application
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
-
C:\Windows\System32\cmd.exe"C:\Windows\System32\cmd.exe" /c schtasks /create /f /sc onlogon /rl highest /tn "svchost" /tr '"C:\Users\Admin\AppData\Roaming\svchost.exe"' & exit2⤵
- Suspicious use of WriteProcessMemory
-
C:\Windows\system32\schtasks.exeschtasks /create /f /sc onlogon /rl highest /tn "svchost" /tr '"C:\Users\Admin\AppData\Roaming\svchost.exe"'3⤵
- Creates scheduled task(s)
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c ""C:\Users\Admin\AppData\Local\Temp\tmpADC4.tmp.bat""2⤵
- Suspicious use of WriteProcessMemory
-
C:\Windows\system32\timeout.exetimeout 33⤵
- Delays execution with timeout.exe
-
C:\Users\Admin\AppData\Roaming\svchost.exe"C:\Users\Admin\AppData\Roaming\svchost.exe"3⤵
- Executes dropped EXE
- Suspicious use of SetThreadContext
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
-
C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\msbuild.exe"4⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
Network
MITRE ATT&CK Matrix ATT&CK v13
Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Users\Admin\AppData\Local\Temp\tmpADC4.tmp.batFilesize
151B
MD52e3ed3716329e85cc62db8df9387ebfb
SHA142ab4dccae90e9da6d2f7cc5380c66297086365d
SHA256b756d390143f3c7d81119cd3a174854eef71e9432d60e6e0468ad587cbd90e37
SHA5123f5cc2956c1a49849cc134ef9dc847fa8ed3db73f660c165321817490995e515520c18bb80c112b44860f770bc5580d0ceee0a42c6d7f327e0124c8810dc84fc
-
C:\Users\Admin\AppData\Roaming\svchost.exeFilesize
602KB
MD5cdef16a2a2116cd907aa817b11217cfd
SHA1d23ba1f017c0e65ba65203c889a2bea963d63d3a
SHA256da6572812314662cf364e04dc4db580245e4598063fe952cb509575ca88392f6
SHA5129ad7168fd876ceb36229330092f2f70d5a305e9422ff7cc321684c3210ad217a214ed517041f0738eb1a98b977232dcf01d8f8e6a3ca03e3a6261baef94d90ae
-
memory/1972-0-0x00000291BCFC0000-0x00000291BCFC8000-memory.dmpFilesize
32KB
-
memory/1972-1-0x00007FFBAC6C0000-0x00007FFBAD181000-memory.dmpFilesize
10.8MB
-
memory/1972-2-0x00000291D7410000-0x00000291D7420000-memory.dmpFilesize
64KB
-
memory/1972-3-0x00000291D7590000-0x00000291D7626000-memory.dmpFilesize
600KB
-
memory/1972-9-0x00007FFBAC6C0000-0x00007FFBAD181000-memory.dmpFilesize
10.8MB
-
memory/4736-14-0x0000000000400000-0x0000000000442000-memory.dmpFilesize
264KB
-
memory/4736-15-0x00000000746E0000-0x0000000074E90000-memory.dmpFilesize
7.7MB
-
memory/4736-16-0x0000000005BF0000-0x0000000006194000-memory.dmpFilesize
5.6MB
-
memory/4736-18-0x0000000005510000-0x0000000005520000-memory.dmpFilesize
64KB
-
memory/4736-19-0x00000000056B0000-0x0000000005716000-memory.dmpFilesize
408KB
-
memory/4736-20-0x00000000069A0000-0x00000000069F0000-memory.dmpFilesize
320KB
-
memory/4736-21-0x0000000006A90000-0x0000000006B22000-memory.dmpFilesize
584KB
-
memory/4736-22-0x0000000006A20000-0x0000000006A2A000-memory.dmpFilesize
40KB
-
memory/4736-23-0x00000000746E0000-0x0000000074E90000-memory.dmpFilesize
7.7MB
-
memory/4736-24-0x0000000005510000-0x0000000005520000-memory.dmpFilesize
64KB
-
memory/5084-13-0x00007FFBABDA0000-0x00007FFBAC861000-memory.dmpFilesize
10.8MB
-
memory/5084-17-0x00007FFBABDA0000-0x00007FFBAC861000-memory.dmpFilesize
10.8MB