Analysis

  • max time kernel
    143s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240729-en
  • resource tags

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    01-02-2025 20:17

General

  • Target

    2025-02-01_72f8465de7af8408681c24b20d5d2e9f_mafia.exe

  • Size

    10.3MB

  • MD5

    72f8465de7af8408681c24b20d5d2e9f

  • SHA1

    78a621cec60ccc7c3238a81790ba19a0e6e516c4

  • SHA256

    8e4a37d0837c93caa41d32f29d3fc6b9d0096e0c1431a23a85520b283dbaa39d

  • SHA512

    6365d556defd3669c37565d81b2baeaec7781ca52182667edb371957ef0a78063034ac1840d3a1d1827c04f38397f41ef6fe7af1a9edfd51660c1a5fe7c0fcca

  • SSDEEP

    6144:VLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ4:mTYe+D2jFu+iZoUFhAz

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-01_72f8465de7af8408681c24b20d5d2e9f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_72f8465de7af8408681c24b20d5d2e9f_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2232
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\tyoxbyuk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2652
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ofnlvqxl.exe" C:\Windows\SysWOW64\tyoxbyuk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2956
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create tyoxbyuk binPath= "C:\Windows\SysWOW64\tyoxbyuk\ofnlvqxl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_72f8465de7af8408681c24b20d5d2e9f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2680
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description tyoxbyuk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start tyoxbyuk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2864
    • 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:2716
  • C:\Windows\SysWOW64\tyoxbyuk\ofnlvqxl.exe
    C:\Windows\SysWOW64\tyoxbyuk\ofnlvqxl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_72f8465de7af8408681c24b20d5d2e9f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1088
    • 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:2624

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.0MB

    MD5

    41fed9707ef6f2b753f6f86f104e046c

    SHA1

    e6af36ccb67f65f7162dc9e48be3c534643c4fa8

    SHA256

    5fd8d56af15ffa4af3893a700d603cdb2fb378b504bc8aa0e748ef86df19b8d1

    SHA512

    fe2bf1d82289a7dd75f7aabf9024fd41a17b69457117bb283cf08fde93d8f9c23d9cc7e68072c1c897dad74225647d17e6d6e0e2dcc192a035ab52f029eca8a7

  • memory/1088-17-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

  • memory/2232-7-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

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

    Filesize

    76KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2232-1-0x00000000005B0000-0x00000000006B0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB