Analysis

  • max time kernel
    148s
  • 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
    22-12-2024 01:33

General

  • Target

    JaffaCakes118_16df6cea6c715d967ae63d6b5558eb3d3d1b1b1d758d31ea76d2dc81673b1f71.exe

  • Size

    238KB

  • MD5

    04aad3afb392a73a20d30113627a0904

  • SHA1

    c2858ee930d3aa39e130379941a16596ee42583a

  • SHA256

    16df6cea6c715d967ae63d6b5558eb3d3d1b1b1d758d31ea76d2dc81673b1f71

  • SHA512

    f1197d7e87109c72b74d9a993b0e83635a217bc69bafecadc21db11d67bcd81c1579f364270e3839e9ef787f8c37a300c7ac37ec0e71da1e03cc9bb2e43536e2

  • SSDEEP

    6144:hX2ED6j2X7Q9pnpY5kdQElH7ITsq7igavwVf:hX246iX7QdY5kd979

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_16df6cea6c715d967ae63d6b5558eb3d3d1b1b1d758d31ea76d2dc81673b1f71.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_16df6cea6c715d967ae63d6b5558eb3d3d1b1b1d758d31ea76d2dc81673b1f71.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2844
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hzolfsyv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1640
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\unyozwpi.exe" C:\Windows\SysWOW64\hzolfsyv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2348
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hzolfsyv binPath= "C:\Windows\SysWOW64\hzolfsyv\unyozwpi.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_16df6cea6c715d967ae63d6b5558eb3d3d1b1b1d758d31ea76d2dc81673b1f71.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1588
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hzolfsyv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4576
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hzolfsyv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2616
    • 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:5064
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2844 -s 1040
      2⤵
      • Program crash
      PID:1548
  • C:\Windows\SysWOW64\hzolfsyv\unyozwpi.exe
    C:\Windows\SysWOW64\hzolfsyv\unyozwpi.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_16df6cea6c715d967ae63d6b5558eb3d3d1b1b1d758d31ea76d2dc81673b1f71.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4592
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3696
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4592 -s 508
      2⤵
      • Program crash
      PID:1960
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2844 -ip 2844
    1⤵
      PID:4952
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 4592 -ip 4592
      1⤵
        PID:3372

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        2c813f7395c7ab88c0b62425988dbbef

        SHA1

        f193eb06779b386dc7ee9a4641a7a708844369b7

        SHA256

        b971b7d33da5fae57848a471bf8bd98c0f480536a500add188a925014f709598

        SHA512

        c16e63a527a174161831794759a477e4f282af3d56db725ff6d02b34ea299169195c9906ec114255cb0f30e4e1a2c688a99b041eaf6656d95481ecdbeda21c83

      • memory/2844-7-0x00000000006F0000-0x00000000006FD000-memory.dmp

        Filesize

        52KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2844-8-0x0000000000700000-0x0000000000713000-memory.dmp

        Filesize

        76KB

      • memory/2844-0-0x00000000006F0000-0x00000000006FD000-memory.dmp

        Filesize

        52KB

      • memory/2844-6-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/3696-12-0x0000000000A30000-0x0000000000A45000-memory.dmp

        Filesize

        84KB

      • memory/3696-14-0x0000000000A30000-0x0000000000A45000-memory.dmp

        Filesize

        84KB

      • memory/3696-15-0x0000000000A30000-0x0000000000A45000-memory.dmp

        Filesize

        84KB

      • memory/4592-10-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/4592-11-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB

      • memory/4592-16-0x0000000000400000-0x0000000000445000-memory.dmp

        Filesize

        276KB