Analysis

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

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    28-01-2025 10:45

General

  • Target

    2025-01-28_c5c84333e789e6a438348a5486a6d01c_mafia.exe

  • Size

    11.3MB

  • MD5

    c5c84333e789e6a438348a5486a6d01c

  • SHA1

    29f733539b5bf6f1cd2b9f26598e50ac8eb9e922

  • SHA256

    97b12ec9acdaf954e9b4146a812dee8769dad50e1518505098fea65e0d612623

  • SHA512

    413f2af7181bdc2940e05a98f3911aab7d71dc61c8f6199290f552bff7b0d00842065b251528ab6ccc787e275836a9286b022ba1e3ce04c2a79d354c7a4cc020

  • SSDEEP

    24576:FEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZD:Ofot

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-28_c5c84333e789e6a438348a5486a6d01c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_c5c84333e789e6a438348a5486a6d01c_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2852
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\thvzflin\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3056
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\evryposw.exe" C:\Windows\SysWOW64\thvzflin\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2864
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create thvzflin binPath= "C:\Windows\SysWOW64\thvzflin\evryposw.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_c5c84333e789e6a438348a5486a6d01c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2868
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description thvzflin "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2628
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start thvzflin
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2700
    • 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:2672
  • C:\Windows\SysWOW64\thvzflin\evryposw.exe
    C:\Windows\SysWOW64\thvzflin\evryposw.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_c5c84333e789e6a438348a5486a6d01c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2280
    • 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:536

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.3MB

    MD5

    65e6ea116348b45ddd9588df82957824

    SHA1

    3b420ea8f2c048451842b246efd0c246a7103546

    SHA256

    513d268f02f386738d3e5e7da1e210a23d94ece06b78b06ccfa6627575b25fee

    SHA512

    8a02e470d1f8e5049e7e60625b9cd92505ae9ee6dfe6c46a190d9d70eaf71a67cf332f8e8d689ac8eb1365e8ac5f3750f54e9508840ca3636934f2b256401903

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2280-17-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2852-4-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2852-8-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2852-7-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2852-1-0x0000000000570000-0x0000000000670000-memory.dmp

    Filesize

    1024KB