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
    07-01-2025 00:18

General

  • Target

    JaffaCakes118_42a65373c62c1257fd39534ab11140c8.exe

  • Size

    11.7MB

  • MD5

    42a65373c62c1257fd39534ab11140c8

  • SHA1

    24dbfae85496e3c18ddb89d279f4e82fec9a2cac

  • SHA256

    f12c3ea15e645b1685fbed815adcfdd21374d5f48ae50c45e9ddbad1edc4d39b

  • SHA512

    afb7a35ba6a56a3cb9caf87b9aa0713e7fa6371164d2946425f571b699723354f3f21af8fbf84f8fed5d376905521f396500692bc0ec34067cbd2065c37e793f

  • SSDEEP

    49152:Dyn7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x7x/:Dy

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

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_42a65373c62c1257fd39534ab11140c8.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_42a65373c62c1257fd39534ab11140c8.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2588
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nkwgrhbe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2428
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kntncnye.exe" C:\Windows\SysWOW64\nkwgrhbe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2440
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nkwgrhbe binPath= "C:\Windows\SysWOW64\nkwgrhbe\kntncnye.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_42a65373c62c1257fd39534ab11140c8.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4584
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nkwgrhbe "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:372
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nkwgrhbe
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4904
    • 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:1548
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2588 -s 572
      2⤵
      • Program crash
      PID:764
  • C:\Windows\SysWOW64\nkwgrhbe\kntncnye.exe
    C:\Windows\SysWOW64\nkwgrhbe\kntncnye.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_42a65373c62c1257fd39534ab11140c8.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4288
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2416
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4288 -s 516
      2⤵
      • Program crash
      PID:2680
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2588 -ip 2588
    1⤵
      PID:3888
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 4288 -ip 4288
      1⤵
        PID:1276

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.5MB

        MD5

        736c95e77738b97e5a85ff247c8ebafc

        SHA1

        26f77ca24e583cc8393b0a9033ab6a4013fa7f14

        SHA256

        61976095743a2669c674bf0b40daf6fcefa4d1fe4558150fe25efbed00731c14

        SHA512

        c78fbad2c8b300fb4232b1a1eebcc2419bdb8fa17ab6d7acf5bfa179f919a0be44a8ac4d5119e431998d82be9482e432badae967b50247e5e3751c54b4d0f00e

      • memory/2416-11-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB

      • memory/2416-22-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB

      • memory/2416-21-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB

      • memory/2416-20-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB

      • memory/2416-14-0x0000000000D80000-0x0000000000D95000-memory.dmp

        Filesize

        84KB

      • memory/2588-16-0x00000000004B0000-0x00000000004C3000-memory.dmp

        Filesize

        76KB

      • memory/2588-15-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/2588-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2588-1-0x0000000000510000-0x0000000000610000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/2588-2-0x00000000004B0000-0x00000000004C3000-memory.dmp

        Filesize

        76KB

      • memory/4288-8-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/4288-9-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/4288-19-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/4288-10-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB