Analysis

  • max time kernel
    149s
  • max time network
    144s
  • 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 18:33

General

  • Target

    JaffaCakes118_660de78e6fc321f5552b55f5882c1d51fff0128603c36db6a593169a4280c5c3.exe

  • Size

    316KB

  • MD5

    a36560eec176852fed2d2d2e7f815968

  • SHA1

    574aedce9e329b3a5ede94ab347193e78e354287

  • SHA256

    660de78e6fc321f5552b55f5882c1d51fff0128603c36db6a593169a4280c5c3

  • SHA512

    aa99f43d3fd4e964860914641e38114dcc714434b5ee01163255117d35cb1ee39b13ad089cf61eddd5f79c88b7a7494fbeaa249b43b43dac3c35b40a0b2f0e4f

  • SSDEEP

    6144:B8L9y5vZxOx+UuYuwSEIITL6n93z37Hi5Aj:GOb8+UuYuwSEIITL6n9fHi

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_660de78e6fc321f5552b55f5882c1d51fff0128603c36db6a593169a4280c5c3.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_660de78e6fc321f5552b55f5882c1d51fff0128603c36db6a593169a4280c5c3.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4232
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jmtvcdvf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4376
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wblbpu.exe" C:\Windows\SysWOW64\jmtvcdvf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4024
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jmtvcdvf binPath= "C:\Windows\SysWOW64\jmtvcdvf\wblbpu.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_660de78e6fc321f5552b55f5882c1d51fff0128603c36db6a593169a4280c5c3.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jmtvcdvf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5036
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jmtvcdvf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2196
    • 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:3464
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4232 -s 1204
      2⤵
      • Program crash
      PID:2288
  • C:\Windows\SysWOW64\jmtvcdvf\wblbpu.exe
    C:\Windows\SysWOW64\jmtvcdvf\wblbpu.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_660de78e6fc321f5552b55f5882c1d51fff0128603c36db6a593169a4280c5c3.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3328
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4460
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3328 -s 552
      2⤵
      • Program crash
      PID:2176
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4232 -ip 4232
    1⤵
      PID:1152
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 3328 -ip 3328
      1⤵
        PID:1776

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.6MB

        MD5

        0ba087981bfb1c0aa8ce1bb0778527b3

        SHA1

        010a6881fd6c007920988de46a094251b079bf92

        SHA256

        d949a62864e05d7492ac585d1972950fabbf68af8738cc37d8a84f76979da03e

        SHA512

        29bb1034ee959a795f94a2736680d92d22cc11d7f3c881b4add538e6d9b01085a596e1daffffac9e258a1a07f59d00cb7346f83f48c73d19d597f40c57825964

      • memory/3328-15-0x0000000000400000-0x0000000002776000-memory.dmp

        Filesize

        35.5MB

      • memory/4232-1-0x0000000002A10000-0x0000000002B10000-memory.dmp

        Filesize

        1024KB

      • memory/4232-2-0x00000000044C0000-0x00000000044D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4232-8-0x00000000044C0000-0x00000000044D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4232-7-0x0000000000400000-0x0000000002776000-memory.dmp

        Filesize

        35.5MB

      • memory/4460-11-0x0000000001000000-0x0000000001015000-memory.dmp

        Filesize

        84KB

      • memory/4460-13-0x0000000001000000-0x0000000001015000-memory.dmp

        Filesize

        84KB

      • memory/4460-14-0x0000000001000000-0x0000000001015000-memory.dmp

        Filesize

        84KB