Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    23-12-2024 23:49

General

  • Target

    JaffaCakes118_4f9d298e9a7614df6b3d55887d8e0008fabef0b0b55b764ac6bcb781c7d0774b.exe

  • Size

    153KB

  • MD5

    f2f1e67436775229aac6ba0b6f3b6c08

  • SHA1

    5a6ada0a661a53feddda818e50627717e072b9ad

  • SHA256

    4f9d298e9a7614df6b3d55887d8e0008fabef0b0b55b764ac6bcb781c7d0774b

  • SHA512

    6c08c15addc42cccf03e30f2fd4c29277430b48771e85d0af6268422ae6080f89e8ab85d6d21378a9a6fea15d9d232d4cd499c4842ff2ec2846457106b608c91

  • SSDEEP

    3072:R1R6lArEn32yLOoX8p/r5HHcN+n02PO10Oyz:R76WU3hau82WtxOc

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_4f9d298e9a7614df6b3d55887d8e0008fabef0b0b55b764ac6bcb781c7d0774b.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4f9d298e9a7614df6b3d55887d8e0008fabef0b0b55b764ac6bcb781c7d0774b.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2828
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tvfpaouq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1228
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mrnfdgs.exe" C:\Windows\SysWOW64\tvfpaouq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2884
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tvfpaouq binPath= "C:\Windows\SysWOW64\tvfpaouq\mrnfdgs.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4f9d298e9a7614df6b3d55887d8e0008fabef0b0b55b764ac6bcb781c7d0774b.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1052
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tvfpaouq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2140
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tvfpaouq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1756
    • 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:2392
  • C:\Windows\SysWOW64\tvfpaouq\mrnfdgs.exe
    C:\Windows\SysWOW64\tvfpaouq\mrnfdgs.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_4f9d298e9a7614df6b3d55887d8e0008fabef0b0b55b764ac6bcb781c7d0774b.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2072
    • 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:2748

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.1MB

    MD5

    f310792a9a33cc011e365e2736b0f43d

    SHA1

    92ec7d8c2ce570fbfaeb754b762432469d5b9192

    SHA256

    8e850ea292ab646f27dfc87f3db878fc4b54b3c2193430bf48f2ea9bbf4f8f89

    SHA512

    3177f729edde6c99f4d71df231c4c28333e76f17aae992a28937217d875e8757000e6d527859661343fe460a5e3f8cb421d9f39c484289850cd71f30f6b69034

  • memory/2072-17-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2828-1-0x0000000000610000-0x0000000000710000-memory.dmp

    Filesize

    1024KB

  • memory/2828-3-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2828-9-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB