Analysis

  • max time kernel
    148s
  • 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
    25-12-2024 00:48

General

  • Target

    JaffaCakes118_21fa4d730a137bc1b96e8cb8a175e737e7d6ff3ab3eb2b068f9a3437508aed1d.exe

  • Size

    289KB

  • MD5

    fc3b7de2e1349e3132fbbc37ff6c265d

  • SHA1

    acd8bb57f4297c422a531a13172ae0a89637d4ec

  • SHA256

    21fa4d730a137bc1b96e8cb8a175e737e7d6ff3ab3eb2b068f9a3437508aed1d

  • SHA512

    95c7c767abc7383c67fdb6c84a05c5b6baabe74f71c13c1cd0b4c11bf62c6157fdff1a3867d49162d89ef6a30c20dae1b76781ba2897ccf2f93a1a70ecd16422

  • SSDEEP

    6144:eRpABz+P8behNzsXqJL6F6EkOOhxxdeTr/ekI:DBz+U0xL6Fdizxd6L

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_21fa4d730a137bc1b96e8cb8a175e737e7d6ff3ab3eb2b068f9a3437508aed1d.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_21fa4d730a137bc1b96e8cb8a175e737e7d6ff3ab3eb2b068f9a3437508aed1d.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:760
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qevecujo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4996
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\szxiniwk.exe" C:\Windows\SysWOW64\qevecujo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1588
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qevecujo binPath= "C:\Windows\SysWOW64\qevecujo\szxiniwk.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_21fa4d730a137bc1b96e8cb8a175e737e7d6ff3ab3eb2b068f9a3437508aed1d.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4612
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qevecujo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3800
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qevecujo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3408
    • 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:5004
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 760 -s 1036
      2⤵
      • Program crash
      PID:4292
  • C:\Windows\SysWOW64\qevecujo\szxiniwk.exe
    C:\Windows\SysWOW64\qevecujo\szxiniwk.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_21fa4d730a137bc1b96e8cb8a175e737e7d6ff3ab3eb2b068f9a3437508aed1d.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3688
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3988
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3688 -s 528
      2⤵
      • Program crash
      PID:3760
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 760 -ip 760
    1⤵
      PID:4184
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3688 -ip 3688
      1⤵
        PID:3900

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.6MB

        MD5

        b4f8ba66c6be32d95520c6152d81788d

        SHA1

        89768a8ea8ad339e599dc5f2a65606a0a2494038

        SHA256

        e496be749f58ab3d1ad93647e35a6c2b8c317683eed882ea5c25ef649fc9c85c

        SHA512

        34e383fb317132ac952ffec500e7673a30f2d7cea85465530c9dc225405adffa298a1eba15fc81b2aab86f79016af46cae42ed6f61f7431ca5543b423374ab84

      • memory/760-8-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

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

        Filesize

        84KB

      • memory/760-1-0x00000000006C0000-0x00000000007C0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        76KB

      • memory/3688-12-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3688-11-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3688-13-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3688-18-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/3988-14-0x0000000000180000-0x0000000000195000-memory.dmp

        Filesize

        84KB

      • memory/3988-16-0x0000000000180000-0x0000000000195000-memory.dmp

        Filesize

        84KB

      • memory/3988-17-0x0000000000180000-0x0000000000195000-memory.dmp

        Filesize

        84KB