Analysis

  • max time kernel
    147s
  • max time network
    147s
  • platform
    windows7_x64
  • resource
    win7-20241023-en
  • resource tags

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    22-12-2024 04:49

General

  • Target

    JaffaCakes118_a9785cc2161ee3a09be004bc8346b6d121beaee526de903c66e465178b39471d.exe

  • Size

    153KB

  • MD5

    18e44b2036f311423755b28f21676f82

  • SHA1

    34fffe3ca810d3a4850e60b108bf8b0d140f2c9d

  • SHA256

    a9785cc2161ee3a09be004bc8346b6d121beaee526de903c66e465178b39471d

  • SHA512

    927baa57a78dc23f6b9f64cc3fd693db79f7580dd906c6cdebb88a7d539ceede2a5583b8bf15e91d162d3b66833bf568f55b48557466af33f281e80548521126

  • SSDEEP

    1536:g3XTaOHdVEPuyp3GwwsMoqOhvQ87hKWng68gp5ZSuxgRJ355VfyvPt/CD6H:gzamdxyDwGr7hK4z8gp5iL35r6v0O

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

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a9785cc2161ee3a09be004bc8346b6d121beaee526de903c66e465178b39471d.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a9785cc2161ee3a09be004bc8346b6d121beaee526de903c66e465178b39471d.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2656
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nxjrrjy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2776
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\orpkelvf.exe" C:\Windows\SysWOW64\nxjrrjy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2092
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nxjrrjy binPath= "C:\Windows\SysWOW64\nxjrrjy\orpkelvf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a9785cc2161ee3a09be004bc8346b6d121beaee526de903c66e465178b39471d.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2620
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nxjrrjy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2124
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nxjrrjy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2844
    • 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:2968
  • C:\Windows\SysWOW64\nxjrrjy\orpkelvf.exe
    C:\Windows\SysWOW64\nxjrrjy\orpkelvf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_a9785cc2161ee3a09be004bc8346b6d121beaee526de903c66e465178b39471d.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2936
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2812

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.5MB

    MD5

    36490f913140f03a71f0256a6522c956

    SHA1

    0e15e8cb0018e651f8c9fae06ee39e819a5e67d7

    SHA256

    e958945e3a91579190eaad46b4da18173b0efdc80ba4db14650bbbf9dc5ed94c

    SHA512

    b371defe27ce1fcac0626fae3524364c2cbd9c175aa0615764d371c728c467f289d0d7913f8e22816f5a6efd52b02a62baf6eabbb4868c10cb63bd3c1e6af769

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

    Filesize

    692KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2656-1-0x0000000000670000-0x0000000000770000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2812-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    692KB