Analysis

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

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

General

  • Target

    JaffaCakes118_5a1adef0a5770af6ba4fb757169cf8e7a59aa2cf09ce7d7087d4217a8bd6ff80.exe

  • Size

    241KB

  • MD5

    9871085176380a51abb1b692934b263b

  • SHA1

    c1f705ade7c401e98f0507e3c0ac866a8a3671f4

  • SHA256

    5a1adef0a5770af6ba4fb757169cf8e7a59aa2cf09ce7d7087d4217a8bd6ff80

  • SHA512

    c1d3e409c698d942a7a8f4a33e97826e5d5b0d61dfd2522cf271d5a96609e3660672806941db4052a8d72f385a3590fa9a20d987f0e1f9a46579f8c1e31e94d6

  • SSDEEP

    6144:LLHu86jUJP6vgau9NQRFbG6w8uzbgwu6QigabwVf:m86jW6vKNQRFS6bunn5

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_5a1adef0a5770af6ba4fb757169cf8e7a59aa2cf09ce7d7087d4217a8bd6ff80.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5a1adef0a5770af6ba4fb757169cf8e7a59aa2cf09ce7d7087d4217a8bd6ff80.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4408
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tivzznyq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4696
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\otsqgmvk.exe" C:\Windows\SysWOW64\tivzznyq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1580
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tivzznyq binPath= "C:\Windows\SysWOW64\tivzznyq\otsqgmvk.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5a1adef0a5770af6ba4fb757169cf8e7a59aa2cf09ce7d7087d4217a8bd6ff80.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:912
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tivzznyq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1536
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tivzznyq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3200
    • 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:4068
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4408 -s 572
      2⤵
      • Program crash
      PID:3096
  • C:\Windows\SysWOW64\tivzznyq\otsqgmvk.exe
    C:\Windows\SysWOW64\tivzznyq\otsqgmvk.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_5a1adef0a5770af6ba4fb757169cf8e7a59aa2cf09ce7d7087d4217a8bd6ff80.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3048
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4124
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3048 -s 528
      2⤵
      • Program crash
      PID:4524
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4408 -ip 4408
    1⤵
      PID:1800
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 3048 -ip 3048
      1⤵
        PID:384

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.9MB

        MD5

        b324fd74990310849cbe1d5885c76e36

        SHA1

        1382084163ca73f408768366c3d12bee38a2ab8d

        SHA256

        133c7a200be1b183d62f629bcb0c855785fa69e8ab19b251e1f5e2e77ed6bf03

        SHA512

        fbce07734d54763b524dc1e18cdf0408a2743755929cefee9e04c8bbb0705dcb975e6567953d86fea573c61b9343fcb7fe2a1d9b053083042769b19c40ec3f26

      • memory/3048-11-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/3048-10-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/3048-17-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/3048-12-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

      • memory/4124-13-0x0000000000EB0000-0x0000000000EC5000-memory.dmp

        Filesize

        84KB

      • memory/4124-15-0x0000000000EB0000-0x0000000000EC5000-memory.dmp

        Filesize

        84KB

      • memory/4124-16-0x0000000000EB0000-0x0000000000EC5000-memory.dmp

        Filesize

        84KB

      • memory/4408-7-0x00000000006A0000-0x00000000006AD000-memory.dmp

        Filesize

        52KB

      • memory/4408-6-0x0000000000400000-0x0000000000446000-memory.dmp

        Filesize

        280KB

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

        Filesize

        84KB

      • memory/4408-0-0x00000000006A0000-0x00000000006AD000-memory.dmp

        Filesize

        52KB

      • memory/4408-8-0x00000000006B0000-0x00000000006C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4408-1-0x00000000006B0000-0x00000000006C3000-memory.dmp

        Filesize

        76KB