Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-09-2024 09:37

General

  • Target

    4fb9ec0883d7b509a16d73e2181f5236d13042706cb8bbe82091f8a9db4575d1.exe

  • Size

    12.5MB

  • MD5

    c4c9428ea6a30325f8ac6a3fecc199a1

  • SHA1

    e8c27d01e8e1b4f11f6183e8ba4b3065392349ce

  • SHA256

    4fb9ec0883d7b509a16d73e2181f5236d13042706cb8bbe82091f8a9db4575d1

  • SHA512

    b052061f5936ee2f30fc18e81daa9542451a1ad58235bd180e7d01fa49977813945492890a1a37a3cec59bb261a626cd175f12ac85bec9e000273159980e7a33

  • SSDEEP

    196608:TPRMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMP:T

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\4fb9ec0883d7b509a16d73e2181f5236d13042706cb8bbe82091f8a9db4575d1.exe
    "C:\Users\Admin\AppData\Local\Temp\4fb9ec0883d7b509a16d73e2181f5236d13042706cb8bbe82091f8a9db4575d1.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1768
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tsyhuvpk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5068
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dpwqvbow.exe" C:\Windows\SysWOW64\tsyhuvpk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2860
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tsyhuvpk binPath= "C:\Windows\SysWOW64\tsyhuvpk\dpwqvbow.exe /d\"C:\Users\Admin\AppData\Local\Temp\4fb9ec0883d7b509a16d73e2181f5236d13042706cb8bbe82091f8a9db4575d1.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1384
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tsyhuvpk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tsyhuvpk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3784
    • 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:1896
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1768 -s 888
      2⤵
      • Program crash
      PID:3304
  • C:\Windows\SysWOW64\tsyhuvpk\dpwqvbow.exe
    C:\Windows\SysWOW64\tsyhuvpk\dpwqvbow.exe /d"C:\Users\Admin\AppData\Local\Temp\4fb9ec0883d7b509a16d73e2181f5236d13042706cb8bbe82091f8a9db4575d1.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4228
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4532
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4228 -s 512
      2⤵
      • Program crash
      PID:3684
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 1768 -ip 1768
    1⤵
      PID:4312
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 4228 -ip 4228
      1⤵
        PID:2124

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        3bf6f34578f196937640e2b3dd913a49

        SHA1

        1c418f747ac30a525653eb354cfd33c53a467f5c

        SHA256

        ede636ab4f977b4f746690abc5a03ae41b729fca5effcaf7d629aac1d69843a6

        SHA512

        f4c4415984a9ce25dd2dc4b4242808941520bc45bf6bd39f744b1c270e36480f4b4f168d2f499c15a791bf948b4427a6c22fedc3eaaaeef581d5da276ba6b208

      • memory/1768-1-0x00007FFA3CED0000-0x00007FFA3D0C5000-memory.dmp

        Filesize

        2.0MB

      • memory/1768-6-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/1768-7-0x00007FFA3CED0000-0x00007FFA3D0C5000-memory.dmp

        Filesize

        2.0MB

      • memory/4228-8-0x00007FFA3CED0000-0x00007FFA3D0C5000-memory.dmp

        Filesize

        2.0MB

      • memory/4228-13-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/4532-9-0x0000000000B20000-0x0000000000B35000-memory.dmp

        Filesize

        84KB

      • memory/4532-11-0x0000000000B20000-0x0000000000B35000-memory.dmp

        Filesize

        84KB

      • memory/4532-12-0x0000000000B20000-0x0000000000B35000-memory.dmp

        Filesize

        84KB