Analysis

  • max time kernel
    150s
  • max time network
    156s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    23-12-2024 18:45

General

  • Target

    JaffaCakes118_5baa53a33e5183490b5f4111bbc405a8a4203b1617c635c1b4bda0dd3955298b.exe

  • Size

    286KB

  • MD5

    bebcafb815c87b777af00c7aaa8f0063

  • SHA1

    7438dbc9f820d017151411d0581bcd0a35a82b76

  • SHA256

    5baa53a33e5183490b5f4111bbc405a8a4203b1617c635c1b4bda0dd3955298b

  • SHA512

    346ce96d3da0da712e226ffce18a5fa8fda07993c3501528e696f2c0d41eaca556560547aecb7666ae5d0d4d4b5b686572c849e8503cffd3c98d4474f9911303

  • SSDEEP

    3072:saxXGEcrxT19jb0xdlCBFL4r5u0ay/M8Z9OOHesIZQFr+uX3Prgm5ejH:seXud19jbSlCbkrL+OHesIq53T8

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5baa53a33e5183490b5f4111bbc405a8a4203b1617c635c1b4bda0dd3955298b.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5baa53a33e5183490b5f4111bbc405a8a4203b1617c635c1b4bda0dd3955298b.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1684
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sxwbdrhh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2252
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gjckiksc.exe" C:\Windows\SysWOW64\sxwbdrhh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2884
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sxwbdrhh binPath= "C:\Windows\SysWOW64\sxwbdrhh\gjckiksc.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5baa53a33e5183490b5f4111bbc405a8a4203b1617c635c1b4bda0dd3955298b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2892
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sxwbdrhh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2940
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sxwbdrhh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2856
    • 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:3020
  • C:\Windows\SysWOW64\sxwbdrhh\gjckiksc.exe
    C:\Windows\SysWOW64\sxwbdrhh\gjckiksc.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5baa53a33e5183490b5f4111bbc405a8a4203b1617c635c1b4bda0dd3955298b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2904
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2812

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.7MB

    MD5

    7759b27a2b51ee97e33d4160904ee33d

    SHA1

    2f093646998b27d836ea6788eb82923038d93ac2

    SHA256

    daf4da41ae140efe051e603269d6b28b63660fbf9d9f326d6fa26084a845a380

    SHA512

    9e2bf7a7df12ed5a252cb86f529aaf9b8227f71ae2b32cd0aa82d42e14c7e27d14fe49d6275c83e3ffebdb337dbd2d4c4d9f280401d53a03a8cf9a614b9e9440

  • memory/1684-2-0x0000000000400000-0x0000000002B90000-memory.dmp

    Filesize

    39.6MB

  • memory/1684-3-0x0000000000400000-0x0000000002B90000-memory.dmp

    Filesize

    39.6MB

  • memory/1684-5-0x0000000000400000-0x0000000002B90000-memory.dmp

    Filesize

    39.6MB

  • memory/2812-11-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2812-13-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2812-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2812-8-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2812-15-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2904-14-0x0000000000400000-0x0000000002B90000-memory.dmp

    Filesize

    39.6MB