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
    30-12-2024 20:54

General

  • Target

    JaffaCakes118_dfb026acc3b422e65c75bc4d105d8f383e97fa0990b5631123e47ff9b7abb08f.exe

  • Size

    287KB

  • MD5

    df10072c1fc4a8e3b0544afa68a86296

  • SHA1

    77b06d7aae6a21ba7e3b5a668f252108276e8f77

  • SHA256

    dfb026acc3b422e65c75bc4d105d8f383e97fa0990b5631123e47ff9b7abb08f

  • SHA512

    cf54a8c9c40934091c05bd5d01f07db90525497fad403b966d5a5b36e6218292734bb3c894c30d263893e68baf9974d3e29458a5a9d5368c9a55e3c26294c34b

  • SSDEEP

    3072:EcJFj9Ec2xTndjpPsEluBFWP3Dlu0ay/MCZryAGs4AB37NryJvMT8RROhSm4+lXU:DbjPwndjpxlubC3TKTs4AqCTYMI2K

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_dfb026acc3b422e65c75bc4d105d8f383e97fa0990b5631123e47ff9b7abb08f.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_dfb026acc3b422e65c75bc4d105d8f383e97fa0990b5631123e47ff9b7abb08f.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2304
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rxgbevmg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1036
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tayjojxl.exe" C:\Windows\SysWOW64\rxgbevmg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3364
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rxgbevmg binPath= "C:\Windows\SysWOW64\rxgbevmg\tayjojxl.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_dfb026acc3b422e65c75bc4d105d8f383e97fa0990b5631123e47ff9b7abb08f.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:808
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rxgbevmg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5052
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rxgbevmg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:620
    • 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:400
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2304 -s 1236
      2⤵
      • Program crash
      PID:3972
  • C:\Windows\SysWOW64\rxgbevmg\tayjojxl.exe
    C:\Windows\SysWOW64\rxgbevmg\tayjojxl.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_dfb026acc3b422e65c75bc4d105d8f383e97fa0990b5631123e47ff9b7abb08f.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2220
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4688
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2220 -s 516
      2⤵
      • Program crash
      PID:2960
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2304 -ip 2304
    1⤵
      PID:1600
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2220 -ip 2220
      1⤵
        PID:208

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.0MB

        MD5

        1dd171c3c03fad5036cd6b6aa99ba419

        SHA1

        54c970817011c0112130ba5a48ab44dcb53b7330

        SHA256

        6fe6edbccd5744f14f8fae934d22947275864ba2ddc60755b69cd7bb294ff571

        SHA512

        bd49452cf80ea615542158967a045de8862da9b2047696b8589bf7ae9a491fe74188f4daa9bd3218b6712da143b2687c911560eb1471f8a2c99703064b74610c

      • memory/2220-15-0x0000000000400000-0x0000000002B91000-memory.dmp

        Filesize

        39.6MB

      • memory/2304-1-0x0000000002D00000-0x0000000002E00000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/2304-8-0x0000000000400000-0x0000000002B91000-memory.dmp

        Filesize

        39.6MB

      • memory/4688-11-0x00000000009C0000-0x00000000009D5000-memory.dmp

        Filesize

        84KB

      • memory/4688-13-0x00000000009C0000-0x00000000009D5000-memory.dmp

        Filesize

        84KB

      • memory/4688-14-0x00000000009C0000-0x00000000009D5000-memory.dmp

        Filesize

        84KB