Analysis

  • max time kernel
    148s
  • max time network
    138s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11-01-2025 18:34

General

  • Target

    2025-01-11_eeeca1b4e9362ebcc28e6c9fbb4d5024_mafia.exe

  • Size

    14.3MB

  • MD5

    eeeca1b4e9362ebcc28e6c9fbb4d5024

  • SHA1

    775c4131d4c97428456f30e07978408af1f73c9f

  • SHA256

    fb858d0d599cc3bc777d15f30c9bbc1661dc364da678017179cef81965949780

  • SHA512

    293efe608649c38be1b33145684c79eef16af4f07984ad4ece1a631c9fcc917990f3bc16010110725b474ee7833902b45357ef69e120a314b89600f753bb08b3

  • SSDEEP

    24576:lEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZT:ufot

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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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.

  • Program crash 2 IoCs
  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-11_eeeca1b4e9362ebcc28e6c9fbb4d5024_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-11_eeeca1b4e9362ebcc28e6c9fbb4d5024_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2844
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\nawpsuza\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4172
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ygvzmktt.exe" C:\Windows\SysWOW64\nawpsuza\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3100
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nawpsuza binPath= "C:\Windows\SysWOW64\nawpsuza\ygvzmktt.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-11_eeeca1b4e9362ebcc28e6c9fbb4d5024_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1436
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nawpsuza "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nawpsuza
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1000
    • 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:2576
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2844 -s 808
      2⤵
      • Program crash
      PID:2280
  • C:\Windows\SysWOW64\nawpsuza\ygvzmktt.exe
    C:\Windows\SysWOW64\nawpsuza\ygvzmktt.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-11_eeeca1b4e9362ebcc28e6c9fbb4d5024_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3980
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2972
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3980 -s 512
      2⤵
      • Program crash
      PID:4988
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 2844 -ip 2844
    1⤵
      PID:4908
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 3980 -ip 3980
      1⤵
        PID:5100

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.3MB

        MD5

        6d143c37c341dc54482620167dd5e71b

        SHA1

        28de9bbe08b21f12f417178d6721aeeb8ef8e9e3

        SHA256

        d62a0171775d736ad116a1f40db380b831544db0554f502a2d92891d5cb26cbe

        SHA512

        3c3701cc94c71e57e651d001d99128b3194de41558d8c519f9010f5ec6d6ddac232dac11c646344b5485ead48d7dc32ee9d668ae965ebf7ffba09031a28dae39

      • memory/2844-8-0x0000000000880000-0x0000000000893000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2844-2-0x0000000000880000-0x0000000000893000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2844-1-0x00000000004B0000-0x00000000005B0000-memory.dmp

        Filesize

        1024KB

      • memory/2972-14-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/2972-16-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/2972-17-0x0000000000800000-0x0000000000815000-memory.dmp

        Filesize

        84KB

      • memory/3980-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/3980-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3980-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB