Analysis

  • max time kernel
    147s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    01-02-2025 11:33

General

  • Target

    2025-02-01_c08ee0f72d36662052d851b668fd2a14_mafia.exe

  • Size

    12.3MB

  • MD5

    c08ee0f72d36662052d851b668fd2a14

  • SHA1

    77f6c9794926b8cad6b2347007094a22faedc9b1

  • SHA256

    7c40fac3721a2914f2a4530d1f1a1502b1a938ab4460b81114a4ffae24a2bc6b

  • SHA512

    a5e1193bda4216e99639b847a3cf19712f839e819f0f79e92c918a841f24db1a2b6903f9bdd466f296f28359f18f8caf30e71f3f9d70f7d2d30fadb731185c3c

  • SSDEEP

    24576:R6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ1:4WdLQkf

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-01_c08ee0f72d36662052d851b668fd2a14_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_c08ee0f72d36662052d851b668fd2a14_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2084
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qvrehgqf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2088
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\eefqlmks.exe" C:\Windows\SysWOW64\qvrehgqf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2412
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qvrehgqf binPath= "C:\Windows\SysWOW64\qvrehgqf\eefqlmks.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_c08ee0f72d36662052d851b668fd2a14_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:344
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qvrehgqf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2488
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qvrehgqf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2800
    • 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:3008
  • C:\Windows\SysWOW64\qvrehgqf\eefqlmks.exe
    C:\Windows\SysWOW64\qvrehgqf\eefqlmks.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_c08ee0f72d36662052d851b668fd2a14_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2856
    • 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:2568

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.8MB

    MD5

    0735a2105076fcf1371de5da4e37179d

    SHA1

    71272eea98a3eed3695e45d16383891e60c19d4c

    SHA256

    6d56bf715762f50168256a6f5a2428fa90053279f9c89afb6965d234d1731f16

    SHA512

    75bcb80de1e532210325db8be849cd1b0144e680ff44ad8ddfcd73f7a939a94a9575c4c7c39c55b2642cffc5dcbaeea7d04705caf803a81cb999774515ddb6ce

  • memory/2084-15-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2084-1-0x00000000005C0000-0x00000000006C0000-memory.dmp

    Filesize

    1024KB

  • memory/2084-14-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    316KB

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

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2568-12-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    316KB