Analysis

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

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    20-10-2024 21:36

General

  • Target

    6430115b4cd6b2e378cf43c17fe9b6e6_JaffaCakes118.exe

  • Size

    13.3MB

  • MD5

    6430115b4cd6b2e378cf43c17fe9b6e6

  • SHA1

    4ee39f04cf513136d12ee205203d6fa2574e5e97

  • SHA256

    33ae3cdc14b1a9a867f8661f62300315ed1e22c0e8a39184644d956ac515eb06

  • SHA512

    1e2764a04d72d1f52d72b18ead17107476cd5986bf68be6fcd2cb21855cee6690526bf97eb7e6a3dc56238e252b7f4f38818578e631b2953f5b02b2725b1e5b5

  • SSDEEP

    393216:prrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrn:

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\6430115b4cd6b2e378cf43c17fe9b6e6_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\6430115b4cd6b2e378cf43c17fe9b6e6_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1960
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ykfgimds\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2128
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\elxktghb.exe" C:\Windows\SysWOW64\ykfgimds\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2072
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ykfgimds binPath= "C:\Windows\SysWOW64\ykfgimds\elxktghb.exe /d\"C:\Users\Admin\AppData\Local\Temp\6430115b4cd6b2e378cf43c17fe9b6e6_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ykfgimds "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2316
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ykfgimds
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2940
    • 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:2760
  • C:\Windows\SysWOW64\ykfgimds\elxktghb.exe
    C:\Windows\SysWOW64\ykfgimds\elxktghb.exe /d"C:\Users\Admin\AppData\Local\Temp\6430115b4cd6b2e378cf43c17fe9b6e6_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2352
    • 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:2176

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.6MB

    MD5

    8c02b2b2c4e9e1b9e34ce3e5506f4271

    SHA1

    99a08624a1e1e555da5b9b9e5d4f761633150525

    SHA256

    a084246d467b542a5cf0963fbe9bcd9606de9c23b9bf7799b8faaf8f27950b17

    SHA512

    4c2ab634df231fcc777f8c0a6ca020aac0e2f4da2b344f27b64e05f6273d64408993c7e61e9c19eda9ec07dd085b4fc917668a4d6eef7e4e3a9cf1d7066700c8

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/1960-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/1960-8-0x0000000000400000-0x0000000000455000-memory.dmp

    Filesize

    340KB

  • memory/1960-9-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/1960-1-0x0000000000570000-0x0000000000670000-memory.dmp

    Filesize

    1024KB

  • memory/2176-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2176-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2176-17-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2176-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2176-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2352-15-0x0000000000400000-0x0000000000455000-memory.dmp

    Filesize

    340KB