Analysis

  • max time kernel
    145s
  • max time network
    134s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    07-02-2025 20:02

General

  • Target

    2025-02-07_8e63e31e5c628ebde84d3646cf546c10_mafia.exe

  • Size

    11.8MB

  • MD5

    8e63e31e5c628ebde84d3646cf546c10

  • SHA1

    5c7524014c08593aad0c11c5cde3a8d41d542f86

  • SHA256

    f2d758e05d0e380196f604d9de948346405497b8f320a0aba3f1ec97e590b324

  • SHA512

    ea8dec03c618443a6abc92828ce5bc88d3d0f4f013a369c5f916f29189db29c48959defe459b6928ec17dfabf7929e4c4cf2c6e641d11b693052137721649cfc

  • SSDEEP

    196608:LyXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX8:mXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXM

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-02-07_8e63e31e5c628ebde84d3646cf546c10_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_8e63e31e5c628ebde84d3646cf546c10_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2536
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bkelrjfq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1888
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bzijsodz.exe" C:\Windows\SysWOW64\bkelrjfq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2368
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bkelrjfq binPath= "C:\Windows\SysWOW64\bkelrjfq\bzijsodz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_8e63e31e5c628ebde84d3646cf546c10_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bkelrjfq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bkelrjfq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1644
    • 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:2876
  • C:\Windows\SysWOW64\bkelrjfq\bzijsodz.exe
    C:\Windows\SysWOW64\bkelrjfq\bzijsodz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_8e63e31e5c628ebde84d3646cf546c10_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2864
    • 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:2596

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.4MB

    MD5

    cff566212ccb60194a527ceeb67dbda6

    SHA1

    95cfeae0d63facccb5127c0ddfaafc663372d0a9

    SHA256

    73d59c9a1a7939db7fb146bf9094a805d0f433ee0a957dbd5445f50700c694ec

    SHA512

    1eb5821c0b121eb9305c6682867446e5ebb1c1efbc8c42e6dd84b7b194413e6fa1f27426f9e6fc0f483c8e630d2b714ff025b126e761401cd928af47800ac36e

  • memory/2536-9-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2536-6-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    76KB

  • memory/2536-1-0x0000000000580000-0x0000000000680000-memory.dmp

    Filesize

    1024KB

  • memory/2536-8-0x0000000000580000-0x0000000000680000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/2596-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2596-12-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2864-18-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB