Analysis
-
max time kernel
120s -
max time network
131s -
platform
windows7_x64 -
resource
win7-20240903-en -
resource tags
arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system -
submitted
28-10-2024 17:02
Static task
static1
Behavioral task
behavioral1
Sample
Contract.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
Contract.exe
Resource
win10v2004-20241007-en
General
-
Target
Contract.exe
-
Size
1.1MB
-
MD5
99ca910b16db27ba66db9cbec2415cea
-
SHA1
cad321a828e9a42d6487be7bff031470cb06080b
-
SHA256
98ad6abcac89f5fe797e52b948b022c86b77960d89d0d0c08a74342e4ab2d0f5
-
SHA512
b0f2517ec1fa23552c0adfafc6fabbb22c491cb8071fb4a1028c94e36e6c54b25ea00dd2d3e34f306f105c7df9d15f8f58ab7f8f5d7ed9b913ebff4a87a6065b
-
SSDEEP
24576:ffmMv6Ckr7Mny5QLrqN39nuk3kDWKOQsZkDpI:f3v+7/5QLrqNtuJaKOQ0kDpI
Malware Config
Extracted
snakekeylogger
https://api.telegram.org/bot7498931539:AAE8KHb70FueL6YmOOF6rhS3Z3o-F1rx6_A/sendMessage?chat_id=1178171552
Signatures
-
Snake Keylogger
Keylogger and Infostealer first seen in November 2020.
-
Snake Keylogger payload 33 IoCs
resource yara_rule behavioral1/memory/824-8-0x0000000000330000-0x000000000036A000-memory.dmp family_snakekeylogger behavioral1/memory/824-9-0x00000000003A0000-0x00000000003D8000-memory.dmp family_snakekeylogger behavioral1/memory/824-14-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-18-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-24-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-22-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-20-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-16-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-13-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-26-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-34-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-50-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-58-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-56-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-54-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-52-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-48-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-46-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-44-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-42-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-40-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-38-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-36-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-32-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-30-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-28-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-72-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-70-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-68-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-66-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-64-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-62-0x00000000003A0000-0x00000000003D3000-memory.dmp family_snakekeylogger behavioral1/memory/824-60-0x00000000003A0000-0x00000000003D3000-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-1488793075-819845221-1497111674-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.exe Key opened \REGISTRY\USER\S-1-5-21-1488793075-819845221-1497111674-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.exe Key opened \REGISTRY\USER\S-1-5-21-1488793075-819845221-1497111674-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 4 checkip.dyndns.org -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2512 set thread context of 824 2512 Contract.exe 31 -
Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
-
System Location Discovery: System Language Discovery 1 TTPs 2 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 Contract.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language RegSvcs.exe -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 824 RegSvcs.exe 824 RegSvcs.exe -
Suspicious behavior: MapViewOfSection 1 IoCs
pid Process 2512 Contract.exe -
Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 824 RegSvcs.exe -
Suspicious use of FindShellTrayWindow 2 IoCs
pid Process 2512 Contract.exe 2512 Contract.exe -
Suspicious use of SendNotifyMessage 2 IoCs
pid Process 2512 Contract.exe 2512 Contract.exe -
Suspicious use of WriteProcessMemory 8 IoCs
description pid Process procid_target PID 2512 wrote to memory of 824 2512 Contract.exe 31 PID 2512 wrote to memory of 824 2512 Contract.exe 31 PID 2512 wrote to memory of 824 2512 Contract.exe 31 PID 2512 wrote to memory of 824 2512 Contract.exe 31 PID 2512 wrote to memory of 824 2512 Contract.exe 31 PID 2512 wrote to memory of 824 2512 Contract.exe 31 PID 2512 wrote to memory of 824 2512 Contract.exe 31 PID 2512 wrote to memory of 824 2512 Contract.exe 31 -
outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-1488793075-819845221-1497111674-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-1488793075-819845221-1497111674-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 RegSvcs.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\Contract.exe"C:\Users\Admin\AppData\Local\Temp\Contract.exe"1⤵
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious behavior: MapViewOfSection
- Suspicious use of FindShellTrayWindow
- Suspicious use of SendNotifyMessage
- Suspicious use of WriteProcessMemory
PID:2512 -
C:\Windows\Microsoft.NET\Framework\v4.0.30319\RegSvcs.exe"C:\Users\Admin\AppData\Local\Temp\Contract.exe"2⤵
- Accesses Microsoft Outlook profiles
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
PID:824
-