Analysis

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

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

General

  • Target

    JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe

  • Size

    254KB

  • MD5

    9d849c8ca21b5adea5bcf3f673b74517

  • SHA1

    728ddd3fad37b744a26621e3bcae9f65cc743c9d

  • SHA256

    5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95

  • SHA512

    453761d3d8486e1f406db3700f60a469b8b5855b16cc52923bb59f22901a414b305a6cfacfd5abcba802e53376c63f568cbf61f364ff7c4d05ba17184f04e674

  • SSDEEP

    6144:XvcjRGQr7zfreXSM7h0V9beG5k+zbZ0rpPRxN+JxU:XUVPr7zfCXfe9bOQbZspPRPq

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_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2788
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yrnptgjt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4652
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gsztyerz.exe" C:\Windows\SysWOW64\yrnptgjt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4468
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yrnptgjt binPath= "C:\Windows\SysWOW64\yrnptgjt\gsztyerz.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5032
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yrnptgjt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4500
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yrnptgjt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3960
    • 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:3872
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2788 -s 1248
      2⤵
      • Program crash
      PID:4144
  • C:\Windows\SysWOW64\yrnptgjt\gsztyerz.exe
    C:\Windows\SysWOW64\yrnptgjt\gsztyerz.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5bca9de0eabcbd74c4f04427a643fa084671b8260b90e7309f41a30c5f145b95.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:880
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2624
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 880 -s 244
      2⤵
      • Program crash
      PID:4736
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2788 -ip 2788
    1⤵
      PID:1692
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 880 -ip 880
      1⤵
        PID:3972

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        4bc62f8c2469e76a79f66cabb4c78611

        SHA1

        d6c47da352282896e86706d72c35eaa3055b2170

        SHA256

        9d717e06d13b66f2226090ab22fee54cc92446e7c41f72a1dcd3f4550ee4e24e

        SHA512

        0bcd1a696a8a22634c9e3970036bcf648e7d8c537d0281e712d004761dafa8ad1e416fc5e27480ac14b816af83435c3830394e1cbabe32fdf7c9f050225cf8a1

      • memory/880-11-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/880-19-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/880-12-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/880-16-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/2624-15-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

      • memory/2624-13-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

      • memory/2624-17-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

      • memory/2788-8-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/2788-1-0x0000000000AA0000-0x0000000000BA0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        76KB