Analysis

  • max time kernel
    146s
  • 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
    22-12-2024 08:12

General

  • Target

    JaffaCakes118_410aacb0b2a4039daf9a0620b8f5876d7d4c0aacbb986b3861423502d3c09eaf.exe

  • Size

    235KB

  • MD5

    a61674029b482827a782ecae5d07e051

  • SHA1

    dfa370a71cf415dccba8d6a841c37e93e4b7f81f

  • SHA256

    410aacb0b2a4039daf9a0620b8f5876d7d4c0aacbb986b3861423502d3c09eaf

  • SHA512

    d07695d45faf4cf7e7dfbe3ce26dc73bd74c6f73db4bcb9ae0f9f6290b0b9f4186f0a23a19a4453e32714f0b9411935ec5fbe91a0b60de6deb114c5dd0e0e410

  • SSDEEP

    3072:0Q1c0xv9yIQYEgVLKQdo4dr/RmSw0/UOUypQchJjurk3O4N1psmetvEZe9PvL9iv:0Q1c0PegZn6G/RJxhw+P1MeZ045Fw0

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_410aacb0b2a4039daf9a0620b8f5876d7d4c0aacbb986b3861423502d3c09eaf.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_410aacb0b2a4039daf9a0620b8f5876d7d4c0aacbb986b3861423502d3c09eaf.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1600
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\luarozya\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3728
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qkgmxhzf.exe" C:\Windows\SysWOW64\luarozya\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4572
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create luarozya binPath= "C:\Windows\SysWOW64\luarozya\qkgmxhzf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_410aacb0b2a4039daf9a0620b8f5876d7d4c0aacbb986b3861423502d3c09eaf.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2068
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description luarozya "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2016
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start luarozya
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3328
    • 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:4480
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1600 -s 676
      2⤵
      • Program crash
      PID:4084
  • C:\Windows\SysWOW64\luarozya\qkgmxhzf.exe
    C:\Windows\SysWOW64\luarozya\qkgmxhzf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_410aacb0b2a4039daf9a0620b8f5876d7d4c0aacbb986b3861423502d3c09eaf.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1992
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1700
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1992 -s 536
      2⤵
      • Program crash
      PID:2568
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 1600 -ip 1600
    1⤵
      PID:740
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1992 -ip 1992
      1⤵
        PID:4668

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        8caa840e3d8e0d7e28b0bfb2b0873bfd

        SHA1

        e0499026d46d8a3b279acc6b6c2f0b329a6464e8

        SHA256

        45d5bc864962e546a8bcc20c37c7f49be5f0283bff487ee57bd4bea325fcf7a0

        SHA512

        9197250e45e36f6d60848de122abec5faf6e707f16df6c884eb83cb86dbe8b746d7ada0d2588f053fe8de4b981b54807dd6c7bfa342f1888e25a5552e0de3b08

      • memory/1600-9-0x00000000008E0000-0x00000000008F3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1600-1-0x0000000000B00000-0x0000000000C00000-memory.dmp

        Filesize

        1024KB

      • memory/1600-8-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

      • memory/1600-2-0x00000000008E0000-0x00000000008F3000-memory.dmp

        Filesize

        76KB

      • memory/1700-14-0x0000000001240000-0x0000000001255000-memory.dmp

        Filesize

        84KB

      • memory/1700-12-0x0000000001240000-0x0000000001255000-memory.dmp

        Filesize

        84KB

      • memory/1700-17-0x0000000001240000-0x0000000001255000-memory.dmp

        Filesize

        84KB

      • memory/1992-11-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/1992-16-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB

      • memory/1992-15-0x0000000000400000-0x000000000086A000-memory.dmp

        Filesize

        4.4MB