Analysis

  • max time kernel
    149s
  • 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
    24-12-2024 21:16

General

  • Target

    JaffaCakes118_d0a7e9269475d79293aa5a2c07f47ae586d636ba791943b0fc7d0a8a57e8895e.exe

  • Size

    262KB

  • MD5

    741c885dfd2fc7e1f7414e1dc86bc4f6

  • SHA1

    ec2c42d54aea062cc145b5830d6544f24c4f941d

  • SHA256

    d0a7e9269475d79293aa5a2c07f47ae586d636ba791943b0fc7d0a8a57e8895e

  • SHA512

    46949d434dbb5867c79a5cfd89d358d6a633f30c7a0cbce286711b2092784165771589b05e31cb0b9ece65dca86470692eeb0699e7381678b48984098640413e

  • SSDEEP

    6144:hvkKxGgD4AD+s72hPJg6C8Z+LPqhSE6t1OCGwUXB4RZucX:hMAfD4ADv72hOeZ+LP06nYRK

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_d0a7e9269475d79293aa5a2c07f47ae586d636ba791943b0fc7d0a8a57e8895e.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d0a7e9269475d79293aa5a2c07f47ae586d636ba791943b0fc7d0a8a57e8895e.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3172
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hxgvaasd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:636
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\trgsmitj.exe" C:\Windows\SysWOW64\hxgvaasd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4036
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hxgvaasd binPath= "C:\Windows\SysWOW64\hxgvaasd\trgsmitj.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d0a7e9269475d79293aa5a2c07f47ae586d636ba791943b0fc7d0a8a57e8895e.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4368
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hxgvaasd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:464
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hxgvaasd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1604
    • 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:1948
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3172 -s 572
      2⤵
      • Program crash
      PID:1840
  • C:\Windows\SysWOW64\hxgvaasd\trgsmitj.exe
    C:\Windows\SysWOW64\hxgvaasd\trgsmitj.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d0a7e9269475d79293aa5a2c07f47ae586d636ba791943b0fc7d0a8a57e8895e.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4568
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2748
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4568 -s 528
      2⤵
      • Program crash
      PID:3976
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3172 -ip 3172
    1⤵
      PID:1128
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 4568 -ip 4568
      1⤵
        PID:2200

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.5MB

        MD5

        6c38dbbdb90fc637159c6dde282c5089

        SHA1

        9bacf7ca2143759f6adec25c805dc3337c8bc7f0

        SHA256

        a4cd1c5a2c5026047b9d910fe87e7a7c72e594fcdfed47042736a04d3c7b7358

        SHA512

        e085b0d0458c1631825c916131e3180e7b677853bef68faa275c919b683c9bcd7b118de5d89412fe02618510fafc9ed87336a32b4b13abbeb6defa33275d124a

      • memory/2748-13-0x0000000001100000-0x0000000001115000-memory.dmp

        Filesize

        84KB

      • memory/2748-20-0x0000000001100000-0x0000000001115000-memory.dmp

        Filesize

        84KB

      • memory/2748-19-0x0000000001100000-0x0000000001115000-memory.dmp

        Filesize

        84KB

      • memory/2748-8-0x0000000001100000-0x0000000001115000-memory.dmp

        Filesize

        84KB

      • memory/2748-18-0x0000000001100000-0x0000000001115000-memory.dmp

        Filesize

        84KB

      • memory/3172-16-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/3172-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3172-1-0x0000000000AE0000-0x0000000000BE0000-memory.dmp

        Filesize

        1024KB

      • memory/3172-15-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/4568-10-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB

      • memory/4568-9-0x0000000000400000-0x0000000000871000-memory.dmp

        Filesize

        4.4MB