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
    04-12-2024 18:33

General

  • Target

    c3d9fe2d943feda5de737a9048437366_JaffaCakes118.exe

  • Size

    14.2MB

  • MD5

    c3d9fe2d943feda5de737a9048437366

  • SHA1

    6b520caa5749359728296add5bcbe968fe4def0f

  • SHA256

    1344f45dbbb1a9bd9854fa07e0db70efaa8ebfa6359c645d4d4739a3c06cbda6

  • SHA512

    66b7e5418e7ba66e5b0b2348fd1046d97cd99bc6857b2d4521081f4a6e4ac6f10c735b29375e4215ed75f86abfdbf4242796cde629d59017fb60ef33f67fb86d

  • SSDEEP

    24576:Kkp7SCOI1SDGI1SDGI1SDGI1SDGI1SDGI1SDGI1SDGI1SDGI1SDGI1SDGI1SDGI+:KG

Malware Config

Extracted

Family

tofsee

C2

defeatwax.ru

refabyd.info

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\c3d9fe2d943feda5de737a9048437366_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\c3d9fe2d943feda5de737a9048437366_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3300
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kodsugog\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4016
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ybucacku.exe" C:\Windows\SysWOW64\kodsugog\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3000
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kodsugog binPath= "C:\Windows\SysWOW64\kodsugog\ybucacku.exe /d\"C:\Users\Admin\AppData\Local\Temp\c3d9fe2d943feda5de737a9048437366_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4384
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kodsugog "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4668
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kodsugog
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3272
    • 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:748
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3300 -s 1220
      2⤵
      • Program crash
      PID:4000
  • C:\Windows\SysWOW64\kodsugog\ybucacku.exe
    C:\Windows\SysWOW64\kodsugog\ybucacku.exe /d"C:\Users\Admin\AppData\Local\Temp\c3d9fe2d943feda5de737a9048437366_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3504
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4836
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3504 -s 560
      2⤵
      • Program crash
      PID:2092
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3300 -ip 3300
    1⤵
      PID:3404
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3504 -ip 3504
      1⤵
        PID:2824

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.2MB

        MD5

        c3d9fe2d943feda5de737a9048437366

        SHA1

        6b520caa5749359728296add5bcbe968fe4def0f

        SHA256

        1344f45dbbb1a9bd9854fa07e0db70efaa8ebfa6359c645d4d4739a3c06cbda6

        SHA512

        66b7e5418e7ba66e5b0b2348fd1046d97cd99bc6857b2d4521081f4a6e4ac6f10c735b29375e4215ed75f86abfdbf4242796cde629d59017fb60ef33f67fb86d

      • memory/3300-9-0x00000000005D0000-0x00000000005E3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3300-2-0x00000000005D0000-0x00000000005E3000-memory.dmp

        Filesize

        76KB

      • memory/3300-8-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/3300-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3300-1-0x00000000005F0000-0x00000000006F0000-memory.dmp

        Filesize

        1024KB

      • memory/3504-11-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/3504-12-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/3504-13-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/3504-18-0x0000000000400000-0x0000000000454000-memory.dmp

        Filesize

        336KB

      • memory/4836-16-0x0000000000BF0000-0x0000000000C05000-memory.dmp

        Filesize

        84KB

      • memory/4836-14-0x0000000000BF0000-0x0000000000C05000-memory.dmp

        Filesize

        84KB

      • memory/4836-17-0x0000000000BF0000-0x0000000000C05000-memory.dmp

        Filesize

        84KB