Analysis

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

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

General

  • Target

    JaffaCakes118_499d65ae848034b47448e62a1f54b52a7f5210836e009ef02f44a7ede4a46edd.exe

  • Size

    285KB

  • MD5

    c7c81a19e0a0682869c98da734e55b25

  • SHA1

    d2e58799c4814e11beb7bf23b594ddfdb654bbfe

  • SHA256

    499d65ae848034b47448e62a1f54b52a7f5210836e009ef02f44a7ede4a46edd

  • SHA512

    7e9059ce89b52ec5fc16c75fc3db559751ad29f288452228670068db3063628e8828e06bebc3ed3d6ad5ce43400a7f4a50294aa535b5064d6b8acd1612ec2d13

  • SSDEEP

    6144:QKFbjoZovivz4hNuzbgwu6L7ITsqSigaTwVf:DbjoZMlhNunnn7s

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_499d65ae848034b47448e62a1f54b52a7f5210836e009ef02f44a7ede4a46edd.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_499d65ae848034b47448e62a1f54b52a7f5210836e009ef02f44a7ede4a46edd.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3208
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fdsrwybe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dwhxifyr.exe" C:\Windows\SysWOW64\fdsrwybe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3760
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fdsrwybe binPath= "C:\Windows\SysWOW64\fdsrwybe\dwhxifyr.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_499d65ae848034b47448e62a1f54b52a7f5210836e009ef02f44a7ede4a46edd.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:476
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fdsrwybe "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2396
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fdsrwybe
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2728
    • 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:1208
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3208 -s 1036
      2⤵
      • Program crash
      PID:3500
  • C:\Windows\SysWOW64\fdsrwybe\dwhxifyr.exe
    C:\Windows\SysWOW64\fdsrwybe\dwhxifyr.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_499d65ae848034b47448e62a1f54b52a7f5210836e009ef02f44a7ede4a46edd.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2700
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:32
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2700 -s 532
      2⤵
      • Program crash
      PID:2948
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3208 -ip 3208
    1⤵
      PID:4248
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 2700 -ip 2700
      1⤵
        PID:1616

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        c70d5009ae9868aa889ae735a1867e5d

        SHA1

        9f417f8a3905b34c290e3d23666eaea6be8cd3f3

        SHA256

        3017241fa919eac8f0ce5f8153770c9876ee7a7db217489670150e0f176f2bbd

        SHA512

        321e7b8c38ec632970ab4c702a8107053004fe22c7d283ebf6900bfcd08c3fb98a6f58f72a3487eb8b368a96f0b6eefbfbf5d90fccebd396a5a90155095ef13c

      • memory/32-11-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

      • memory/32-13-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

      • memory/32-14-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

      • memory/2700-10-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/2700-16-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

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

        Filesize

        84KB

      • memory/3208-1-0x00000000021B0000-0x00000000021C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3208-7-0x00000000021A0000-0x00000000021AD000-memory.dmp

        Filesize

        52KB

      • memory/3208-6-0x0000000000400000-0x0000000000451000-memory.dmp

        Filesize

        324KB

      • memory/3208-0-0x00000000021A0000-0x00000000021AD000-memory.dmp

        Filesize

        52KB