Analysis

  • max time kernel
    144s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20241023-en
  • resource tags

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    22-01-2025 19:20

General

  • Target

    2025-01-22_5fc6786146b94ac898b3f92178c12f8c_mafia.exe

  • Size

    11.9MB

  • MD5

    5fc6786146b94ac898b3f92178c12f8c

  • SHA1

    f651866837921e7f955b37e635a3fcc022f6cccd

  • SHA256

    c0275dcc143dd32ff138155b06709f06db01aa6e9c67789e3eb71eda6c434592

  • SHA512

    ba10b4fb2ddc346c6ccc96c40bb8c5f04e9a7411ab74e5bbaf1084352ad531ba3c03037a2b2522084516b13a78fd08f3691fd901a70a0a9071045ee66b4c242a

  • SSDEEP

    6144:kLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQI:5TYe+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-01-22_5fc6786146b94ac898b3f92178c12f8c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-22_5fc6786146b94ac898b3f92178c12f8c_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2808
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hodpnyvz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2812
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rqegursk.exe" C:\Windows\SysWOW64\hodpnyvz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2448
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hodpnyvz binPath= "C:\Windows\SysWOW64\hodpnyvz\rqegursk.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-22_5fc6786146b94ac898b3f92178c12f8c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2924
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hodpnyvz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2824
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hodpnyvz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2660
    • 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:2736
  • C:\Windows\SysWOW64\hodpnyvz\rqegursk.exe
    C:\Windows\SysWOW64\hodpnyvz\rqegursk.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-22_5fc6786146b94ac898b3f92178c12f8c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2096
    • 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:2712

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.8MB

    MD5

    1b0e5cd99da95edb87e1b70732a48ddc

    SHA1

    490e45b12f40f78bfa3140cc3c1bd104b11f9757

    SHA256

    68100604ce7cf4bfe3275b7426572119ff6ad31b1f78e9ded2e0c52f776cd008

    SHA512

    b9c0296a7f57f9fd031b6dde873446f14aff80d56fc25aea771e38833d63706786fa1dea115d74f30e6848b0a139e65efdba2523afbd615a3dccf1e404c1919d

  • memory/2096-15-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2808-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    772KB

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

    Filesize

    84KB

  • memory/2808-8-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2808-1-0x0000000000640000-0x0000000000740000-memory.dmp

    Filesize

    1024KB