Analysis

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

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

General

  • Target

    2025-01-31_0e117629bea7310213e5299e6d8522f7_mafia.exe

  • Size

    14.5MB

  • MD5

    0e117629bea7310213e5299e6d8522f7

  • SHA1

    3d7d2008bd81f8714c1af2954ac7586e0fb87023

  • SHA256

    30ecd6f613c2259348422d6167f34c01a5374d978d512b84f2a64e94d1b10d8e

  • SHA512

    b136cba73db8d878ee01528117519371d55c284e592d025f6b3e05b8589fa2e5ba9568d8711fc28182c4575b23629470eeee4143b9edd385dc77f93a13f53a69

  • SSDEEP

    24576:bpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttf:too

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-31_0e117629bea7310213e5299e6d8522f7_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_0e117629bea7310213e5299e6d8522f7_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2376
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cnmkewwy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2428
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rtounak.exe" C:\Windows\SysWOW64\cnmkewwy\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2784
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cnmkewwy binPath= "C:\Windows\SysWOW64\cnmkewwy\rtounak.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_0e117629bea7310213e5299e6d8522f7_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2556
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cnmkewwy "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cnmkewwy
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2192
    • 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:2772
  • C:\Windows\SysWOW64\cnmkewwy\rtounak.exe
    C:\Windows\SysWOW64\cnmkewwy\rtounak.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_0e117629bea7310213e5299e6d8522f7_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2780
    • 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:2896

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.7MB

    MD5

    b3207836fb3a0d6827bddbbe3167d18e

    SHA1

    28455a9f6ccde9091254386dbd230d3a0e2787de

    SHA256

    532039e0664f53ebfb51e425671a6b56679d7b6d44eec28b646db332ac341673

    SHA512

    68179b9c68c27b9e678472dadcee07c6f8cba05f6ca97a45947e3a241d6085736bd40ebf45e7bfe74792aadb1a452c8518e8dc3e089c5e726a3c948b2984eea8

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2376-1-0x00000000004E0000-0x00000000005E0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    312KB

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

    Filesize

    76KB

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

    Filesize

    76KB

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

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2896-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB