Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-01-2025 14:41

General

  • Target

    JaffaCakes118_ab109c913445e8a0251de173a629b44d.exe

  • Size

    10.6MB

  • MD5

    ab109c913445e8a0251de173a629b44d

  • SHA1

    79f7aa660bb6d35ba15d507eca8f9b84bc67a910

  • SHA256

    2f82a0c6e14edc35e09a3a1cac9ad392baa94447467e7ef69e00c7540a801150

  • SHA512

    51521f2442de9ba6d0f8be85d886bb83132eb3d73c1fbeedfaa2977bb38d628a8e8ada0b91f7d3b0eaaade13781d50e5bb8e991dbbbebe7775937d96e654b652

  • SSDEEP

    196608:g4TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTH:g

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_ab109c913445e8a0251de173a629b44d.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ab109c913445e8a0251de173a629b44d.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3480
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sfudmlok\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3600
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mpiqoqyi.exe" C:\Windows\SysWOW64\sfudmlok\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:464
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sfudmlok binPath= "C:\Windows\SysWOW64\sfudmlok\mpiqoqyi.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ab109c913445e8a0251de173a629b44d.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:232
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sfudmlok "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4424
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sfudmlok
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2996
    • 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:712
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3480 -s 788
      2⤵
      • Program crash
      PID:2400
  • C:\Windows\SysWOW64\sfudmlok\mpiqoqyi.exe
    C:\Windows\SysWOW64\sfudmlok\mpiqoqyi.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ab109c913445e8a0251de173a629b44d.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2596
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:624
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2596 -s 520
      2⤵
      • Program crash
      PID:1080
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3480 -ip 3480
    1⤵
      PID:4116
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 2596 -ip 2596
      1⤵
        PID:3360

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.4MB

        MD5

        97603463cebc8829174d78b522ff22f2

        SHA1

        b70bbdfeaa8b9ddca71819ee986c381a43f49ef9

        SHA256

        aece8e5ab50f5707269f4def64b036af36ec94000ef4458de549c9001bf94c4d

        SHA512

        cb67228017d3ec10c1986108569bad21e2c6e6e366261fefa409995c5633c6ce66be16b308fe01af5754193a9a591f2d5247568eb9dbfaf2f767e4edcd90f234

      • memory/624-13-0x0000000000B60000-0x0000000000B75000-memory.dmp

        Filesize

        84KB

      • memory/624-15-0x0000000000B60000-0x0000000000B75000-memory.dmp

        Filesize

        84KB

      • memory/624-16-0x0000000000B60000-0x0000000000B75000-memory.dmp

        Filesize

        84KB

      • memory/2596-11-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/2596-12-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/2596-17-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/3480-2-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3480-9-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

      • memory/3480-8-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/3480-1-0x0000000000950000-0x0000000000A50000-memory.dmp

        Filesize

        1024KB