Analysis

  • max time kernel
    146s
  • max time network
    146s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    29/12/2024, 08:19

General

  • Target

    JaffaCakes118_5315c094dff5dc94036b83598b252b83d4ba1d72f856cae3fc1dc95cf72ffd23.exe

  • Size

    167KB

  • MD5

    7a418d23ee221c55a141484703811b86

  • SHA1

    e66e5b34f33f49961ed1b469fb88dd4020a3357b

  • SHA256

    5315c094dff5dc94036b83598b252b83d4ba1d72f856cae3fc1dc95cf72ffd23

  • SHA512

    ad35649dca8bb5720981c8941e2733c9d9dec3e6b57f70083948cb9c89b3e0d12ffee0b151dd301b0e80d3e1e3782acf7502d3302e423a5223b0a6a349264700

  • SSDEEP

    3072:icIJ8Ty2eHnl+YF7MZrXrYLWvY25glvzs6PS9H6dYs:XIWe2eHRF7mrXsLvvzBEad

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5315c094dff5dc94036b83598b252b83d4ba1d72f856cae3fc1dc95cf72ffd23.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5315c094dff5dc94036b83598b252b83d4ba1d72f856cae3fc1dc95cf72ffd23.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2068
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mpheebfb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1804
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dgeztaku.exe" C:\Windows\SysWOW64\mpheebfb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2332
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mpheebfb binPath= "C:\Windows\SysWOW64\mpheebfb\dgeztaku.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5315c094dff5dc94036b83598b252b83d4ba1d72f856cae3fc1dc95cf72ffd23.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2516
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mpheebfb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2252
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mpheebfb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2784
    • 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:2740
  • C:\Windows\SysWOW64\mpheebfb\dgeztaku.exe
    C:\Windows\SysWOW64\mpheebfb\dgeztaku.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5315c094dff5dc94036b83598b252b83d4ba1d72f856cae3fc1dc95cf72ffd23.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1636
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2656

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          13.9MB

          MD5

          f95b670bd16a13bc6cd61ecfcaf662fb

          SHA1

          979240860fb105cf721e79900b9194bfed897e57

          SHA256

          4d719050218d7a0880143fa929e471a5d91c6d83bf6c9c3e3de6489bfb69e2ee

          SHA512

          385ff71a3b03ceadfc6f612ee590ade9027634f7b589ecf840204cd0688bb9812c31c7871374ab01bd7d509e558fcd45cc38793ac7e47a3989825ce54c43c29e

        • memory/1636-17-0x0000000000400000-0x00000000004B0000-memory.dmp

          Filesize

          704KB

        • memory/2068-8-0x0000000000400000-0x00000000004B0000-memory.dmp

          Filesize

          704KB

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

          Filesize

          84KB

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

          Filesize

          84KB

        • memory/2068-9-0x0000000000220000-0x0000000000233000-memory.dmp

          Filesize

          76KB

        • memory/2068-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

          Filesize

          1024KB

        • memory/2068-2-0x0000000000220000-0x0000000000233000-memory.dmp

          Filesize

          76KB

        • memory/2656-11-0x0000000000100000-0x0000000000115000-memory.dmp

          Filesize

          84KB

        • memory/2656-14-0x0000000000100000-0x0000000000115000-memory.dmp

          Filesize

          84KB

        • memory/2656-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

          Filesize

          4KB

        • memory/2656-16-0x0000000000100000-0x0000000000115000-memory.dmp

          Filesize

          84KB

        • memory/2656-18-0x0000000000100000-0x0000000000115000-memory.dmp

          Filesize

          84KB