Analysis

  • max time kernel
    150s
  • 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
    22-12-2024 05:10

General

  • Target

    JaffaCakes118_cef42e263e7f019309f54211a3631a6307227afd9a14b2be82594d71401e943e.exe

  • Size

    292KB

  • MD5

    233cbf353673f230bc6ac3dfc4ba231b

  • SHA1

    beb0d57cac314f0f6516cdc31e1e380982989450

  • SHA256

    cef42e263e7f019309f54211a3631a6307227afd9a14b2be82594d71401e943e

  • SHA512

    fb2494db2760b7381e0abaf7bc02660cd1780c57e0abf06ce6d21099c69109a3b4715fa87ab09c9293a82049b91a69318a6f8557b155c68bab2d3129a97b4418

  • SSDEEP

    6144:7gDFgfRlILqtqILeleWxIlUMNYji6loYTet/S6s/:7sFel9txrGIlUMNYji6jmS6y

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_cef42e263e7f019309f54211a3631a6307227afd9a14b2be82594d71401e943e.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cef42e263e7f019309f54211a3631a6307227afd9a14b2be82594d71401e943e.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2004
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yromlnw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3936
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\moixtplc.exe" C:\Windows\SysWOW64\yromlnw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yromlnw binPath= "C:\Windows\SysWOW64\yromlnw\moixtplc.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cef42e263e7f019309f54211a3631a6307227afd9a14b2be82594d71401e943e.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1964
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yromlnw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3916
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yromlnw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4624
    • 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:2272
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2004 -s 652
      2⤵
      • Program crash
      PID:1064
  • C:\Windows\SysWOW64\yromlnw\moixtplc.exe
    C:\Windows\SysWOW64\yromlnw\moixtplc.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_cef42e263e7f019309f54211a3631a6307227afd9a14b2be82594d71401e943e.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5112
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3668
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5112 -s 516
      2⤵
      • Program crash
      PID:4920
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2004 -ip 2004
    1⤵
      PID:4112
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 5112 -ip 5112
      1⤵
        PID:5052

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.3MB

        MD5

        8f4ef58b824cda64c32bd66e6e600071

        SHA1

        479c652d94b9274456a6eae62ada0bfe1e414a7f

        SHA256

        342d36f79747d86b94d6afa4be30ce4253fa7e83a430d9f4ac7711de937c9770

        SHA512

        5b91b1f2e4c384d812a3c56b3a280b4af714f5ab9518576597f7dc098b869e511af31e8039f86f4743639e26669b3204add96f05f8e2332ca935408c1b6732f1

      • memory/2004-1-0x0000000000900000-0x0000000000A00000-memory.dmp

        Filesize

        1024KB

      • memory/2004-2-0x0000000002630000-0x0000000002643000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2004-8-0x0000000002630000-0x0000000002643000-memory.dmp

        Filesize

        76KB

      • memory/2004-7-0x0000000000400000-0x00000000008ED000-memory.dmp

        Filesize

        4.9MB

      • memory/3668-11-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/3668-13-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/3668-14-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/5112-15-0x0000000000400000-0x00000000008ED000-memory.dmp

        Filesize

        4.9MB