Analysis

  • max time kernel
    142s
  • 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
    31-12-2024 15:27

General

  • Target

    JaffaCakes118_24f6cb235b15df660607faf6729b9d96.exe

  • Size

    10.4MB

  • MD5

    24f6cb235b15df660607faf6729b9d96

  • SHA1

    f8c74f532e72f57cd969e7e7bad3b179c7ca5471

  • SHA256

    f16c72dc0ac6ba541bd6f2ecbdeb8633d6468bac2c9a3aa98a320425e11fa7e5

  • SHA512

    c5a8e428f57983f9c7537916dd3a72670473317a1a89ed2837a363400e7d89cfc80d2e230b71f17ac15a3cb74f1bd0807f2ca9ffd48c0378318229efbb943576

  • SSDEEP

    6144:ibxssrIoKMqRI49tDA498xxAoMlmC6Yvbacc1B:6O/MqRIUDA498vEN6YTp

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_24f6cb235b15df660607faf6729b9d96.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_24f6cb235b15df660607faf6729b9d96.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4132
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yzijhgyr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3696
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qxjwfstn.exe" C:\Windows\SysWOW64\yzijhgyr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2032
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yzijhgyr binPath= "C:\Windows\SysWOW64\yzijhgyr\qxjwfstn.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_24f6cb235b15df660607faf6729b9d96.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4472
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yzijhgyr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1424
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yzijhgyr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1428
    • 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:2120
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4132 -s 900
      2⤵
      • Program crash
      PID:3068
  • C:\Windows\SysWOW64\yzijhgyr\qxjwfstn.exe
    C:\Windows\SysWOW64\yzijhgyr\qxjwfstn.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_24f6cb235b15df660607faf6729b9d96.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1908
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:860
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1908 -s 540
      2⤵
      • Program crash
      PID:4008
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 4132 -ip 4132
    1⤵
      PID:3984
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1908 -ip 1908
      1⤵
        PID:404

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.5MB

        MD5

        bd587ea66cace9f63e6bf8f0b1e5c626

        SHA1

        c45055696f5a7626f40188c918d03de8642a8d35

        SHA256

        c2874a344731428d9885f84df6ebad6e276703995dc00da90778d9b7a11af2b2

        SHA512

        ca55c5401c317bf1c16948a0bb6991b60fd560beb5206db1558536b2dedba93981123797d4b43e597b6b56cf941875af3b7e303865ed679c32587d148791f1e5

      • memory/860-14-0x0000000000410000-0x0000000000425000-memory.dmp

        Filesize

        84KB

      • memory/860-17-0x0000000000410000-0x0000000000425000-memory.dmp

        Filesize

        84KB

      • memory/860-16-0x0000000000410000-0x0000000000425000-memory.dmp

        Filesize

        84KB

      • memory/1908-13-0x0000000000400000-0x000000000045C000-memory.dmp

        Filesize

        368KB

      • memory/1908-12-0x0000000000400000-0x000000000045C000-memory.dmp

        Filesize

        368KB

      • memory/1908-11-0x0000000000400000-0x000000000045C000-memory.dmp

        Filesize

        368KB

      • memory/1908-19-0x0000000000400000-0x000000000045C000-memory.dmp

        Filesize

        368KB

      • memory/4132-9-0x00000000008B0000-0x00000000008C3000-memory.dmp

        Filesize

        76KB

      • memory/4132-8-0x0000000000400000-0x000000000045C000-memory.dmp

        Filesize

        368KB

      • memory/4132-1-0x00000000004A0000-0x00000000005A0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4132-2-0x00000000008B0000-0x00000000008C3000-memory.dmp

        Filesize

        76KB