Analysis

  • max time kernel
    150s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    23/12/2024, 17:27

General

  • Target

    JaffaCakes118_a86039fde97daa1ebcf8db274c8b69a11816b0501ed9c2bd6f62129699a8ed6e.exe

  • Size

    230KB

  • MD5

    7156f5214b95b9cab786bdc25795be32

  • SHA1

    3e5ee01b532afe82ef450e112bde62b810e960eb

  • SHA256

    a86039fde97daa1ebcf8db274c8b69a11816b0501ed9c2bd6f62129699a8ed6e

  • SHA512

    e9b11fc5fba094788e3522eec19e463b322667be266f2ec80e62ecc9d609c44e0d176c7e374007031a332655cdf15cc53816937ee1fba1f7feb7100fb6375132

  • SSDEEP

    3072:mn1SU4bmqNsRjk97DovNEIY66YYfkuf5aGov:sAmqNsRA9/wNEIcxkKwG8

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a86039fde97daa1ebcf8db274c8b69a11816b0501ed9c2bd6f62129699a8ed6e.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a86039fde97daa1ebcf8db274c8b69a11816b0501ed9c2bd6f62129699a8ed6e.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1596
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qmzrbkqn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:456
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ttmrgkzp.exe" C:\Windows\SysWOW64\qmzrbkqn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3872
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qmzrbkqn binPath= "C:\Windows\SysWOW64\qmzrbkqn\ttmrgkzp.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a86039fde97daa1ebcf8db274c8b69a11816b0501ed9c2bd6f62129699a8ed6e.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3444
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qmzrbkqn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4372
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qmzrbkqn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4716
    • 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:1692
  • C:\Windows\SysWOW64\qmzrbkqn\ttmrgkzp.exe
    C:\Windows\SysWOW64\qmzrbkqn\ttmrgkzp.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a86039fde97daa1ebcf8db274c8b69a11816b0501ed9c2bd6f62129699a8ed6e.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1488
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • 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:1276

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.8MB

    MD5

    36032859473601077af9f76b176e950c

    SHA1

    6feac0e11b6cd9cdc8be0a02ac8ba461c9510dc6

    SHA256

    8fc38fcc08347cdc6d2b94eb0196cd38ae4fb071ab783d527a853aa852152a3f

    SHA512

    c5f467f2384ab2ab628b80450f69807367df7200f8178effed9104c8cc7fbad4c837391c0f739ad4c996cc4cc499482aff7b75528aa680bcfc9e761f40687102

  • memory/1276-47-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-55-0x0000000007F40000-0x000000000834B000-memory.dmp

    Filesize

    4.0MB

  • memory/1276-24-0x0000000003000000-0x000000000320F000-memory.dmp

    Filesize

    2.1MB

  • memory/1276-25-0x00000000025E0000-0x00000000025E6000-memory.dmp

    Filesize

    24KB

  • memory/1276-28-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-31-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-32-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-33-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-34-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-14-0x0000000001230000-0x0000000001245000-memory.dmp

    Filesize

    84KB

  • memory/1276-35-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-18-0x0000000001230000-0x0000000001245000-memory.dmp

    Filesize

    84KB

  • memory/1276-19-0x0000000001230000-0x0000000001245000-memory.dmp

    Filesize

    84KB

  • memory/1276-39-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-22-0x0000000003000000-0x000000000320F000-memory.dmp

    Filesize

    2.1MB

  • memory/1276-52-0x0000000007F40000-0x000000000834B000-memory.dmp

    Filesize

    4.0MB

  • memory/1276-36-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-51-0x00000000035D0000-0x00000000035D5000-memory.dmp

    Filesize

    20KB

  • memory/1276-37-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-56-0x00000000035E0000-0x00000000035E7000-memory.dmp

    Filesize

    28KB

  • memory/1276-43-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-45-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-44-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-46-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-42-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-41-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-40-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-38-0x00000000025F0000-0x0000000002600000-memory.dmp

    Filesize

    64KB

  • memory/1276-48-0x00000000035D0000-0x00000000035D5000-memory.dmp

    Filesize

    20KB

  • memory/1488-16-0x0000000000400000-0x0000000000444000-memory.dmp

    Filesize

    272KB

  • memory/1488-13-0x0000000000400000-0x0000000000444000-memory.dmp

    Filesize

    272KB

  • memory/1488-11-0x0000000000400000-0x0000000000444000-memory.dmp

    Filesize

    272KB

  • memory/1488-12-0x0000000000400000-0x0000000000444000-memory.dmp

    Filesize

    272KB

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

    Filesize

    84KB

  • memory/1596-1-0x00000000005B0000-0x00000000006B0000-memory.dmp

    Filesize

    1024KB

  • memory/1596-7-0x0000000000400000-0x0000000000444000-memory.dmp

    Filesize

    272KB

  • memory/1596-8-0x00000000007B0000-0x00000000007C3000-memory.dmp

    Filesize

    76KB

  • memory/1596-9-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1596-2-0x00000000007B0000-0x00000000007C3000-memory.dmp

    Filesize

    76KB