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
    24-12-2024 21:32

General

  • Target

    JaffaCakes118_c837cd078824befc2f5bcd696d0b7eece7c6ef2b706bc5332d5b1155aac06531.exe

  • Size

    270KB

  • MD5

    4572e49963d2e5a2f834c3f66647c313

  • SHA1

    5133ea013005b1867d964c1c7b68ae9919c11a60

  • SHA256

    c837cd078824befc2f5bcd696d0b7eece7c6ef2b706bc5332d5b1155aac06531

  • SHA512

    f200d03c74068ef8afdb4d69b8e145806c4dcab3c46ebef9f101ee4cf15faafde8107d302033e71ec785e21e47c9a407f68d89bc3aefdd8135ac02e6150c4d38

  • SSDEEP

    6144:VlKUqyUmgpzhSMzmZqIPFphSn0zl19pDJH:fwyUmyAKn0B19b

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_c837cd078824befc2f5bcd696d0b7eece7c6ef2b706bc5332d5b1155aac06531.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c837cd078824befc2f5bcd696d0b7eece7c6ef2b706bc5332d5b1155aac06531.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3236
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bsxtlday\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2928
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jylhtslx.exe" C:\Windows\SysWOW64\bsxtlday\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1984
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bsxtlday binPath= "C:\Windows\SysWOW64\bsxtlday\jylhtslx.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c837cd078824befc2f5bcd696d0b7eece7c6ef2b706bc5332d5b1155aac06531.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bsxtlday "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bsxtlday
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2228
    • 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:3468
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3236 -s 1040
      2⤵
      • Program crash
      PID:880
  • C:\Windows\SysWOW64\bsxtlday\jylhtslx.exe
    C:\Windows\SysWOW64\bsxtlday\jylhtslx.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c837cd078824befc2f5bcd696d0b7eece7c6ef2b706bc5332d5b1155aac06531.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2744
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1736
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2744 -s 508
      2⤵
      • Program crash
      PID:4384
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3236 -ip 3236
    1⤵
      PID:1052
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2744 -ip 2744
      1⤵
        PID:1448

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.1MB

        MD5

        f5e852beb25143e53b9217ae502e9cce

        SHA1

        ea1e9db03617f9961113e90282b81a15eb0444a2

        SHA256

        67ba5953abbaebd91b87381b02a64d413a668ccdff02036dbbc77365a0ad095c

        SHA512

        f1b0f0b27ee3459fe3b3f9bf883f5800c0792bf79f865b4295199aa796730008c2abfb7a7bd52472d47069c606a26fe4b4d46dc676bd14c7876cd744c1d1ae2d

      • memory/1736-14-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

      • memory/1736-17-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

      • memory/1736-16-0x0000000000450000-0x0000000000465000-memory.dmp

        Filesize

        84KB

      • memory/2744-13-0x0000000000400000-0x0000000000450000-memory.dmp

        Filesize

        320KB

      • memory/2744-12-0x0000000000400000-0x0000000000450000-memory.dmp

        Filesize

        320KB

      • memory/2744-11-0x0000000000400000-0x0000000000450000-memory.dmp

        Filesize

        320KB

      • memory/2744-18-0x0000000000400000-0x0000000000450000-memory.dmp

        Filesize

        320KB

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

        Filesize

        76KB

      • memory/3236-8-0x0000000000400000-0x0000000000450000-memory.dmp

        Filesize

        320KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3236-1-0x00000000005F0000-0x00000000006F0000-memory.dmp

        Filesize

        1024KB