Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 04:49

General

  • Target

    JaffaCakes118_ee5aa1555ccc472a4d5e8e6f34d9b527cd87db85f7c6c2f37148cf3ea422870a.exe

  • Size

    291KB

  • MD5

    75e6c2aff85d117e67665bbdb65135c2

  • SHA1

    18a7e734c143851fe75be433ed801e0f723a069e

  • SHA256

    ee5aa1555ccc472a4d5e8e6f34d9b527cd87db85f7c6c2f37148cf3ea422870a

  • SHA512

    5c4966f063af976a7c844b1c161bca833737d2ef8bf5608e899ef774652f92e922097dda0a5713e37b8be37cf6b0ca238117c99b8e37fecab1bd6f2a91472ab4

  • SSDEEP

    3072:f3fyrBNQ0SXhndx/y8rpdb0Pecqb04kFr+D7VYg0lg/y+3+N1LnBmFMRzGNtn7ff:vqQPFhxcqb044r65YZS7+vBs0w1CeoG

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_ee5aa1555ccc472a4d5e8e6f34d9b527cd87db85f7c6c2f37148cf3ea422870a.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ee5aa1555ccc472a4d5e8e6f34d9b527cd87db85f7c6c2f37148cf3ea422870a.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4324
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lxikhqrf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1624
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qvfvjo.exe" C:\Windows\SysWOW64\lxikhqrf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2192
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lxikhqrf binPath= "C:\Windows\SysWOW64\lxikhqrf\qvfvjo.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ee5aa1555ccc472a4d5e8e6f34d9b527cd87db85f7c6c2f37148cf3ea422870a.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5104
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lxikhqrf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:836
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lxikhqrf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:396
    • 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:3984
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4324 -s 788
      2⤵
      • Program crash
      PID:2548
  • C:\Windows\SysWOW64\lxikhqrf\qvfvjo.exe
    C:\Windows\SysWOW64\lxikhqrf\qvfvjo.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_ee5aa1555ccc472a4d5e8e6f34d9b527cd87db85f7c6c2f37148cf3ea422870a.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3292
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1088
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3292 -s 512
      2⤵
      • Program crash
      PID:3672
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4324 -ip 4324
    1⤵
      PID:2928
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 488 -p 3292 -ip 3292
      1⤵
        PID:4000

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.0MB

        MD5

        c9bca5b92c5ff0ccd90552b1ac80b587

        SHA1

        b10a86a418a34c78d7d103a9e2e172e1be8430ed

        SHA256

        cf49f576573edc0a5d0291bc2fcd31e222f4f0935a0e4168b5842f72bf913370

        SHA512

        d04925b6b28ba4c26480a1b3455b46340c7e707273dfce55375e1a43bc71d63a80567d59c06dcba7356dfd162e03d6f6b0a146aa82e487ffb0d91e8b0962ab61

      • memory/1088-11-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

      • memory/1088-13-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

      • memory/1088-14-0x00000000010C0000-0x00000000010D5000-memory.dmp

        Filesize

        84KB

      • memory/3292-15-0x0000000000400000-0x00000000008ED000-memory.dmp

        Filesize

        4.9MB

      • memory/4324-1-0x0000000000B10000-0x0000000000C10000-memory.dmp

        Filesize

        1024KB

      • memory/4324-2-0x0000000000A50000-0x0000000000A63000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4324-8-0x0000000000A50000-0x0000000000A63000-memory.dmp

        Filesize

        76KB

      • memory/4324-7-0x0000000000400000-0x00000000008ED000-memory.dmp

        Filesize

        4.9MB