Analysis

  • max time kernel
    148s
  • 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 18:44

General

  • Target

    JaffaCakes118_e270e77ba8ea40451c018d7b1c26954087ebf4d7880cbc7dc21e8822d41c217f.exe

  • Size

    136KB

  • MD5

    0766180db106d51aafd2827ba7457f36

  • SHA1

    4121689e5a32e973cf6bc9023235138795fb708b

  • SHA256

    e270e77ba8ea40451c018d7b1c26954087ebf4d7880cbc7dc21e8822d41c217f

  • SHA512

    258becbbdf9795703d4d9c15cde791f3647178679f2157300c754e9fde8d2ad50c96eb92369202c2070bdccba7affe0335126ae2d31acb9209f039aa898e4143

  • SSDEEP

    1536:2L0xHUcaPBDfRd5FJwUOOe/Wv8ThGJNcuYhsiPBycnD5BKCJZW+s1Wjva5Y4dC8:Kag5GXOe+v+sPcuWy8D55rWtoj0Y5

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_e270e77ba8ea40451c018d7b1c26954087ebf4d7880cbc7dc21e8822d41c217f.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e270e77ba8ea40451c018d7b1c26954087ebf4d7880cbc7dc21e8822d41c217f.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2916
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wiaczces\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4688
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xrnteogm.exe" C:\Windows\SysWOW64\wiaczces\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wiaczces binPath= "C:\Windows\SysWOW64\wiaczces\xrnteogm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e270e77ba8ea40451c018d7b1c26954087ebf4d7880cbc7dc21e8822d41c217f.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3232
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wiaczces "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4564
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wiaczces
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1148
    • 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:3188
  • C:\Windows\SysWOW64\wiaczces\xrnteogm.exe
    C:\Windows\SysWOW64\wiaczces\xrnteogm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_e270e77ba8ea40451c018d7b1c26954087ebf4d7880cbc7dc21e8822d41c217f.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4208
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2300

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.8MB

    MD5

    d638cf4f32911876dfdbb3131632de5d

    SHA1

    6b91ce6f23fe9e2eebac65d1209ecfa560c950c5

    SHA256

    126540e5540c571fad992bf47393df777102259e0a7fe1860760d0c4e765faa7

    SHA512

    9d5e1b6c68c22ae69613276fbaf0eb4b51ec18578ba4bbc6751539416625b056f913bc6ae0a08af43f68b57efa6d9ce6d0c3fb4a24eb51e7c5f5cd1776e3ee65

  • memory/2300-16-0x00000000006B0000-0x00000000006C5000-memory.dmp

    Filesize

    84KB

  • memory/2300-14-0x00000000006B0000-0x00000000006C5000-memory.dmp

    Filesize

    84KB

  • memory/2300-19-0x00000000006B0000-0x00000000006C5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2916-8-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

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

    Filesize

    84KB

  • memory/2916-1-0x0000000000690000-0x0000000000790000-memory.dmp

    Filesize

    1024KB

  • memory/4208-11-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

  • memory/4208-13-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

  • memory/4208-12-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

  • memory/4208-18-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB