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
    09-10-2024 08:50

General

  • Target

    2e316d198cb4372d12133d6fdda7774f_JaffaCakes118.exe

  • Size

    12.0MB

  • MD5

    2e316d198cb4372d12133d6fdda7774f

  • SHA1

    332966886416afa54689bf0c0641d43465103e51

  • SHA256

    ac2b5f67e079686ab6ee26fa820836d8da7317ecc0837556c1efccd08013bedc

  • SHA512

    9169bbf067b75397a140371fc5b32b2c61ed6788eddbef1f41d377e1725440b5e312d1015a249ce8f999b91f0c3f8b5d90834de2ce72922471661248c5fa0658

  • SSDEEP

    49152:RJkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk8:

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.

  • 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\2e316d198cb4372d12133d6fdda7774f_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\2e316d198cb4372d12133d6fdda7774f_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:804
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lwntsoyb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1592
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tivrdcvh.exe" C:\Windows\SysWOW64\lwntsoyb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5012
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lwntsoyb binPath= "C:\Windows\SysWOW64\lwntsoyb\tivrdcvh.exe /d\"C:\Users\Admin\AppData\Local\Temp\2e316d198cb4372d12133d6fdda7774f_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lwntsoyb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lwntsoyb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:736
    • 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:4580
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 804 -s 592
      2⤵
      • Program crash
      PID:3680
  • C:\Windows\SysWOW64\lwntsoyb\tivrdcvh.exe
    C:\Windows\SysWOW64\lwntsoyb\tivrdcvh.exe /d"C:\Users\Admin\AppData\Local\Temp\2e316d198cb4372d12133d6fdda7774f_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2372
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2700
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2372 -s 528
      2⤵
      • Program crash
      PID:864
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 804 -ip 804
    1⤵
      PID:1432
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 2372 -ip 2372
      1⤵
        PID:3000

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.2MB

        MD5

        054649c041aad9b0354acdd185030dfa

        SHA1

        5a097664a924aea2441651dcf7429889c4fa0c68

        SHA256

        5a2e67bd96dffe0ea97f0b494d9905485939d4a5723f11c75bd64bf9543e7379

        SHA512

        4badf96de010c51c6038c603404aeac6cbf3d8f1e65719d40079b960e27460165cf815fecf846a9e26b117feeb949d5d0c45404d0808150510c1853d0a66381d

      • memory/804-1-0x0000000002210000-0x0000000002310000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/804-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/804-12-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/804-11-0x0000000000400000-0x0000000002145000-memory.dmp

        Filesize

        29.3MB

      • memory/2372-10-0x0000000000400000-0x0000000002145000-memory.dmp

        Filesize

        29.3MB

      • memory/2700-8-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

        Filesize

        84KB

      • memory/2700-14-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

        Filesize

        84KB

      • memory/2700-15-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

        Filesize

        84KB