Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 13:17

General

  • Target

    JaffaCakes118_711f92fa9ac41fc35df5af56e8b669cc59ab52e52e60d2458b303d258bac29ae.exe

  • Size

    328KB

  • MD5

    0011b607f6708b1c582cfd6775142bc1

  • SHA1

    96fbcf5c5316e23f258513c1dd4486e0cb9aca5d

  • SHA256

    711f92fa9ac41fc35df5af56e8b669cc59ab52e52e60d2458b303d258bac29ae

  • SHA512

    0afead70fa35124ca60f71961df077948bcead68ab101042934695726cffe5bdd85fd3a4493f953496747a17f6635aa956a22ac9452f49e772599303e2e2214d

  • SSDEEP

    6144:os0VP7IpmXLkbvHlO3x1lDKIFkoZLlSpArU:ofbWvQ3x1ltFdZE

Malware Config

Extracted

Family

tofsee

C2

quadoil.ru

lakeflex.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\JaffaCakes118_711f92fa9ac41fc35df5af56e8b669cc59ab52e52e60d2458b303d258bac29ae.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_711f92fa9ac41fc35df5af56e8b669cc59ab52e52e60d2458b303d258bac29ae.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2820
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zjwztmcp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4032
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jydeygjc.exe" C:\Windows\SysWOW64\zjwztmcp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4336
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zjwztmcp binPath= "C:\Windows\SysWOW64\zjwztmcp\jydeygjc.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_711f92fa9ac41fc35df5af56e8b669cc59ab52e52e60d2458b303d258bac29ae.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zjwztmcp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2824
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zjwztmcp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4976
    • 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:3652
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2820 -s 804
      2⤵
      • Program crash
      PID:3128
  • C:\Windows\SysWOW64\zjwztmcp\jydeygjc.exe
    C:\Windows\SysWOW64\zjwztmcp\jydeygjc.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_711f92fa9ac41fc35df5af56e8b669cc59ab52e52e60d2458b303d258bac29ae.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3848
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:708
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3848 -s 508
      2⤵
      • Program crash
      PID:4996
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 2820 -ip 2820
    1⤵
      PID:3404
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 3848 -ip 3848
      1⤵
        PID:3844

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.4MB

        MD5

        32391dae1d2c13cd08c9f3f38c351ec0

        SHA1

        fa94155b0da9a224cd1f9a2458ae5b8f801c6c0e

        SHA256

        f6d5bf7640056607650cf72953ee0dc9456fa14fd64cb4de68d03b0589ca94ec

        SHA512

        65b285fe9b1ba394a964921c458939be23e060fdf245bbf757962348ea529eef0c6cbdf238a55412c191a729e396a1e8e5fc134a13552dcb72ab3e2caedaaba5

      • memory/708-11-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB

      • memory/708-13-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB

      • memory/708-14-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB

      • memory/2820-1-0x0000000002A40000-0x0000000002B40000-memory.dmp

        Filesize

        1024KB

      • memory/2820-2-0x0000000002A20000-0x0000000002A33000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2820-8-0x0000000002A20000-0x0000000002A33000-memory.dmp

        Filesize

        76KB

      • memory/2820-7-0x0000000000400000-0x0000000002779000-memory.dmp

        Filesize

        35.5MB

      • memory/3848-15-0x0000000000400000-0x0000000002779000-memory.dmp

        Filesize

        35.5MB