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
    23-12-2024 23:41

General

  • Target

    JaffaCakes118_f56d18589d624660f6f60abaabe81a3714f6896df46080d42dbeb2e895f9e3fc.exe

  • Size

    169KB

  • MD5

    ef15323425a825ae51b50c25a08a1e97

  • SHA1

    55b2b8dddadaa04c70de4d845b1ed344ebcacb28

  • SHA256

    f56d18589d624660f6f60abaabe81a3714f6896df46080d42dbeb2e895f9e3fc

  • SHA512

    f87b320591b6f98de12745daa0ca5abe2db8a991ad2e70aa7d74f8380241ed59c61b4d2e1dde9f0105e6068d0d12859d97c8669f84cb40c31aa4b73154cc7dd1

  • SSDEEP

    3072:dINEppMfx/AvY+dRs/WiyvOKoGt/MR+Mc2:KNEppMfx/gLPsqvONAUR+s

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_f56d18589d624660f6f60abaabe81a3714f6896df46080d42dbeb2e895f9e3fc.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f56d18589d624660f6f60abaabe81a3714f6896df46080d42dbeb2e895f9e3fc.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3156
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fsidyfqa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3556
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vrgglsyp.exe" C:\Windows\SysWOW64\fsidyfqa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3488
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fsidyfqa binPath= "C:\Windows\SysWOW64\fsidyfqa\vrgglsyp.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f56d18589d624660f6f60abaabe81a3714f6896df46080d42dbeb2e895f9e3fc.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1792
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fsidyfqa "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4180
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fsidyfqa
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1152
    • 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:1292
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3156 -s 1204
      2⤵
      • Program crash
      PID:4444
  • C:\Windows\SysWOW64\fsidyfqa\vrgglsyp.exe
    C:\Windows\SysWOW64\fsidyfqa\vrgglsyp.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_f56d18589d624660f6f60abaabe81a3714f6896df46080d42dbeb2e895f9e3fc.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1484
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2540
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1484 -s 524
      2⤵
      • Program crash
      PID:3744
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 1484 -ip 1484
    1⤵
      PID:1076
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 3156 -ip 3156
      1⤵
        PID:832

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.8MB

        MD5

        590d013a06b63eed97a19e03d9b9c457

        SHA1

        bac07ee6770ff612b45103f6dee993954b4cf7b5

        SHA256

        e48d2af3ae468fa91aba74233f24952059dc774e719654341dafd49328a7cd2e

        SHA512

        8e4d6b70cb33129fa8b066c7e951ee2d7354cc34583badb4f0b5f5a57d587a59d8bbe71d9bedeef56118ecdf0aec1f4797d80797811f794cbc87c69d7cf551a5

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

        Filesize

        200KB

      • memory/1484-14-0x0000000000400000-0x0000000000432000-memory.dmp

        Filesize

        200KB

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

        Filesize

        200KB

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

        Filesize

        200KB

      • memory/2540-12-0x0000000000CA0000-0x0000000000CB5000-memory.dmp

        Filesize

        84KB

      • memory/2540-9-0x0000000000CA0000-0x0000000000CB5000-memory.dmp

        Filesize

        84KB

      • memory/2540-19-0x0000000000CA0000-0x0000000000CB5000-memory.dmp

        Filesize

        84KB

      • memory/2540-20-0x0000000000CA0000-0x0000000000CB5000-memory.dmp

        Filesize

        84KB

      • memory/2540-21-0x0000000000CA0000-0x0000000000CB5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        52KB

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

        Filesize

        76KB

      • memory/3156-17-0x0000000002190000-0x00000000021A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        200KB

      • memory/3156-18-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3156-16-0x0000000002180000-0x000000000218D000-memory.dmp

        Filesize

        52KB