Analysis

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

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

General

  • Target

    2025-02-02_ffb1c128dd6c9b76f12d313ac34055a7_mafia.exe

  • Size

    11.2MB

  • MD5

    ffb1c128dd6c9b76f12d313ac34055a7

  • SHA1

    ff5ff74d8c39aa23ea782b559a3a6f561603445d

  • SHA256

    cf04fcade0de67cd50b38c82d12af9e044fc4fac1f563d9249f0a30583c0142a

  • SHA512

    1a897932c8538b96a0d9519600b026a962989ba8c88f55997c7885dd7c54fdc1264027ebff6b908796faa86e2fb1f54c6dbc21756f3a62abd98af077a44a2171

  • SSDEEP

    24576:rEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZj:4fot

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-02_ffb1c128dd6c9b76f12d313ac34055a7_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_ffb1c128dd6c9b76f12d313ac34055a7_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2580
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eqnhqhdt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2092
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ilrlalwc.exe" C:\Windows\SysWOW64\eqnhqhdt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2420
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create eqnhqhdt binPath= "C:\Windows\SysWOW64\eqnhqhdt\ilrlalwc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_ffb1c128dd6c9b76f12d313ac34055a7_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2908
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description eqnhqhdt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1376
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start eqnhqhdt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2852
    • 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:3024
  • C:\Windows\SysWOW64\eqnhqhdt\ilrlalwc.exe
    C:\Windows\SysWOW64\eqnhqhdt\ilrlalwc.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_ffb1c128dd6c9b76f12d313ac34055a7_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2884
    • 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:2828

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.5MB

    MD5

    48794ce0859d84d9bfc77d109671fdae

    SHA1

    8b53fbc3fbcfee2cd09adf4e28e9274033fe5a61

    SHA256

    0c18bb3ae8ed168f5e3c90089c64e26a0005b79cf522e7d64c97683eaa24e9d2

    SHA512

    5c3301bc8f40982f38deb7d10e425a1d71288a886efe3825bbcff6403006818d8a21b790a16510f548480898744c9b4ec9d22cee85ac8b395aedce6b6dc934e8

  • memory/2580-15-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2580-16-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2580-1-0x00000000002D0000-0x00000000003D0000-memory.dmp

    Filesize

    1024KB

  • memory/2580-14-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2828-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2884-13-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB