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
    09-01-2025 09:37

General

  • Target

    JaffaCakes118_c4c9428ea6a30325f8ac6a3fecc199a1.exe

  • Size

    12.5MB

  • MD5

    c4c9428ea6a30325f8ac6a3fecc199a1

  • SHA1

    e8c27d01e8e1b4f11f6183e8ba4b3065392349ce

  • SHA256

    4fb9ec0883d7b509a16d73e2181f5236d13042706cb8bbe82091f8a9db4575d1

  • SHA512

    b052061f5936ee2f30fc18e81daa9542451a1ad58235bd180e7d01fa49977813945492890a1a37a3cec59bb261a626cd175f12ac85bec9e000273159980e7a33

  • SSDEEP

    196608:TPRMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMP:T

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_c4c9428ea6a30325f8ac6a3fecc199a1.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c4c9428ea6a30325f8ac6a3fecc199a1.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2308
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bmjgniz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4352
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfrzzkzh.exe" C:\Windows\SysWOW64\bmjgniz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bmjgniz binPath= "C:\Windows\SysWOW64\bmjgniz\tfrzzkzh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c4c9428ea6a30325f8ac6a3fecc199a1.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2088
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bmjgniz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1276
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bmjgniz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5100
    • 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:1476
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2308 -s 1176
      2⤵
      • Program crash
      PID:4300
  • C:\Windows\SysWOW64\bmjgniz\tfrzzkzh.exe
    C:\Windows\SysWOW64\bmjgniz\tfrzzkzh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c4c9428ea6a30325f8ac6a3fecc199a1.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2340
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3468
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2340 -s 508
      2⤵
      • Program crash
      PID:1588
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 2308 -ip 2308
    1⤵
      PID:3908
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 2340 -ip 2340
      1⤵
        PID:3548

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.4MB

        MD5

        c16151f0c2eeca5f8dcc6aa1f5f2a44b

        SHA1

        be9aa19ab0a1821fb29ef66042835a6d00c3fc3e

        SHA256

        de83ab916f6c1e38aff2e9ba306a62f8c43b94c2dff9ccd238cd175b1c6aac2b

        SHA512

        fda424a3c30b5c8f8faab0554a54f5937a62386fe534960ab46af8031b2a20ba320ebed9dac790acc209a5f49ee1ede28c758c53511c7e3bcb5da7904061071b

      • memory/2308-1-0x0000000000B60000-0x0000000000C60000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/2308-8-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/2340-12-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/2340-15-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/3468-11-0x0000000000A10000-0x0000000000A25000-memory.dmp

        Filesize

        84KB

      • memory/3468-14-0x0000000000A10000-0x0000000000A25000-memory.dmp

        Filesize

        84KB

      • memory/3468-17-0x0000000000A10000-0x0000000000A25000-memory.dmp

        Filesize

        84KB