Analysis

  • max time kernel
    150s
  • max time network
    144s
  • 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 14:50

General

  • Target

    JaffaCakes118_ebbca0fdcdd18ed934b57f0201a437b3ff88b9701027e5e96502cc67e34eb1ea.exe

  • Size

    12.3MB

  • MD5

    36690b9a25ec3a105f7cceb9aef63723

  • SHA1

    e1e9364f44edd11f9f5201f52e5d99510b05265e

  • SHA256

    ebbca0fdcdd18ed934b57f0201a437b3ff88b9701027e5e96502cc67e34eb1ea

  • SHA512

    d6b0f3935e12bed38f4a74c7db1742bd0a0dcd2147bf08473d05e3815f91e0b39ab9034539bc1171352cc0e2ff9d8bf59c0b2f178a754e889328c7021a18c538

  • SSDEEP

    12288:h681A/PjFDOddddddddddddddddddddddddddddddddddddddddddddddddddddd:hRGP

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_ebbca0fdcdd18ed934b57f0201a437b3ff88b9701027e5e96502cc67e34eb1ea.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ebbca0fdcdd18ed934b57f0201a437b3ff88b9701027e5e96502cc67e34eb1ea.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1292
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qfdfphvg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1032
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\schubwvk.exe" C:\Windows\SysWOW64\qfdfphvg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3448
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qfdfphvg binPath= "C:\Windows\SysWOW64\qfdfphvg\schubwvk.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ebbca0fdcdd18ed934b57f0201a437b3ff88b9701027e5e96502cc67e34eb1ea.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1916
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qfdfphvg "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 qfdfphvg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5116
    • 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:1196
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1292 -s 652
      2⤵
      • Program crash
      PID:1712
  • C:\Windows\SysWOW64\qfdfphvg\schubwvk.exe
    C:\Windows\SysWOW64\qfdfphvg\schubwvk.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ebbca0fdcdd18ed934b57f0201a437b3ff88b9701027e5e96502cc67e34eb1ea.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1416
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1240
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1416 -s 560
      2⤵
      • Program crash
      PID:2740
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 1292 -ip 1292
    1⤵
      PID:668
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1416 -ip 1416
      1⤵
        PID:2724

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.9MB

        MD5

        66c8c8fd6a1f565b2d6dedb2b54f5bce

        SHA1

        7ac745342355e1b6a391321c548de4cd5ae581e5

        SHA256

        4001eb22e5ea9aabb2137c376a0cb3b08a34e3c4b200e815a9da9f7632c499a9

        SHA512

        b164114caeecff367c3edab9ee197a2724622f96626ec1187d59dff310c26549804fe5d30e2a9f611a011821df55c35d73df2a3787c22b821fa41c450b5b775d

      • memory/1240-10-0x00000000008A0000-0x00000000008B5000-memory.dmp

        Filesize

        84KB

      • memory/1240-17-0x00000000008A0000-0x00000000008B5000-memory.dmp

        Filesize

        84KB

      • memory/1240-19-0x00000000008A0000-0x00000000008B5000-memory.dmp

        Filesize

        84KB

      • memory/1240-18-0x00000000008A0000-0x00000000008B5000-memory.dmp

        Filesize

        84KB

      • memory/1240-7-0x00000000008A0000-0x00000000008B5000-memory.dmp

        Filesize

        84KB

      • memory/1292-14-0x00000000005E0000-0x00000000005ED000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/1292-16-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/1292-15-0x00000000005F0000-0x0000000000603000-memory.dmp

        Filesize

        76KB

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

        Filesize

        212KB

      • memory/1292-0-0x00000000005E0000-0x00000000005ED000-memory.dmp

        Filesize

        52KB

      • memory/1292-1-0x00000000005F0000-0x0000000000603000-memory.dmp

        Filesize

        76KB

      • memory/1416-12-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

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

        Filesize

        212KB