Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows7_x64
  • resource
    win7-20240729-en
  • resource tags

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    22-12-2024 01:28

General

  • Target

    JaffaCakes118_1972daa7b5cc048abec1c5e6f802b05707e2b5025af43913f16ebba7c1a7e294.exe

  • Size

    263KB

  • MD5

    5659f39ef371145b3d22f748cfa56f3e

  • SHA1

    e215ff11440c44b44e948bbc54a254687404fe5d

  • SHA256

    1972daa7b5cc048abec1c5e6f802b05707e2b5025af43913f16ebba7c1a7e294

  • SHA512

    3c2d1b3dad5c5657dc93485e46e929a86541225fd7c63c2f1b0df5b9c745c9d6cea9d9b78959d2d59e65018714229900070305d7e8fab270c5a16d0fc190cfbd

  • SSDEEP

    6144:1dWb9Di3mz70r6uIdSP3PGUt/YnZiTeyqnhl2adcPdno:/Ug2cuuIdSP3PGoYhhMaWd

Malware Config

Extracted

Family

tofsee

C2

niflheimr.cn

jotunheim.name

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
  • Drops file in System32 directory 2 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.

  • Modifies data under HKEY_USERS 7 IoCs
  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1972daa7b5cc048abec1c5e6f802b05707e2b5025af43913f16ebba7c1a7e294.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1972daa7b5cc048abec1c5e6f802b05707e2b5025af43913f16ebba7c1a7e294.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:376
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jpyjnqdi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2452
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ttmrgkzp.exe" C:\Windows\SysWOW64\jpyjnqdi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1036
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jpyjnqdi binPath= "C:\Windows\SysWOW64\jpyjnqdi\ttmrgkzp.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1972daa7b5cc048abec1c5e6f802b05707e2b5025af43913f16ebba7c1a7e294.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jpyjnqdi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3032
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jpyjnqdi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2604
    • 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:2860
  • C:\Windows\SysWOW64\jpyjnqdi\ttmrgkzp.exe
    C:\Windows\SysWOW64\jpyjnqdi\ttmrgkzp.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_1972daa7b5cc048abec1c5e6f802b05707e2b5025af43913f16ebba7c1a7e294.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2840
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • Drops file in System32 directory
      • System Location Discovery: System Language Discovery
      • Modifies data under HKEY_USERS
      PID:2768

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.3MB

    MD5

    90847e78561ccae1f7b82897e5ccc1c3

    SHA1

    7cf0c8d46dae8c12697596b44d97cb6a9adf4622

    SHA256

    51ee709217d5fd6ea47d6296005edd252bec59178628f34e744e587a815a07ad

    SHA512

    05c98b19d2bd2f89800ec296419ad3be358294abca021bdb0b7cf05992c7ded4d2a23db5d927c0d81d53d40cd70e4b1924249edd616e5d0701e48c4e7240a5f7

  • memory/376-1-0x0000000000640000-0x0000000000740000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/376-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/376-9-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/376-8-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/376-7-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB

  • memory/2768-42-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-39-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2768-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2768-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2768-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2768-27-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-24-0x0000000000110000-0x0000000000116000-memory.dmp

    Filesize

    24KB

  • memory/2768-23-0x0000000001BE0000-0x0000000001DEF000-memory.dmp

    Filesize

    2.1MB

  • memory/2768-20-0x0000000001BE0000-0x0000000001DEF000-memory.dmp

    Filesize

    2.1MB

  • memory/2768-43-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2768-41-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-37-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-40-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-55-0x00000000001D0000-0x00000000001D7000-memory.dmp

    Filesize

    28KB

  • memory/2768-38-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-36-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-35-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-34-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-33-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-32-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-31-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-30-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-45-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-44-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-46-0x0000000000120000-0x0000000000130000-memory.dmp

    Filesize

    64KB

  • memory/2768-54-0x0000000005820000-0x0000000005C2B000-memory.dmp

    Filesize

    4.0MB

  • memory/2768-51-0x0000000005820000-0x0000000005C2B000-memory.dmp

    Filesize

    4.0MB

  • memory/2768-50-0x00000000001C0000-0x00000000001C5000-memory.dmp

    Filesize

    20KB

  • memory/2768-47-0x00000000001C0000-0x00000000001C5000-memory.dmp

    Filesize

    20KB

  • memory/2840-16-0x0000000000400000-0x0000000000482000-memory.dmp

    Filesize

    520KB