Analysis

  • max time kernel
    147s
  • max time network
    146s
  • 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 02:43

General

  • Target

    JaffaCakes118_63c5c408d762a1b5e4fe0a4d3e0538bb3bb292fe61b986c7b6c9f7f4080cfab3.exe

  • Size

    160KB

  • MD5

    cdc9a53f7998e1e5e4e77dd418592ad6

  • SHA1

    525c36641a284b1b5488ce8923b5f21a87ba047e

  • SHA256

    63c5c408d762a1b5e4fe0a4d3e0538bb3bb292fe61b986c7b6c9f7f4080cfab3

  • SHA512

    e31a58d9f65177ec815f0d91b46a9e854d228cfae14397255165bf248afd70e0b903bb2cb4a89193f0ee6cf8665cba8795a7aa85dfaf57de23c92cf3c5a83dd2

  • SSDEEP

    3072:U754OjNeZE6gjfPaYUf3VF9Gtmrib4R1eWvVw8Bf:4NeZE6gLYVxR1eWdw8B

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_63c5c408d762a1b5e4fe0a4d3e0538bb3bb292fe61b986c7b6c9f7f4080cfab3.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_63c5c408d762a1b5e4fe0a4d3e0538bb3bb292fe61b986c7b6c9f7f4080cfab3.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2272
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rpoayazg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4264
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\iojmveez.exe" C:\Windows\SysWOW64\rpoayazg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4660
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rpoayazg binPath= "C:\Windows\SysWOW64\rpoayazg\iojmveez.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_63c5c408d762a1b5e4fe0a4d3e0538bb3bb292fe61b986c7b6c9f7f4080cfab3.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rpoayazg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4520
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rpoayazg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1816
    • 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:3376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2272 -s 1264
      2⤵
      • Program crash
      PID:4404
  • C:\Windows\SysWOW64\rpoayazg\iojmveez.exe
    C:\Windows\SysWOW64\rpoayazg\iojmveez.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_63c5c408d762a1b5e4fe0a4d3e0538bb3bb292fe61b986c7b6c9f7f4080cfab3.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1720
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2236
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1720 -s 528
      2⤵
      • Program crash
      PID:4796
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 2272 -ip 2272
    1⤵
      PID:2656
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 1720 -ip 1720
      1⤵
        PID:1392

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.4MB

        MD5

        efa50ca674e1cd28c3663b9f6223d06c

        SHA1

        815bd03b244ac923036789989c0a2e378c4481e6

        SHA256

        304c294d32db6ba73175e83efe1bfedf72ae3db41fb0dbc57c952218d1a427d0

        SHA512

        1cb03e23d3dd4a961f1261eb5471df6b30a57e004face62303656f2d52a5e014aa6a613581757a743e82b3a2431609d0703fd8afc994afa1a1a0421fd6ccd181

      • memory/1720-14-0x0000000000400000-0x0000000000430000-memory.dmp

        Filesize

        192KB

      • memory/1720-7-0x0000000000400000-0x0000000000430000-memory.dmp

        Filesize

        192KB

      • memory/1720-6-0x0000000000400000-0x0000000000430000-memory.dmp

        Filesize

        192KB

      • memory/1720-8-0x0000000000400000-0x0000000000430000-memory.dmp

        Filesize

        192KB

      • memory/2236-12-0x0000000000EA0000-0x0000000000EB5000-memory.dmp

        Filesize

        84KB

      • memory/2236-9-0x0000000000EA0000-0x0000000000EB5000-memory.dmp

        Filesize

        84KB

      • memory/2236-19-0x0000000000EA0000-0x0000000000EB5000-memory.dmp

        Filesize

        84KB

      • memory/2236-20-0x0000000000EA0000-0x0000000000EB5000-memory.dmp

        Filesize

        84KB

      • memory/2236-21-0x0000000000EA0000-0x0000000000EB5000-memory.dmp

        Filesize

        84KB

      • memory/2272-1-0x0000000000600000-0x0000000000613000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2272-0-0x00000000005D0000-0x00000000005DD000-memory.dmp

        Filesize

        52KB

      • memory/2272-18-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2272-17-0x0000000000600000-0x0000000000613000-memory.dmp

        Filesize

        76KB

      • memory/2272-16-0x00000000005D0000-0x00000000005DD000-memory.dmp

        Filesize

        52KB

      • memory/2272-15-0x0000000000400000-0x0000000000430000-memory.dmp

        Filesize

        192KB