Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    29-12-2024 23:45

General

  • Target

    JaffaCakes118_809a66221d8ddb4cca29184f243c786309bc929020ea0152c400068ffc738a61.exe

  • Size

    173KB

  • MD5

    9f9ae6890b75d02bd12c641689feb0f3

  • SHA1

    b061f73eb4bffc740d14b8c60506e366ee6eb010

  • SHA256

    809a66221d8ddb4cca29184f243c786309bc929020ea0152c400068ffc738a61

  • SHA512

    edc30a5fdebd31710f61aeddcffb47f98e51afa168ab0a31af1134c8942049bdb000cc1dd625dd11ff55621c7167789a27668a19dad76b07414765e6a3f6ba9a

  • SSDEEP

    3072:D7pw2Al1wUlCE0zZaGRRE2esjjc7XxxL33jai2:pHAl1wUcE0zZaGRRksAXxxL3T6

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.

  • 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_809a66221d8ddb4cca29184f243c786309bc929020ea0152c400068ffc738a61.exe
    "C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_809a66221d8ddb4cca29184f243c786309bc929020ea0152c400068ffc738a61.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4116
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hazutmig\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2896
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dmvdrjra.exe" C:\Windows\SysWOW64\hazutmig\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hazutmig binPath= "C:\Windows\SysWOW64\hazutmig\dmvdrjra.exe /d\"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_809a66221d8ddb4cca29184f243c786309bc929020ea0152c400068ffc738a61.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1408
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hazutmig "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:508
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hazutmig
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1744
    • 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:2800
  • C:\Windows\SysWOW64\hazutmig\dmvdrjra.exe
    C:\Windows\SysWOW64\hazutmig\dmvdrjra.exe /d"C:\Users\Admin\AppData\Local\Temp\JaffaCakes118_809a66221d8ddb4cca29184f243c786309bc929020ea0152c400068ffc738a61.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3712
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4904

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.2MB

    MD5

    82b2b0d2c6cf889da099d51a61a54b6f

    SHA1

    0b681158eacfeb2f4096e5afa3de498fad9cb968

    SHA256

    72e5de285c892fb2b6ad1b159532a9d8e886e4c62d410e7b79bf61c28f55ea73

    SHA512

    1302e6f0d75e4645cc8ef7612c6478bab533f818d920a62c689f903456afd3ed55e3cff58859050ec518e7eea3ab31ccee0fbcd99f3573206e40a0fcd5256ef9

  • memory/3712-7-0x0000000000400000-0x0000000000433000-memory.dmp

    Filesize

    204KB

  • memory/3712-13-0x0000000000400000-0x0000000000433000-memory.dmp

    Filesize

    204KB

  • memory/3712-8-0x0000000000400000-0x0000000000433000-memory.dmp

    Filesize

    204KB

  • memory/3712-6-0x0000000000400000-0x0000000000433000-memory.dmp

    Filesize

    204KB

  • memory/4116-16-0x0000000002180000-0x000000000218D000-memory.dmp

    Filesize

    52KB

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

    Filesize

    84KB

  • memory/4116-1-0x0000000002190000-0x00000000021A3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/4116-17-0x0000000002190000-0x00000000021A3000-memory.dmp

    Filesize

    76KB

  • memory/4116-0-0x0000000002180000-0x000000000218D000-memory.dmp

    Filesize

    52KB

  • memory/4116-15-0x0000000000400000-0x0000000000433000-memory.dmp

    Filesize

    204KB

  • memory/4904-9-0x0000000000620000-0x0000000000635000-memory.dmp

    Filesize

    84KB

  • memory/4904-14-0x0000000000620000-0x0000000000635000-memory.dmp

    Filesize

    84KB

  • memory/4904-19-0x0000000000620000-0x0000000000635000-memory.dmp

    Filesize

    84KB

  • memory/4904-20-0x0000000000620000-0x0000000000635000-memory.dmp

    Filesize

    84KB

  • memory/4904-21-0x0000000000620000-0x0000000000635000-memory.dmp

    Filesize

    84KB