Analysis

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

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    30-01-2025 16:42

General

  • Target

    2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe

  • Size

    10.8MB

  • MD5

    9fba6bf500f826b16e4dd43e6829feec

  • SHA1

    a6b38df45fb123a59ed0783030b33726c4ee74de

  • SHA256

    d0f978d82cbf058a5b7e9a21adfc71163c858079f27a0d3309562fe8079aea1b

  • SHA512

    7d477aceb07682037c2e5c99c96ada856dcfa41efe2271b214e2f93f87ef64ebaf7c05dcc34a7e8c3065541558e5231068c7284674c531c7689d04274ac9b9b5

  • SSDEEP

    24576:E6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQY:pWdLQk

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-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1712
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xhuglsqr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2640
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xswoeprp.exe" C:\Windows\SysWOW64\xhuglsqr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2540
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xhuglsqr binPath= "C:\Windows\SysWOW64\xhuglsqr\xswoeprp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3000
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xhuglsqr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2780
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xhuglsqr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2900
    • 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:2984
  • C:\Windows\SysWOW64\xhuglsqr\xswoeprp.exe
    C:\Windows\SysWOW64\xhuglsqr\xswoeprp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_9fba6bf500f826b16e4dd43e6829feec_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2828
    • 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:2176

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.1MB

    MD5

    54759aa1bd4af6dad690223f62fa1e0d

    SHA1

    487fecb1b51f352f8e7e0c68681df3673ceb517b

    SHA256

    6bf8de0f58311e3f524e4486eb642556fd2f401c03b9ac7785cbd651a3c1941b

    SHA512

    636e26a5f193f00965a95cea8bbc8a99391ed1fa9ae1a2dc6a1766d68a31b54a6a1c31ee5282f3e7fb80fbf12cf51919dd6802846e93f9273b0b5b385a9115c2

  • memory/1712-7-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/1712-1-0x00000000005A0000-0x00000000006A0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2828-16-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB