Analysis

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

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    29/01/2025, 02:42

General

  • Target

    2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe

  • Size

    11.7MB

  • MD5

    38a226e27ea670bcda1d696d31180d0e

  • SHA1

    05b0084bd2fe7a9ebcf43d13b394d71d7e41cbd9

  • SHA256

    0057487f203f8cef19e5359b19b2c7ce04933cb01c762409115847e976aaa274

  • SHA512

    2578cd17242c6d5d1b7c3c367b33480a33857d9596d78088fcfe5ae8959b2264826446ffdc16d508ad23eaac18673a2d8ecb6003dff9f4c6c933541a2667b7f4

  • SSDEEP

    24576:06WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ2:ZWdLQks

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-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2236
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hmfalsux\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2772
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zichzytp.exe" C:\Windows\SysWOW64\hmfalsux\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2688
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hmfalsux binPath= "C:\Windows\SysWOW64\hmfalsux\zichzytp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2844
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hmfalsux "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2572
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hmfalsux
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2596
    • 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:2568
  • C:\Windows\SysWOW64\hmfalsux\zichzytp.exe
    C:\Windows\SysWOW64\hmfalsux\zichzytp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_38a226e27ea670bcda1d696d31180d0e_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2548
    • 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:2720

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.4MB

    MD5

    2ef3bc5267c308aa1014b4ace030491f

    SHA1

    99bd4bc5b8ed18508588f5a5ae7813792917cdac

    SHA256

    c268371bf5632ef3f29be0f845890e53994ed67930aebb936ab7044dcdb4ad32

    SHA512

    c03613cb8a4b58b5ed43607b22311a6cc95a8842bd9a519f69c2871f0fc6c4ee179c6d05fdc0fb6502c9811647a8ed2ba4c6ac4c88dab02c591f0f04b0a5a4d1

  • memory/2236-8-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2236-9-0x00000000002B0000-0x00000000003B0000-memory.dmp

    Filesize

    1024KB

  • memory/2236-1-0x00000000002B0000-0x00000000003B0000-memory.dmp

    Filesize

    1024KB

  • memory/2236-7-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2548-18-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2720-12-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2720-15-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2720-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2720-17-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2720-19-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB