Analysis
- max time kernel
148s - max time network
149s - platform
windows10-2004_x64 - resource
win10v2004-20241007-en - resource tags
arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system - submitted
16/01/2025, 07:31
Static task
static1
Behavioral task
behavioral1
Sample
Contrarre.scr.exe
Resource
win7-20240903-en
Behavioral task
behavioral2
Sample
Contrarre.scr.exe
Resource
win10v2004-20241007-en
General
- Target Contrarre.scr.exe
- Size 735KB
- Sample250116-jcd6payqey
- SHA256 784f9e5d1eedc785401f6397aab1d9fbfff7593262f8db591e50ae06d37cba02
- MD5 aee9da9c20da235642f5772a556b7ced
- SHA1 6c9f69cf32c8430296caadd8eb7d9ee57fc5d1ee
- SHA512 b147bf4d3a4b39b07f3b4e038283c62e1b9a271944b770ee147c7273a6e48f28e2ecb02da28bd296bfbd705eb2b1396bfbd0de1a1a659269d16d5e6f825e9a6d
- SSDEEP 12288:2Gn1AJkAE/hGTyWXV7OjCLYJkMlCcY7m21yFY86LVFgFoR532UMT+Ntq09QxGTVy:2O1AM/wxOGM6MM7EY86LkFoR532/gc
- MD5 SHA1 SHA512 SSDEEP
Malware Config
Signatures
- Command and Scripting Interpreter: PowerShell 1 TTPs 1 IoCs
Run Powershell to modify Windows Defender settings to add exclusions for file extensions, paths, and processes.
pid Process 4164 powershell.exe - 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-2045521122-590294423-3465680274-1000\Control Panel\International\Geo\Nation Contrarre.scr.exe - 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 3 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-2045521122-590294423-3465680274-1000\Software\Microsoft\Office\15.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contrarre.scr.exe Key opened \REGISTRY\USER\S-1-5-21-2045521122-590294423-3465680274-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contrarre.scr.exe Key opened \REGISTRY\USER\S-1-5-21-2045521122-590294423-3465680274-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contrarre.scr.exe - Looks up external IP address via web service 3 IoCs
Uses a legitimate IP lookup service to find the infected system's external IP.
flow ioc 18 checkip.dyndns.org 20 reallyfreegeoip.org 21 reallyfreegeoip.org - Suspicious use of SetThreadContext 1 IoCs
description pid Process procid_target PID 4228 set thread context of 4868 4228 Contrarre.scr.exe 100 - Enumerates physical storage devices 1 TTPs
Attempts to interact with connected storage/optical drive(s).
- System Location Discovery: System Language Discovery 1 TTPs 4 IoCs
Attempt gather information about the system language of a victim in order to infer the geographical location of that host.
description ioc Process Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language Contrarre.scr.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language powershell.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language schtasks.exe Key opened \REGISTRY\MACHINE\SYSTEM\ControlSet001\Control\NLS\Language Contrarre.scr.exe - Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs
Schtasks is often used by malware for persistence or to perform post-infection execution.
pid Process 3416 schtasks.exe - Suspicious behavior: EnumeratesProcesses 5 IoCs
pid Process 4228 Contrarre.scr.exe 4164 powershell.exe 4228 Contrarre.scr.exe 4164 powershell.exe 4868 Contrarre.scr.exe - Suspicious use of AdjustPrivilegeToken 3 IoCs
description pid Process Token: SeDebugPrivilege 4228 Contrarre.scr.exe Token: SeDebugPrivilege 4164 powershell.exe Token: SeDebugPrivilege 4868 Contrarre.scr.exe - Suspicious use of WriteProcessMemory 14 IoCs
description pid Process procid_target PID 4228 wrote to memory of 4164 4228 Contrarre.scr.exe 96 PID 4228 wrote to memory of 4164 4228 Contrarre.scr.exe 96 PID 4228 wrote to memory of 4164 4228 Contrarre.scr.exe 96 PID 4228 wrote to memory of 3416 4228 Contrarre.scr.exe 98 PID 4228 wrote to memory of 3416 4228 Contrarre.scr.exe 98 PID 4228 wrote to memory of 3416 4228 Contrarre.scr.exe 98 PID 4228 wrote to memory of 4868 4228 Contrarre.scr.exe 100 PID 4228 wrote to memory of 4868 4228 Contrarre.scr.exe 100 PID 4228 wrote to memory of 4868 4228 Contrarre.scr.exe 100 PID 4228 wrote to memory of 4868 4228 Contrarre.scr.exe 100 PID 4228 wrote to memory of 4868 4228 Contrarre.scr.exe 100 PID 4228 wrote to memory of 4868 4228 Contrarre.scr.exe 100 PID 4228 wrote to memory of 4868 4228 Contrarre.scr.exe 100 PID 4228 wrote to memory of 4868 4228 Contrarre.scr.exe 100 - outlook_office_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2045521122-590294423-3465680274-1000\Software\Microsoft\Office\16.0\Outlook\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contrarre.scr.exe - outlook_win_path 1 IoCs
description ioc Process Key opened \REGISTRY\USER\S-1-5-21-2045521122-590294423-3465680274-1000\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\Outlook\9375CFF0413111d3B88A00104B2A6676 Contrarre.scr.exe
Processes
-
C:\Users\Admin\AppData\Local\Temp\Contrarre.scr.exe"C:\Users\Admin\AppData\Local\Temp\Contrarre.scr.exe"1⤵
- Checks computer location settings
- Suspicious use of SetThreadContext
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- Suspicious use of WriteProcessMemory
PID:4228 -
C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell.exe"C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe" Add-MpPreference -ExclusionPath "C:\Users\Admin\AppData\Roaming\JkYcIYq.exe"2⤵
- Command and Scripting Interpreter: PowerShell
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
PID:4164
-
-
C:\Windows\SysWOW64\schtasks.exe"C:\Windows\System32\schtasks.exe" /Create /TN "Updates\JkYcIYq" /XML "C:\Users\Admin\AppData\Local\Temp\tmpE510.tmp"2⤵
- System Location Discovery: System Language Discovery
- Scheduled Task/Job: Scheduled Task
PID:3416
-
-
C:\Users\Admin\AppData\Local\Temp\Contrarre.scr.exe"C:\Users\Admin\AppData\Local\Temp\Contrarre.scr.exe"2⤵
- Accesses Microsoft Outlook profiles
- System Location Discovery: System Language Discovery
- Suspicious behavior: EnumeratesProcesses
- Suspicious use of AdjustPrivilegeToken
- outlook_office_path
- outlook_win_path
PID:4868
-
Network
MITRE ATT&CK Enterprise v15
Execution
Command and Scripting Interpreter
1PowerShell
1Scheduled Task/Job
1Scheduled Task
1Credential Access
Credentials from Password Stores
1Credentials from Web Browsers
1Unsecured Credentials
2Credentials In Files
2Replay Monitor
Loading Replay Monitor...
Downloads
- Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_mti2sag4.jdg.ps1
- Size 60B
- SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
- MD5 d17fe0a3f47be24a6453e9ef58c94641
- SHA1 6ab83620379fc69f80c0242105ddffd7d98d5d9d
- SHA512 5b592e58f26c264604f98f6aa12860758ce606d1c63220736cf0c779e4e18e3cec8706930a16c38b20161754d1017d1657d35258e58ca22b18f5b232880dec82
- MD5 SHA1 SHA512
- Path C:\Users\Admin\AppData\Local\Temp\tmpE510.tmp
- Size 1KB
- SHA256 71af0692b669138e6b81d44ffa5764eece551ab3d6e5580be3d728280d83e29e
- MD5 9f2bdbeddac033812de793c89d6ece7f
- SHA1 e19f9f1c2e0dbd6c27417081001f6f608dc392cf
- SHA512 c53a017168ff6f511d9c1aa886231a755d6d2d7c44f874e9e84f4b9ceb4e094b155d64ce18421225753b30da32cb1247ae648ceb87fa732c1fc087cb6625f5c5
- MD5 SHA1 SHA512