Analysis

  • max time kernel
    148s
  • 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
    10-01-2025 05:05

General

  • Target

    JaffaCakes118_dba85cdc0e89cd40923b53f496ae1764.exe

  • Size

    12.7MB

  • MD5

    dba85cdc0e89cd40923b53f496ae1764

  • SHA1

    375b729f779ddd55457ab70806dfeebc8d4c6099

  • SHA256

    e385027bf50361742ca9a6a3d9c179cde61b1f2de98fc59e43574c9775c0dbb6

  • SHA512

    bd1c24111e28e7956157f9d9a8f52ee431d01aa34bea9e670819e85b8c1e2e73fcc98873235fb799501b63f5eff6c1320ce8319573d1e37f56db26e67c586405

  • SSDEEP

    196608:sT6666666666666666666666666666666666666666666666666666666666666+:s

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_dba85cdc0e89cd40923b53f496ae1764.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_dba85cdc0e89cd40923b53f496ae1764.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4036
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ndnsgmxa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4484
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tadbccsg.exe" C:\Windows\SysWOW64\ndnsgmxa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ndnsgmxa binPath= "C:\Windows\SysWOW64\ndnsgmxa\tadbccsg.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_dba85cdc0e89cd40923b53f496ae1764.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4640
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ndnsgmxa "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ndnsgmxa
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5048
    • 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:3264
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4036 -s 648
      2⤵
      • Program crash
      PID:1316
  • C:\Windows\SysWOW64\ndnsgmxa\tadbccsg.exe
    C:\Windows\SysWOW64\ndnsgmxa\tadbccsg.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_dba85cdc0e89cd40923b53f496ae1764.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3092
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2720
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3092 -s 512
      2⤵
      • Program crash
      PID:532
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 4036 -ip 4036
    1⤵
      PID:1768
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3092 -ip 3092
      1⤵
        PID:4756

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.5MB

        MD5

        22ac7d3ac52fd8debdd51a1635e8942e

        SHA1

        19f48bf8f95d6b3d57d71514bb058b6753c8c6ac

        SHA256

        41604400e79d938b9fb45b90b8c8ee2c20ba8d1fd675ed4dfe1b82a3df878f6b

        SHA512

        2b9e0700435ca69ec3f47affd46a9ef9734d97c8589199f9985ff56a2147e5a60d33b5175a775e21227888f613f1d6bc12c4deb88f5de330587dca6527ab5806

      • memory/2720-14-0x0000000000530000-0x0000000000545000-memory.dmp

        Filesize

        84KB

      • memory/2720-16-0x0000000000530000-0x0000000000545000-memory.dmp

        Filesize

        84KB

      • memory/2720-17-0x0000000000530000-0x0000000000545000-memory.dmp

        Filesize

        84KB

      • memory/3092-11-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/3092-12-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/3092-13-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/3092-18-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/4036-8-0x0000000000400000-0x000000000086F000-memory.dmp

        Filesize

        4.4MB

      • memory/4036-1-0x0000000000B80000-0x0000000000C80000-memory.dmp

        Filesize

        1024KB