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
    25-12-2024 04:34

General

  • Target

    JaffaCakes118_2d2164bac6935ba3b38573e69f323ec242b3a259ecb06396964f57e3c93d7c6e.exe

  • Size

    355KB

  • MD5

    4ade9bccd0b2b9447ff9dbb9c3880830

  • SHA1

    52aef011732da2f9fea1ee555d370a119749ccd0

  • SHA256

    2d2164bac6935ba3b38573e69f323ec242b3a259ecb06396964f57e3c93d7c6e

  • SHA512

    06103380806a02eb19d3f102d6b69f43f3483dc1db6fa48ca53ec8d077b4a6fa35dbb1fc6c438c51ef45f10765a06d2497b0f8d38ae8ac8049106f1bd99c33e1

  • SSDEEP

    6144:hvo5HY2USvj5R/i2gCiX0oH1VmyerYDn1QqaFZczX3V5wRjejHH5TAb:hA5HY2USr5R/i2gCy0oVVmyerK1/aFZp

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_2d2164bac6935ba3b38573e69f323ec242b3a259ecb06396964f57e3c93d7c6e.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_2d2164bac6935ba3b38573e69f323ec242b3a259ecb06396964f57e3c93d7c6e.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3008
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gfpqzgyt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:332
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bnuotzmu.exe" C:\Windows\SysWOW64\gfpqzgyt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2420
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gfpqzgyt binPath= "C:\Windows\SysWOW64\gfpqzgyt\bnuotzmu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_2d2164bac6935ba3b38573e69f323ec242b3a259ecb06396964f57e3c93d7c6e.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gfpqzgyt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:576
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gfpqzgyt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2796
    • 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:2720
  • C:\Windows\SysWOW64\gfpqzgyt\bnuotzmu.exe
    C:\Windows\SysWOW64\gfpqzgyt\bnuotzmu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_2d2164bac6935ba3b38573e69f323ec242b3a259ecb06396964f57e3c93d7c6e.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2956
    • 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:2440

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.0MB

    MD5

    d7aa5fc31484eb46c6ca8b6e5355a582

    SHA1

    05ef8c2438e29d0033c1e9223b0f2be8339eb41b

    SHA256

    b0ab5430fad34b9c320bcfbbf574da0cb4eb110afda6e9b0ea99fd78e0546e39

    SHA512

    dec7df40cecb8b86bf7933869aeff5a93b9c7332d0c83109ba58e446ea7f4a1ee27c4ba9a8def8f8c0734ba4f13c399509c97523862921211075d91c8a9a974d

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2440-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2956-16-0x0000000000400000-0x00000000016CE000-memory.dmp

    Filesize

    18.8MB

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

    Filesize

    84KB

  • memory/3008-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/3008-9-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/3008-8-0x0000000000400000-0x00000000016CE000-memory.dmp

    Filesize

    18.8MB

  • memory/3008-1-0x0000000001800000-0x0000000001900000-memory.dmp

    Filesize

    1024KB