Analysis
- max time kernel
55s - max time network
154s - platform
windows7_x64 - resource
win7-20230220-en - resource tags
arch:x64arch:x86image:win7-20230220-enlocale:en-usos:windows7-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 6 IoCs
resource yara_rule behavioral1/memory/1676-70-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger behavioral1/memory/1676-71-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger behavioral1/memory/1676-73-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger behavioral1/memory/1676-77-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger behavioral1/memory/1676-75-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger behavioral1/memory/1424-78-0x0000000002670000-0x00000000026B0000-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-1563773381-2037468142-1146002597-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 file.exe Key opened \REGISTRY\USER\S-1-5-21-1563773381-2037468142-1146002597-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 file.exe Key opened \REGISTRY\USER\S-1-5-21-1563773381-2037468142-1146002597-1000\Software\Microsoft\Office\15.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 4 checkip.dyndns.org - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 1948 set thread context of 1676 1948 file.exe 32 - 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 544 schtasks.exe - Suspicious behavior: EnumeratesProcesses 4 IoCs
pid Process 1948 file.exe 1676 file.exe 1424 powershell.exe 1676 file.exe - Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 1948 file.exe Token: SeDebugPrivilege 1676 file.exe Token: SeDebugPrivilege 1424 powershell.exe - Suspicious use of WriteProcessMemory 21 IoCs
description pid Process procid_target PID 1948 wrote to memory of 1424 1948 file.exe 27 PID 1948 wrote to memory of 1424 1948 file.exe 27 PID 1948 wrote to memory of 1424 1948 file.exe 27 PID 1948 wrote to memory of 1424 1948 file.exe 27 PID 1948 wrote to memory of 544 1948 file.exe 28 PID 1948 wrote to memory of 544 1948 file.exe 28 PID 1948 wrote to memory of 544 1948 file.exe 28 PID 1948 wrote to memory of 544 1948 file.exe 28 PID 1948 wrote to memory of 2040 1948 file.exe 31 PID 1948 wrote to memory of 2040 1948 file.exe 31 PID 1948 wrote to memory of 2040 1948 file.exe 31 PID 1948 wrote to memory of 2040 1948 file.exe 31 PID 1948 wrote to memory of 1676 1948 file.exe 32 PID 1948 wrote to memory of 1676 1948 file.exe 32 PID 1948 wrote to memory of 1676 1948 file.exe 32 PID 1948 wrote to memory of 1676 1948 file.exe 32 PID 1948 wrote to memory of 1676 1948 file.exe 32 PID 1948 wrote to memory of 1676 1948 file.exe 32 PID 1948 wrote to memory of 1676 1948 file.exe 32 PID 1948 wrote to memory of 1676 1948 file.exe 32 PID 1948 wrote to memory of 1676 1948 file.exe 32 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-1563773381-2037468142-1146002597-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-1563773381-2037468142-1146002597-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⤵
- Suspicious use of SetThreadContext
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:1948 -
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:1424
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\testsohkf" /XML "C:\Users\Admin\AppData\Local\Temp\tmpF5F4.tmp"2⤵
- Creates scheduled task(s)
PID:544
-
-
C:\Users\Admin\AppData\Local\Temp\file.exe"C:\Users\Admin\AppData\Local\Temp\file.exe"2⤵PID:2040
-
-
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:1676
-
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\tmpF5F4.tmp
- Size 1KB
- SHA256 55cd1cdf7cff3fc4b9cf9171461b9629da31e5cfc6e5f989353324f59bfb9228
- MD5 be3e6ce16e3fe86a5b814592347c6dfd
- SHA1 293b70d6679d86ce1d11045ae695f0fb37c3a516
- SHA512 e6ad13cc8e2a920949d92c5d7597d031b11a8916ca9292547c3add603db7e6913b9c751352f0b9f2945bc5f1badc2c9be1d85733cd77c003bab03894643c12e1
- MD5 SHA1 SHA512