Analysis

  • max time kernel
    149s
  • max time network
    150s
  • 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 21:00

General

  • Target

    JaffaCakes118_72f0323499a3831dcbc7d9d558143b12a44beadcd7d61ecc37512e31fd357d2c.exe

  • Size

    283KB

  • MD5

    64561281dec56eb90a6d09c136fe247c

  • SHA1

    90abc8a42cc24d16c9b3d5f7b768b5be8df9cb3e

  • SHA256

    72f0323499a3831dcbc7d9d558143b12a44beadcd7d61ecc37512e31fd357d2c

  • SHA512

    4a9dec99567ea12dbf089844343911920a7a1a55337f9b2e4c5ce8d134523dfc3d232f1030a0121724414e2aafb49f4df13377c9a6cf29fbfca8f6eb0694ed4c

  • SSDEEP

    3072:k0Pk78X7od3gwQTyrZ6bA5VKtxjm/z0o3/ycngVYseLzSOgxw5aGCTZGa9yXgGgy:D878A3QBbA3Exw5o6yOH9k79kgGpeU

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_72f0323499a3831dcbc7d9d558143b12a44beadcd7d61ecc37512e31fd357d2c.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_72f0323499a3831dcbc7d9d558143b12a44beadcd7d61ecc37512e31fd357d2c.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:392
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nrrfsrmg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4192
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zeasqtf.exe" C:\Windows\SysWOW64\nrrfsrmg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4384
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nrrfsrmg binPath= "C:\Windows\SysWOW64\nrrfsrmg\zeasqtf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_72f0323499a3831dcbc7d9d558143b12a44beadcd7d61ecc37512e31fd357d2c.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4052
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nrrfsrmg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5004
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nrrfsrmg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2144
    • 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:3104
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 392 -s 1044
      2⤵
      • Program crash
      PID:3716
  • C:\Windows\SysWOW64\nrrfsrmg\zeasqtf.exe
    C:\Windows\SysWOW64\nrrfsrmg\zeasqtf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_72f0323499a3831dcbc7d9d558143b12a44beadcd7d61ecc37512e31fd357d2c.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2748
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4772
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2748 -s 512
      2⤵
      • Program crash
      PID:1872
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 392 -ip 392
    1⤵
      PID:4892
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2748 -ip 2748
      1⤵
        PID:3516

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.8MB

        MD5

        6ae39eaf1b0659733f0df87172b45ac7

        SHA1

        7ad10ad8b141be9eb023e5e14ee819324aea47bf

        SHA256

        6c1e4fcb58973409fd8216db809f491d41d4749982f96740bfb4d58cb90faa19

        SHA512

        98280d30f83ef944118e40c7e0847da113f654a48bafbd3194ec1cd94b3b4ece917931b9b866aa9b3a20d7a7a3fd40a5a75407de427faccdbc8d551ee4671dc1

      • memory/392-1-0x0000000002EF0000-0x0000000002FF0000-memory.dmp

        Filesize

        1024KB

      • memory/392-2-0x0000000002CA0000-0x0000000002CB3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/392-9-0x0000000002CA0000-0x0000000002CB3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/392-8-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/2748-15-0x0000000000400000-0x0000000002B8F000-memory.dmp

        Filesize

        39.6MB

      • memory/4772-11-0x0000000000F10000-0x0000000000F25000-memory.dmp

        Filesize

        84KB

      • memory/4772-13-0x0000000000F10000-0x0000000000F25000-memory.dmp

        Filesize

        84KB

      • memory/4772-14-0x0000000000F10000-0x0000000000F25000-memory.dmp

        Filesize

        84KB