Analysis

  • max time kernel
    148s
  • 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 02:45

General

  • Target

    JaffaCakes118_6fe7424d5f4d4ce6c5a5eef99cad1e1ffb0f4dad3ddbb932546a3e99286dc9bb.exe

  • Size

    160KB

  • MD5

    f8751659a78b753753c6cd06c414358e

  • SHA1

    d8b354927a734f92cd0d3972cbacef7e14ebd046

  • SHA256

    6fe7424d5f4d4ce6c5a5eef99cad1e1ffb0f4dad3ddbb932546a3e99286dc9bb

  • SHA512

    beac5506be29a2e9543250f81158cf9714c8a4d01690f3e3756bfa4ecfe7431327c7ff061cf4ea49aa8e16061c4d43d89cfa97f9bcd9843a1e798fd01dc99a6a

  • SSDEEP

    1536:Ra2VSyQsJgXWheKALv54FZ9YsnVGMkSflFUG43TgLjDo81l+UVwvdj6peviBTPmC:clNGUja68XU2EUicgiCSYxUAVGh0a

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_6fe7424d5f4d4ce6c5a5eef99cad1e1ffb0f4dad3ddbb932546a3e99286dc9bb.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6fe7424d5f4d4ce6c5a5eef99cad1e1ffb0f4dad3ddbb932546a3e99286dc9bb.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cypathhb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4864
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wglyfazo.exe" C:\Windows\SysWOW64\cypathhb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3748
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cypathhb binPath= "C:\Windows\SysWOW64\cypathhb\wglyfazo.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6fe7424d5f4d4ce6c5a5eef99cad1e1ffb0f4dad3ddbb932546a3e99286dc9bb.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4500
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cypathhb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4844
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cypathhb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4848
    • 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:4780
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3124 -s 668
      2⤵
      • Program crash
      PID:3044
  • C:\Windows\SysWOW64\cypathhb\wglyfazo.exe
    C:\Windows\SysWOW64\cypathhb\wglyfazo.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_6fe7424d5f4d4ce6c5a5eef99cad1e1ffb0f4dad3ddbb932546a3e99286dc9bb.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3700
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3700 -s 512
      2⤵
      • Program crash
      PID:2160
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3700 -ip 3700
    1⤵
      PID:3792
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 3124 -ip 3124
      1⤵
        PID:3508

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.9MB

        MD5

        b28cceb9b52d6b9dbb82953e3876f949

        SHA1

        e84b324bd7e71824172f11b311d7d471281224bb

        SHA256

        f5c25c53a2bc83f1d6e977b9d766dbd466739e66d2a64cc1f654a539444d7347

        SHA512

        f46a7cc0b66d20c79e7b478f1d6ce7743c8926d26251ac84b2df2960285bf9c506f4f9923c037fbf019ff7693b1a831e3a1731ef67545594df42c2d132745f81

      • memory/1376-12-0x0000000001280000-0x0000000001295000-memory.dmp

        Filesize

        84KB

      • memory/1376-18-0x0000000001280000-0x0000000001295000-memory.dmp

        Filesize

        84KB

      • memory/1376-9-0x0000000001280000-0x0000000001295000-memory.dmp

        Filesize

        84KB

      • memory/1376-20-0x0000000001280000-0x0000000001295000-memory.dmp

        Filesize

        84KB

      • memory/1376-19-0x0000000001280000-0x0000000001295000-memory.dmp

        Filesize

        84KB

      • memory/3124-0-0x00000000006E0000-0x00000000006ED000-memory.dmp

        Filesize

        52KB

      • memory/3124-1-0x00000000006F0000-0x0000000000703000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3124-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3124-16-0x00000000006F0000-0x0000000000703000-memory.dmp

        Filesize

        76KB

      • memory/3124-15-0x00000000006E0000-0x00000000006ED000-memory.dmp

        Filesize

        52KB

      • memory/3124-14-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/3700-13-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/3700-6-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/3700-7-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/3700-8-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB