Analysis

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

General

  • Target

    JaffaCakes118_db6ca7bd376d1e121e3e478d9d9fbda472e879b00b3fd572d431e977a454fb77.exe

  • Size

    278KB

  • MD5

    832eef8830ace04bfd53d05c524dca29

  • SHA1

    9ae9dd522717b19d905c9fdba1ec5a288a4e0ed4

  • SHA256

    db6ca7bd376d1e121e3e478d9d9fbda472e879b00b3fd572d431e977a454fb77

  • SHA512

    f428c31368b98965d9b93b6836f8e9163e5a744efe2ddff8fcaabc4980d92a645e48e106528a4532f2a9df6f48677d37765946149a38143fe2b59dad696506c0

  • SSDEEP

    3072:4J0Zp67yXQw8oNftX19+9u5U/uMcwfGzPHeuqAsBD4SYhb07FjsE/Sb9Ck7O8BEY:44DTNVQ/cbHeu6Bk/y7Fjn/XKOSEI

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_db6ca7bd376d1e121e3e478d9d9fbda472e879b00b3fd572d431e977a454fb77.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_db6ca7bd376d1e121e3e478d9d9fbda472e879b00b3fd572d431e977a454fb77.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2320
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xnijmdtl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4192
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\exlxpjly.exe" C:\Windows\SysWOW64\xnijmdtl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3512
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xnijmdtl binPath= "C:\Windows\SysWOW64\xnijmdtl\exlxpjly.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_db6ca7bd376d1e121e3e478d9d9fbda472e879b00b3fd572d431e977a454fb77.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4268
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xnijmdtl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xnijmdtl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1704
    • 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:2648
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2320 -s 1048
      2⤵
      • Program crash
      PID:2204
  • C:\Windows\SysWOW64\xnijmdtl\exlxpjly.exe
    C:\Windows\SysWOW64\xnijmdtl\exlxpjly.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_db6ca7bd376d1e121e3e478d9d9fbda472e879b00b3fd572d431e977a454fb77.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4152
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5004
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4152 -s 516
      2⤵
      • Program crash
      PID:2300
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2320 -ip 2320
    1⤵
      PID:4912
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 4152 -ip 4152
      1⤵
        PID:4352

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.4MB

        MD5

        8134ec977b121fda0e9e41c32d978f7c

        SHA1

        3d5b611589c69d006b4886385eedde310029301e

        SHA256

        b0742064f5d027249c8ed098ecfa5093063155fe6bfe8e4bb48765b370a84beb

        SHA512

        fad6c6a22a539a8a4d841e62936c3984f2665247c63d7646ecbd97fbd82798418e6c012b61d70a02c63d675bee018c03bc25a6ec552c0781b4ba43e013486909

      • memory/2320-1-0x0000000002250000-0x0000000002350000-memory.dmp

        Filesize

        1024KB

      • memory/2320-2-0x0000000003D20000-0x0000000003D33000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2320-8-0x0000000003D20000-0x0000000003D33000-memory.dmp

        Filesize

        76KB

      • memory/2320-7-0x0000000000400000-0x0000000001FCB000-memory.dmp

        Filesize

        27.8MB

      • memory/4152-15-0x0000000000400000-0x0000000001FCB000-memory.dmp

        Filesize

        27.8MB

      • memory/5004-11-0x0000000000F90000-0x0000000000FA5000-memory.dmp

        Filesize

        84KB

      • memory/5004-13-0x0000000000F90000-0x0000000000FA5000-memory.dmp

        Filesize

        84KB

      • memory/5004-14-0x0000000000F90000-0x0000000000FA5000-memory.dmp

        Filesize

        84KB