Analysis

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

    arch:x64arch:x86image:win7-20240705-enlocale:en-usos:windows7-x64system
  • submitted
    19-08-2024 04:08

General

  • Target

    a986ebd7bd52f4596e4b317b65e9bb53_JaffaCakes118.exe

  • Size

    13.5MB

  • MD5

    a986ebd7bd52f4596e4b317b65e9bb53

  • SHA1

    7e99414758f009fe8bb2c7683914f3591f3deff5

  • SHA256

    31deb36fb3dedd632e9472f2b85c101889dba1133ad199a61cab3f8d89204bf1

  • SHA512

    aa4c1181640300e377950a69898f9ded652d61295063cb75ec6b0ec10c5f65402d9a6510bd5862d94bd015752faccbf1534f6c11cbf7f49498b108cdb4e8eb5f

  • SSDEEP

    12288:YaCPuKabbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb7:guK

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.

  • 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\a986ebd7bd52f4596e4b317b65e9bb53_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\a986ebd7bd52f4596e4b317b65e9bb53_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1460
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yutadqjv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tnwgtwbn.exe" C:\Windows\SysWOW64\yutadqjv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2312
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yutadqjv binPath= "C:\Windows\SysWOW64\yutadqjv\tnwgtwbn.exe /d\"C:\Users\Admin\AppData\Local\Temp\a986ebd7bd52f4596e4b317b65e9bb53_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2340
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yutadqjv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2456
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yutadqjv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2876
    • 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:2984
  • C:\Windows\SysWOW64\yutadqjv\tnwgtwbn.exe
    C:\Windows\SysWOW64\yutadqjv\tnwgtwbn.exe /d"C:\Users\Admin\AppData\Local\Temp\a986ebd7bd52f4596e4b317b65e9bb53_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2924
    • 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:1296

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.2MB

    MD5

    6da66a4da7938ed705e685ddf6f91ca7

    SHA1

    cb751a752f9c911818bbeb590285548117468c80

    SHA256

    4bf414870965c91e38c35471e8bdaa3b69db59c89440b839f8f9eb3995829e80

    SHA512

    797811262306ac23c2c09eb9e731be326ac4ff1808773f354b29325a67655cb5eef7353533f8c824c9b5dfe3adb3d6d4f647806d68b6268b7bb429d7b6befdac

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/1460-1-0x0000000000250000-0x0000000000350000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/1460-3-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

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

    Filesize

    84KB

  • memory/1460-9-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB

  • memory/2924-17-0x0000000000400000-0x00000000004A9000-memory.dmp

    Filesize

    676KB