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
    28-12-2024 22:48

General

  • Target

    JaffaCakes118_d64403ee58f2ea101e484cfc729f8a6b257f6d878407a59c4ff30f22f9341e27.exe

  • Size

    186KB

  • MD5

    64c68256f7f207094671f6f01fd3dfc7

  • SHA1

    6e0be13a130b4fba1dcc3fcc820d94f822689464

  • SHA256

    d64403ee58f2ea101e484cfc729f8a6b257f6d878407a59c4ff30f22f9341e27

  • SHA512

    2c755bb99e0d4a995f78d1b8fd52784246a43fbc7c1bcc08a4273e39ae749d58436cb0e3a83e73b007ca86b76edd450207f97fcdf53dc974646c68c02fe0b8fe

  • SSDEEP

    3072:Y7c4r7YqcnhiR+tHVPc275lz+rBqX9eGwPNSa9e92czp:gcqchiRiPcuh+rE9etPQa9w2ct

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_d64403ee58f2ea101e484cfc729f8a6b257f6d878407a59c4ff30f22f9341e27.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d64403ee58f2ea101e484cfc729f8a6b257f6d878407a59c4ff30f22f9341e27.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2180
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zrvtmb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:992
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\spafdnkh.exe" C:\Windows\SysWOW64\zrvtmb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4768
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zrvtmb binPath= "C:\Windows\SysWOW64\zrvtmb\spafdnkh.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d64403ee58f2ea101e484cfc729f8a6b257f6d878407a59c4ff30f22f9341e27.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1516
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zrvtmb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zrvtmb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1920
    • 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:3244
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2180 -s 668
      2⤵
      • Program crash
      PID:2920
  • C:\Windows\SysWOW64\zrvtmb\spafdnkh.exe
    C:\Windows\SysWOW64\zrvtmb\spafdnkh.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_d64403ee58f2ea101e484cfc729f8a6b257f6d878407a59c4ff30f22f9341e27.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4576
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3112
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4576 -s 520
      2⤵
      • Program crash
      PID:5000
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 2180 -ip 2180
    1⤵
      PID:184
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 4576 -ip 4576
      1⤵
        PID:4216

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        660fc42ef96d07bfeaca330c7db6bdbd

        SHA1

        b3d52cb7dfcce39c8ccb4c1d4ea648fc14904a0f

        SHA256

        d94c6f9bcadc986dbfde85a749241f58c1d17feab2146181174c90142e329e7a

        SHA512

        c2453cdf4aa17b2370cc1194becb596a7f6309719bfaf1c20495445df399b379a6868c116e4b41f5c024670c7f6e465573a2abf71c1248ecf809bd8a82fc562a

      • memory/2180-8-0x0000000002180000-0x0000000002193000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2180-1-0x0000000002180000-0x0000000002193000-memory.dmp

        Filesize

        76KB

      • memory/2180-6-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

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

        Filesize

        84KB

      • memory/2180-0-0x0000000002170000-0x000000000217D000-memory.dmp

        Filesize

        52KB

      • memory/2180-7-0x0000000002170000-0x000000000217D000-memory.dmp

        Filesize

        52KB

      • memory/3112-12-0x0000000000270000-0x0000000000285000-memory.dmp

        Filesize

        84KB

      • memory/3112-14-0x0000000000270000-0x0000000000285000-memory.dmp

        Filesize

        84KB

      • memory/3112-15-0x0000000000270000-0x0000000000285000-memory.dmp

        Filesize

        84KB

      • memory/4576-10-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/4576-11-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB

      • memory/4576-16-0x0000000000400000-0x0000000000435000-memory.dmp

        Filesize

        212KB