Analysis

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

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

General

  • Target

    JaffaCakes118_b5b559ae20ec80c26ec50afd2d077f53.exe

  • Size

    13.6MB

  • MD5

    b5b559ae20ec80c26ec50afd2d077f53

  • SHA1

    4553fc5937302711ee5e74a881c7fd4acd119e5b

  • SHA256

    072e795c44b87d1eb54005be791e75db47cb9717e43b300d3e27b6c9d99523fd

  • SHA512

    dadb525483641f1574c5efcb48cc2c1333d34145b1b7e6386afa9f3e64db7ce45bbe4fc70f2656a997ec42e839bc73cb4c641bd97061e95d712c476f5573cdfd

  • SSDEEP

    196608:aI+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++2:a

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_b5b559ae20ec80c26ec50afd2d077f53.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b5b559ae20ec80c26ec50afd2d077f53.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4296
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\iskuhbsa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4840
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfrzzkzh.exe" C:\Windows\SysWOW64\iskuhbsa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2156
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create iskuhbsa binPath= "C:\Windows\SysWOW64\iskuhbsa\tfrzzkzh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b5b559ae20ec80c26ec50afd2d077f53.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4572
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description iskuhbsa "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start iskuhbsa
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1708
    • 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:4608
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4296 -s 1216
      2⤵
      • Program crash
      PID:760
  • C:\Windows\SysWOW64\iskuhbsa\tfrzzkzh.exe
    C:\Windows\SysWOW64\iskuhbsa\tfrzzkzh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b5b559ae20ec80c26ec50afd2d077f53.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3192
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1788
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3192 -s 512
      2⤵
      • Program crash
      PID:4356
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4296 -ip 4296
    1⤵
      PID:3124
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 3192 -ip 3192
      1⤵
        PID:3168

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        15fc21a0fb75463e854199eb1ad1a837

        SHA1

        ad09527bbabf8cf0ff73d1a71390ed2c92535455

        SHA256

        464a0a05399666c43bad8ee8104e734fd7e77d4d3b3858e4cbfa57d7e3167b46

        SHA512

        770658429db46e07e727a9feac040a8aa493f8702a652aa01d0371ad2383e9a8824f4933fab13b9788224baffb672b05a1f36726a82a2b95016750ad348a8756

      • memory/1788-12-0x0000000000650000-0x0000000000665000-memory.dmp

        Filesize

        84KB

      • memory/1788-14-0x0000000000650000-0x0000000000665000-memory.dmp

        Filesize

        84KB

      • memory/1788-15-0x0000000000650000-0x0000000000665000-memory.dmp

        Filesize

        84KB

      • memory/3192-11-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/3192-17-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB

      • memory/4296-1-0x0000000000960000-0x0000000000A60000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/4296-8-0x0000000000400000-0x0000000000870000-memory.dmp

        Filesize

        4.4MB