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
    09-01-2025 18:48

General

  • Target

    2025-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe

  • Size

    10.8MB

  • MD5

    bc0920bf926ce5afd4b3bddbe164c661

  • SHA1

    02d2615da6e80b0f12c8f5af0059034365a7e7c6

  • SHA256

    125855b740b1777ffecc46e376fba8c12e89daa1ac4d4c64c9df5ecc00380b74

  • SHA512

    56f38c84ff5439fe5301fcbc934f8a0212bb535b1e6d41d5207a2b7ce18713eda482557cfa3bec79f3ee77a2e3153c946234230070e2fae85d3a9ab67b5877b5

  • SSDEEP

    6144:1LQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQQ:GTYe+D2jFu+iZoUFhAz

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-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1692
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\atjdcdfs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1924
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ajdiazuq.exe" C:\Windows\SysWOW64\atjdcdfs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2552
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create atjdcdfs binPath= "C:\Windows\SysWOW64\atjdcdfs\ajdiazuq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description atjdcdfs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:856
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start atjdcdfs
      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:2820
  • C:\Windows\SysWOW64\atjdcdfs\ajdiazuq.exe
    C:\Windows\SysWOW64\atjdcdfs\ajdiazuq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2880
    • 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:2980

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.2MB

    MD5

    a22c09b22633e76b414ce27ec929a6e2

    SHA1

    6888b3a07fc5eb4be00bf730da58ad60df431e62

    SHA256

    42781bc0e2c15a834d9f23fa2fb1a472cd5680ef304acb9aba4e91c3ffbead1b

    SHA512

    d3b02cd40debdf9cbf8e502b9b440c108cde170fd4a6268f28eecbdaed18ff251f8e3d739089fa81ffd117df6229bb33c26fcecb615c3bf8111393b4922cc19c

  • memory/1692-1-0x0000000000640000-0x0000000000740000-memory.dmp

    Filesize

    1024KB

  • memory/1692-3-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

  • memory/1692-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1692-8-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

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

    Filesize

    84KB

  • memory/2880-17-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

  • memory/2980-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB