Analysis

  • max time kernel
    144s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 04:34

General

  • Target

    JaffaCakes118_2d2164bac6935ba3b38573e69f323ec242b3a259ecb06396964f57e3c93d7c6e.exe

  • Size

    355KB

  • MD5

    4ade9bccd0b2b9447ff9dbb9c3880830

  • SHA1

    52aef011732da2f9fea1ee555d370a119749ccd0

  • SHA256

    2d2164bac6935ba3b38573e69f323ec242b3a259ecb06396964f57e3c93d7c6e

  • SHA512

    06103380806a02eb19d3f102d6b69f43f3483dc1db6fa48ca53ec8d077b4a6fa35dbb1fc6c438c51ef45f10765a06d2497b0f8d38ae8ac8049106f1bd99c33e1

  • SSDEEP

    6144:hvo5HY2USvj5R/i2gCiX0oH1VmyerYDn1QqaFZczX3V5wRjejHH5TAb:hA5HY2USr5R/i2gCy0oVVmyerK1/aFZp

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.

  • Tofsee family
  • 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\JaffaCakes118_2d2164bac6935ba3b38573e69f323ec242b3a259ecb06396964f57e3c93d7c6e.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_2d2164bac6935ba3b38573e69f323ec242b3a259ecb06396964f57e3c93d7c6e.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2712
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zqqzlefw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4888
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yfdotocq.exe" C:\Windows\SysWOW64\zqqzlefw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2368
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zqqzlefw binPath= "C:\Windows\SysWOW64\zqqzlefw\yfdotocq.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_2d2164bac6935ba3b38573e69f323ec242b3a259ecb06396964f57e3c93d7c6e.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1696
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zqqzlefw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zqqzlefw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1532
    • 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:4760
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2712 -s 1188
      2⤵
      • Program crash
      PID:3584
  • C:\Windows\SysWOW64\zqqzlefw\yfdotocq.exe
    C:\Windows\SysWOW64\zqqzlefw\yfdotocq.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_2d2164bac6935ba3b38573e69f323ec242b3a259ecb06396964f57e3c93d7c6e.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2040
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2808
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2040 -s 536
      2⤵
      • Program crash
      PID:3856
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 2712 -ip 2712
    1⤵
      PID:4188
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2040 -ip 2040
      1⤵
        PID:3520

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.4MB

        MD5

        b9b8e205fbd28f34fa7198ac3b454407

        SHA1

        a5df6076d15144a8d97b1b7ab916457eabdb15fb

        SHA256

        8e40834d4d0d1e80a8129730206e71a06548e698aa36aeba0b4f376a4848dbc2

        SHA512

        3260719351847a6092d5133b8597cc44863d50e4d67a60e4db01175c0271c69a17b92d235014dfc0e6ab5c4fbc21619fd32cb4f14385d52cad9e02e651df4a76

      • memory/2040-14-0x0000000000400000-0x00000000016CE000-memory.dmp

        Filesize

        18.8MB

      • memory/2040-17-0x0000000000400000-0x00000000016CE000-memory.dmp

        Filesize

        18.8MB

      • memory/2712-1-0x00000000018F0000-0x00000000019F0000-memory.dmp

        Filesize

        1024KB

      • memory/2712-2-0x0000000001890000-0x00000000018A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2712-9-0x0000000001890000-0x00000000018A3000-memory.dmp

        Filesize

        76KB

      • memory/2712-8-0x0000000000400000-0x00000000016CE000-memory.dmp

        Filesize

        18.8MB

      • memory/2808-11-0x0000000000D30000-0x0000000000D45000-memory.dmp

        Filesize

        84KB

      • memory/2808-13-0x0000000000D30000-0x0000000000D45000-memory.dmp

        Filesize

        84KB

      • memory/2808-15-0x0000000000D30000-0x0000000000D45000-memory.dmp

        Filesize

        84KB