Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-12-2024 12:48

General

  • Target

    c296f02e4d3f5773f967172f8b0b352f_JaffaCakes118.exe

  • Size

    12.8MB

  • MD5

    c296f02e4d3f5773f967172f8b0b352f

  • SHA1

    a5ac3f8756b8ff7bf2a83eb0f452e86af572e776

  • SHA256

    fcb55991155828d579dcde0f155c8c295a1f1afcf5d497145535ac3dd13d40b8

  • SHA512

    15ab64be39838dfdda5d805ca998064a42189ab453c5152c5a1b49154042ee2fc93c05096d43d19cc684292e396c42878d0fd6de3c17a321d7ea3686addf7618

  • SSDEEP

    49152:KFUk///////////////////////////////////////////////////////////v:KF

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

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\c296f02e4d3f5773f967172f8b0b352f_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\c296f02e4d3f5773f967172f8b0b352f_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2608
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gjinsdst\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3428
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wrvndoqo.exe" C:\Windows\SysWOW64\gjinsdst\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2824
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gjinsdst binPath= "C:\Windows\SysWOW64\gjinsdst\wrvndoqo.exe /d\"C:\Users\Admin\AppData\Local\Temp\c296f02e4d3f5773f967172f8b0b352f_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2444
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gjinsdst "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1084
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gjinsdst
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3716
    • 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:1620
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2608 -s 792
      2⤵
      • Program crash
      PID:1124
  • C:\Windows\SysWOW64\gjinsdst\wrvndoqo.exe
    C:\Windows\SysWOW64\gjinsdst\wrvndoqo.exe /d"C:\Users\Admin\AppData\Local\Temp\c296f02e4d3f5773f967172f8b0b352f_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5040
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4652
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5040 -s 520
      2⤵
      • Program crash
      PID:1756
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2608 -ip 2608
    1⤵
      PID:4552
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 5040 -ip 5040
      1⤵
        PID:3712

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.0MB

        MD5

        2830eee40deed15b7c84612fe4641994

        SHA1

        711808acf7a3cb94e15cb787bcbfa94611268867

        SHA256

        98447744d538d3efa3048deb36def13f443fc182e3a0e64a2e664b9afaaa64b4

        SHA512

        233144fd8b516019a555cf3bca442657810d465337be284a45f2dcf5eecec6dd7516f9e005c5a1de3d33b64366f5b826f1cab1df4896f1dd6b521971a2fce372

      • memory/2608-7-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

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

        Filesize

        84KB

      • memory/2608-2-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

      • memory/2608-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2608-8-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

      • memory/2608-1-0x00000000005D0000-0x00000000006D0000-memory.dmp

        Filesize

        1024KB

      • memory/4652-14-0x0000000000F30000-0x0000000000F45000-memory.dmp

        Filesize

        84KB

      • memory/4652-16-0x0000000000F30000-0x0000000000F45000-memory.dmp

        Filesize

        84KB

      • memory/4652-17-0x0000000000F30000-0x0000000000F45000-memory.dmp

        Filesize

        84KB

      • memory/5040-11-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/5040-13-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/5040-12-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB

      • memory/5040-19-0x0000000000400000-0x0000000000461000-memory.dmp

        Filesize

        388KB