Analysis

  • max time kernel
    144s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

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

General

  • Target

    2025-02-07_da2967acc7a5340411d229fc740da703_mafia.exe

  • Size

    11.6MB

  • MD5

    da2967acc7a5340411d229fc740da703

  • SHA1

    34791d2052ae9ae0d86b16fbe95cc3601a231e27

  • SHA256

    164f30013a9f0b91c974b2e06e2bd5f850b04d2fcf8d51d47ee8b3cf12e5e011

  • SHA512

    00568eed6ad8ae23ca064e8e5c79983ca673fc3ce7e7cae944bc04c3a5d6d3f5ccae61de604d4c6386d3723515da1e9bf3864ba93e0bafbd29ff91eb7a2b20b3

  • SSDEEP

    24576:I6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQI:VWdLQk

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_da2967acc7a5340411d229fc740da703_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_da2967acc7a5340411d229fc740da703_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2160
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ivtshxvf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2756
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ehnhwhsy.exe" C:\Windows\SysWOW64\ivtshxvf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ivtshxvf binPath= "C:\Windows\SysWOW64\ivtshxvf\ehnhwhsy.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_da2967acc7a5340411d229fc740da703_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2672
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ivtshxvf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2800
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ivtshxvf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2808
    • 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:2608
  • C:\Windows\SysWOW64\ivtshxvf\ehnhwhsy.exe
    C:\Windows\SysWOW64\ivtshxvf\ehnhwhsy.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_da2967acc7a5340411d229fc740da703_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2584
    • 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:3012

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.2MB

    MD5

    aa49df99f2aef92588f082ec241adf57

    SHA1

    1b08ce6766d8cf23dab250088e1970357f6e8a5b

    SHA256

    e26ed971445618fec9376e0ccd6a74a50686fb576719ed5a5f61131c064e9655

    SHA512

    53e16dd3487d4d2ff8478171860a6c84da6ffda3a6934332e1cd1a55f9c39a2840c2fdb3d3c04ee219338760cd1789a50d41431f026361137f61ec97b4e4c960

  • memory/2160-7-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2160-6-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

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

    Filesize

    84KB

  • memory/2160-1-0x0000000000540000-0x0000000000640000-memory.dmp

    Filesize

    1024KB

  • memory/2584-17-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB