Analysis

  • max time kernel
    148s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-12-2024 23:51

General

  • Target

    JaffaCakes118_093d7fb822dabac4072b15f8f4703874ea5b02ccb09846f55eeb8739d7720cf7.exe

  • Size

    296KB

  • MD5

    706b81cc3fa7c62ebf8c33571bc4c805

  • SHA1

    b4167d2b276a971f6751990083dbe46c2c1e1ac8

  • SHA256

    093d7fb822dabac4072b15f8f4703874ea5b02ccb09846f55eeb8739d7720cf7

  • SHA512

    02dee4be0c82a98498855ee642980e22acff93b597280d7be9776678cf7c56b381e5da28463a8601868c4ca32dbcd27a821a0c3b6b1e67d51b4a345c0034335e

  • SSDEEP

    6144:HfCqfoXxGFNcpT+l7ALJQaaSXuZet0yy8wu1eozh/wRi7B:GXc7cpOALiaaSXuZet0yy8wu1ecwRi

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_093d7fb822dabac4072b15f8f4703874ea5b02ccb09846f55eeb8739d7720cf7.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_093d7fb822dabac4072b15f8f4703874ea5b02ccb09846f55eeb8739d7720cf7.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4008
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pnyymndl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2380
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\mrqoekti.exe" C:\Windows\SysWOW64\pnyymndl\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2604
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pnyymndl binPath= "C:\Windows\SysWOW64\pnyymndl\mrqoekti.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_093d7fb822dabac4072b15f8f4703874ea5b02ccb09846f55eeb8739d7720cf7.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2836
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pnyymndl "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5040
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pnyymndl
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3088
    • 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:4716
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4008 -s 1220
      2⤵
      • Program crash
      PID:4916
  • C:\Windows\SysWOW64\pnyymndl\mrqoekti.exe
    C:\Windows\SysWOW64\pnyymndl\mrqoekti.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_093d7fb822dabac4072b15f8f4703874ea5b02ccb09846f55eeb8739d7720cf7.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:972
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2444
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 972 -s 508
      2⤵
      • Program crash
      PID:1484
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4008 -ip 4008
    1⤵
      PID:2232
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 196 -p 972 -ip 972
      1⤵
        PID:3848

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.4MB

        MD5

        bf87d9780f5665c24be2503c0d6dcc15

        SHA1

        734a8efded6532a09b06d2996802fcc83cd371d5

        SHA256

        74e4084938ce81a1deaa357ced0bf638fb978248bbf13f1615c4888f949d7b30

        SHA512

        e1ea5d979e71fa5c9b69419b39ca45d29fe189cad9b1f605272cbcf944f56095e68d2b698aa841ec092efdf4b4e08ace82838056605276740c843420ba2461cb

      • memory/972-15-0x0000000000400000-0x0000000001C00000-memory.dmp

        Filesize

        24.0MB

      • memory/2444-11-0x0000000000720000-0x0000000000735000-memory.dmp

        Filesize

        84KB

      • memory/2444-13-0x0000000000720000-0x0000000000735000-memory.dmp

        Filesize

        84KB

      • memory/2444-14-0x0000000000720000-0x0000000000735000-memory.dmp

        Filesize

        84KB

      • memory/4008-1-0x0000000001DD0000-0x0000000001ED0000-memory.dmp

        Filesize

        1024KB

      • memory/4008-2-0x0000000001DA0000-0x0000000001DB3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4008-8-0x0000000001DA0000-0x0000000001DB3000-memory.dmp

        Filesize

        76KB

      • memory/4008-7-0x0000000000400000-0x0000000001C00000-memory.dmp

        Filesize

        24.0MB