Analysis

  • max time kernel
    143s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    29-01-2025 17:29

General

  • Target

    2025-01-29_63ecc6ae5ead70756bc0cfb4d32a8420_mafia.exe

  • Size

    12.5MB

  • MD5

    63ecc6ae5ead70756bc0cfb4d32a8420

  • SHA1

    8d1f15b231dc76c997f9819a76024570e560b196

  • SHA256

    7690f8c76d9dc0d466502e90e3bdd76a65d686951689cd8206fe4f52c7d8dd15

  • SHA512

    d653d485e465d9e264be720e063d30278957463c04bf46a5876dd1e206fb901afa1ea29c81313757f73452bf4db29dc5d0d605367226b9a0a922472b8b2e5838

  • SSDEEP

    24576:WEfmTNIkv/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-29_63ecc6ae5ead70756bc0cfb4d32a8420_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-29_63ecc6ae5ead70756bc0cfb4d32a8420_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:352
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zrqkakvs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\bsayidky.exe" C:\Windows\SysWOW64\zrqkakvs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2828
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zrqkakvs binPath= "C:\Windows\SysWOW64\zrqkakvs\bsayidky.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-29_63ecc6ae5ead70756bc0cfb4d32a8420_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zrqkakvs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2444
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zrqkakvs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2744
    • 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:2728
  • C:\Windows\SysWOW64\zrqkakvs\bsayidky.exe
    C:\Windows\SysWOW64\zrqkakvs\bsayidky.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-29_63ecc6ae5ead70756bc0cfb4d32a8420_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:860
    • 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:2640

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.8MB

    MD5

    2112e040516a666b6d6c5dc66b6e1538

    SHA1

    b1cba7b5057209df75b7d59827092cd3c7ad8490

    SHA256

    b0e1fd323e9dc2733e58945071b944069dc88a301ad886cc912c95b5440e8f39

    SHA512

    fd20e25a76926e397e9ab9d26ad6add18399f26e07a2fb5b627c14eba3e12b5042447a65c656bfe6b1be1225c92731fd24ea5a414e2a7f6cef01904fe71f2b86

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

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/352-1-0x00000000005B0000-0x00000000006B0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB