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 15:12

General

  • Target

    JaffaCakes118_85ef810dd3d85f2a30e50d652aca8dd3e85933eaccfd3efa735bae6e26fff895.exe

  • Size

    220KB

  • MD5

    472f3c93a3a556b6d411fc8545f499a2

  • SHA1

    0b3c535e3a9eb288cc6d1f288b81b10528e62515

  • SHA256

    85ef810dd3d85f2a30e50d652aca8dd3e85933eaccfd3efa735bae6e26fff895

  • SHA512

    7aaf7f56bb3d9f177f01d83662ddc915405c175403466fe854d6cbc81f825f9a26c724d07f308f6ae2f288bd75840024a8065306167c1d178ba8edb3e96809df

  • SSDEEP

    3072:jQ2Bp+bjYIVbAEz26obfSW2HDy5LZUJ98Wrxpzbgqru+sxkgaBChaz1Y:sQ+PYMby7S/Qq6uzbgwu7igaT

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_85ef810dd3d85f2a30e50d652aca8dd3e85933eaccfd3efa735bae6e26fff895.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_85ef810dd3d85f2a30e50d652aca8dd3e85933eaccfd3efa735bae6e26fff895.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:732
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hnyeelgd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2280
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kxgdejvi.exe" C:\Windows\SysWOW64\hnyeelgd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2284
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hnyeelgd binPath= "C:\Windows\SysWOW64\hnyeelgd\kxgdejvi.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_85ef810dd3d85f2a30e50d652aca8dd3e85933eaccfd3efa735bae6e26fff895.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hnyeelgd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3960
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hnyeelgd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4812
    • 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:1048
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 732 -s 1044
      2⤵
      • Program crash
      PID:4700
  • C:\Windows\SysWOW64\hnyeelgd\kxgdejvi.exe
    C:\Windows\SysWOW64\hnyeelgd\kxgdejvi.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_85ef810dd3d85f2a30e50d652aca8dd3e85933eaccfd3efa735bae6e26fff895.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5048
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3704
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5048 -s 532
      2⤵
      • Program crash
      PID:2348
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 732 -ip 732
    1⤵
      PID:2092
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 5048 -ip 5048
      1⤵
        PID:2236

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.1MB

        MD5

        440f23c186fcf8a583750809bebe9948

        SHA1

        25d2ac47281d4927c58514f801f76b3b1ace690f

        SHA256

        bd7758642d625d980f41ecb8ace58d5e2c7448adebeec9d5b954f97338cd774c

        SHA512

        44c46075ff56ec3c0639a08e562d824d5f2ed6671eff23a6236f4d504445377193e07b600c01d2678e5a17abbc741b948e87db9f80253b59d420b4ebe4dd1110

      • memory/732-14-0x0000000002060000-0x0000000002073000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/732-1-0x0000000002060000-0x0000000002073000-memory.dmp

        Filesize

        76KB

      • memory/732-0-0x0000000002050000-0x000000000205D000-memory.dmp

        Filesize

        52KB

      • memory/732-15-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/732-13-0x0000000002050000-0x000000000205D000-memory.dmp

        Filesize

        52KB

      • memory/732-12-0x0000000000400000-0x0000000000441000-memory.dmp

        Filesize

        260KB

      • memory/3704-19-0x00000000005E0000-0x00000000005F5000-memory.dmp

        Filesize

        84KB

      • memory/3704-8-0x00000000005E0000-0x00000000005F5000-memory.dmp

        Filesize

        84KB

      • memory/3704-11-0x00000000005E0000-0x00000000005F5000-memory.dmp

        Filesize

        84KB

      • memory/3704-17-0x00000000005E0000-0x00000000005F5000-memory.dmp

        Filesize

        84KB

      • memory/3704-18-0x00000000005E0000-0x00000000005F5000-memory.dmp

        Filesize

        84KB

      • memory/5048-6-0x0000000000400000-0x0000000000441000-memory.dmp

        Filesize

        260KB

      • memory/5048-16-0x0000000000400000-0x0000000000441000-memory.dmp

        Filesize

        260KB

      • memory/5048-7-0x0000000000400000-0x0000000000441000-memory.dmp

        Filesize

        260KB