Analysis

  • max time kernel
    147s
  • max time network
    147s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    25/12/2024, 02:43

General

  • Target

    JaffaCakes118_9fef4ad49864c299d79389bd707f11c7629917e383154518fd46cb28e6809f8a.exe

  • Size

    332KB

  • MD5

    5b00d589baefadac0c52421428116f82

  • SHA1

    adedf80020d95172b77e961aec1b6a135f0cb124

  • SHA256

    9fef4ad49864c299d79389bd707f11c7629917e383154518fd46cb28e6809f8a

  • SHA512

    4e92cd23597bf96e5fabc5d826cb9ca4fa0a826d6c44f7c20d71e0682d666c6ed9612a2936bc15f42de88f46d71af2ecf092eef0a3b8fe62b76180eab326f3b3

  • SSDEEP

    6144:coVdMvx4jPA3HBNg6MZ9wdNs+8rDwzC5LxQEiD7VizfvBhh:9X0+jPoa6MZ9wdNs++czC5mLgzXBh

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9fef4ad49864c299d79389bd707f11c7629917e383154518fd46cb28e6809f8a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9fef4ad49864c299d79389bd707f11c7629917e383154518fd46cb28e6809f8a.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:540
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mojwbdrz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2224
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tyxvlrap.exe" C:\Windows\SysWOW64\mojwbdrz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2488
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mojwbdrz binPath= "C:\Windows\SysWOW64\mojwbdrz\tyxvlrap.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9fef4ad49864c299d79389bd707f11c7629917e383154518fd46cb28e6809f8a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1812
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mojwbdrz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2652
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mojwbdrz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2756
    • 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:2796
  • C:\Windows\SysWOW64\mojwbdrz\tyxvlrap.exe
    C:\Windows\SysWOW64\mojwbdrz\tyxvlrap.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9fef4ad49864c299d79389bd707f11c7629917e383154518fd46cb28e6809f8a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2900
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1632

Network

        MITRE ATT&CK Enterprise v15

        Replay Monitor

        Loading Replay Monitor...

        Downloads

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

          Filesize

          14.8MB

          MD5

          5ea78af952d75c7e057e50b131c5e99c

          SHA1

          619dfaeeceaedde17292c6e20fd9285da407b44b

          SHA256

          5fd183f95ca8d83364e5a014044684a7560d5ba411b9cdc0ed235e02fa35901b

          SHA512

          f84db4dfd6d2766534424ddf568c40c9854be776acba0b7a589fa277a433903f09c9f0428ce96ac2d15df2431f1e18da29e46f99352731b73863e29236094d72

        • memory/540-8-0x0000000000220000-0x0000000000233000-memory.dmp

          Filesize

          76KB

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

          Filesize

          84KB

        • memory/540-2-0x0000000000220000-0x0000000000233000-memory.dmp

          Filesize

          76KB

        • memory/540-10-0x0000000000400000-0x0000000000415000-memory.dmp

          Filesize

          84KB

        • memory/540-9-0x0000000002CD0000-0x0000000002DD0000-memory.dmp

          Filesize

          1024KB

        • memory/540-1-0x0000000002CD0000-0x0000000002DD0000-memory.dmp

          Filesize

          1024KB

        • memory/540-7-0x0000000000400000-0x0000000002B4B000-memory.dmp

          Filesize

          39.3MB

        • memory/1632-18-0x0000000000080000-0x0000000000095000-memory.dmp

          Filesize

          84KB

        • memory/1632-15-0x0000000000080000-0x0000000000095000-memory.dmp

          Filesize

          84KB

        • memory/1632-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

          Filesize

          4KB

        • memory/1632-12-0x0000000000080000-0x0000000000095000-memory.dmp

          Filesize

          84KB

        • memory/1632-19-0x0000000000080000-0x0000000000095000-memory.dmp

          Filesize

          84KB

        • memory/2900-17-0x0000000000400000-0x0000000002B4B000-memory.dmp

          Filesize

          39.3MB