Analysis

  • max time kernel
    145s
  • max time network
    126s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    08-02-2025 19:18

General

  • Target

    2025-02-08_afe5e92231cb021e4c98b66c1f97a92e_mafia.exe

  • Size

    12.1MB

  • MD5

    afe5e92231cb021e4c98b66c1f97a92e

  • SHA1

    ab95c90122d5405dd919c39069fd8135b3695677

  • SHA256

    d5e66820b485fc36d65e5fb1082aed954d234c4102c6196d643cd7ceb1bf8f67

  • SHA512

    5eb76983b86c354eec73ca6948146929ce62ecebf2ac7a353214f3a2d2dbd688689fb27053ac097b6d1b2f41502e56c427e6454bb39cafd71d9606aa00485e84

  • SSDEEP

    49152:pLFuiE8888888888888888888888888888888888888888888888888888888885:pLME

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-08_afe5e92231cb021e4c98b66c1f97a92e_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-08_afe5e92231cb021e4c98b66c1f97a92e_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:804
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xirhqivo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2556
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\iijupqow.exe" C:\Windows\SysWOW64\xirhqivo\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1620
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xirhqivo binPath= "C:\Windows\SysWOW64\xirhqivo\iijupqow.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-08_afe5e92231cb021e4c98b66c1f97a92e_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:868
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xirhqivo "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2768
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xirhqivo
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3056
    • 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:2924
  • C:\Windows\SysWOW64\xirhqivo\iijupqow.exe
    C:\Windows\SysWOW64\xirhqivo\iijupqow.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-08_afe5e92231cb021e4c98b66c1f97a92e_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3044
    • 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:2648

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.2MB

    MD5

    adc3bc926aeb4690adf42d458ce08e3b

    SHA1

    4efae7d7a2f25b2c5ef99a8079af3ff47b89156a

    SHA256

    1c3fa52fcf44125bb130915133a9b2b89904db3c5df0d14252ece3cc0fcb46aa

    SHA512

    71f05fd769ab04950d8ccdd755623d67c5018e2aeb71367702a2ce4dca746e534b089215d1fd19b165b17ec745ea9765cba7dbacb5364a824f2eff373fe78e2a

  • memory/804-7-0x0000000000400000-0x0000000002DBF000-memory.dmp

    Filesize

    41.7MB

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

    Filesize

    84KB

  • memory/804-1-0x0000000002F80000-0x0000000003080000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    76KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/3044-15-0x0000000000400000-0x0000000002DBF000-memory.dmp

    Filesize

    41.7MB