Analysis

  • max time kernel
    147s
  • 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
    24-12-2024 22:51

General

  • Target

    JaffaCakes118_0d2e8b13e996d58447a95e7b8b5918373000d6baa78c33c04fa67a9ae3efa871.exe

  • Size

    179KB

  • MD5

    1ecbcffb32a874d05b2d4e9ac19b9827

  • SHA1

    3397a30b7ecdde3effb329b7bad29fdf074a63f2

  • SHA256

    0d2e8b13e996d58447a95e7b8b5918373000d6baa78c33c04fa67a9ae3efa871

  • SHA512

    24e188516e1b32169d9974300da435492e6565d4489a114a5a3986f65efe897822cb0d602bdabe22f79b5bf3aa5b6c899f70d39f61cac313726647f0e27e26ff

  • SSDEEP

    3072:B7S4EKeM3KP5fooZ8+TiX5SsiduZFG7XNDsUpkV:7eM3KPlFmMsbzG7X2Up

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_0d2e8b13e996d58447a95e7b8b5918373000d6baa78c33c04fa67a9ae3efa871.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0d2e8b13e996d58447a95e7b8b5918373000d6baa78c33c04fa67a9ae3efa871.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3108
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xlgbvlik\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2972
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\renklqcp.exe" C:\Windows\SysWOW64\xlgbvlik\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1092
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xlgbvlik binPath= "C:\Windows\SysWOW64\xlgbvlik\renklqcp.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0d2e8b13e996d58447a95e7b8b5918373000d6baa78c33c04fa67a9ae3efa871.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2272
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xlgbvlik "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4156
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xlgbvlik
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4764
    • 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:3988
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3108 -s 1032
      2⤵
      • Program crash
      PID:668
  • C:\Windows\SysWOW64\xlgbvlik\renklqcp.exe
    C:\Windows\SysWOW64\xlgbvlik\renklqcp.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_0d2e8b13e996d58447a95e7b8b5918373000d6baa78c33c04fa67a9ae3efa871.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1976
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3056
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1976 -s 532
      2⤵
      • Program crash
      PID:4576
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1976 -ip 1976
    1⤵
      PID:3040
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 3108 -ip 3108
      1⤵
        PID:2228

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        6eeb905935f441473cd5a6647985bf35

        SHA1

        94978377b00bd6c099b1ef4804a25fe1f5e0ff1e

        SHA256

        56fb354572fdb751fd104becbca6ba38170bc6de6c47784746b6330da7038488

        SHA512

        b245707eb77cfdee019c8de10bd74578a184e77c830a28d016c2e1882805c0a9b1f1cce4281f33e508c93dcfeb82682eb6bf19a0b7ac5f4f5a31a2ce68b3860c

      • memory/1976-13-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/1976-6-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/1976-7-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/3056-11-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB

      • memory/3056-20-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB

      • memory/3056-8-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB

      • memory/3056-19-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB

      • memory/3056-18-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB

      • memory/3108-14-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/3108-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3108-16-0x00000000006C0000-0x00000000006D3000-memory.dmp

        Filesize

        76KB

      • memory/3108-15-0x0000000000590000-0x000000000059D000-memory.dmp

        Filesize

        52KB

      • memory/3108-0-0x0000000000590000-0x000000000059D000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/3108-1-0x00000000006C0000-0x00000000006D3000-memory.dmp

        Filesize

        76KB