Analysis

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

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    07-02-2025 08:43

General

  • Target

    2025-02-07_821a7fb236826382ac484e47bb591a28_mafia.exe

  • Size

    12.2MB

  • MD5

    821a7fb236826382ac484e47bb591a28

  • SHA1

    029f047b8cbb246c13bfea7b7adf56489d16eecf

  • SHA256

    87605c71407d8a047e4271f26bfc6f0a93dc7fcb71c633a2e5f75741d3d801d2

  • SHA512

    677b7e3dff9eb39514743dc6019f46a2047f9cf825c9ae729b32cd666f2106c9f822fd7974e21c8adf91db6bdd44861237499c56b2450939cd9a21fa8cc3731c

  • SSDEEP

    24576:PEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZK:Mfoto

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_821a7fb236826382ac484e47bb591a28_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_821a7fb236826382ac484e47bb591a28_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3032
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\edrbsywy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2604
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xswoeprp.exe" C:\Windows\SysWOW64\edrbsywy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2212
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create edrbsywy binPath= "C:\Windows\SysWOW64\edrbsywy\xswoeprp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_821a7fb236826382ac484e47bb591a28_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2332
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description edrbsywy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2876
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start edrbsywy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1796
    • 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:2972
  • C:\Windows\SysWOW64\edrbsywy\xswoeprp.exe
    C:\Windows\SysWOW64\edrbsywy\xswoeprp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_821a7fb236826382ac484e47bb591a28_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2832
    • 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:2180

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.7MB

    MD5

    fee4acdd84aba9b73dfba736ced52073

    SHA1

    e6865b42d0c7eab0ca3d4740528196122bee9cff

    SHA256

    394f2311a3540f5c20abda736891029b4680c180ece2eed429bd95da846abaa3

    SHA512

    a5066c1662fb5317269afd712150999173984dfb74687c7373ecfcc3fc65f89241225d0152e9d628a3d6814ba8e548da8443ef38ae028d181fb30e46b317467f

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    312KB

  • memory/3032-1-0x00000000004D0000-0x00000000005D0000-memory.dmp

    Filesize

    1024KB

  • memory/3032-3-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/3032-8-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB