Analysis

  • max time kernel
    145s
  • max time network
    145s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    29/12/2024, 07:57

General

  • Target
    JaffaCakes118_5f1de5ad55c9145f7d703b693ce532efad766fd47cbc10b87562d815c059ae33.exe
  • Size 284KB
  • Sample241229-jtkd2axjbx
  • SHA256 5f1de5ad55c9145f7d703b693ce532efad766fd47cbc10b87562d815c059ae33
  • MD5 SHA1 SHA512 SSDEEP

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_5f1de5ad55c9145f7d703b693ce532efad766fd47cbc10b87562d815c059ae33.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5f1de5ad55c9145f7d703b693ce532efad766fd47cbc10b87562d815c059ae33.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1852
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\dbokwvrt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2492
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\smvfsvam.exe" C:\Windows\SysWOW64\dbokwvrt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2036
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create dbokwvrt binPath= "C:\Windows\SysWOW64\dbokwvrt\smvfsvam.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5f1de5ad55c9145f7d703b693ce532efad766fd47cbc10b87562d815c059ae33.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2088
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description dbokwvrt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2700
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start dbokwvrt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2848
    • 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:2692
  • C:\Windows\SysWOW64\dbokwvrt\smvfsvam.exe
    C:\Windows\SysWOW64\dbokwvrt\smvfsvam.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5f1de5ad55c9145f7d703b693ce532efad766fd47cbc10b87562d815c059ae33.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2964
    • 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:2832

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

        smvfsvam.exe

        • Path C:\Users\Admin\AppData\Local\Temp\smvfsvam.exe
        • Size 13.4MB
        • SHA256 e3f6d0d6a94744c9c8d4ce8a8a6b0b46924ae49bdc3efcb1a642260b02a0834c
        • MD5 SHA1 SHA512 SSDEEP

        memory/1852-11-0x0000000000400000-0x0000000000415000-memory.dmp

        memory/1852-3-0x0000000000400000-0x0000000000415000-memory.dmp

        memory/1852-2-0x0000000000020000-0x0000000000033000-memory.dmp

        memory/1852-9-0x0000000000020000-0x0000000000033000-memory.dmp

        memory/1852-8-0x0000000000400000-0x0000000000454000-memory.dmp

        memory/1852-1-0x0000000000610000-0x0000000000710000-memory.dmp

        memory/1852-10-0x0000000000610000-0x0000000000710000-memory.dmp

        memory/2832-12-0x0000000000080000-0x0000000000095000-memory.dmp

        memory/2832-15-0x0000000000080000-0x0000000000095000-memory.dmp

        memory/2832-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        memory/2832-18-0x0000000000080000-0x0000000000095000-memory.dmp

        memory/2832-19-0x0000000000080000-0x0000000000095000-memory.dmp

        memory/2964-16-0x0000000000400000-0x0000000000454000-memory.dmp