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 06:49

General

  • Target

    JaffaCakes118_c93db7852cefef285a014a3273d9769ded1f77326b410e90bec25228c243a339.exe

  • Size

    291KB

  • MD5

    a9b53db0d8fa7e204383d8bb1ea6d8e9

  • SHA1

    38598c9ea697fe0d3f1f4b75c366ea96b533f44a

  • SHA256

    c93db7852cefef285a014a3273d9769ded1f77326b410e90bec25228c243a339

  • SHA512

    355a1350ca0a097dbcf95b5ab87e5eef69df1e9b491b7d48de0d6ff0c1c3277f94940d06c62a0c67e19110c4d67002800bda85005e48b07de44cb3712ad2ef53

  • SSDEEP

    6144:v1Qkl7WtXbo6dYV04w7Y3YNM9bAkPXWANLd:vCkl7W7dOJw7Y3YNM9bAbELd

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_c93db7852cefef285a014a3273d9769ded1f77326b410e90bec25228c243a339.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c93db7852cefef285a014a3273d9769ded1f77326b410e90bec25228c243a339.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4152
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kgotkhxa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4040
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qvusioxm.exe" C:\Windows\SysWOW64\kgotkhxa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2532
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kgotkhxa binPath= "C:\Windows\SysWOW64\kgotkhxa\qvusioxm.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c93db7852cefef285a014a3273d9769ded1f77326b410e90bec25228c243a339.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:908
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kgotkhxa "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:772
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kgotkhxa
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2652
    • 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:1528
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4152 -s 1044
      2⤵
      • Program crash
      PID:2304
  • C:\Windows\SysWOW64\kgotkhxa\qvusioxm.exe
    C:\Windows\SysWOW64\kgotkhxa\qvusioxm.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_c93db7852cefef285a014a3273d9769ded1f77326b410e90bec25228c243a339.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1640
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3196
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1640 -s 516
      2⤵
      • Program crash
      PID:2728
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4152 -ip 4152
    1⤵
      PID:2580
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 1640 -ip 1640
      1⤵
        PID:1336

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        230c50a72db858ffd2d26db6741894b9

        SHA1

        65969e279654ab3350ce80d04b1b0000c761ef49

        SHA256

        12b9da1caa5b87f13e983269ab837d7bab3357a657a1c58540fabac2d902b876

        SHA512

        96cba99ec6338a3cf0265a98a615339c26ad973224a146670f7e1e69097a94f5d2eb52a9178daa1a950df115ee8a446eb785f2b536f41ba137d309286995dfda

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

        Filesize

        4.9MB

      • memory/3196-11-0x0000000000170000-0x0000000000185000-memory.dmp

        Filesize

        84KB

      • memory/3196-13-0x0000000000170000-0x0000000000185000-memory.dmp

        Filesize

        84KB

      • memory/3196-14-0x0000000000170000-0x0000000000185000-memory.dmp

        Filesize

        84KB

      • memory/4152-1-0x0000000000B60000-0x0000000000C60000-memory.dmp

        Filesize

        1024KB

      • memory/4152-2-0x0000000000A90000-0x0000000000AA3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4152-8-0x0000000000A90000-0x0000000000AA3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        4.9MB