Analysis

  • max time kernel
    149s
  • 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
    22-12-2024 01:48

General

  • Target

    JaffaCakes118_9100e31f06a1a22736f8d9707f52622fc26564b48e9f611ac61be5df2817e17a.exe

  • Size

    285KB

  • MD5

    18c17011dc0a7eb3edb1f8d25becd9d8

  • SHA1

    934ee7e00313f6a2c5ce1b85c9ac397a7a85ad6c

  • SHA256

    9100e31f06a1a22736f8d9707f52622fc26564b48e9f611ac61be5df2817e17a

  • SHA512

    ee8cd3a766864cf3f9d7eeda81b548befcee5c91d3089004cfeb527fce3506cc71c76bc940d9337a1783723b13fa279a60748f7323033ddb6f473c64e16f6128

  • SSDEEP

    6144:IWipWoRl6bpZ6AKr4sh0OmQmKSg6FDleRrX:IWipWoRl6b84j9qSgSQRrX

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_9100e31f06a1a22736f8d9707f52622fc26564b48e9f611ac61be5df2817e17a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9100e31f06a1a22736f8d9707f52622fc26564b48e9f611ac61be5df2817e17a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4828
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\olijqsri\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4732
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gwwwlcia.exe" C:\Windows\SysWOW64\olijqsri\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create olijqsri binPath= "C:\Windows\SysWOW64\olijqsri\gwwwlcia.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9100e31f06a1a22736f8d9707f52622fc26564b48e9f611ac61be5df2817e17a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3592
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description olijqsri "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4200
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start olijqsri
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3376
    • 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:2724
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4828 -s 1208
      2⤵
      • Program crash
      PID:5088
  • C:\Windows\SysWOW64\olijqsri\gwwwlcia.exe
    C:\Windows\SysWOW64\olijqsri\gwwwlcia.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9100e31f06a1a22736f8d9707f52622fc26564b48e9f611ac61be5df2817e17a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5036
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1540
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5036 -s 512
      2⤵
      • Program crash
      PID:2252
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 4828 -ip 4828
    1⤵
      PID:4948
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 5036 -ip 5036
      1⤵
        PID:3720

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.1MB

        MD5

        1ab6056ba998f14dbf07f24c3c021d3b

        SHA1

        d0f8bde8f7707a4cc84f148b2cc6f631bb71e2fd

        SHA256

        4da85cbbbc2143c7eb687b4cc6abf2376322d8db4b4b72a48739dff4205a7141

        SHA512

        8aefdad3a13ae99abe7c696b79cd29b188839dae9ced09ee6f4bf0d01976ff75e4b6966456585a885443b3dbf12f296a763499a24b444f954a14806cdaea98ea

      • memory/1540-11-0x0000000000C60000-0x0000000000C75000-memory.dmp

        Filesize

        84KB

      • memory/1540-13-0x0000000000C60000-0x0000000000C75000-memory.dmp

        Filesize

        84KB

      • memory/1540-15-0x0000000000C60000-0x0000000000C75000-memory.dmp

        Filesize

        84KB

      • memory/4828-1-0x0000000002E40000-0x0000000002F40000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/4828-8-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/5036-14-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB