Analysis

  • max time kernel
    147s
  • max time network
    142s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-08-2024 02:08

General

  • Target

    52d959c6afd889d69fe66d351a34769888c62ce16a140cac88b1303bd772dc5e.exe

  • Size

    14.6MB

  • MD5

    6e734800376974cd4fbe0fbc91e0a138

  • SHA1

    7711d0bc3c0e82526029b67473cc5ee222933497

  • SHA256

    52d959c6afd889d69fe66d351a34769888c62ce16a140cac88b1303bd772dc5e

  • SHA512

    911b78fc44b16cd3e3337a320513081dd65f0dd671b1847c35187e3b7ea9603f0f16d869fb355cecffc6f22d02b4b1212a9fa3151bdc361b790cd648cd374c86

  • SSDEEP

    98304:8wfDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDr:8w

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

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

  • Deletes itself 1 IoCs
  • Executes dropped EXE 1 IoCs
  • Suspicious use of SetThreadContext 1 IoCs
  • Launches sc.exe 3 IoCs

    Sc.exe is a Windows utlilty to control services on the system.

  • Enumerates physical storage devices 1 TTPs

    Attempts to interact with connected storage/optical drive(s).

  • Event Triggered Execution: Netsh Helper DLL 1 TTPs 3 IoCs

    Netsh.exe (also referred to as Netshell) is a command-line scripting utility used to interact with the network configuration of a system.

  • Program crash 2 IoCs
  • System Location Discovery: System Language Discovery 1 TTPs 9 IoCs

    Attempt gather information about the system language of a victim in order to infer the geographical location of that host.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\52d959c6afd889d69fe66d351a34769888c62ce16a140cac88b1303bd772dc5e.exe
    "C:\Users\Admin\AppData\Local\Temp\52d959c6afd889d69fe66d351a34769888c62ce16a140cac88b1303bd772dc5e.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tbzpguum\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mykssdsa.exe" C:\Windows\SysWOW64\tbzpguum\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1052
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tbzpguum binPath= "C:\Windows\SysWOW64\tbzpguum\mykssdsa.exe /d\"C:\Users\Admin\AppData\Local\Temp\52d959c6afd889d69fe66d351a34769888c62ce16a140cac88b1303bd772dc5e.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1476
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tbzpguum "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1872
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tbzpguum
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2156
    • C:\Windows\SysWOW64\netsh.exe
      "C:\Windows\System32\netsh.exe" advfirewall firewall add rule name="Host-process for services of Windows" dir=in action=allow program="C:\Windows\SysWOW64\svchost.exe" enable=yes>nul
      2⤵
      • Modifies Windows Firewall
      • Event Triggered Execution: Netsh Helper DLL
      • System Location Discovery: System Language Discovery
      PID:4252
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4672 -s 664
      2⤵
      • Program crash
      PID:3272
  • C:\Windows\SysWOW64\tbzpguum\mykssdsa.exe
    C:\Windows\SysWOW64\tbzpguum\mykssdsa.exe /d"C:\Users\Admin\AppData\Local\Temp\52d959c6afd889d69fe66d351a34769888c62ce16a140cac88b1303bd772dc5e.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1060
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2300
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1060 -s 508
      2⤵
      • Program crash
      PID:4536
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4672 -ip 4672
    1⤵
      PID:2984
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1060 -ip 1060
      1⤵
        PID:2868

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

      • C:\Users\Admin\AppData\Local\Temp\mykssdsa.exe

        Filesize

        14.7MB

        MD5

        dcd18435ecea59c2ea2c24789969fabd

        SHA1

        70216f54d4ed92d759ba72e2b8fb301909071eea

        SHA256

        b1fbc3263c28bcf553df31f3c9b05c27fb048d7bf446ee6d4dba5615fc8f95b5

        SHA512

        9f4fd7555343da8a5e4812ed8899ab33a14dd8130f0e91bf9c70388ab81a6c0349749055fd1ecb2efb8a6e05b806d7fad24905a1136b301cc072c754c5d5abb7

      • memory/1060-13-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/1060-12-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/1060-11-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/1060-18-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/2300-14-0x00000000004D0000-0x00000000004E5000-memory.dmp

        Filesize

        84KB

      • memory/2300-16-0x00000000004D0000-0x00000000004E5000-memory.dmp

        Filesize

        84KB

      • memory/2300-17-0x00000000004D0000-0x00000000004E5000-memory.dmp

        Filesize

        84KB

      • memory/4672-3-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4672-1-0x0000000000620000-0x0000000000720000-memory.dmp

        Filesize

        1024KB

      • memory/4672-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4672-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4672-8-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/4672-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB