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

General

  • Target
    Contrarre.scr.exe
  • Size 735KB
  • Sample250116-jcd6payqey
  • SHA256 784f9e5d1eedc785401f6397aab1d9fbfff7593262f8db591e50ae06d37cba02
  • 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.

  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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
  • Looks up external IP address via web service 3 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Suspicious use of SetThreadContext 1 IoCs
  • 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.

  • Scheduled Task/Job: Scheduled Task 1 TTPs 1 IoCs

    Schtasks is often used by malware for persistence or to perform post-infection execution.

  • Suspicious behavior: EnumeratesProcesses 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 3 IoCs
  • Suspicious use of WriteProcessMemory 14 IoCs
  • outlook_office_path 1 IoCs
  • outlook_win_path 1 IoCs

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

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        __PSScriptPolicyTest_mti2sag4.jdg.ps1

        • Path C:\Users\Admin\AppData\Local\Temp\__PSScriptPolicyTest_mti2sag4.jdg.ps1
        • Size 60B
        • SHA256 96ad1146eb96877eab5942ae0736b82d8b5e2039a80d3d6932665c1a4c87dcf7
        • MD5 SHA1 SHA512

        tmpE510.tmp

        • Path C:\Users\Admin\AppData\Local\Temp\tmpE510.tmp
        • Size 1KB
        • SHA256 71af0692b669138e6b81d44ffa5764eece551ab3d6e5580be3d728280d83e29e
        • MD5 SHA1 SHA512

        memory/4164-28-0x0000000005B50000-0x0000000005EA4000-memory.dmp

        memory/4164-20-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/4164-65-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/4164-62-0x0000000007750000-0x0000000007758000-memory.dmp

        memory/4164-61-0x0000000007770000-0x000000000778A000-memory.dmp

        memory/4164-60-0x0000000007670000-0x0000000007684000-memory.dmp

        memory/4164-59-0x0000000007660000-0x000000000766E000-memory.dmp

        memory/4164-58-0x0000000007630000-0x0000000007641000-memory.dmp

        memory/4164-57-0x00000000076B0000-0x0000000007746000-memory.dmp

        memory/4164-15-0x00000000027E0000-0x0000000002816000-memory.dmp

        memory/4164-16-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/4164-56-0x00000000074A0000-0x00000000074AA000-memory.dmp

        memory/4164-19-0x00000000054B0000-0x0000000005AD8000-memory.dmp

        memory/4164-41-0x00000000066E0000-0x0000000006712000-memory.dmp

        memory/4164-18-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/4164-55-0x0000000007430000-0x000000000744A000-memory.dmp

        memory/4164-23-0x00000000053F0000-0x0000000005456000-memory.dmp

        memory/4164-22-0x0000000005350000-0x0000000005372000-memory.dmp

        memory/4164-24-0x0000000005AE0000-0x0000000005B46000-memory.dmp

        memory/4164-54-0x0000000007A70000-0x00000000080EA000-memory.dmp

        memory/4164-53-0x00000000072E0000-0x0000000007383000-memory.dmp

        memory/4164-52-0x00000000066C0000-0x00000000066DE000-memory.dmp

        memory/4164-42-0x0000000072410000-0x000000007245C000-memory.dmp

        memory/4164-38-0x0000000006110000-0x000000000612E000-memory.dmp

        memory/4164-39-0x0000000006200000-0x000000000624C000-memory.dmp

        memory/4228-2-0x00000000081C0000-0x0000000008764000-memory.dmp

        memory/4228-5-0x0000000005220000-0x000000000522A000-memory.dmp

        memory/4228-4-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/4228-1-0x0000000000E50000-0x0000000000F0A000-memory.dmp

        memory/4228-3-0x0000000007CB0000-0x0000000007D42000-memory.dmp

        memory/4228-27-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/4228-6-0x0000000007EE0000-0x0000000007F7C000-memory.dmp

        memory/4228-0-0x0000000074D9E000-0x0000000074D9F000-memory.dmp

        memory/4228-10-0x0000000006890000-0x00000000068F2000-memory.dmp

        memory/4228-9-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/4228-8-0x0000000074D9E000-0x0000000074D9F000-memory.dmp

        memory/4228-7-0x0000000007C90000-0x0000000007CB6000-memory.dmp

        memory/4868-21-0x0000000000400000-0x000000000041E000-memory.dmp

        memory/4868-40-0x0000000006290000-0x00000000062E0000-memory.dmp

        memory/4868-26-0x0000000074D90000-0x0000000075540000-memory.dmp

        memory/4868-66-0x0000000006650000-0x0000000006812000-memory.dmp

        memory/4868-67-0x0000000074D90000-0x0000000075540000-memory.dmp