Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    30-12-2024 20:40

General

  • Target

    JaffaCakes118_d50965c4bd00566509a4a5a2cd6fcabd669671292a969eaa2001235f8b071ab4.exe

  • Size

    197KB

  • MD5

    842fa585d481765c7b4aa288052dde34

  • SHA1

    a096a35996fed417b8fea7b1308ed18dab39e20d

  • SHA256

    d50965c4bd00566509a4a5a2cd6fcabd669671292a969eaa2001235f8b071ab4

  • SHA512

    f7e3eacbaf6191eebd1fefe3bc528b016817e0b0028eb0b8409b9b3ae61a78b7a6a56ba27115127af904176009e58526eff66ee88ae5730f9bb1923cfd865d53

  • SSDEEP

    3072:2e68IejDacBIeXDOCzDufIIAMgiU8XKPqfP2IjBvKB6klGfLIQVNWBz:2e2evacGea6qfvvKB6k8Txql

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_d50965c4bd00566509a4a5a2cd6fcabd669671292a969eaa2001235f8b071ab4.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d50965c4bd00566509a4a5a2cd6fcabd669671292a969eaa2001235f8b071ab4.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2756
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gcxjvcde\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nzgaflyg.exe" C:\Windows\SysWOW64\gcxjvcde\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gcxjvcde binPath= "C:\Windows\SysWOW64\gcxjvcde\nzgaflyg.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d50965c4bd00566509a4a5a2cd6fcabd669671292a969eaa2001235f8b071ab4.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2732
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gcxjvcde "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2724
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gcxjvcde
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2544
    • 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:1548
  • C:\Windows\SysWOW64\gcxjvcde\nzgaflyg.exe
    C:\Windows\SysWOW64\gcxjvcde\nzgaflyg.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d50965c4bd00566509a4a5a2cd6fcabd669671292a969eaa2001235f8b071ab4.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2600
    • 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:2212

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.0MB

    MD5

    d02b47170d80c2e36b65f54f7bac1eff

    SHA1

    d7d01693177e25841414b9112e91b8279749d9b1

    SHA256

    286a86c6b9628273c48dd8abe6b965392ab7d9ade5d5477cd7da6fe507170507

    SHA512

    237a2e3fd4cca83e290936845c3a97a8f8df62d7a7ed687300a1422b40577ee1e76e4f3271f6945f8aed1365ef6b06d574e71b09d009ef8be1626e2408b2dfe6

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2600-17-0x0000000000400000-0x00000000004B8000-memory.dmp

    Filesize

    736KB

  • memory/2756-1-0x0000000000230000-0x0000000000330000-memory.dmp

    Filesize

    1024KB

  • memory/2756-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2756-4-0x0000000000400000-0x00000000004B8000-memory.dmp

    Filesize

    736KB

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

    Filesize

    84KB

  • memory/2756-9-0x0000000000400000-0x00000000004B8000-memory.dmp

    Filesize

    736KB