Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 18:56

General

  • Target

    JaffaCakes118_760dcdefd76a6511354f00a7eaa02830f82f5f9cddb78cc2ddb20dfc3bc3bf0e.exe

  • Size

    160KB

  • MD5

    686fc196e10156d0a866258e20534432

  • SHA1

    295e798b2d891f5a894f29f6ca9af5ef8c81b14a

  • SHA256

    760dcdefd76a6511354f00a7eaa02830f82f5f9cddb78cc2ddb20dfc3bc3bf0e

  • SHA512

    e0726d5adbb41bd7c69b97c2be8e09a867d34e1899ee32bd03e0079ee6c4ab652a6d7bcfd9033204573091e04177ffaee1326ea867718615ff673f1675123ad2

  • SSDEEP

    3072:m+qa3AwxO2IrqgjxT3WF5UvE1WhOgdq8jsYB6Gu:R31O2UqKRWyE1WEiqdo6G

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_760dcdefd76a6511354f00a7eaa02830f82f5f9cddb78cc2ddb20dfc3bc3bf0e.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_760dcdefd76a6511354f00a7eaa02830f82f5f9cddb78cc2ddb20dfc3bc3bf0e.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4712
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\aoxcllps\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2872
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hdssxekb.exe" C:\Windows\SysWOW64\aoxcllps\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1928
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create aoxcllps binPath= "C:\Windows\SysWOW64\aoxcllps\hdssxekb.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_760dcdefd76a6511354f00a7eaa02830f82f5f9cddb78cc2ddb20dfc3bc3bf0e.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4140
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description aoxcllps "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4128
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start aoxcllps
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1536
    • 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:2028
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4712 -s 1192
      2⤵
      • Program crash
      PID:2312
  • C:\Windows\SysWOW64\aoxcllps\hdssxekb.exe
    C:\Windows\SysWOW64\aoxcllps\hdssxekb.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_760dcdefd76a6511354f00a7eaa02830f82f5f9cddb78cc2ddb20dfc3bc3bf0e.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1412
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:908
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1412 -s 516
      2⤵
      • Program crash
      PID:208
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1412 -ip 1412
    1⤵
      PID:4536
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 4712 -ip 4712
      1⤵
        PID:1612

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        964fda29a4b333b91a67b21833fb0dcc

        SHA1

        c645f06a74283ec591a2a719d99ff2ac45ee8506

        SHA256

        799dbad97102287f4bda345a2a6d5ecd52fdd3e681bb3f1c46e0c8e4d698bc19

        SHA512

        541dabeb9b9a343ad494f78202d5a77c2602c71fcd8414a121dceecad41453826aa3cba4f7bfc01cf951e73c671bd2815e7b7f3857808fa4c11213367fd285f4

      • memory/908-8-0x0000000000BA0000-0x0000000000BB5000-memory.dmp

        Filesize

        84KB

      • memory/908-20-0x0000000000BA0000-0x0000000000BB5000-memory.dmp

        Filesize

        84KB

      • memory/908-19-0x0000000000BA0000-0x0000000000BB5000-memory.dmp

        Filesize

        84KB

      • memory/908-18-0x0000000000BA0000-0x0000000000BB5000-memory.dmp

        Filesize

        84KB

      • memory/908-11-0x0000000000BA0000-0x0000000000BB5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        212KB

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

        Filesize

        212KB

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

        Filesize

        212KB

      • memory/4712-0-0x00000000004F0000-0x00000000004FD000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

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

        Filesize

        212KB

      • memory/4712-16-0x00000000005E0000-0x00000000005F3000-memory.dmp

        Filesize

        76KB

      • memory/4712-15-0x00000000004F0000-0x00000000004FD000-memory.dmp

        Filesize

        52KB

      • memory/4712-2-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4712-1-0x00000000005E0000-0x00000000005F3000-memory.dmp

        Filesize

        76KB