Analysis

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

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

General

  • Target

    JaffaCakes118_9cec2ebe9b47146dde04ddcb8f3b5fdf06c37dd715b8e49c0d3c9e41936c3a1a.exe

  • Size

    283KB

  • MD5

    e195bfdd18f903b311011880ebc8137b

  • SHA1

    afc1a2c5616ba8679044268f857b9a8b14515e88

  • SHA256

    9cec2ebe9b47146dde04ddcb8f3b5fdf06c37dd715b8e49c0d3c9e41936c3a1a

  • SHA512

    53ab4df184d7809435ae72d43e77830ef01cd55d1b4a6ac86353eecf710f327ce9d782d61bae2a54e626ae3887e97e552561b6b110c87aab0ddd308101d65c38

  • SSDEEP

    6144:1sIcItQ9Tbk38eWk/cN0x/US5IjoqcZdje6id:1sIcItQBb9eNcahDqAdje

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_9cec2ebe9b47146dde04ddcb8f3b5fdf06c37dd715b8e49c0d3c9e41936c3a1a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9cec2ebe9b47146dde04ddcb8f3b5fdf06c37dd715b8e49c0d3c9e41936c3a1a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1184
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bxkmtrjz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4496
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fuhdpoht.exe" C:\Windows\SysWOW64\bxkmtrjz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2328
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bxkmtrjz binPath= "C:\Windows\SysWOW64\bxkmtrjz\fuhdpoht.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9cec2ebe9b47146dde04ddcb8f3b5fdf06c37dd715b8e49c0d3c9e41936c3a1a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4464
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bxkmtrjz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3440
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bxkmtrjz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1908
    • 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:1844
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1184 -s 1036
      2⤵
      • Program crash
      PID:3400
  • C:\Windows\SysWOW64\bxkmtrjz\fuhdpoht.exe
    C:\Windows\SysWOW64\bxkmtrjz\fuhdpoht.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9cec2ebe9b47146dde04ddcb8f3b5fdf06c37dd715b8e49c0d3c9e41936c3a1a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3532
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3888
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3532 -s 512
      2⤵
      • Program crash
      PID:2248
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1184 -ip 1184
    1⤵
      PID:2540
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 3532 -ip 3532
      1⤵
        PID:1400

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        c356b745baa6fa7d93b99d24c82fdf88

        SHA1

        63fdc38ccd1a428766ebabfb2247290c7a330f1b

        SHA256

        980918455b1adf41bafcf3be843cbb46ec3ce672cee9786e6bbaf9965487d641

        SHA512

        4cc9e989197ca0511a194dae2e6d5db3ffb1e94b035a506f49435aaad8f35d2c3d2405afd4edd7f3f8be36ac4035f09b39c70883ebd3b685caffab3df0d3f03a

      • memory/1184-1-0x0000000002EE0000-0x0000000002FE0000-memory.dmp

        Filesize

        1024KB

      • memory/1184-2-0x0000000002CA0000-0x0000000002CB3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1184-9-0x0000000002CA0000-0x0000000002CB3000-memory.dmp

        Filesize

        76KB

      • memory/1184-8-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/3532-15-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/3888-11-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB

      • memory/3888-13-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB

      • memory/3888-14-0x0000000000750000-0x0000000000765000-memory.dmp

        Filesize

        84KB