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
    22-12-2024 13:13

General

  • Target

    JaffaCakes118_9c4dd198c1fcf7dac80b64a82f4c5b72f83441847ee772de5016d634154b4212.exe

  • Size

    316KB

  • MD5

    87a58dc8ac5becd9f987e106a98965df

  • SHA1

    d8f43dc14b3947098acec7a6252dc559324acf00

  • SHA256

    9c4dd198c1fcf7dac80b64a82f4c5b72f83441847ee772de5016d634154b4212

  • SHA512

    2b024787793cd31a8b0cf8bdd83c3b3bc7534f6bb0cbb110d9a2b2253dfc14de45b5a7cb051d4befea4daf0e83e6f267828c48a54c66b411468b4518d1bc445a

  • SSDEEP

    6144:gVhnD8gVlE30L2ybuj67CZ0jGv2Dq31jsoQK7k:0E30L2ybuj67CZ0jGv2Ijs1K4

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_9c4dd198c1fcf7dac80b64a82f4c5b72f83441847ee772de5016d634154b4212.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9c4dd198c1fcf7dac80b64a82f4c5b72f83441847ee772de5016d634154b4212.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1516
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fgswhjfe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3288
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dstzmxrq.exe" C:\Windows\SysWOW64\fgswhjfe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:772
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fgswhjfe binPath= "C:\Windows\SysWOW64\fgswhjfe\dstzmxrq.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9c4dd198c1fcf7dac80b64a82f4c5b72f83441847ee772de5016d634154b4212.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fgswhjfe "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 fgswhjfe
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2184
    • 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:3852
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1516 -s 1236
      2⤵
      • Program crash
      PID:2480
  • C:\Windows\SysWOW64\fgswhjfe\dstzmxrq.exe
    C:\Windows\SysWOW64\fgswhjfe\dstzmxrq.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9c4dd198c1fcf7dac80b64a82f4c5b72f83441847ee772de5016d634154b4212.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2000
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1868
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2000 -s 512
      2⤵
      • Program crash
      PID:4532
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 1516 -ip 1516
    1⤵
      PID:3376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 2000 -ip 2000
      1⤵
        PID:4404

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.9MB

        MD5

        3be31128afc7a880d5f9ed651dc4856f

        SHA1

        39efb735df35445d9fb675fb33e662ccad574439

        SHA256

        b062d001dfb988428a52fa88237b8d072f1a22e9d6c79099219995f1b21d2dd3

        SHA512

        36824fe0469de684e055af462cda01eeb6be13b3fdca0459484b4b489731a47a4566e97f30f5b47109e35421b0871024adb4504e0b5845204f18a0e942c65e77

      • memory/1516-1-0x0000000002D10000-0x0000000002E10000-memory.dmp

        Filesize

        1024KB

      • memory/1516-2-0x0000000002CF0000-0x0000000002D03000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1516-8-0x0000000002CF0000-0x0000000002D03000-memory.dmp

        Filesize

        76KB

      • memory/1516-7-0x0000000000400000-0x0000000002B46000-memory.dmp

        Filesize

        39.3MB

      • memory/1868-11-0x0000000000CC0000-0x0000000000CD5000-memory.dmp

        Filesize

        84KB

      • memory/1868-13-0x0000000000CC0000-0x0000000000CD5000-memory.dmp

        Filesize

        84KB

      • memory/1868-14-0x0000000000CC0000-0x0000000000CD5000-memory.dmp

        Filesize

        84KB

      • memory/2000-15-0x0000000000400000-0x0000000002B46000-memory.dmp

        Filesize

        39.3MB