Analysis
-
max time kernel
137s -
max time network
152s -
platform
windows10-2004_x64 -
resource
win10v2004-20230220-en -
resource tags
arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system -
submitted
16/05/2023, 12:06
Static task
static1
Behavioral task
behavioral1
Sample
lightning.exe
Resource
win7-20230220-en
Behavioral task
behavioral2
Sample
lightning.exe
Resource
win10v2004-20230220-en
General
-
Target
lightning.exe
-
Size
839KB
-
MD5
4f2580154b4ab4d50c523f539728ef98
-
SHA1
a7c32086d489c6a1218d7b63ca1a2ea39d61c79d
-
SHA256
f1e1cd828f56e8ebc2fbec269ca886b2d4701ddba9bf6d76ffa318b94e897e6e
-
SHA512
c7c19d3f28251162590637ccdd126cd12fbf7ffb8535f1d5d5eff05d6c179a24c5887bb7b198a0a73b4e5c223c64fd313d71f57a32d5f06cce23d04f8e19cbc3
-
SSDEEP
12288:UKysSV41pnri5YqWGRiQTWlTFh/KHY8xixAPf7JB96G:s4bnri5SQTWlD/K4ZxgfdB96G
Malware Config
Extracted
snakekeylogger
https://api.telegram.org/bot5478319803:AAHq9LkDUFBRvjOub4YfRlPURZxM59_BVnc/sendMessage?chat_id=5516439768
Signatures
-
Snake Keylogger
Keylogger and Infostealer first seen in November 2020.
-
Snake Keylogger payload 2 IoCs
resource yara_rule behavioral2/memory/3972-140-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger behavioral2/memory/3972-145-0x0000000004FB0000-0x0000000004FC0000-memory.dmp family_snakekeylogger -
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.
-
Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2548970870-3691742953-3895070203-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 lightning.exe Key opened \REGISTRY\USER\S-1-5-21-2548970870-3691742953-3895070203-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 lightning.exe Key opened \REGISTRY\USER\S-1-5-21-2548970870-3691742953-3895070203-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 lightning.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 56 checkip.dyndns.org -
Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4316 set thread context of 3972 4316 lightning.exe 92 -
Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 3972 lightning.exe 3972 lightning.exe -
Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 3972 lightning.exe -
Suspicious use of WriteProcessMemory 8 IoCs
description pid Process procid_target PID 4316 wrote to memory of 3972 4316 lightning.exe 92 PID 4316 wrote to memory of 3972 4316 lightning.exe 92 PID 4316 wrote to memory of 3972 4316 lightning.exe 92 PID 4316 wrote to memory of 3972 4316 lightning.exe 92 PID 4316 wrote to memory of 3972 4316 lightning.exe 92 PID 4316 wrote to memory of 3972 4316 lightning.exe 92 PID 4316 wrote to memory of 3972 4316 lightning.exe 92 PID 4316 wrote to memory of 3972 4316 lightning.exe 92 -
outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2548970870-3691742953-3895070203-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 lightning.exe -
outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2548970870-3691742953-3895070203-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 lightning.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\lightning.exe"C:\Users\Admin\AppData\Local\Temp\lightning.exe"1⤵
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:4316 -
C:\Users\Admin\AppData\Local\Temp\lightning.exe"C:\Users\Admin\AppData\Local\Temp\lightning.exe"2⤵
- Accesses Microsoft Outlook profiles
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
PID:3972
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
-
Filesize
1KB
MD58ec831f3e3a3f77e4a7b9cd32b48384c
SHA1d83f09fd87c5bd86e045873c231c14836e76a05c
SHA2567667e538030e3f8ce2886e47a01af24cb0ea70528b1e821c5d8832c5076cb982
SHA51226bffa2406b66368bd412bf25869a792631455645992cdcade2dbc13a2e56fb546414a6a9223b94c96c38d89187add6678d4779a88b38b0c9e36be8527b213c3