Analysis

  • max time kernel
    148s
  • max time network
    145s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-12-2024 00:02

General

  • Target

    JaffaCakes118_14849372bfd7471f0684c9953a212f3374b7ab1fe9c374aaae7e08d37437a9a2.exe

  • Size

    294KB

  • MD5

    f762df0ed1bb2b3fcfcf31127038780c

  • SHA1

    92508e1b8e3de24fb705cecb9ec15c8200a71ac4

  • SHA256

    14849372bfd7471f0684c9953a212f3374b7ab1fe9c374aaae7e08d37437a9a2

  • SHA512

    9cbc2d7c59fddb141f1f858c7ef2e0e720bf974e947e3bfcaaf7e63d4064005b2eedaab29cfe5385a32f905e307c4d536d34fcdf7dfe410d082c053dc4aa3dea

  • SSDEEP

    6144:vuSscn6byernqIeA+ZyCVZWmZGSXuZet0yy8YobdBSpKjE/:WL0eGVZJGSXuZet0yy8YSSp9

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_14849372bfd7471f0684c9953a212f3374b7ab1fe9c374aaae7e08d37437a9a2.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_14849372bfd7471f0684c9953a212f3374b7ab1fe9c374aaae7e08d37437a9a2.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:692
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wfpdwywr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1164
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cpyvwbna.exe" C:\Windows\SysWOW64\wfpdwywr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1136
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wfpdwywr binPath= "C:\Windows\SysWOW64\wfpdwywr\cpyvwbna.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_14849372bfd7471f0684c9953a212f3374b7ab1fe9c374aaae7e08d37437a9a2.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2528
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wfpdwywr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1356
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wfpdwywr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4192
    • 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:3836
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 692 -s 784
      2⤵
      • Program crash
      PID:1488
  • C:\Windows\SysWOW64\wfpdwywr\cpyvwbna.exe
    C:\Windows\SysWOW64\wfpdwywr\cpyvwbna.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_14849372bfd7471f0684c9953a212f3374b7ab1fe9c374aaae7e08d37437a9a2.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1604
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1596
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1604 -s 560
      2⤵
      • Program crash
      PID:2096
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 692 -ip 692
    1⤵
      PID:4404
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1604 -ip 1604
      1⤵
        PID:3944

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        0cbabac75441cfd735fdb04e97c57948

        SHA1

        fe85ee9d8acc908cb25a3b728a18d7599d5fa2f0

        SHA256

        9575b29edf7d7da4bdb3ef0feea39d792051394cf2580ee1db8b56b1965ac3bc

        SHA512

        2628f75470310920e89c0acd052db8ac1cab317f80566f58af4dde889e31601c9343e2b3307eb348aba85ff31bde5e87557d1ee8c1a77cce22b675d2056e3d5f

      • memory/692-1-0x0000000001E90000-0x0000000001F90000-memory.dmp

        Filesize

        1024KB

      • memory/692-2-0x0000000003940000-0x0000000003953000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/692-9-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/692-8-0x0000000003940000-0x0000000003953000-memory.dmp

        Filesize

        76KB

      • memory/692-7-0x0000000000400000-0x0000000001BFF000-memory.dmp

        Filesize

        24.0MB

      • memory/1596-11-0x00000000008A0000-0x00000000008B5000-memory.dmp

        Filesize

        84KB

      • memory/1596-13-0x00000000008A0000-0x00000000008B5000-memory.dmp

        Filesize

        84KB

      • memory/1596-14-0x00000000008A0000-0x00000000008B5000-memory.dmp

        Filesize

        84KB

      • memory/1604-15-0x0000000000400000-0x0000000001BFF000-memory.dmp

        Filesize

        24.0MB