Analysis

  • max time kernel
    144s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

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

General

  • Target

    2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe

  • Size

    14.5MB

  • MD5

    21bab2b2396f9666734d4fa8ecb7c391

  • SHA1

    cc0110f22a0e113277447eeb0977b1fe0f092b42

  • SHA256

    113204d499543435f6256751082b03e43cbfa3e5aaf4ac2ae72791dc1d5b1c4e

  • SHA512

    33b705f9d6465f2a42c7f24976e05142e6e6b8295056a20d3ccc96fd711a6546d14a9c7ca0f1e9d43472002913b498045716db8a76116e5c70adc151803556cf

  • SSDEEP

    24576:i6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQM:rWdLQkW

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_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2972
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\enpehioa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1972
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ugfteowq.exe" C:\Windows\SysWOW64\enpehioa\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1932
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create enpehioa binPath= "C:\Windows\SysWOW64\enpehioa\ugfteowq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2076
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description enpehioa "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2336
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start enpehioa
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3024
    • 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:2696
  • C:\Windows\SysWOW64\enpehioa\ugfteowq.exe
    C:\Windows\SysWOW64\enpehioa\ugfteowq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_21bab2b2396f9666734d4fa8ecb7c391_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2692
    • 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:2760

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.6MB

    MD5

    4ff8e5e331d7c88134ebea13bf6ed923

    SHA1

    ca3038609f72e3f441ede720720753ee6332b872

    SHA256

    5e2d97837390318ce90b8eedb5c4deadd393338dfa92523cee13dd65a11ecffe

    SHA512

    01735184c64fa50be2eca21aa41c91e1465e8369d68f3a26f0e2ec8532b0a3dfb45c6417eca76ddbda5215f04fd56ca12071811fe3dd799e9a9d606576a7c0dd

  • memory/2692-13-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2972-1-0x0000000000510000-0x0000000000610000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2972-14-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB