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
    21-12-2024 20:46

General

  • Target

    JaffaCakes118_be694b37daf2d5b9b8491a0289a192fe18e05d2b50f98376b27c78ef146a6b76.exe

  • Size

    342KB

  • MD5

    1518b03ff2731322f2bcf759be3b9d41

  • SHA1

    fc8eee7fe594cbfc5c827d76b56717df1e27b94c

  • SHA256

    be694b37daf2d5b9b8491a0289a192fe18e05d2b50f98376b27c78ef146a6b76

  • SHA512

    da5b53754940e1df8a63607af8c8f8d2bf4cec4e12744efcf531aa94a62790dd29f73f5f9fedb618f331953d238acd08447fa6c4054c3d2c20814b6905f544c9

  • SSDEEP

    6144:zEwxmgAdC3H8HkHwuIpk4BUoBJnoT7Y6JhAr4Bk:zb5UC3hQuIK4BUoBJnoT7YB4B

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_be694b37daf2d5b9b8491a0289a192fe18e05d2b50f98376b27c78ef146a6b76.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_be694b37daf2d5b9b8491a0289a192fe18e05d2b50f98376b27c78ef146a6b76.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3088
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kvblwpyg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2124
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\phzgfwho.exe" C:\Windows\SysWOW64\kvblwpyg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kvblwpyg binPath= "C:\Windows\SysWOW64\kvblwpyg\phzgfwho.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_be694b37daf2d5b9b8491a0289a192fe18e05d2b50f98376b27c78ef146a6b76.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3216
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kvblwpyg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4144
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kvblwpyg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1284
    • 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:4724
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3088 -s 1040
      2⤵
      • Program crash
      PID:2320
  • C:\Windows\SysWOW64\kvblwpyg\phzgfwho.exe
    C:\Windows\SysWOW64\kvblwpyg\phzgfwho.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_be694b37daf2d5b9b8491a0289a192fe18e05d2b50f98376b27c78ef146a6b76.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:776
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3332
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 776 -s 532
      2⤵
      • Program crash
      PID:3152
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3088 -ip 3088
    1⤵
      PID:540
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 776 -ip 776
      1⤵
        PID:936

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.0MB

        MD5

        a04146efb06581b3f2fe29ee0476a2eb

        SHA1

        5e3accf319ade434c82bedc5b3952b0b9d328193

        SHA256

        a410833cb247e8d6ba9a49f4fb439993465e1e3039a8ad4a2b2199b636852595

        SHA512

        2a58d3eae76bee61eb22c1db0aeac78256387ecad9f253a8795b9b35db1329568b439b6a7412f1b7611e7db6010b62e25a333bab37f6a5a3cfb3cc7de65d2b9f

      • memory/776-15-0x0000000000400000-0x00000000008FA000-memory.dmp

        Filesize

        5.0MB

      • memory/3088-1-0x0000000000A20000-0x0000000000B20000-memory.dmp

        Filesize

        1024KB

      • memory/3088-2-0x00000000009D0000-0x00000000009E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3088-8-0x00000000009D0000-0x00000000009E3000-memory.dmp

        Filesize

        76KB

      • memory/3088-7-0x0000000000400000-0x00000000008FA000-memory.dmp

        Filesize

        5.0MB

      • memory/3332-11-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/3332-13-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB

      • memory/3332-14-0x0000000001270000-0x0000000001285000-memory.dmp

        Filesize

        84KB