Analysis

  • max time kernel
    148s
  • max time network
    152s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-11-2024 02:39

General

  • Target

    98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe

  • Size

    238KB

  • MD5

    98b62dd2b4b9fca257de75573823e2f5

  • SHA1

    ad30ee3dae22e935f8654bf82a58e445e82e8181

  • SHA256

    cd39da40f58c16195e18922921d7eef5b3002b7e1598b55af5ac48663c433529

  • SHA512

    05399acfa54357ce2e5e805e06648a0ba3a810635606597d070e5f9056410d8569d492781fb6039366aa96b12b5b14a9025dafda2cdd0d094cebae5abbd378da

  • SSDEEP

    6144:NNytwy0vP4gE/r4JSzyEc9T3M+0snM6rSuB:NI+XvP4Z4JSzyEg7r0snNB

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.

  • 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\98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe
    "C:\Users\Admin\AppData\Local\Temp\98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4508
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sqosfdgg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2052
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\afbtrug.exe" C:\Windows\SysWOW64\sqosfdgg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sqosfdgg binPath= "C:\Windows\SysWOW64\sqosfdgg\afbtrug.exe /d\"C:\Users\Admin\AppData\Local\Temp\98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4948
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sqosfdgg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3964
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sqosfdgg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2644
    • 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:684
  • C:\Windows\SysWOW64\sqosfdgg\afbtrug.exe
    C:\Windows\SysWOW64\sqosfdgg\afbtrug.exe /d"C:\Users\Admin\AppData\Local\Temp\98b62dd2b4b9fca257de75573823e2f5_JaffaCakes118.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2136
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3640

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.7MB

    MD5

    1be578abe39955d9dccf64d0353a7fa2

    SHA1

    ff8519a336c72882b4b9ae38827b211ac41279f4

    SHA256

    9a9477128af2736ce3a4389ccb78e6b07a857cadd533f5435e8ff2deed184c9b

    SHA512

    906e8b685f1d84c9e68c0b7fbcfbebbc7124dd832e13ed89e0dcc42cf6f3381f9d84fc4f3ab4a295cdc2408d89901368b0a6d0980850096731e47dc365b50f4c

  • memory/2136-11-0x0000000000400000-0x000000000086B000-memory.dmp

    Filesize

    4.4MB

  • memory/2136-18-0x0000000000400000-0x000000000086B000-memory.dmp

    Filesize

    4.4MB

  • memory/2136-13-0x0000000000400000-0x000000000086B000-memory.dmp

    Filesize

    4.4MB

  • memory/2136-12-0x0000000000400000-0x000000000086B000-memory.dmp

    Filesize

    4.4MB

  • memory/3640-14-0x0000000001200000-0x0000000001215000-memory.dmp

    Filesize

    84KB

  • memory/3640-16-0x0000000001200000-0x0000000001215000-memory.dmp

    Filesize

    84KB

  • memory/3640-19-0x0000000001200000-0x0000000001215000-memory.dmp

    Filesize

    84KB

  • memory/4508-8-0x0000000000400000-0x000000000086B000-memory.dmp

    Filesize

    4.4MB

  • memory/4508-9-0x00000000001C0000-0x00000000001D3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/4508-1-0x0000000000AF0000-0x0000000000BF0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/4508-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

    Filesize

    76KB