Analysis

  • max time kernel
    147s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    05-02-2025 22:33

General

  • Target

    2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe

  • Size

    12.1MB

  • MD5

    9cc55c14f3f8b827be600f06294a28ae

  • SHA1

    95cac66b7d32e4bbac545b42ab0b4a1e3d5bf0b6

  • SHA256

    7f4bf16cfb9771a3158632ca4deb1af275cdb5b52c807f6bfa5176f9cfaf2475

  • SHA512

    e0fef214e744710204e3e9897d83cdde34bc70953726975e6223b49ffa8638e66ebe48b7082d9d82b4f6b5972cbc49824f575fac89f1a4b7e88b451cab4382bd

  • SSDEEP

    49152:pLFuiE888888888888888888888888888888888888888888888888888888888x:pLMQ

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-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2916
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\peyvomq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2196
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rtounak.exe" C:\Windows\SysWOW64\peyvomq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2564
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create peyvomq binPath= "C:\Windows\SysWOW64\peyvomq\rtounak.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2184
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description peyvomq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2760
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start peyvomq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2856
    • 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:2264
  • C:\Windows\SysWOW64\peyvomq\rtounak.exe
    C:\Windows\SysWOW64\peyvomq\rtounak.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_9cc55c14f3f8b827be600f06294a28ae_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2984
    • 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:2820

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.5MB

    MD5

    076dbae768ca3e53f7915af12ec68828

    SHA1

    edd1335fc8d0eac463633bbefde582337c76cb9e

    SHA256

    01293d363ac374537ea922e058e50f0ee38a6a18cc0358b8c741c5148ff9d168

    SHA512

    4d5f6f92add04f63eead0e8af4efe2ff4cd3790c01041e683d0a0099dff77d10ad4f53af50cba41c662e507b95f93801edef53d11794b00c86290d9f6449dadd

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

    Filesize

    84KB

  • memory/2820-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2820-8-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2916-2-0x0000000000400000-0x0000000002DBF000-memory.dmp

    Filesize

    41.7MB

  • memory/2916-3-0x0000000000400000-0x0000000002DBF000-memory.dmp

    Filesize

    41.7MB

  • memory/2916-6-0x0000000000400000-0x0000000002DBF000-memory.dmp

    Filesize

    41.7MB

  • memory/2984-13-0x0000000000400000-0x0000000002DBF000-memory.dmp

    Filesize

    41.7MB