Analysis
- max time kernel
115s - max time network
149s - platform
windows10-2004_x64 - resource
win10v2004-20230220-en - resource tags
arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system - submitted
07/03/2023, 12:27
Static task
static1
Behavioral task
behavioral1
Sample
file.exe
Resource
win7-20230220-en
Behavioral task
behavioral2
Sample
file.exe
Resource
win10v2004-20230220-en
General
- Target file.exe
- Size 774KB
- Sample230307-pmrseshc81
- SHA256 1896efa72cff54069401ed803a33765d3f6ca525aba0be3c5d7f27c9f9e02269
- MD5 1626c722d58a3429b25184fe3d6f601e
- SHA1 ec305bf341f7372711dadccef52b7af11e012552
- SHA512 1efb630d3867f2cadce83c4ef860fb4a34417ac4eb20ee821edc523289fc01cd8989cedbe481958ecd83ae2d2fc84e5592681a2cb1a6eb6da60e770c47b2ed3a
- SSDEEP 12288:Sk/XAxyOfqNYyVHY5LTyvQR2Y0c6F76TIHZb+3Ix:SkvAxyOCzY5LKY96IIHZb9
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
-
snakekeylogger
-
https://api.telegram.org/bot5875198898:AAHb7cYwGrkdJdBq0_UiL6kYLg7WcXhadcM/sendMessage?chat_id=5279616630
Signatures
- Snake Keylogger
Keylogger and Infostealer first seen in November 2020.
- Snake Keylogger payload 1 IoCs
resource yara_rule behavioral2/memory/2144-145-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-1529757233-3489015626-3409890339-1000\Control Panel\International\Geo\Nation file.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-1529757233-3489015626-3409890339-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 file.exe Key opened \REGISTRY\USER\S-1-5-21-1529757233-3489015626-3409890339-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 file.exe Key opened \REGISTRY\USER\S-1-5-21-1529757233-3489015626-3409890339-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 file.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 41 checkip.dyndns.org - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2020 set thread context of 2144 2020 file.exe 97 - 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 1476 schtasks.exe - Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 3788 powershell.exe 2144 file.exe 3788 powershell.exe 2144 file.exe - Suspicious use of AdjustPrivilegeToken 2 IoCs
description pid Process Token: SeDebugPrivilege 3788 powershell.exe Token: SeDebugPrivilege 2144 file.exe - Suspicious use of WriteProcessMemory 14 IoCs
description pid Process procid_target PID 2020 wrote to memory of 3788 2020 file.exe 93 PID 2020 wrote to memory of 3788 2020 file.exe 93 PID 2020 wrote to memory of 3788 2020 file.exe 93 PID 2020 wrote to memory of 1476 2020 file.exe 95 PID 2020 wrote to memory of 1476 2020 file.exe 95 PID 2020 wrote to memory of 1476 2020 file.exe 95 PID 2020 wrote to memory of 2144 2020 file.exe 97 PID 2020 wrote to memory of 2144 2020 file.exe 97 PID 2020 wrote to memory of 2144 2020 file.exe 97 PID 2020 wrote to memory of 2144 2020 file.exe 97 PID 2020 wrote to memory of 2144 2020 file.exe 97 PID 2020 wrote to memory of 2144 2020 file.exe 97 PID 2020 wrote to memory of 2144 2020 file.exe 97 PID 2020 wrote to memory of 2144 2020 file.exe 97 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-1529757233-3489015626-3409890339-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 file.exe - outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-1529757233-3489015626-3409890339-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 file.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\file.exe"C:\Users\Admin\AppData\Local\Temp\file.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- Suspicious use of WriteProcessMemory
PID:2020 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\testsohkf.exe"2⤵
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:3788
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\testsohkf" /XML "C:\Users\Admin\AppData\Local\Temp\tmp1424.tmp"2⤵
- Creates scheduled task(s)
PID:1476
-
-
C:\Users\Admin\AppData\Local\Temp\file.exe"C:\Users\Admin\AppData\Local\Temp\file.exe"2⤵
- Accesses Microsoft Outlook profiles
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
PID:2144
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Microsoft\CLR_v4.0_32\UsageLogs\file.exe.log
- Size 1KB
- SHA256 839fa1f9725719938ffa24533587b168bae2768f23ac09dccb3ad4ab8ae6abcd
- MD5 36049bae97bba745c793444373453cb0
- SHA1 eb6e9a822944e8e207abba1a5e53f0183a1684f1
- SHA512 a6584b7b435afeffb6becfbed82517087030eb23534fa50deecd02330bf36d633ba22e979e36b9c27e35885f9cc1cc9481dadc53cc265be61391e11a7c2c7cdb
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_j4aooeuu.psq.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\tmp1424.tmp
- Size 1KB
- SHA256 683c1f25f0185b8fcccd74d6381268743bd33b3c40790a040937a0a2341069d6
- MD5 431cf76d761bb44af4929fe956e3e64d
- SHA1 88ccc53403f08d55133ec2ca22a01af71f1c15dd
- SHA512 f509e48d810f05f6ba2b836176f1c272e48c8d70c13d92d1442bbcc07a172073444aeb5834024cf5330ecdd95958ba49e56d7b3de040ad328983f0f2ba26a627
- MD5 SHA1 SHA512