Analysis
- max time kernel
113s - max time network
151s - platform
windows10-2004_x64 - resource
win10v2004-20230220-en - resource tags
arch:x64arch:x86image:win10v2004-20230220-enlocale:en-usos:windows10-2004-x64system - submitted
30/03/2023, 07:27
Static task
static1
Behavioral task
behavioral1
Sample
OPH21.bat.exe
Resource
win7-20230220-en
19 signatures
150 seconds
Behavioral task
behavioral2
Sample
OPH21.bat.exe
Resource
win10v2004-20230220-en
19 signatures
150 seconds
General
- Target OPH21.bat.exe
- Size 622KB
- Sample230330-h94beada4t
- SHA256 2c02e5bec85fedefe1d21d2cc02b0d7e91eebfedcb53f444127463987de67bc0
- MD5 d5823a84e4b8e1cf3d66e71c0bfdc634
- SHA1 6f21f997a4f810f899bfe07fbeeb231c3594b773
- SHA512 88cd67b071413ce6cee8553e64c007ae16c7b83efcc271fdf8887c69a1835f0983a6f093a67103048ed1182432fabc566b42ebf5a5f80811eaece0b1750f6af7
- SSDEEP 6144:sMm4CCHM4NL26fgvQVA2QNzTlIWFLVEXeVwp9gSGmsBYnrfs:sMwg/NL26fgvQK2QN6WRVAgSGm+Ynrfs
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Extracted
Family
-
snakekeylogger
Credentials
-
Protocol
smtp
-
Host
mail.eversafe.pt
-
Port
587
-
Username
-
Password
Ev3rsaf3_2021
-
Email to
Signatures
- Guloader,Cloudeye
A shellcode based downloader first seen in 2020.
- Snake Keylogger
Keylogger and Infostealer first seen in November 2020.
- Snake Keylogger payload 2 IoCs
resource yara_rule behavioral2/memory/4916-164-0x0000000000400000-0x000000000062B000-memory.dmp family_snakekeylogger behavioral2/memory/4916-166-0x0000000000400000-0x0000000000426000-memory.dmp family_snakekeylogger - Checks QEMU agent file 2 TTPs 2 IoCs
Checks presence of QEMU agent, possibly to detect virtualization.
description ioc Process File opened (read-only) C:\Program Files\Qemu-ga\qemu-ga.exe OPH21.bat.exe File opened (read-only) C:\Program Files\Qemu-ga\qemu-ga.exe caspol.exe - Loads dropped DLL 2 IoCs
pid Process 2300 OPH21.bat.exe 2300 OPH21.bat.exe - Accesses Microsoft Outlook profiles 1 TTPs 3 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-4238149048-355649189-894321705-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 caspol.exe Key opened \REGISTRY\USER\S-1-5-21-4238149048-355649189-894321705-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 caspol.exe Key opened \REGISTRY\USER\S-1-5-21-4238149048-355649189-894321705-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 caspol.exe - Legitimate hosting services abused for malware hosting/C2 1 TTPs
- 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 62 checkip.dyndns.org - Suspicious use of NtCreateThreadExHideFromDebugger 1 IoCs
pid Process 4916 caspol.exe - Suspicious use of NtSetInformationThreadHideFromDebugger 2 IoCs
pid Process 2300 OPH21.bat.exe 4916 caspol.exe - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 2300 set thread context of 4916 2300 OPH21.bat.exe 93 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s). Likely ransomware behaviour.
- Program crash 1 IoCs
pid pid_target Process procid_target 2360 4916 WerFault.exe 93 - Suspicious behavior: EnumeratesProcesses 1 IoCs
pid Process 4916 caspol.exe - Suspicious behavior: MapViewOfSection 1 IoCs
pid Process 2300 OPH21.bat.exe - Suspicious use of AdjustPrivilegeToken 1 IoCs
description pid Process Token: SeDebugPrivilege 4916 caspol.exe - Suspicious use of WriteProcessMemory 4 IoCs
description pid Process procid_target PID 2300 wrote to memory of 4916 2300 OPH21.bat.exe 93 PID 2300 wrote to memory of 4916 2300 OPH21.bat.exe 93 PID 2300 wrote to memory of 4916 2300 OPH21.bat.exe 93 PID 2300 wrote to memory of 4916 2300 OPH21.bat.exe 93 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-4238149048-355649189-894321705-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 caspol.exe - outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-4238149048-355649189-894321705-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 caspol.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\OPH21.bat.exe"C:\Users\Admin\AppData\Local\Temp\OPH21.bat.exe"1⤵
- Checks QEMU agent file
- Loads dropped DLL
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Suspicious use of SetThreadContext
- Suspicious behavior: MapViewOfSection
- Suspicious use of WriteProcessMemory
PID:2300 -
C:\Windows\Microsoft.NET\Framework\v4.0.30319\caspol.exe"C:\Users\Admin\AppData\Local\Temp\OPH21.bat.exe"2⤵
- Checks QEMU agent file
- Accesses Microsoft Outlook profiles
- Suspicious use of NtCreateThreadExHideFromDebugger
- Suspicious use of NtSetInformationThreadHideFromDebugger
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
PID:4916 -
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -u -p 4916 -s 23043⤵
- Program crash
PID:2360
-
-
-
C:\Windows\SysWOW64\WerFault.exeC:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 4916 -ip 49161⤵PID:4004
Network
MITRE ATT&CK Enterprise v6
Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\nsvFB5D.tmp\AdvSplash.dll
- Size 6KB
- SHA256 62b3db0446750ca9fd693733eec927acc1f50012a47785343286e63b650b7621
- MD5 1871af84805057b5ebc05ee46b56625d
- SHA1 50e1c315ad30f5f3f300c7cd9dd0d5d626fe0167
- SHA512 c1979ee98dfdb807776c439218528d80b4b244a87e692f1538e40f9c2c82db8b77485eb1429325b6f44419bf1f4cd454e43ff381eff077a8b4f4d9eb0d7e54d4
- SSDEEP 96:kIUNaXnnXyEIPtXvZhr5RwiULuxDtJz+wolpE:kIx3XyEwXvZh1RwnLUDth+I
- MD5 SHA1 SHA512 SSDEEP
- Path C:\Users\Admin\AppData\Local\Temp\nsvFB5D.tmp\System.dll
- Size 12KB
- SHA256 7a9ddee34562cd3703f1502b5c70e99cd5bba15de2b6845a3555033d7f6cb2a5
- MD5 564bb0373067e1785cba7e4c24aab4bf
- SHA1 7c9416a01d821b10b2eef97b80899d24014d6fc1
- SHA512 22c61a323cb9293d7ec5c7e7e60674d0e2f7b29d55be25eb3c128ea2cd7440a1400cee17c43896b996278007c0d247f331a9b8964e3a40a0eb1404a9596c4472
- SSDEEP 192:nenY0qWTlt70IAj/lQ0sEWc/wtYbBH2aDybC7y+XBDIwL:n8+Qlt70Fj/lQRY/9VjjfL
- MD5 SHA1 SHA512 SSDEEP