Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23-12-2024 23:13

General

  • Target

    JaffaCakes118_be6deee755d6a66153ddac7571805f5e2d50b067ad240e27210952a228607412.exe

  • Size

    286KB

  • MD5

    92082f3ee0d8768ec943b5d97e35a24d

  • SHA1

    131eab6d807db91b27baff834254fc5c8d6fc184

  • SHA256

    be6deee755d6a66153ddac7571805f5e2d50b067ad240e27210952a228607412

  • SHA512

    497f0722881b28324ff211808b332ba92717635dc26b7cde8f1c12e01253819cb13219f16517d8161e6d07800bb3345cd505482a201283ea360cc1d73530ae59

  • SSDEEP

    6144:C2ngr+QI7fbVAHpwWM6iujFfov3bMXLoy:C2ngr+QI7fbIwgiuAbe

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_be6deee755d6a66153ddac7571805f5e2d50b067ad240e27210952a228607412.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_be6deee755d6a66153ddac7571805f5e2d50b067ad240e27210952a228607412.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vezunnpt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4644
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\audnadiu.exe" C:\Windows\SysWOW64\vezunnpt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vezunnpt binPath= "C:\Windows\SysWOW64\vezunnpt\audnadiu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_be6deee755d6a66153ddac7571805f5e2d50b067ad240e27210952a228607412.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vezunnpt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3440
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vezunnpt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3124
    • 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:2588
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4792 -s 1364
      2⤵
      • Program crash
      PID:2540
  • C:\Windows\SysWOW64\vezunnpt\audnadiu.exe
    C:\Windows\SysWOW64\vezunnpt\audnadiu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_be6deee755d6a66153ddac7571805f5e2d50b067ad240e27210952a228607412.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1664
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1664 -s 512
      2⤵
      • Program crash
      PID:2912
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4792 -ip 4792
    1⤵
      PID:3132
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1664 -ip 1664
      1⤵
        PID:2772

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.0MB

        MD5

        15ccb99574abf25df72252caadd82dcb

        SHA1

        71205c12bca646af0a9e69a6072777f35dd9ebcc

        SHA256

        5034aa4a7c62df9ce585956009bf641b25c70e59ba89bbb2a76d721197c67d45

        SHA512

        8d44109db394b8918b179353bbcf33d2b6b68557b5514ecad60bf0641d04fc4f7e2a1a6a2fd56d6ed885d384dc600b77722ed4f8733fdce0922c445836d0e82b

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

        Filesize

        39.6MB

      • memory/2816-11-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB

      • memory/2816-13-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB

      • memory/2816-14-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB

      • memory/4792-1-0x0000000002D90000-0x0000000002E90000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        39.6MB