Analysis

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

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

General

  • Target

    JaffaCakes118_c4464b306d676d84d4597682148ecfbcfb64eeb8516dcc24b447fb1ba42df847.exe

  • Size

    244KB

  • MD5

    ca1b0fab6b22d571f44f4e0b320b0c36

  • SHA1

    36db18567393b5467f562ab9266f7bcd6c08cc81

  • SHA256

    c4464b306d676d84d4597682148ecfbcfb64eeb8516dcc24b447fb1ba42df847

  • SHA512

    fb0f7c95a00ac0e6894c8ffcbe0de7b4c1430065fb63f7b0241a54521f28387024984070de81778869714c879520ea3df4d0e6a1d388f3815b31ba65be7dee4b

  • SSDEEP

    6144:LTZQCW0TZlWoHtNiVqFYcmW5jpkGk9Rc8:fZzTZlWqtEjcmc1kGr

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_c4464b306d676d84d4597682148ecfbcfb64eeb8516dcc24b447fb1ba42df847.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c4464b306d676d84d4597682148ecfbcfb64eeb8516dcc24b447fb1ba42df847.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:428
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tligvjiq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4516
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dpkhonnb.exe" C:\Windows\SysWOW64\tligvjiq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3712
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tligvjiq binPath= "C:\Windows\SysWOW64\tligvjiq\dpkhonnb.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c4464b306d676d84d4597682148ecfbcfb64eeb8516dcc24b447fb1ba42df847.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tligvjiq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1576
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tligvjiq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4956
    • 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:1352
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 428 -s 1036
      2⤵
      • Program crash
      PID:4172
  • C:\Windows\SysWOW64\tligvjiq\dpkhonnb.exe
    C:\Windows\SysWOW64\tligvjiq\dpkhonnb.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c4464b306d676d84d4597682148ecfbcfb64eeb8516dcc24b447fb1ba42df847.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1712
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4952
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1712 -s 512
      2⤵
      • Program crash
      PID:2400
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 428 -ip 428
    1⤵
      PID:4196
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 1712 -ip 1712
      1⤵
        PID:232

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.1MB

        MD5

        3f4c63776f26041be1be30b427baf0a4

        SHA1

        6cf1efa210ce40f349a8bd809f1522fc11c18551

        SHA256

        56bfe5b00deae68ba84116d4d8dcc13ec4e42d64a1b8180a042e3ed61e6999ed

        SHA512

        8f7d94711321b592659581d621e98e60bf14543e486b85bda36daa4d260a6dc0ba41dd9e614b201ef063b7dabb6bff1a47487f84635d4cb5e055fb9af7aed735

      • memory/428-8-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/428-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/428-9-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/428-1-0x0000000000700000-0x0000000000800000-memory.dmp

        Filesize

        1024KB

      • memory/1712-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1712-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1712-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/1712-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4952-14-0x0000000000500000-0x0000000000515000-memory.dmp

        Filesize

        84KB

      • memory/4952-16-0x0000000000500000-0x0000000000515000-memory.dmp

        Filesize

        84KB

      • memory/4952-17-0x0000000000500000-0x0000000000515000-memory.dmp

        Filesize

        84KB