Analysis

  • max time kernel
    150s
  • max time network
    156s
  • 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 23:14

General

  • Target

    JaffaCakes118_9fe9e8413e68ba926a5cf92ea3f07a503035a65d479cb0930b10219c52f7bb11.exe

  • Size

    291KB

  • MD5

    059b6ca71cc6eddf47745e45c5134b0b

  • SHA1

    9f8495fc5daea7fb6ffeca5abf461d9b03c83c66

  • SHA256

    9fe9e8413e68ba926a5cf92ea3f07a503035a65d479cb0930b10219c52f7bb11

  • SHA512

    60825f2453eb0137bee314f1ccba4a99f192cd1bced1fcfbe55b0a1fb10b5b7276d078b4f346ffb524ebba5fe1042bb3e2f846c4e2f7825c0f06b2556d9570d9

  • SSDEEP

    6144:Vd+g4P3tZ2kWcrncIUSXuZet0ySbaHPQLx5qe28g:jgX2kbrn1USXuZet0ySbaSx5qJv

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_9fe9e8413e68ba926a5cf92ea3f07a503035a65d479cb0930b10219c52f7bb11.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9fe9e8413e68ba926a5cf92ea3f07a503035a65d479cb0930b10219c52f7bb11.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4108
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fesxbnxa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3988
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\cpyvwbna.exe" C:\Windows\SysWOW64\fesxbnxa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fesxbnxa binPath= "C:\Windows\SysWOW64\fesxbnxa\cpyvwbna.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9fe9e8413e68ba926a5cf92ea3f07a503035a65d479cb0930b10219c52f7bb11.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4144
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fesxbnxa "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3336
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fesxbnxa
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3184
    • 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:1444
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4108 -s 792
      2⤵
      • Program crash
      PID:3464
  • C:\Windows\SysWOW64\fesxbnxa\cpyvwbna.exe
    C:\Windows\SysWOW64\fesxbnxa\cpyvwbna.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_9fe9e8413e68ba926a5cf92ea3f07a503035a65d479cb0930b10219c52f7bb11.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3164
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2932
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3164 -s 176
      2⤵
      • Program crash
      PID:804
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4108 -ip 4108
    1⤵
      PID:4724
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 456 -p 3164 -ip 3164
      1⤵
        PID:3804

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.7MB

        MD5

        fd5c9b7a36fda3e1482468325f3dab8f

        SHA1

        2cb60c1710d5b07981617d11c1cd5907a5f6ed8e

        SHA256

        022f09856bc9b888e1a747889e92b247a0104a3c622365ade48f7c2038c0ee39

        SHA512

        299c0787f21df059030788f0206e9a429fc9423f8b1456c81d4322e6018d2ed194afff82fd384c76af20342938c020b9f69d0e40726b35b34b21c74ae19f8384

      • memory/2932-11-0x0000000000A60000-0x0000000000A75000-memory.dmp

        Filesize

        84KB

      • memory/2932-13-0x0000000000A60000-0x0000000000A75000-memory.dmp

        Filesize

        84KB

      • memory/2932-14-0x0000000000A60000-0x0000000000A75000-memory.dmp

        Filesize

        84KB

      • memory/3164-15-0x0000000000400000-0x0000000002B41000-memory.dmp

        Filesize

        39.3MB

      • memory/4108-1-0x0000000002BA0000-0x0000000002CA0000-memory.dmp

        Filesize

        1024KB

      • memory/4108-2-0x0000000004890000-0x00000000048A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4108-8-0x0000000004890000-0x00000000048A3000-memory.dmp

        Filesize

        76KB

      • memory/4108-7-0x0000000000400000-0x0000000002B41000-memory.dmp

        Filesize

        39.3MB