Analysis

  • max time kernel
    146s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    07-02-2025 14:38

General

  • Target

    2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe

  • Size

    11.6MB

  • MD5

    baa3d4ecef961095880f238de0e0be22

  • SHA1

    c59ca1d96a298bb7cd32d8e74b5f0e6b9a8ec2c3

  • SHA256

    3731776b9bb93158e5eeaf11d9d13588fd9509d0879fad0fc6aff8a20c6ce6d2

  • SHA512

    9967fd6125d449931142378d77af25f8ef3edf7eab6341ecdef79ed6cb7c7395b216aa59768471dcd105150615e4f78239be45e4a7ba4dbed4ec2b524df08c75

  • SSDEEP

    49152:GqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:GqtYc3

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_baa3d4ecef961095880f238de0e0be22_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2684
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vjdczelj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2504
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ofnlvqxl.exe" C:\Windows\SysWOW64\vjdczelj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2364
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vjdczelj binPath= "C:\Windows\SysWOW64\vjdczelj\ofnlvqxl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vjdczelj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2208
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vjdczelj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2492
    • 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:2856
  • C:\Windows\SysWOW64\vjdczelj\ofnlvqxl.exe
    C:\Windows\SysWOW64\vjdczelj\ofnlvqxl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_baa3d4ecef961095880f238de0e0be22_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2820
    • 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:2476

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.2MB

    MD5

    ccfdd3b3bd716781c58f384e57832015

    SHA1

    16cbe22c63946bab54a091bbc868f5a1029bf817

    SHA256

    587d46422210f07b6fa947c32729635b21defda03a4030132ca3a4ac6b6bdd80

    SHA512

    51ce7ef3d59287d5aa22c98c56e96018d19308cdb12d4be05d1602cd7dabbb17269c9579dbad6907436dc8a5312f92f753f7463890a005dbdc0a2c48dca0e177

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

    Filesize

    4KB

  • memory/2476-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2476-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2476-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2476-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2684-4-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2684-1-0x0000000002EF0000-0x0000000002FF0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/2684-9-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2684-8-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

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

    Filesize

    76KB

  • memory/2820-17-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB