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
    22-12-2024 03:09

General

  • Target

    JaffaCakes118_8dfc923084eb00656602132b076cbde3910210b2fb85be30074b1539105c854d.exe

  • Size

    146KB

  • MD5

    c0cf86699b57c1a4e817c65f08a25f69

  • SHA1

    727e999c5d2e9993a7bd1370b927dd45875ea1de

  • SHA256

    8dfc923084eb00656602132b076cbde3910210b2fb85be30074b1539105c854d

  • SHA512

    aa150c368aee29572b80a98adbb4a37cf6840584c1f33a46527cd86fd8801f9bd1597c7f82df59d25ee504fbd6dea58ae1c1d3c19a18587ea9d42069485c38d6

  • SSDEEP

    3072:We68IejRUebctwq67oI2K9HJ96xBXE8qfPuml+n8z:We2eGebctwtoI2ggqf2ml+nu

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.

  • 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_8dfc923084eb00656602132b076cbde3910210b2fb85be30074b1539105c854d.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8dfc923084eb00656602132b076cbde3910210b2fb85be30074b1539105c854d.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4632
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wxvrwppm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2576
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ysoufphn.exe" C:\Windows\SysWOW64\wxvrwppm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2732
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wxvrwppm binPath= "C:\Windows\SysWOW64\wxvrwppm\ysoufphn.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8dfc923084eb00656602132b076cbde3910210b2fb85be30074b1539105c854d.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:232
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wxvrwppm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:556
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wxvrwppm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3996
    • 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:1100
  • C:\Windows\SysWOW64\wxvrwppm\ysoufphn.exe
    C:\Windows\SysWOW64\wxvrwppm\ysoufphn.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_8dfc923084eb00656602132b076cbde3910210b2fb85be30074b1539105c854d.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4900
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1520

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.9MB

    MD5

    90c6ae4f746a289038da36f4c9be5dc6

    SHA1

    2ccd6aa0ba5bdd8dacfda7ebd38323cc118bb4fc

    SHA256

    740b04cd0646a2d3e47adefb5ac33177246f698366389ca0dce76c5879ffad68

    SHA512

    194d777c946f69bca983b7253dd3c96fa52fc0af424e7bc3d0e1a651b62c359e58fc61337e045d53b942e3cec33072c8d6540f47489890264218778dbd22a856

  • memory/1520-16-0x0000000001260000-0x0000000001275000-memory.dmp

    Filesize

    84KB

  • memory/1520-14-0x0000000001260000-0x0000000001275000-memory.dmp

    Filesize

    84KB

  • memory/1520-18-0x0000000001260000-0x0000000001275000-memory.dmp

    Filesize

    84KB

  • memory/4632-8-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB

  • memory/4632-9-0x0000000000650000-0x0000000000663000-memory.dmp

    Filesize

    76KB

  • memory/4632-1-0x00000000006D0000-0x00000000007D0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/4632-2-0x0000000000650000-0x0000000000663000-memory.dmp

    Filesize

    76KB

  • memory/4900-13-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB

  • memory/4900-12-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB

  • memory/4900-11-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB

  • memory/4900-17-0x0000000000400000-0x00000000004AB000-memory.dmp

    Filesize

    684KB