Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 20:49

General

  • Target

    JaffaCakes118_8d7c8ef6d362692f079bff3f66af4f7fd253660a5b28f68442df12d47bf7a043.exe

  • Size

    286KB

  • MD5

    35222c2852fe3d8ed50c8820b4aa10fb

  • SHA1

    47664e419c4357857bac4257a317c282e36c0009

  • SHA256

    8d7c8ef6d362692f079bff3f66af4f7fd253660a5b28f68442df12d47bf7a043

  • SHA512

    5233c53cfb2aea7450076be4dee889048621a005b39b69330393bb041dc97ad7240e5ce1bc6a7ac6fc0f9d121b2e20765b96d9a57d499233ef8518a98013d92d

  • SSDEEP

    3072:Kkt7EEcdxTVtTjv6z7lKBFRqHXu0ay/McZWKYZYU/Gx9II9PtcLHTbuJt3nnLBbi:K47QPVtTjv4lKb8HhtY0vIAKzinLBw

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_8d7c8ef6d362692f079bff3f66af4f7fd253660a5b28f68442df12d47bf7a043.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8d7c8ef6d362692f079bff3f66af4f7fd253660a5b28f68442df12d47bf7a043.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2312
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jninutew\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3188
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\eyualvnt.exe" C:\Windows\SysWOW64\jninutew\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2776
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jninutew binPath= "C:\Windows\SysWOW64\jninutew\eyualvnt.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8d7c8ef6d362692f079bff3f66af4f7fd253660a5b28f68442df12d47bf7a043.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1280
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jninutew "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jninutew
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4976
    • 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:3252
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2312 -s 1044
      2⤵
      • Program crash
      PID:1088
  • C:\Windows\SysWOW64\jninutew\eyualvnt.exe
    C:\Windows\SysWOW64\jninutew\eyualvnt.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8d7c8ef6d362692f079bff3f66af4f7fd253660a5b28f68442df12d47bf7a043.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3824
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:688
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3824 -s 520
      2⤵
      • Program crash
      PID:5108
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 2312 -ip 2312
    1⤵
      PID:3908
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3824 -ip 3824
      1⤵
        PID:1128

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        15.0MB

        MD5

        47c68a19eaa874ee6a46e7ddad123de4

        SHA1

        59897bdd1fd91648759b8ab630bdc6ab0da80c8a

        SHA256

        8df26a5a1280bf1298c105a8f78c2c50f42d5de6c0f2eb4d21c6c439d0f70bf0

        SHA512

        1d08b83054816de950dd265e7e86d2f48ec687dc41b46757b5250c2296a7e8f40271205c6ce442655c91d8b2c2ba0d7569929dc2966f544667d9b36d9e946bf0

      • memory/688-11-0x0000000000B20000-0x0000000000B35000-memory.dmp

        Filesize

        84KB

      • memory/688-13-0x0000000000B20000-0x0000000000B35000-memory.dmp

        Filesize

        84KB

      • memory/688-14-0x0000000000B20000-0x0000000000B35000-memory.dmp

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/2312-1-0x0000000002EC0000-0x0000000002FC0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/2312-8-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB

      • memory/3824-15-0x0000000000400000-0x0000000002B90000-memory.dmp

        Filesize

        39.6MB