Analysis

  • max time kernel
    150s
  • max time network
    155s
  • 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 01:09

General

  • Target

    JaffaCakes118_dd9c4385fc60b66787f053905a3b64f0aea756f985cfcea9fe1b8d44ded821e6.exe

  • Size

    316KB

  • MD5

    6e429866ebb90b7584e2ff0b07e20940

  • SHA1

    4f6f8aca65c4a1276424ff4689c67ded7df61da1

  • SHA256

    dd9c4385fc60b66787f053905a3b64f0aea756f985cfcea9fe1b8d44ded821e6

  • SHA512

    8b8cd1beda47812676b7288e254183b8084c7d4bcb02ad149a7c5ed763898b25b81e94a27f6d9b2cb9caed745ebd2bb1608ddcdf4aec8f669898f71364e9b35d

  • SSDEEP

    6144:0PCx2eJABZX5sTWQ3J+fX/8wOeIIDLY493GLMLI2fsS:oCx2W+X5sTWQ5+fX/8wOeIIDLY495LI

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_dd9c4385fc60b66787f053905a3b64f0aea756f985cfcea9fe1b8d44ded821e6.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_dd9c4385fc60b66787f053905a3b64f0aea756f985cfcea9fe1b8d44ded821e6.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3092
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cqsciows\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2616
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\afecsyhw.exe" C:\Windows\SysWOW64\cqsciows\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:812
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cqsciows binPath= "C:\Windows\SysWOW64\cqsciows\afecsyhw.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_dd9c4385fc60b66787f053905a3b64f0aea756f985cfcea9fe1b8d44ded821e6.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:712
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cqsciows "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cqsciows
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1296
    • 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:1920
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3092 -s 1296
      2⤵
      • Program crash
      PID:2232
  • C:\Windows\SysWOW64\cqsciows\afecsyhw.exe
    C:\Windows\SysWOW64\cqsciows\afecsyhw.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_dd9c4385fc60b66787f053905a3b64f0aea756f985cfcea9fe1b8d44ded821e6.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2924
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4256
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2924 -s 512
      2⤵
      • Program crash
      PID:2680
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3092 -ip 3092
    1⤵
      PID:1460
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 2924 -ip 2924
      1⤵
        PID:316

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.8MB

        MD5

        ee608e174aa3ba22be215f224c524dbf

        SHA1

        2068c9c1f46281556ef79be965c821b9f89bcd8b

        SHA256

        c350e227486e1c265d90a5eefa030c355e80d012a1bdd4f881e4d98e34045325

        SHA512

        e8f82dc911bce2346f2e3202341b9c8ddc1a36d076c9dad2b0eb299be856b4c91bb4dc6872ef67d0063aa4ea77b8fcd59fe42d8fb86b153359fbb654e8367e93

      • memory/2924-15-0x0000000000400000-0x0000000002776000-memory.dmp

        Filesize

        35.5MB

      • memory/3092-1-0x00000000027D0000-0x00000000028D0000-memory.dmp

        Filesize

        1024KB

      • memory/3092-2-0x0000000004370000-0x0000000004383000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3092-8-0x0000000004370000-0x0000000004383000-memory.dmp

        Filesize

        76KB

      • memory/3092-7-0x0000000000400000-0x0000000002776000-memory.dmp

        Filesize

        35.5MB

      • memory/4256-11-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

        Filesize

        84KB

      • memory/4256-13-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

        Filesize

        84KB

      • memory/4256-14-0x0000000000DC0000-0x0000000000DD5000-memory.dmp

        Filesize

        84KB