Analysis

  • max time kernel
    149s
  • max time network
    119s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

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

General

  • Target

    2025-02-07_5d23f9f8c2dd57d2506e7e24907662bd_mafia.exe

  • Size

    14.1MB

  • MD5

    5d23f9f8c2dd57d2506e7e24907662bd

  • SHA1

    19d072911ed6bb3e851e66093130eb9d23e80b69

  • SHA256

    833468580dd0ec785d04db7cda97f798af7095393619289a44cfd28d6814a37a

  • SHA512

    f6d9e97af6f3ee4ad045ab308776ec3134489598e4bfc71c58334f3eebb6eddfb7a937fe3b5b4ac205612fbf4a4a26ca02258017f307824291088de572f980f8

  • SSDEEP

    24576:MEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZd:Jfot

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_5d23f9f8c2dd57d2506e7e24907662bd_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_5d23f9f8c2dd57d2506e7e24907662bd_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2260
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\twxpbwzn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\boaxqdis.exe" C:\Windows\SysWOW64\twxpbwzn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2680
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create twxpbwzn binPath= "C:\Windows\SysWOW64\twxpbwzn\boaxqdis.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_5d23f9f8c2dd57d2506e7e24907662bd_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1352
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description twxpbwzn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start twxpbwzn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2072
    • 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:1584
  • C:\Windows\SysWOW64\twxpbwzn\boaxqdis.exe
    C:\Windows\SysWOW64\twxpbwzn\boaxqdis.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_5d23f9f8c2dd57d2506e7e24907662bd_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2644
    • 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:2140

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.1MB

    MD5

    9ec4f0906cf80529a07fcf88d50c7764

    SHA1

    bb43e56a1e0db6f9fafac6932818f7251ce7e238

    SHA256

    4ba72028779b91d44c240a7964dca5ebe7454b470a1c383a0503365af2797364

    SHA512

    c63e6426299c2f050676d154464073378ac98f125caee926631ad68ae7e5317c73790946b78968852d4503acc3de51d8a311e486117664f8ae1dbaa7d12714ab

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2260-9-0x00000000005E0000-0x00000000006E0000-memory.dmp

    Filesize

    1024KB

  • memory/2260-8-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2260-7-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2260-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

    Filesize

    1024KB

  • memory/2644-16-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB