Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    24-01-2025 18:50

General

  • Target

    2025-01-24_43a80b8b886a686d81d1d75ae7a660c0_mafia.exe

  • Size

    12.2MB

  • MD5

    43a80b8b886a686d81d1d75ae7a660c0

  • SHA1

    2599837bcc0f0c22909ca28c5bf04da844b48433

  • SHA256

    0652a5f8a2fffb7fd3ce53a5895c5a550b2d755825e6a70369aee019cedb33c3

  • SHA512

    8d4ed21b7c40fe3df69de4f45ae94578f0fc0e6648337d2be0c1aaeac84f3181c895f25fa420ae98e280d6a118fa9d0825923fb72c063180467dbfd5e571535e

  • SSDEEP

    24576:sEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZD:pfot

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-24_43a80b8b886a686d81d1d75ae7a660c0_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-24_43a80b8b886a686d81d1d75ae7a660c0_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2316
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xojnykvp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3004
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\clfkcbws.exe" C:\Windows\SysWOW64\xojnykvp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2104
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xojnykvp binPath= "C:\Windows\SysWOW64\xojnykvp\clfkcbws.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_43a80b8b886a686d81d1d75ae7a660c0_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xojnykvp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xojnykvp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2704
    • 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:2888
  • C:\Windows\SysWOW64\xojnykvp\clfkcbws.exe
    C:\Windows\SysWOW64\xojnykvp\clfkcbws.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_43a80b8b886a686d81d1d75ae7a660c0_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2892
    • 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:2772

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.8MB

    MD5

    f9bb03eb55595fa59b764ba785e26bd7

    SHA1

    42457b052dc5470a99c4e5e51c69b4bd78648129

    SHA256

    6b05d7e9814e6b2bd812b5ef1b323a1fbc64db76d379043d21d4c763b32667db

    SHA512

    504d3f0b49cf8f0da9a2f8db7c55dc2f5920e8340347185f08daf14bc823d95640bb7c6314eb685c9c307f08dd9c6c8b5895bfaeb457526a925b20418f05fe0d

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2316-1-0x0000000000890000-0x0000000000990000-memory.dmp

    Filesize

    1024KB

  • memory/2316-14-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2772-9-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2892-13-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB