Analysis
- max time kernel
60s - max time network
135s - platform
windows10-2004_x64 - resource
win10v2004-20220901-en - resource tags
arch:x64arch:x86image:win10v2004-20220901-enlocale:en-usos:windows10-2004-x64system - submitted
27/10/2022, 16:00
Static task
static1
Behavioral task
behavioral1
Sample
invoice.exe
Resource
win7-20220812-en
Behavioral task
behavioral2
Sample
invoice.exe
Resource
win10v2004-20220901-en
General
- Target invoice.exe
- Size 850KB
- Sample221027-tfnjmscfe5
- SHA256 e9e4317a89ca227ca7a5cec8b3b1a0dc86285373ef067159f6db934ea0bda8e3
- MD5 05467dd6c3412799be093072acd1ea75
- SHA1 8e492bd7aae29f7bb4d33dbde8227e5487595440
- SHA512 b71c254a3027e31d6d8588d7cdeac9cc078d39a2f00fd0136b6dca793fa1eb8877d87db0249bd9f84861c6daa48e88e48b4413db8ef111e7b688f2cd6c14c1ea
- SSDEEP 12288:wuaAgHtDg5xE1TwWXFF/oi9uCyRE//GZxlsyMdVorLb355w3z5LErqC:wV4BWVF/oQufG/GiyGorX3g39S
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
snakekeylogger
-
https://api.telegram.org/bot1644755040:AAGRTnph6BdO8-t1bJaOyVu9aeuJErmisqs/sendMessage?chat_id=1637651323
Signatures
- Snake Keylogger
Keylogger and Infostealer first seen in November 2020.
- Snake Keylogger payload 1 IoCs
resource yara_rule behavioral2/memory/5008-140-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger - 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-929662420-1054238289-2961194603-1000\Control Panel\International\Geo\Nation invoice.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.
- Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-929662420-1054238289-2961194603-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 invoice.exe Key opened \REGISTRY\USER\S-1-5-21-929662420-1054238289-2961194603-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 invoice.exe Key opened \REGISTRY\USER\S-1-5-21-929662420-1054238289-2961194603-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 invoice.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 32 checkip.dyndns.org - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1984 set thread context of 5008 1984 invoice.exe 93 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.
- Creates scheduled task(s) 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 1860 schtasks.exe - Suspicious behavior: EnumeratesProcesses 2 IoCs
pid Process 1984 invoice.exe 5008 invoice.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 1984 invoice.exe Token: SeDebugPrivilege 5008 invoice.exe - Suspicious use of WriteProcessMemory 11 IoCs
description pid Process procid_target PID 1984 wrote to memory of 1860 1984 invoice.exe 91 PID 1984 wrote to memory of 1860 1984 invoice.exe 91 PID 1984 wrote to memory of 1860 1984 invoice.exe 91 PID 1984 wrote to memory of 5008 1984 invoice.exe 93 PID 1984 wrote to memory of 5008 1984 invoice.exe 93 PID 1984 wrote to memory of 5008 1984 invoice.exe 93 PID 1984 wrote to memory of 5008 1984 invoice.exe 93 PID 1984 wrote to memory of 5008 1984 invoice.exe 93 PID 1984 wrote to memory of 5008 1984 invoice.exe 93 PID 1984 wrote to memory of 5008 1984 invoice.exe 93 PID 1984 wrote to memory of 5008 1984 invoice.exe 93 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-929662420-1054238289-2961194603-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 invoice.exe - outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-929662420-1054238289-2961194603-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 invoice.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\invoice.exe"C:\Users\Admin\AppData\Local\Temp\invoice.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1984 -
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\GnNqNmO" /XML "C:\Users\Admin\AppData\Local\Temp\tmp6E4A.tmp"2⤵
- Creates scheduled task(s)
PID:1860
-
-
C:\Users\Admin\AppData\Local\Temp\invoice.exe"{path}"2⤵
- Accesses Microsoft Outlook profiles
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
PID:5008
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\invoice.exe.log
- Size 1KB
- SHA256 e16024b092a026a9dc00df69d4b9bbcab7b2dc178dc5291fc308a1abc9304a99
- MD5 84e77a587d94307c0ac1357eb4d3d46f
- SHA1 83cc900f9401f43d181207d64c5adba7a85edc1e
- SHA512 aefb5c62200b3ed97718d20a89990954d4d8acdc0a6a73c5a420f1bba619cb79e70c2cd0a579b9f52dc6b09e1de2cea6cd6cac4376cfee92d94e2c01d310f691
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\tmp6E4A.tmp
- Size 1KB
- SHA256 2e5520461423a9e3ba2055c3511734a088b873955803a762bffb2a797d8cc779
- MD5 b4602031ee816e3434579e635095594b
- SHA1 c9a1d19250c4b38782771e5dfaf8ac3acb6fd154
- SHA512 f26c7c9467a1b4b8962dee67a9c4078adfa647e2d4ba83ed893904fa680f4d8c6a802ba8ce6dbbb6dc3efff8ce1d2d749d0b30982422ac3d231c4aadd071baf8
- MD5 SHA1 SHA512