Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-12-2024 10:39

General

  • Target

    JaffaCakes118_d32222894f943562ae2125c8ad2ee7bd3f642fc25da26b8888cd37373bf4aeff.exe

  • Size

    169KB

  • MD5

    5a3bb3813a61da85d329eee5f1ed86e1

  • SHA1

    bd25da233d0a6cf7e83dcb8a1fcf32bfe54692c0

  • SHA256

    d32222894f943562ae2125c8ad2ee7bd3f642fc25da26b8888cd37373bf4aeff

  • SHA512

    53b2294a3bf250896644ed0eccb3b98f72d440baf85e97ca87f92d985bf40e6d123c92289e518dd6da7f10eee8389074d9acfa3703cc0c26a336c46752570b3a

  • SSDEEP

    3072:ePnHfTpEBXlX/dA3FdrJS/SfeqJWHzqWdpMFIXwo2:gnHLpEBXlPdA3Fi/rqJezBpMGE

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_d32222894f943562ae2125c8ad2ee7bd3f642fc25da26b8888cd37373bf4aeff.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d32222894f943562ae2125c8ad2ee7bd3f642fc25da26b8888cd37373bf4aeff.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3692
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jvmxuyof\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:444
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ohcoshs.exe" C:\Windows\SysWOW64\jvmxuyof\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:832
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jvmxuyof binPath= "C:\Windows\SysWOW64\jvmxuyof\ohcoshs.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d32222894f943562ae2125c8ad2ee7bd3f642fc25da26b8888cd37373bf4aeff.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2192
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jvmxuyof "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1648
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jvmxuyof
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3212
    • 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:4888
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3692 -s 1244
      2⤵
      • Program crash
      PID:3932
  • C:\Windows\SysWOW64\jvmxuyof\ohcoshs.exe
    C:\Windows\SysWOW64\jvmxuyof\ohcoshs.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d32222894f943562ae2125c8ad2ee7bd3f642fc25da26b8888cd37373bf4aeff.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2200
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4392
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2200 -s 544
      2⤵
      • Program crash
      PID:5032
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3692 -ip 3692
    1⤵
      PID:960
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 2200 -ip 2200
      1⤵
        PID:4944

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.2MB

        MD5

        c3f8cf92ca6e13e672b8c96b2844d8c1

        SHA1

        06d071a11973b422c87ff6f5a518a42b78a3af8f

        SHA256

        d7844d421c7a2e241f6a6add786a6d507c45f102d0b0f7ca0e26502333492b22

        SHA512

        b3bbaa294ee4662c014afd63253551054a411afa28cf192b423b55727c3ec7a2fd4f75a2da65b1d9b6b3a6f280393195a50017234775287f7c30caa4e1f9b3d3

      • memory/2200-12-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/2200-6-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/3692-15-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

      • memory/3692-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3692-1-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

      • memory/3692-16-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3692-0-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

      • memory/3692-14-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

      • memory/3692-13-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/4392-7-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB

      • memory/4392-10-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB

      • memory/4392-17-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB

      • memory/4392-18-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB

      • memory/4392-19-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB