Analysis

  • max time kernel
    148s
  • 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
    02-01-2025 06:38

General

  • Target

    JaffaCakes118_6347b209373638144cf0ad83f9f6d2e3.exe

  • Size

    11.7MB

  • MD5

    6347b209373638144cf0ad83f9f6d2e3

  • SHA1

    93ec12b673de5d7a7245d226750c105aae3cac6e

  • SHA256

    c56c665284628c1928a4951dd94214549570d48f5ae553fb90a67d2a132ac643

  • SHA512

    16cf949c45ad07c94b66e22e7bcb9e3c3c947fb150fd411bdf6c98d034145c47910c36be52aa895f012c378a33bc134ac50c766adfadd284333d52d37c7951f4

  • SSDEEP

    6144:I72USLqCfuAKEfkqsGUemWik5nkFp7xkvCd6skSwG8QUsc:kMqCfFfbsGZhikA7xkaYSwG81

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_6347b209373638144cf0ad83f9f6d2e3.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6347b209373638144cf0ad83f9f6d2e3.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2108
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jrxbntva\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2864
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ushtnjuk.exe" C:\Windows\SysWOW64\jrxbntva\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2256
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jrxbntva binPath= "C:\Windows\SysWOW64\jrxbntva\ushtnjuk.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6347b209373638144cf0ad83f9f6d2e3.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4140
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jrxbntva "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4972
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jrxbntva
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2380
    • 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:3292
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2108 -s 1164
      2⤵
      • Program crash
      PID:2408
  • C:\Windows\SysWOW64\jrxbntva\ushtnjuk.exe
    C:\Windows\SysWOW64\jrxbntva\ushtnjuk.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6347b209373638144cf0ad83f9f6d2e3.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2384
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3752
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2384 -s 516
      2⤵
      • Program crash
      PID:336
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 2108 -ip 2108
    1⤵
      PID:3200
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 2384 -ip 2384
      1⤵
        PID:4032

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        9e3c623d98d2945a6425b7b415098b1d

        SHA1

        cc044fbb927817fbd8647a52533ff0cf0905cb60

        SHA256

        3d6aa2028c146cc33a38a9b4a76f69b7d8440c5436df5b15827260dba3232c0e

        SHA512

        793ed55c4eff0cb0548d4296b481e293f08d98387c18f6f86beeec224b9f8f04e401bd6dd5efcfe67f9187e7bf3cbfc0928bbb731c70f67f096f2931baaa48a0

      • memory/2108-8-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2108-2-0x0000000000590000-0x00000000005A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2108-9-0x0000000000590000-0x00000000005A3000-memory.dmp

        Filesize

        76KB

      • memory/2108-1-0x0000000000740000-0x0000000000840000-memory.dmp

        Filesize

        1024KB

      • memory/2384-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2384-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2384-17-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/3752-13-0x0000000000CA0000-0x0000000000CB5000-memory.dmp

        Filesize

        84KB

      • memory/3752-15-0x0000000000CA0000-0x0000000000CB5000-memory.dmp

        Filesize

        84KB

      • memory/3752-16-0x0000000000CA0000-0x0000000000CB5000-memory.dmp

        Filesize

        84KB