Analysis

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

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

General

  • Target

    JaffaCakes118_45458daf16a9f56222038e23cd8665f9.exe

  • Size

    13.3MB

  • MD5

    45458daf16a9f56222038e23cd8665f9

  • SHA1

    c0880db345e5f94e5408707e7b495ab00ff6dc8c

  • SHA256

    dd74a7e347d234599ba9a11fbd4d16a26a8f433c386cd30979938c8c039c4cfa

  • SHA512

    f0154db0bca16aae19094f7f0236d91b4d49824b1a56c60bea75a19b9633490a578279eb290254c78ecbffa720c6dcdac191af34d1a2e6db046a95d292715231

  • SSDEEP

    98304:dY3333333333333333333333333333333333333333333333333333333333333H:d

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_45458daf16a9f56222038e23cd8665f9.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_45458daf16a9f56222038e23cd8665f9.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2884
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\roedaxmi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4164
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\omwuuktj.exe" C:\Windows\SysWOW64\roedaxmi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3500
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create roedaxmi binPath= "C:\Windows\SysWOW64\roedaxmi\omwuuktj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_45458daf16a9f56222038e23cd8665f9.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2880
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description roedaxmi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3928
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start roedaxmi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:732
    • 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:1256
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2884 -s 1216
      2⤵
      • Program crash
      PID:2940
  • C:\Windows\SysWOW64\roedaxmi\omwuuktj.exe
    C:\Windows\SysWOW64\roedaxmi\omwuuktj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_45458daf16a9f56222038e23cd8665f9.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3756
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4056
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3756 -s 512
      2⤵
      • Program crash
      PID:2640
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2884 -ip 2884
    1⤵
      PID:2656
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 3756 -ip 3756
      1⤵
        PID:3868

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.1MB

        MD5

        c21c87910d892a4b40bc70f6fb52b1ed

        SHA1

        16e0db6da6fb680de4d32150c11fc28ba05e99ba

        SHA256

        390ad76f811671f944f985b6bfa82792cb2bd5d19b9fa19ee2ef9be078fef7f3

        SHA512

        c56dd3044375dd1c15acc7963ac43f73261d3e22cd711910b5bd0a5be1b886e715cb66c761047eb27ea9bf056224d60ec62bee0b330f68955fffa6e3728cd1a5

      • memory/2884-8-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/2884-4-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2884-1-0x00000000005A0000-0x00000000006A0000-memory.dmp

        Filesize

        1024KB

      • memory/3756-11-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/3756-12-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/3756-13-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/3756-18-0x0000000000400000-0x0000000000448000-memory.dmp

        Filesize

        288KB

      • memory/4056-14-0x0000000000C90000-0x0000000000CA5000-memory.dmp

        Filesize

        84KB

      • memory/4056-16-0x0000000000C90000-0x0000000000CA5000-memory.dmp

        Filesize

        84KB

      • memory/4056-17-0x0000000000C90000-0x0000000000CA5000-memory.dmp

        Filesize

        84KB