Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 13:40

General

  • Target

    JaffaCakes118_e3692685f9a728e0daeea23f159484fd1009bf615126d51a29440dcf53ab0d42.exe

  • Size

    184KB

  • MD5

    31fc0122636001e76cca65cd85d28a7f

  • SHA1

    9e42a8fb0214134f7312068cbfa4a1f663b629c2

  • SHA256

    e3692685f9a728e0daeea23f159484fd1009bf615126d51a29440dcf53ab0d42

  • SHA512

    5e0527691f54fc26e683fcf692d637678bc57aece088502ce24d2f3430eb908c50f36c99f8f423eaadbbd574ee1a4b6e7e157ebe346160adba6c2237094e9314

  • SSDEEP

    3072:nkmEokfyW/Sshyd6OCbefqGKIti4KrTWssUPZPwTns9MUjYAYeL9hgC:n8okaW/SshhQijKiZrT3jPCUjmev

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_e3692685f9a728e0daeea23f159484fd1009bf615126d51a29440dcf53ab0d42.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e3692685f9a728e0daeea23f159484fd1009bf615126d51a29440dcf53ab0d42.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3312
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yatqnjcw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3860
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ykfcjiiw.exe" C:\Windows\SysWOW64\yatqnjcw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4500
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yatqnjcw binPath= "C:\Windows\SysWOW64\yatqnjcw\ykfcjiiw.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e3692685f9a728e0daeea23f159484fd1009bf615126d51a29440dcf53ab0d42.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yatqnjcw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2480
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yatqnjcw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3620
    • 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:2948
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3312 -s 1220
      2⤵
      • Program crash
      PID:2200
  • C:\Windows\SysWOW64\yatqnjcw\ykfcjiiw.exe
    C:\Windows\SysWOW64\yatqnjcw\ykfcjiiw.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e3692685f9a728e0daeea23f159484fd1009bf615126d51a29440dcf53ab0d42.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3452
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2872
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3452 -s 552
      2⤵
      • Program crash
      PID:3588
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3312 -ip 3312
    1⤵
      PID:2008
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3452 -ip 3452
      1⤵
        PID:3040

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.7MB

        MD5

        ac39783adc712463588c1a17ebf1dfcd

        SHA1

        55fde0fb78d15a2c7ce37360c85186ecd97912a1

        SHA256

        c6ce25dbc26800453adc4325a24afda5f2145c41caa74056bb5bba1d8b0faf91

        SHA512

        faa7b5d0ef24d274e82bf5faae1b2228984b3055583c4fb44d41d8aec057a446989d0287387de8817794e53a107f8c7d33f84f8cceab279c8ad4377354fc161d

      • memory/2872-14-0x00000000008C0000-0x00000000008D5000-memory.dmp

        Filesize

        84KB

      • memory/2872-17-0x00000000008C0000-0x00000000008D5000-memory.dmp

        Filesize

        84KB

      • memory/2872-16-0x00000000008C0000-0x00000000008D5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3312-1-0x0000000000630000-0x0000000000730000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        280KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        280KB

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

        Filesize

        280KB

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

        Filesize

        280KB

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

        Filesize

        280KB