Analysis

  • max time kernel
    148s
  • max time network
    125s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    30-01-2025 16:31

General

  • Target

    2025-01-30_8ba95e2c690ea0eaae268ccbea0bf6a5_mafia.exe

  • Size

    10.1MB

  • MD5

    8ba95e2c690ea0eaae268ccbea0bf6a5

  • SHA1

    347c94a8d5128b256eb0469229158d998c10a8b7

  • SHA256

    23add7fb45eafa098b31903d7ee76734723361eb68c915b07e2fc14ec4088e89

  • SHA512

    a0d54ccf907d79edfb2f4a24251051a1fda83c0949b35a11e50c973d69e468906b6a59be30544ee5eaf013414912e4f4a6e2e9e3c4d1c49784827b8778260301

  • SSDEEP

    24576:n6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQP:6WdLQk

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-30_8ba95e2c690ea0eaae268ccbea0bf6a5_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_8ba95e2c690ea0eaae268ccbea0bf6a5_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2832
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jvubgthi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2780
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\psyshsdj.exe" C:\Windows\SysWOW64\jvubgthi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2644
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jvubgthi binPath= "C:\Windows\SysWOW64\jvubgthi\psyshsdj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_8ba95e2c690ea0eaae268ccbea0bf6a5_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2916
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jvubgthi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jvubgthi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2824
    • 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:2656
  • C:\Windows\SysWOW64\jvubgthi\psyshsdj.exe
    C:\Windows\SysWOW64\jvubgthi\psyshsdj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_8ba95e2c690ea0eaae268ccbea0bf6a5_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2252
    • 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:2580

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.5MB

    MD5

    e3189e54972938db3b54c88822f37ae7

    SHA1

    fbbd284a5746cd17a95f528a8864c1e498b6a48a

    SHA256

    ea4a8b089dc1c056dc5c83e45fbc6abb5b0ccda697c6f11f7a8e0c3e667d4ed9

    SHA512

    36fd88dae2a78d2dc81a8a8b95dfc20349ecd3cc4d0857544a739b16876e18a12d1f519bd8c01ed4b011c9d1f149f6a865bccbb80adf931220823d2b9c2d2dc3

  • memory/2252-15-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2580-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2580-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2580-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2580-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2832-7-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2832-8-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2832-6-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2832-1-0x0000000000540000-0x0000000000640000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB