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
    07-01-2025 02:28

General

  • Target

    JaffaCakes118_485037fcdfbbc9e974b35af5afaa2e35.exe

  • Size

    12.9MB

  • MD5

    485037fcdfbbc9e974b35af5afaa2e35

  • SHA1

    533313aa52b4c2c91e1120bb3bf141a15a439717

  • SHA256

    8de7a9b847f9881f6c472acb4d995ec487c7bd2099d50338f474468f6c02599b

  • SHA512

    b3b3a790b4d635f8c37eecb5431587521fefc83172ad65fd065e5752bb2ae7f2e53f46f039d2626185c05926e9155c5deb6bcaf685dd49f7c8656fc72305e071

  • SSDEEP

    49152:cxYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYYY0:c

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_485037fcdfbbc9e974b35af5afaa2e35.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_485037fcdfbbc9e974b35af5afaa2e35.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1760
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bjhptkls\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3420
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gyqxwnyf.exe" C:\Windows\SysWOW64\bjhptkls\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bjhptkls binPath= "C:\Windows\SysWOW64\bjhptkls\gyqxwnyf.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_485037fcdfbbc9e974b35af5afaa2e35.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1420
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bjhptkls "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2520
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bjhptkls
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2352
    • 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:4240
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1760 -s 1040
      2⤵
      • Program crash
      PID:2860
  • C:\Windows\SysWOW64\bjhptkls\gyqxwnyf.exe
    C:\Windows\SysWOW64\bjhptkls\gyqxwnyf.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_485037fcdfbbc9e974b35af5afaa2e35.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2288
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4476
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2288 -s 516
      2⤵
      • Program crash
      PID:3944
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1760 -ip 1760
    1⤵
      PID:1780
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 2288 -ip 2288
      1⤵
        PID:1384

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.1MB

        MD5

        cb18896e004324970cba1e5e0c400db2

        SHA1

        8949ba77c98050279b2faca00af9e547c5e81233

        SHA256

        2dfa1fdc709b6e1b16e046a5b636a68a109b62dc8248031a7bdeac89c916e879

        SHA512

        0377d8bc83a274f037dc14900fcc4ca30d4ab40baac498076d38af32037f2f53cb572ad3916d9afcd91ccd1aa44fb75f1b014ab682eb7fd098d6de3ae545734b

      • memory/1760-1-0x0000000001920000-0x0000000001A20000-memory.dmp

        Filesize

        1024KB

      • memory/1760-2-0x0000000001870000-0x0000000001883000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1760-9-0x0000000001870000-0x0000000001883000-memory.dmp

        Filesize

        76KB

      • memory/1760-8-0x0000000000400000-0x00000000016BC000-memory.dmp

        Filesize

        18.7MB

      • memory/1760-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2288-14-0x0000000000400000-0x00000000016BC000-memory.dmp

        Filesize

        18.7MB

      • memory/2288-17-0x0000000000400000-0x00000000016BC000-memory.dmp

        Filesize

        18.7MB

      • memory/4476-11-0x0000000000B70000-0x0000000000B85000-memory.dmp

        Filesize

        84KB

      • memory/4476-13-0x0000000000B70000-0x0000000000B85000-memory.dmp

        Filesize

        84KB

      • memory/4476-15-0x0000000000B70000-0x0000000000B85000-memory.dmp

        Filesize

        84KB