Analysis
-
max time kernel
146s -
max time network
204s -
platform
windows10-2004_x64 -
resource
win10v2004-20241007-en -
resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system -
submitted
04-11-2024 00:57
Static task
static1
Behavioral task
behavioral1
Sample
Contrarre.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
Contrarre.exe
Resource
win10v2004-20241007-en
General
-
Target
Contrarre.exe
-
Size
1.4MB
-
MD5
3dc3bbec8d0de761f7992a0464409ba8
-
SHA1
073728a153af98b84ab24726b373bd994d9688e6
-
SHA256
9aa6870924984dad7897c2efa17305143d0e95aba5b8ecb387577361c7657d0c
-
SHA512
8bbb9e321241326d7a4da14069a165455b805dc2f161aa83557ff2619bf6b12c10c9d80916eb60046a15306353167bfd9a3818d31e7931c30b6d345a3332059f
-
SSDEEP
24576:pqDEvCTbMWu7rQYlBQcBiT6rprG8arPWg0EGRxH9DD3/MfOJ4L/:pTvC/MTQYxsWR7arfqlg44L
Malware Config
Extracted
snakekeylogger
https://api.telegram.org/bot7814594885:AAHa3uCXluFI0wdWKPRtBnbO9yWlWuXuj84/sendMessage?chat_id=1178171552
Signatures
-
Snake Keylogger
Keylogger and Infostealer first seen in November 2020.
-
Snake Keylogger payload 33 IoCs
resource yara_rule behavioral2/memory/532-12-0x0000000005730000-0x000000000576A000-memory.dmp family_snakekeylogger behavioral2/memory/532-20-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-24-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-22-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-74-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-72-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-70-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-68-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-66-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-64-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-62-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-58-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-56-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-54-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-52-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-50-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-48-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-44-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-42-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-40-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-36-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-34-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-32-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-30-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-28-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-26-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-76-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-60-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-46-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-38-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-18-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-17-0x00000000057B0000-0x00000000057E3000-memory.dmp family_snakekeylogger behavioral2/memory/532-16-0x00000000057B0000-0x00000000057E8000-memory.dmp family_snakekeylogger -
Snakekeylogger family
-
Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.exe Key opened \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.exe Key opened \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.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 38 checkip.dyndns.org -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2000 set thread context of 532 2000 Contrarre.exe 99 -
System Location Discovery: System Language Discovery 1 TTPs 3 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language Contrarre.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language RegSvcs.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language Contrarre.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 532 RegSvcs.exe 532 RegSvcs.exe -
Suspicious behavior: MapViewOfSection 2 IoCs
pid Process 3956 Contrarre.exe 2000 Contrarre.exe -
Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 532 RegSvcs.exe -
Suspicious use of WriteProcessMemory 10 IoCs
description pid Process procid_target PID 3956 wrote to memory of 416 3956 Contrarre.exe 94 PID 3956 wrote to memory of 416 3956 Contrarre.exe 94 PID 3956 wrote to memory of 416 3956 Contrarre.exe 94 PID 3956 wrote to memory of 2000 3956 Contrarre.exe 95 PID 3956 wrote to memory of 2000 3956 Contrarre.exe 95 PID 3956 wrote to memory of 2000 3956 Contrarre.exe 95 PID 2000 wrote to memory of 532 2000 Contrarre.exe 99 PID 2000 wrote to memory of 532 2000 Contrarre.exe 99 PID 2000 wrote to memory of 532 2000 Contrarre.exe 99 PID 2000 wrote to memory of 532 2000 Contrarre.exe 99 -
outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.exe -
outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-3227495264-2217614367-4027411560-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\Contrarre.exe"C:\Users\Admin\AppData\Local\Temp\Contrarre.exe"1⤵
- System Location Discovery: System Language Discovery
- Suspicious behavior: MapViewOfSection
- Suspicious use of WriteProcessMemory
PID:3956 -
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"C:\Users\Admin\AppData\Local\Temp\Contrarre.exe"2⤵PID:416
-
-
C:\Users\Admin\AppData\Local\Temp\Contrarre.exe"C:\Users\Admin\AppData\Local\Temp\Contrarre.exe"2⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious behavior: MapViewOfSection
- Suspicious use of WriteProcessMemory
PID:2000 -
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"C:\Users\Admin\AppData\Local\Temp\Contrarre.exe"3⤵
- Accesses Microsoft Outlook profiles
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
PID:532
-
-