Analysis

  • max time kernel
    149s
  • 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
    22-12-2024 11:39

General

  • Target

    JaffaCakes118_9be48fcae3b5f4502ad08eb6ae634a21c40182308ce1a43fb8702443ff58889f.exe

  • Size

    236KB

  • MD5

    a10cfebcac6052f54fae1e5ba6ddd760

  • SHA1

    dac2ac4b67ba2b0ef2e02afd2740d11d492b7415

  • SHA256

    9be48fcae3b5f4502ad08eb6ae634a21c40182308ce1a43fb8702443ff58889f

  • SHA512

    2fba121bfa8bc842103e6616a7305928664b6cae03b65ca5849dc1dbfa3e10ff2b8b733ea15bec8df74addf97a87a31a067e2f8c393532523e01e1c24273aca4

  • SSDEEP

    6144:CLQdlDKqaGPkALoMQIOuzbgwujigaLwVf:CLQd1KqaOkw8IOunnb

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_9be48fcae3b5f4502ad08eb6ae634a21c40182308ce1a43fb8702443ff58889f.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9be48fcae3b5f4502ad08eb6ae634a21c40182308ce1a43fb8702443ff58889f.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2372
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sgvcvqgh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2872
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rtncyuqh.exe" C:\Windows\SysWOW64\sgvcvqgh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1332
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sgvcvqgh binPath= "C:\Windows\SysWOW64\sgvcvqgh\rtncyuqh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9be48fcae3b5f4502ad08eb6ae634a21c40182308ce1a43fb8702443ff58889f.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sgvcvqgh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1756
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sgvcvqgh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4752
    • 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:1936
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2372 -s 1040
      2⤵
      • Program crash
      PID:3440
  • C:\Windows\SysWOW64\sgvcvqgh\rtncyuqh.exe
    C:\Windows\SysWOW64\sgvcvqgh\rtncyuqh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9be48fcae3b5f4502ad08eb6ae634a21c40182308ce1a43fb8702443ff58889f.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3524
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5000
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3524 -s 532
      2⤵
      • Program crash
      PID:840
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2372 -ip 2372
    1⤵
      PID:1180
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 3524 -ip 3524
      1⤵
        PID:216

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        4e2c0ef725ff945c4b9a5477e5c3b573

        SHA1

        7825bc3065e2e722272216f8ef2ec2e901f6f866

        SHA256

        ca5089d1448b5d9b20d1f9d37be088f9e4e770d1f58625cf2a1dd8afb5cfa3aa

        SHA512

        f289180bc768e9ffe92a558a56d94d6fe76d417a4352f4f042a907414dfc43d2142d5c5b23d40a4a21916be37e7e6c2a04211f521f7ea7ae2f45c88eb2147d4b

      • memory/2372-10-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

      • memory/2372-11-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

      • memory/2372-1-0x00000000021A0000-0x00000000021B3000-memory.dmp

        Filesize

        76KB

      • memory/2372-9-0x0000000000400000-0x0000000000444000-memory.dmp

        Filesize

        272KB

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

        Filesize

        84KB

      • memory/2372-0-0x0000000002190000-0x000000000219D000-memory.dmp

        Filesize

        52KB

      • memory/2372-12-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3524-6-0x0000000000400000-0x0000000000444000-memory.dmp

        Filesize

        272KB

      • memory/3524-8-0x0000000000400000-0x0000000000444000-memory.dmp

        Filesize

        272KB

      • memory/3524-7-0x0000000000400000-0x0000000000444000-memory.dmp

        Filesize

        272KB

      • memory/3524-18-0x0000000000400000-0x0000000000444000-memory.dmp

        Filesize

        272KB

      • memory/5000-13-0x0000000000990000-0x00000000009A5000-memory.dmp

        Filesize

        84KB

      • memory/5000-15-0x0000000000990000-0x00000000009A5000-memory.dmp

        Filesize

        84KB

      • memory/5000-16-0x0000000000990000-0x00000000009A5000-memory.dmp

        Filesize

        84KB