Analysis

  • max time kernel
    148s
  • max time network
    147s
  • 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 10:30

General

  • Target

    JaffaCakes118_7d864dab15342d8bc85fcaa9bb271ab6667942fe36dcc6dc10531ac1f7a10393.exe

  • Size

    157KB

  • MD5

    3d201b74a8262f54a9e1b4deb21ceb27

  • SHA1

    98373771bf76faa60818e232002f1aa173299476

  • SHA256

    7d864dab15342d8bc85fcaa9bb271ab6667942fe36dcc6dc10531ac1f7a10393

  • SHA512

    9017ac359dcde22358624585d040455b83bd147620b9666365c79cb386fdf35268f4804dbcb2d438567b5d1d24d97ed828709b4ab39efbf6e6e26bf3349563b2

  • SSDEEP

    3072:+RBIdzINvPe8bO+xsCb0xo8oyHkksDlYHQB:SIGVmh+xh01h9H

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_7d864dab15342d8bc85fcaa9bb271ab6667942fe36dcc6dc10531ac1f7a10393.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7d864dab15342d8bc85fcaa9bb271ab6667942fe36dcc6dc10531ac1f7a10393.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3460
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uzjnxopj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4236
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ejtjxc.exe" C:\Windows\SysWOW64\uzjnxopj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1964
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create uzjnxopj binPath= "C:\Windows\SysWOW64\uzjnxopj\ejtjxc.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7d864dab15342d8bc85fcaa9bb271ab6667942fe36dcc6dc10531ac1f7a10393.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4260
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description uzjnxopj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start uzjnxopj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:712
    • 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:3976
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3460 -s 648
      2⤵
      • Program crash
      PID:4160
  • C:\Windows\SysWOW64\uzjnxopj\ejtjxc.exe
    C:\Windows\SysWOW64\uzjnxopj\ejtjxc.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_7d864dab15342d8bc85fcaa9bb271ab6667942fe36dcc6dc10531ac1f7a10393.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4936
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3504
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4936 -s 528
      2⤵
      • Program crash
      PID:1912
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3460 -ip 3460
    1⤵
      PID:4296
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 4936 -ip 4936
      1⤵
        PID:3440

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.4MB

        MD5

        02dc2e59e4bd1bc8d9f581f8eba2fa44

        SHA1

        d7fe72ec0f2e272d1c5b38c54a95d56c3d77b92d

        SHA256

        7101ccfab3d1deba1dd675453576984f66fe1e09e295c610639a335ef7f11af9

        SHA512

        d772c0e90ab5b07ea32fc2fbe9aadaa78d5389823e3608a474b1ba1554b2ebbbebee26d5fbd0b6dc967b416314f455d1ed4de6810a8530f80cb3099d5c8c42c8

      • memory/3460-12-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

      • memory/3460-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3460-1-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3460-13-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

      • memory/3460-0-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB

      • memory/3460-11-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/3504-9-0x0000000001010000-0x0000000001025000-memory.dmp

        Filesize

        84KB

      • memory/3504-16-0x0000000001010000-0x0000000001025000-memory.dmp

        Filesize

        84KB

      • memory/3504-17-0x0000000001010000-0x0000000001025000-memory.dmp

        Filesize

        84KB

      • memory/4936-8-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/4936-6-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/4936-7-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

      • memory/4936-15-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB