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
    18-09-2024 10:34

General

  • Target

    e8ed9b7f958491838d2b52374770643c_JaffaCakes118.exe

  • Size

    13.9MB

  • MD5

    e8ed9b7f958491838d2b52374770643c

  • SHA1

    9980920c4ac6fd5310370dcc8c08ba36c08a8cb0

  • SHA256

    153625180da77e381c9dfaab2a933696c94bec49e898c0a3294b0180d568792d

  • SHA512

    0ab01fe58edb208ba742199584374e274ebff97e163dc1a1f5545a00de9351468aff085c6fb22055ce99f4bbe9e7829050a139e46bd9892f4bf96cc106510452

  • SSDEEP

    12288:NZq+cdlGKSEdlGfxl5V/ZAMbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb7:Nk9dVcl5V/Z

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\e8ed9b7f958491838d2b52374770643c_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\e8ed9b7f958491838d2b52374770643c_JaffaCakes118.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1728
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\esswmqhw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2312
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tfmglrem.exe" C:\Windows\SysWOW64\esswmqhw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2260
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create esswmqhw binPath= "C:\Windows\SysWOW64\esswmqhw\tfmglrem.exe /d\"C:\Users\Admin\AppData\Local\Temp\e8ed9b7f958491838d2b52374770643c_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2292
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description esswmqhw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start esswmqhw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2872
    • 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:2768
  • C:\Windows\SysWOW64\esswmqhw\tfmglrem.exe
    C:\Windows\SysWOW64\esswmqhw\tfmglrem.exe /d"C:\Users\Admin\AppData\Local\Temp\e8ed9b7f958491838d2b52374770643c_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2776
    • 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:2820

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.7MB

    MD5

    8848b3c963730f173f3a35ea5d18cd04

    SHA1

    3d9dfe3e66d9b962e7637145299318e4713029db

    SHA256

    4456877597c567bea21d1ae49bb11a71b05886caed6c454c000a9a9bebd708ae

    SHA512

    090e22a6cb489114c5e4f643567105b54217b31082daf476c9905929c24c9a4f60439bfac01e27d4cea008694a559202a4fd4f471816d6715c901861dda56d34

  • memory/1728-8-0x0000000000400000-0x000000000044C000-memory.dmp

    Filesize

    304KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/1728-1-0x00000000002D0000-0x00000000003D0000-memory.dmp

    Filesize

    1024KB

  • memory/2776-17-0x0000000000400000-0x000000000044C000-memory.dmp

    Filesize

    304KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB