Analysis

  • max time kernel
    149s
  • max time network
    151s
  • 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 06:51

General

  • Target

    JaffaCakes118_b6ae7251deb7aa169a16112515e94ac61942559ceeb2451c7c9c743214fef37e.exe

  • Size

    246KB

  • MD5

    3ad9b12cbfa962da1d348b26cedb62be

  • SHA1

    3d0044c9f144ce76e2301c0c3a6ae2bd391de740

  • SHA256

    b6ae7251deb7aa169a16112515e94ac61942559ceeb2451c7c9c743214fef37e

  • SHA512

    1cd52b441343c71f6638dcacd2731ed415b53a271b2c064e3ea769ebdee371f52793d35bf75a77e093107b48ed1d71c6570010f25f7d4cefc4d39ffdc3b11b71

  • SSDEEP

    3072:g7Jxh2xryErd36x5I2b2VpN7O+NIjzit/WrxpzbgqruXhs7sxkgaBChU/pZa9uDB:+2xmE56x5IXmiRuzbgwu6QigabwVf

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_b6ae7251deb7aa169a16112515e94ac61942559ceeb2451c7c9c743214fef37e.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b6ae7251deb7aa169a16112515e94ac61942559ceeb2451c7c9c743214fef37e.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3096
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rvuvcycj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1228
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gmhktccx.exe" C:\Windows\SysWOW64\rvuvcycj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3188
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rvuvcycj binPath= "C:\Windows\SysWOW64\rvuvcycj\gmhktccx.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b6ae7251deb7aa169a16112515e94ac61942559ceeb2451c7c9c743214fef37e.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4984
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rvuvcycj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1452
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rvuvcycj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3508
    • 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:2300
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3096 -s 1040
      2⤵
      • Program crash
      PID:624
  • C:\Windows\SysWOW64\rvuvcycj\gmhktccx.exe
    C:\Windows\SysWOW64\rvuvcycj\gmhktccx.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_b6ae7251deb7aa169a16112515e94ac61942559ceeb2451c7c9c743214fef37e.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3908
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4012
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3908 -s 512
      2⤵
      • Program crash
      PID:4204
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3096 -ip 3096
    1⤵
      PID:3480
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 540 -p 3908 -ip 3908
      1⤵
        PID:1668

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.8MB

        MD5

        b9b47bd4b8275023cb5ac18690ffedce

        SHA1

        f783be7302b8f3733807395c6b85ea2dd6aaa65b

        SHA256

        f219c9208a6f1e685308f2e58b50761a3936d8538e2172598f4119b0e0bde2b3

        SHA512

        53755f6d6041ed84a3238888a29fd50146a0d1e77995280d1225adb23549a612b1a901aafed38df6aa4a834fa57196b96ea24d0997a9a1117e5bfdd60bba4058

      • memory/3096-9-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

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

        Filesize

        84KB

      • memory/3096-1-0x0000000000700000-0x0000000000713000-memory.dmp

        Filesize

        76KB

      • memory/3096-0-0x00000000005E0000-0x00000000005ED000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

      • memory/3096-11-0x0000000000700000-0x0000000000713000-memory.dmp

        Filesize

        76KB

      • memory/3096-10-0x00000000005E0000-0x00000000005ED000-memory.dmp

        Filesize

        52KB

      • memory/3908-6-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/3908-14-0x0000000000400000-0x0000000000447000-memory.dmp

        Filesize

        284KB

      • memory/4012-7-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

      • memory/4012-15-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

      • memory/4012-16-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB