Analysis

  • max time kernel
    150s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-10-2024 05:10

General

  • Target

    7be29c6f07a591909370c730d25e0474_JaffaCakes118.exe

  • Size

    11.1MB

  • MD5

    7be29c6f07a591909370c730d25e0474

  • SHA1

    74a9d8c39bb05b732f9a2d53735f992626247355

  • SHA256

    c8eed2f9ea3d4118cfde872489aea27c34edc9720a218cf483f76528aa2a9a87

  • SHA512

    b0971bcb9dba67e8684e23b47f06e12f2d144fe2e21bec13fbe73265ff38476409b92415e2392fb6d003b8822ecea11a8ff6f52aaa8ae45bc9442aefbba47b77

  • SSDEEP

    196608:i+8888888888888888888888888888888888888888888888888888888888888H:j888888888888888888888888888888g

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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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.

  • Program crash 2 IoCs
  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\7be29c6f07a591909370c730d25e0474_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\7be29c6f07a591909370c730d25e0474_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:440
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\aefzfcto\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4284
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pjscpsxj.exe" C:\Windows\SysWOW64\aefzfcto\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2928
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create aefzfcto binPath= "C:\Windows\SysWOW64\aefzfcto\pjscpsxj.exe /d\"C:\Users\Admin\AppData\Local\Temp\7be29c6f07a591909370c730d25e0474_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2268
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description aefzfcto "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1456
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start aefzfcto
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2052
    • 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:4696
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 440 -s 676
      2⤵
      • Program crash
      PID:2684
  • C:\Windows\SysWOW64\aefzfcto\pjscpsxj.exe
    C:\Windows\SysWOW64\aefzfcto\pjscpsxj.exe /d"C:\Users\Admin\AppData\Local\Temp\7be29c6f07a591909370c730d25e0474_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:8
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5096
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 8 -s 532
      2⤵
      • Program crash
      PID:4768
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 428 -p 440 -ip 440
    1⤵
      PID:3036
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 8 -ip 8
      1⤵
        PID:1016

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.1MB

        MD5

        c3f26a78e7cc7d7c1f3a22cd82c9df84

        SHA1

        e0613a088747351994400b54311bb1ace6036364

        SHA256

        45d0bb36312a53205b7a0e885ca97a5115946146c6fda31fefda101b6d487f28

        SHA512

        eab255aff18a776b56f1bb7aa53eef8a15d916eff21660b6e82ed229a34bd67e7a444c52a942af8017e7c784219e240593ce31d89d357501588d2ba6a666bb8b

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

        Filesize

        340KB

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

        Filesize

        340KB

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

        Filesize

        340KB

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

        Filesize

        340KB

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

        Filesize

        84KB

      • memory/440-2-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/440-9-0x00000000001D0000-0x00000000001E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        340KB

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

        Filesize

        1024KB

      • memory/5096-14-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/5096-16-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/5096-17-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB