Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 00:40

General

  • Target

    JaffaCakes118_7d863571078cb46ad55f7d92082ba60fe8ea704cc4bf77ed60b8322745b14450.exe

  • Size

    246KB

  • MD5

    6f2595014bbd2fb3f6de3fdb184968d6

  • SHA1

    53705987535819160dc864ed2240e2487aed2190

  • SHA256

    7d863571078cb46ad55f7d92082ba60fe8ea704cc4bf77ed60b8322745b14450

  • SHA512

    1d5edc9396d7517ead04a38b0cf6e7876981fe0b10ab77f6f75c9e2f97e69287efd95502b1a51e173bf9e334cb4c691d3f2142fb5a637f7404bd376d859d243c

  • SSDEEP

    3072:d0XadBu5EiGfz/h+8tGTSBROksxkgaBChYasG0d:NiWp3GXigaQsG0

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_7d863571078cb46ad55f7d92082ba60fe8ea704cc4bf77ed60b8322745b14450.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7d863571078cb46ad55f7d92082ba60fe8ea704cc4bf77ed60b8322745b14450.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jndcuvmz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4248
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gojhfupe.exe" C:\Windows\SysWOW64\jndcuvmz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jndcuvmz binPath= "C:\Windows\SysWOW64\jndcuvmz\gojhfupe.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7d863571078cb46ad55f7d92082ba60fe8ea704cc4bf77ed60b8322745b14450.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4084
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jndcuvmz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4504
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jndcuvmz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3348
    • 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:4188
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4564 -s 1044
      2⤵
      • Program crash
      PID:3752
  • C:\Windows\SysWOW64\jndcuvmz\gojhfupe.exe
    C:\Windows\SysWOW64\jndcuvmz\gojhfupe.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7d863571078cb46ad55f7d92082ba60fe8ea704cc4bf77ed60b8322745b14450.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:740
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4492
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 740 -s 520
      2⤵
      • Program crash
      PID:2872
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4564 -ip 4564
    1⤵
      PID:2724
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 740 -ip 740
      1⤵
        PID:4384

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.2MB

        MD5

        f0e8c2ad5dd9767d506d4abc1cad0ccc

        SHA1

        4bf5eef68f48a5589e3ea3d59ebb312030f1a90d

        SHA256

        c6e9c7cd3fca2ef0ef085d150ed7cff9543588783c0c10b69770730796eb2d58

        SHA512

        e82605eab8c334484c00a79e69e781778215be846e23c1eebe3b25bb40bf8a456c4a2b3443cc97f59eb12d06950b3735fbcec5327ccebf1e730d73b49fdd7f4f

      • memory/740-14-0x0000000000400000-0x0000000000656000-memory.dmp

        Filesize

        2.3MB

      • memory/4492-10-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/4492-12-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/4492-13-0x0000000000570000-0x0000000000585000-memory.dmp

        Filesize

        84KB

      • memory/4564-0-0x00000000007C0000-0x00000000007CD000-memory.dmp

        Filesize

        52KB

      • memory/4564-1-0x00000000007D0000-0x00000000007E3000-memory.dmp

        Filesize

        76KB

      • memory/4564-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4564-6-0x0000000000400000-0x0000000000656000-memory.dmp

        Filesize

        2.3MB

      • memory/4564-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4564-8-0x00000000007D0000-0x00000000007E3000-memory.dmp

        Filesize

        76KB

      • memory/4564-7-0x00000000007C0000-0x00000000007CD000-memory.dmp

        Filesize

        52KB