Analysis

  • max time kernel
    149s
  • 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
    21-12-2024 19:21

General

  • Target

    JaffaCakes118_c88e458154fadd00a3790de94f2d7e786705e683e6aa318dabcd242efcff85ff.exe

  • Size

    153KB

  • MD5

    e66556350a01070b7cdcf02158068c09

  • SHA1

    06f2936fd94679429f0c06e8d68afe35b7657a4d

  • SHA256

    c88e458154fadd00a3790de94f2d7e786705e683e6aa318dabcd242efcff85ff

  • SHA512

    4fc759451f985d12205061bf7722ac4591a4c06465eaeca80a495697cde062010384e073654396d941402f812e3319fd7b67138cab0a3af1965012d8f88f92b6

  • SSDEEP

    3072:oFamdpelo9jsA3JEE5On95MKwYY7M40O:oFldqa/3aEjKVMM3O

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_c88e458154fadd00a3790de94f2d7e786705e683e6aa318dabcd242efcff85ff.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c88e458154fadd00a3790de94f2d7e786705e683e6aa318dabcd242efcff85ff.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2636
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qbfhwwpp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3636
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nusdidrf.exe" C:\Windows\SysWOW64\qbfhwwpp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2004
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qbfhwwpp binPath= "C:\Windows\SysWOW64\qbfhwwpp\nusdidrf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c88e458154fadd00a3790de94f2d7e786705e683e6aa318dabcd242efcff85ff.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1748
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qbfhwwpp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2012
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qbfhwwpp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2864
    • 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:1860
  • C:\Windows\SysWOW64\qbfhwwpp\nusdidrf.exe
    C:\Windows\SysWOW64\qbfhwwpp\nusdidrf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c88e458154fadd00a3790de94f2d7e786705e683e6aa318dabcd242efcff85ff.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3900
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3156

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.5MB

    MD5

    d2eed5ecbec52e638a87489b02ff1677

    SHA1

    2933c2f1d8af312a693de714c7cd1273184736eb

    SHA256

    203c80705d5ff0492664c13917477e34c079e12366b4022b704344fa573fac5d

    SHA512

    99e2e51734a100e5f06801e36030d407ebc6b6cc85d6b1ab2af97f90e413943566d77ab8776d86c6e60b02a3e7bb438cc6d7ac86b5cad115d647a340249646a6

  • memory/2636-9-0x0000000002200000-0x0000000002213000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2636-2-0x0000000002200000-0x0000000002213000-memory.dmp

    Filesize

    76KB

  • memory/2636-8-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

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

    Filesize

    84KB

  • memory/2636-1-0x0000000000580000-0x0000000000680000-memory.dmp

    Filesize

    1024KB

  • memory/3156-14-0x00000000004D0000-0x00000000004E5000-memory.dmp

    Filesize

    84KB

  • memory/3156-18-0x00000000004D0000-0x00000000004E5000-memory.dmp

    Filesize

    84KB

  • memory/3156-19-0x00000000004D0000-0x00000000004E5000-memory.dmp

    Filesize

    84KB

  • memory/3900-12-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/3900-11-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/3900-13-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/3900-17-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB