Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09-01-2025 06:36

General

  • Target

    JaffaCakes118_c15b122b092fb7fd7609b0aa35c50055.exe

  • Size

    12.0MB

  • MD5

    c15b122b092fb7fd7609b0aa35c50055

  • SHA1

    f7a3a614f928c93255722285522751c2e2683f77

  • SHA256

    ca0a6b6fba4b953e89e02937e312d3827725b239597b5fa2d38ee50c4e522f1f

  • SHA512

    a35833133eb8b957ab4b497aaa8fe184dddde80951891de2ec66b93bc8eed046b30036c452a55fbd7d1a34cc16bffb54da3618df49a666801d7a560d3e2c89de

  • SSDEEP

    6144:0x1e32eIcaedCtrtmVHxzDlnTro77LlZgHzEV8hLH:0PemBSkrt8z5rofxW

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_c15b122b092fb7fd7609b0aa35c50055.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c15b122b092fb7fd7609b0aa35c50055.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2936
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mnetlwye\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4680
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\psqlfmwg.exe" C:\Windows\SysWOW64\mnetlwye\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3604
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mnetlwye binPath= "C:\Windows\SysWOW64\mnetlwye\psqlfmwg.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c15b122b092fb7fd7609b0aa35c50055.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4452
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mnetlwye "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4312
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mnetlwye
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4944
    • 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:3612
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2936 -s 1048
      2⤵
      • Program crash
      PID:2496
  • C:\Windows\SysWOW64\mnetlwye\psqlfmwg.exe
    C:\Windows\SysWOW64\mnetlwye\psqlfmwg.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c15b122b092fb7fd7609b0aa35c50055.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1816
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1048
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1816 -s 564
      2⤵
      • Program crash
      PID:3724
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2936 -ip 2936
    1⤵
      PID:2468
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 1816 -ip 1816
      1⤵
        PID:3044

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        423bf231d6d254458628f42b73d488d3

        SHA1

        119e6456713e2a64178235019ef978deaa0699f7

        SHA256

        f0b158e2fc6fe213fe1dd763a6974a1dc730582ef4e26ac9dc74b102aab0a159

        SHA512

        677cafbe082042069d235728d11d95281b9de2bd23fc0ad73b2b3d833d37c870a0540cef901fbc5734ead3f0f76a4214f594ab3ef5c2b1da2d25cef5f594b020

      • memory/1048-14-0x0000000001260000-0x0000000001275000-memory.dmp

        Filesize

        84KB

      • memory/1048-17-0x0000000001260000-0x0000000001275000-memory.dmp

        Filesize

        84KB

      • memory/1048-16-0x0000000001260000-0x0000000001275000-memory.dmp

        Filesize

        84KB

      • memory/1816-11-0x0000000000400000-0x0000000000452000-memory.dmp

        Filesize

        328KB

      • memory/1816-13-0x0000000000400000-0x0000000000452000-memory.dmp

        Filesize

        328KB

      • memory/1816-12-0x0000000000400000-0x0000000000452000-memory.dmp

        Filesize

        328KB

      • memory/1816-18-0x0000000000400000-0x0000000000452000-memory.dmp

        Filesize

        328KB

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

        Filesize

        84KB

      • memory/2936-9-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/2936-1-0x0000000000650000-0x0000000000750000-memory.dmp

        Filesize

        1024KB

      • memory/2936-8-0x0000000000400000-0x0000000000452000-memory.dmp

        Filesize

        328KB

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

        Filesize

        84KB

      • memory/2936-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB