Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-01-2025 05:37

General

  • Target

    JaffaCakes118_8ef57b0ee52ad8d343c5febce2c3caf3.exe

  • Size

    10.9MB

  • MD5

    8ef57b0ee52ad8d343c5febce2c3caf3

  • SHA1

    944e9be261db19754da9c1a097c7ac05f42fb7e9

  • SHA256

    9d4f75a0010bb641b3429acee75c668c42b991c897a80d6ac4ffe84f2cea44c0

  • SHA512

    630fa92ce62e6c9c0e8a6bdda757719c08d9344df5dfbe9867fa775e2d1f71e480e4fd4f6e9d386700f8caefda4577ab230295c209615df493d86c4411dbeb65

  • SSDEEP

    24576:3AWcGx111111111111111111111111111111111111111111111111111111111X:3HH

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_8ef57b0ee52ad8d343c5febce2c3caf3.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8ef57b0ee52ad8d343c5febce2c3caf3.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3076
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\otvqhyhl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3036
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jokcadp.exe" C:\Windows\SysWOW64\otvqhyhl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2408
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create otvqhyhl binPath= "C:\Windows\SysWOW64\otvqhyhl\jokcadp.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8ef57b0ee52ad8d343c5febce2c3caf3.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2064
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description otvqhyhl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2416
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start otvqhyhl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1036
    • 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:1016
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3076 -s 680
      2⤵
      • Program crash
      PID:684
  • C:\Windows\SysWOW64\otvqhyhl\jokcadp.exe
    C:\Windows\SysWOW64\otvqhyhl\jokcadp.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8ef57b0ee52ad8d343c5febce2c3caf3.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4784
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2900
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4784 -s 516
      2⤵
      • Program crash
      PID:4196
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3076 -ip 3076
    1⤵
      PID:3268
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 4784 -ip 4784
      1⤵
        PID:432

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        60766492e0f48f349c42084ae7630379

        SHA1

        1e7e9ebe52e7e4c4a3180f5ce7a521a5d93403f4

        SHA256

        24af09ff2f49a0697251de8f2663c63e60e4b17c90f50efe6c7b7f7ebbc565d0

        SHA512

        7f7cf490f6a51a8ac80cb8d5c0ca620e4c61b494d871a13c2fe1796ae2288f253f9e5881008010636d3e2219e3a9448cee7a93c0854a8e6c5948e82c61563dfd

      • memory/2900-14-0x0000000000F50000-0x0000000000F65000-memory.dmp

        Filesize

        84KB

      • memory/2900-17-0x0000000000F50000-0x0000000000F65000-memory.dmp

        Filesize

        84KB

      • memory/2900-16-0x0000000000F50000-0x0000000000F65000-memory.dmp

        Filesize

        84KB

      • memory/3076-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/3076-8-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/3076-1-0x00000000005F0000-0x00000000006F0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3076-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4784-11-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/4784-12-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/4784-13-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/4784-19-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB