Analysis

  • max time kernel
    145s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240729-en
  • resource tags

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    21-01-2025 21:52

General

  • Target

    2025-01-21_44975788c2e1c5ac4372fdead1c27278_mafia.exe

  • Size

    12.3MB

  • MD5

    44975788c2e1c5ac4372fdead1c27278

  • SHA1

    0043958faabef750448c2068a6d974d9526321ef

  • SHA256

    09185d589ed81a08a4e4d3eb544ccc7a26902a0c3dde0b8269203a27342bc38e

  • SHA512

    95ab499ed3c2fc8bebcaa56c68204b539bada35620fce489901e63c351cadfccc47b34acdf54017a6eb6260df1e8bac488cd2c4edcbf5cd6c07f8f86e5bc39d3

  • SSDEEP

    24576:L6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ:GWdLQk

Malware Config

Extracted

Family

tofsee

C2

43.231.4.7

lazystax.ru

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Tofsee family
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-21_44975788c2e1c5ac4372fdead1c27278_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-21_44975788c2e1c5ac4372fdead1c27278_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1976
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tufsira\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2464
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kjxznkld.exe" C:\Windows\SysWOW64\tufsira\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1932
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tufsira binPath= "C:\Windows\SysWOW64\tufsira\kjxznkld.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-21_44975788c2e1c5ac4372fdead1c27278_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2212
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tufsira "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tufsira
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2404
    • 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:3012
  • C:\Windows\SysWOW64\tufsira\kjxznkld.exe
    C:\Windows\SysWOW64\tufsira\kjxznkld.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-21_44975788c2e1c5ac4372fdead1c27278_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2504
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2856

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.1MB

    MD5

    bc353254980aeee80dcc4e4c458b2337

    SHA1

    b074a991a83fe08432655836e8b4d5f9d9fc0645

    SHA256

    965466ae224e3e0f82ed9e090485dd4c74651b0201f18fc910da829f9fff7a21

    SHA512

    8b0f82df5e3a7c2a16ea97ee54c4c8e1937924603d7fc8f9a5712b4be248d0fe9b3398ec24a44481be48999041225e27684365120bce29355c8091ab34ff0999

  • memory/1976-15-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1976-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/1976-14-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/1976-1-0x00000000005D0000-0x00000000006D0000-memory.dmp

    Filesize

    1024KB

  • memory/1976-17-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1976-16-0x00000000005D0000-0x00000000006D0000-memory.dmp

    Filesize

    1024KB

  • memory/2504-12-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2856-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2856-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2856-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2856-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2856-19-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB