Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-12-2024 23:08

General

  • Target

    JaffaCakes118_700a74e0be060d8f16378526a1f70fd7a4275264f7961dc9979a9ff029663a0c.exe

  • Size

    330KB

  • MD5

    6fcaf23ef8971d307379f2b72fb81c55

  • SHA1

    2498ae4635da9e4f3831537b69d15cf76e861145

  • SHA256

    700a74e0be060d8f16378526a1f70fd7a4275264f7961dc9979a9ff029663a0c

  • SHA512

    a089475c77ced8a552b1c271d84836eb110b131823cd3b3043497991217e8321a0740460e3019ad1de5ba29a34a3dc104254242b44d4c4e513d805319a8dfda3

  • SSDEEP

    6144:rWRnnoxN38zrPMWeoNf9MpaBvWgqE/NRAr:iA8zrPMaV9MpWqE3k

Malware Config

Extracted

Family

tofsee

C2

patmushta.info

ovicrush.cn

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_700a74e0be060d8f16378526a1f70fd7a4275264f7961dc9979a9ff029663a0c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_700a74e0be060d8f16378526a1f70fd7a4275264f7961dc9979a9ff029663a0c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:460
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qtiycfsn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4348
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ctuwypex.exe" C:\Windows\SysWOW64\qtiycfsn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2252
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qtiycfsn binPath= "C:\Windows\SysWOW64\qtiycfsn\ctuwypex.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_700a74e0be060d8f16378526a1f70fd7a4275264f7961dc9979a9ff029663a0c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4160
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qtiycfsn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2460
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qtiycfsn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3228
    • 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:4432
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 460 -s 1204
      2⤵
      • Program crash
      PID:4256
  • C:\Windows\SysWOW64\qtiycfsn\ctuwypex.exe
    C:\Windows\SysWOW64\qtiycfsn\ctuwypex.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_700a74e0be060d8f16378526a1f70fd7a4275264f7961dc9979a9ff029663a0c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2236
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2564
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2236 -s 512
      2⤵
      • Program crash
      PID:1764
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 460 -ip 460
    1⤵
      PID:2656
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 2236 -ip 2236
      1⤵
        PID:4496

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.8MB

        MD5

        ceeec3bc8618b730079e31eca3746342

        SHA1

        5c52a64293d247788d3cab0e4c54878abf5c5218

        SHA256

        0cae666192a11c05442cf1b98ae408eccc8035f78db94c2a5f4f831ceb26c989

        SHA512

        048091e1d265141f462eab0f525f966074db7457c3759ad2dc67614721cd8e46230ca9ddb57bbbd4f591c352a517a54be8824516f8b6950844ae72a8048644f5

      • memory/460-2-0x0000000002C80000-0x0000000002C93000-memory.dmp

        Filesize

        76KB

      • memory/460-1-0x0000000002CF0000-0x0000000002DF0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/460-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/460-12-0x0000000002C80000-0x0000000002C93000-memory.dmp

        Filesize

        76KB

      • memory/460-10-0x0000000000400000-0x0000000002B1C000-memory.dmp

        Filesize

        39.1MB

      • memory/2236-11-0x0000000000400000-0x0000000002B1C000-memory.dmp

        Filesize

        39.1MB

      • memory/2564-8-0x0000000000AF0000-0x0000000000B05000-memory.dmp

        Filesize

        84KB

      • memory/2564-14-0x0000000000AF0000-0x0000000000B05000-memory.dmp

        Filesize

        84KB

      • memory/2564-15-0x0000000000AF0000-0x0000000000B05000-memory.dmp

        Filesize

        84KB