Analysis

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

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

General

  • Target

    2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe

  • Size

    14.5MB

  • MD5

    de0805035b3a9aa55f09883322888394

  • SHA1

    392914c76884aaf03d6c27766cec5f0ab12d6877

  • SHA256

    2617e0696091241eff473df91d50b96033d6b0b2af79e47e50503b42ea53f7c0

  • SHA512

    332d26c390db347f4f0ce5bfdc667dc7c080a25e0aa962ae2198f44934e45d8e7ea76b9c2d857f45be4b0dc1a281f9c5ace4177c59bf5f8aa040109c676f3ff8

  • SSDEEP

    6144:bLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQY:wTYe+D2jFu+iZoUFhAz

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_de0805035b3a9aa55f09883322888394_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1712
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\asmjbtiw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1796
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rzosfdmm.exe" C:\Windows\SysWOW64\asmjbtiw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2596
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create asmjbtiw binPath= "C:\Windows\SysWOW64\asmjbtiw\rzosfdmm.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2464
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description asmjbtiw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2884
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start asmjbtiw
      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:3036
  • C:\Windows\SysWOW64\asmjbtiw\rzosfdmm.exe
    C:\Windows\SysWOW64\asmjbtiw\rzosfdmm.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_de0805035b3a9aa55f09883322888394_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2868
    • 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:2836

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.4MB

    MD5

    2c667a2b6a7893e1131261a262e1b603

    SHA1

    189e8a7641c624ae184e0c7ff9585f4f4e386129

    SHA256

    a1d862c99b822fda77496561335cb7860532b6d28916289fe682d45a12e8a247

    SHA512

    09450bef5a1a89e64fd0d5cbdb120dbb77368d7ac32e67ad2ae9ba483e4053f124d023704962af0fb58f983b56b89f9ebca6960f98395d93b47985daf2d8c4f0

  • memory/1712-7-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/1712-1-0x0000000000540000-0x0000000000640000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2868-17-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB