Analysis

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

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    22-12-2024 12:43

General

  • Target

    JaffaCakes118_31653973bdcd072dec9d14ffbceb3a6f27c1913f1789b1efbbd7aee6e01dbff0.exe

  • Size

    307KB

  • MD5

    679b272d1cd99cd1afb007e8725b6c0b

  • SHA1

    d187d9bd52a15e258e2eb6718cccc63adc2f75e0

  • SHA256

    31653973bdcd072dec9d14ffbceb3a6f27c1913f1789b1efbbd7aee6e01dbff0

  • SHA512

    1b8ff6fe6c6287a02f28fc2710c663b886d29760a69cf8bc0476b4285e8a81dbd084c28567112fb276381e6600945079f907b7ed43184eb777c2e443c06323b6

  • SSDEEP

    6144:a3nvZPBRh7Q+FLZaBoN9xUWQzuvJduB+hufxh:GvZPBRh75Fb9x06v7O+Efx

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_31653973bdcd072dec9d14ffbceb3a6f27c1913f1789b1efbbd7aee6e01dbff0.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_31653973bdcd072dec9d14ffbceb3a6f27c1913f1789b1efbbd7aee6e01dbff0.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wwsrjocq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2760
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\puqigjv.exe" C:\Windows\SysWOW64\wwsrjocq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wwsrjocq binPath= "C:\Windows\SysWOW64\wwsrjocq\puqigjv.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_31653973bdcd072dec9d14ffbceb3a6f27c1913f1789b1efbbd7aee6e01dbff0.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wwsrjocq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wwsrjocq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2712
    • 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:2564
  • C:\Windows\SysWOW64\wwsrjocq\puqigjv.exe
    C:\Windows\SysWOW64\wwsrjocq\puqigjv.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_31653973bdcd072dec9d14ffbceb3a6f27c1913f1789b1efbbd7aee6e01dbff0.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2784
    • 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:2716

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.8MB

    MD5

    a76d34d8ca49ddac7bd81e56a3d15200

    SHA1

    ef9bb2e036b16323dce0c6641fd09610c7970e63

    SHA256

    efd4ba902408668cb7f9aff91656550e50b10842f85279e8f0a408898d9aed3b

    SHA512

    ff71056a414ece82428e72a7acc0da03f6629484b3e5f1e01bf9b87cbd2586796a7ec5dacbb63dcc7dd00213484e98448358adb976bf4eec274ce3624ac160e1

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/1792-8-0x0000000000400000-0x0000000002B94000-memory.dmp

    Filesize

    39.6MB

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

    Filesize

    84KB

  • memory/1792-1-0x0000000000230000-0x0000000000330000-memory.dmp

    Filesize

    1024KB

  • memory/2716-16-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/2716-14-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2716-11-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/2716-18-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/2784-17-0x0000000000400000-0x0000000002B94000-memory.dmp

    Filesize

    39.6MB