Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    28-10-2024 09:38

General

  • Target

    78f40031a8fef95a5ed472ebc27d8e9c_JaffaCakes118.exe

  • Size

    289KB

  • MD5

    78f40031a8fef95a5ed472ebc27d8e9c

  • SHA1

    b00f3b3ec3477d5e79a4ce915492ac27a269d54f

  • SHA256

    583db238176dff20ca429038c3d78b942d51bc5487e3a9d82e71e009204155ef

  • SHA512

    42bf43ed0f9984c46f3bf9ce2b6c0a4c7c4d1a46af2b7926132e59c8b124890b13d4138efad6cc6feb9eaacf0a97ab481a4312c9af6e5bc8d1461d750a2d24ad

  • SSDEEP

    6144:Fdp4xu6WtLc1rZqJL6ge9aOOhxxdeTr/ekI:yxMZL6gcwzxd6L

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\78f40031a8fef95a5ed472ebc27d8e9c_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\78f40031a8fef95a5ed472ebc27d8e9c_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4592
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qitxospn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5108
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vcobkxys.exe" C:\Windows\SysWOW64\qitxospn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3428
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qitxospn binPath= "C:\Windows\SysWOW64\qitxospn\vcobkxys.exe /d\"C:\Users\Admin\AppData\Local\Temp\78f40031a8fef95a5ed472ebc27d8e9c_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2312
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qitxospn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1008
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qitxospn
      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:4508
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4592 -s 1036
      2⤵
      • Program crash
      PID:4092
  • C:\Windows\SysWOW64\qitxospn\vcobkxys.exe
    C:\Windows\SysWOW64\qitxospn\vcobkxys.exe /d"C:\Users\Admin\AppData\Local\Temp\78f40031a8fef95a5ed472ebc27d8e9c_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4376
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:436
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4376 -s 528
      2⤵
      • Program crash
      PID:4196
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 4592 -ip 4592
    1⤵
      PID:1096
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 4376 -ip 4376
      1⤵
        PID:2596

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.4MB

        MD5

        2350c31eafa799cc83912cbd9ba74acb

        SHA1

        df3203b7571df3929acad6220ee51ad55bf0847f

        SHA256

        bcf194bdf34a45a9fca96c6cecd6b074f4120404c4065ffa0a840aebcea5522d

        SHA512

        216f7c8a0c9f14a2d6c1bccff449f930e01aeab312dac603a9aaed0c237883b89f262d4fd79bfbaa4488d16fac6d467fe4dff375061d4c9fc693bdff26c1f8d3

      • memory/436-14-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/436-17-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/436-16-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/4376-13-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4376-12-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4376-11-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

      • memory/4376-18-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

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

        Filesize

        84KB

      • memory/4592-8-0x0000000000400000-0x0000000000455000-memory.dmp

        Filesize

        340KB

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

        Filesize

        76KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4592-1-0x0000000000670000-0x0000000000770000-memory.dmp

        Filesize

        1024KB