Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-12-2024 14:08

General

  • Target

    JaffaCakes118_3053837114eb098cb0fde68bb99db208eb69035b9af2c133a83971f05bf22e55.exe

  • Size

    154KB

  • MD5

    1417d3bfef9f5d4b068124f9df853f88

  • SHA1

    e82683043a292e42abd968422ada90f2ad3a6a26

  • SHA256

    3053837114eb098cb0fde68bb99db208eb69035b9af2c133a83971f05bf22e55

  • SHA512

    dc47bb34b28bc64be767f2569cb88c8d4401b00fc8eeea0b7cc7b4156c3036484b87f308f447c310d1ac40c711a78d4738f1c1cc4619df196ed9e4cc7f23170d

  • SSDEEP

    1536:93XTaOHdVEPzF68p31lwV95rPFlhyg6yrfAvKm5A5XzcwC1sulQoPt/CD6Hnz:9zamdNYlY5Z7y44Sm5A5X2ODo0OHz

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\JaffaCakes118_3053837114eb098cb0fde68bb99db208eb69035b9af2c133a83971f05bf22e55.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3053837114eb098cb0fde68bb99db208eb69035b9af2c133a83971f05bf22e55.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4588
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hhslvmre\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1684
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ahkijjzn.exe" C:\Windows\SysWOW64\hhslvmre\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4304
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hhslvmre binPath= "C:\Windows\SysWOW64\hhslvmre\ahkijjzn.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3053837114eb098cb0fde68bb99db208eb69035b9af2c133a83971f05bf22e55.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hhslvmre "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1184
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hhslvmre
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2940
    • 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:972
  • C:\Windows\SysWOW64\hhslvmre\ahkijjzn.exe
    C:\Windows\SysWOW64\hhslvmre\ahkijjzn.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_3053837114eb098cb0fde68bb99db208eb69035b9af2c133a83971f05bf22e55.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4808
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1588

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.1MB

    MD5

    828c1abbc7a6d334e5bf4edc3a570070

    SHA1

    7c56e497722d565ea5760800dd97e05581eb7523

    SHA256

    636a65f8f0af07d994a263b9abf13e94d24264c0149ff24eb8d2a0aac8cd283f

    SHA512

    e599c3ee1a33c46b9e467cdda4e4951b3772a9e66080430b654e2b116e3e386261f2c425d519636890b84d8dd54262312058b881d0a32f547ec812b72b7638b1

  • memory/1588-14-0x0000000001070000-0x0000000001085000-memory.dmp

    Filesize

    84KB

  • memory/1588-19-0x0000000001070000-0x0000000001085000-memory.dmp

    Filesize

    84KB

  • memory/1588-16-0x0000000001070000-0x0000000001085000-memory.dmp

    Filesize

    84KB

  • memory/4588-8-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/4588-9-0x0000000000640000-0x0000000000653000-memory.dmp

    Filesize

    76KB

  • memory/4588-1-0x0000000000850000-0x0000000000950000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/4588-2-0x0000000000640000-0x0000000000653000-memory.dmp

    Filesize

    76KB

  • memory/4808-11-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/4808-12-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/4808-13-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB

  • memory/4808-18-0x0000000000400000-0x00000000004AD000-memory.dmp

    Filesize

    692KB