Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-02-2025 19:48

General

  • Target

    2025-02-02_a2984597331a8be73f5238c6e4072277_mafia.exe

  • Size

    14.4MB

  • MD5

    a2984597331a8be73f5238c6e4072277

  • SHA1

    8b2c2040bbf391c2eace6251dc7f41c3fcc147de

  • SHA256

    100ee4981f26fb5d937441fbc068f06a17ebb68fe2deab706772d847079ff834

  • SHA512

    4e838fafd0ff617ddb7c9b7d8135133576b04b31734da4a24864cefc65b35ceac546fc766615eed87fe5f05630feb9b816272506d16bac71eccccf8da726e16b

  • SSDEEP

    24576:wEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZl:tfot

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-02-02_a2984597331a8be73f5238c6e4072277_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_a2984597331a8be73f5238c6e4072277_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:908
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wnctosut\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1416
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wjvslydn.exe" C:\Windows\SysWOW64\wnctosut\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5052
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wnctosut binPath= "C:\Windows\SysWOW64\wnctosut\wjvslydn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_a2984597331a8be73f5238c6e4072277_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2536
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wnctosut "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1056
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wnctosut
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5096
    • 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:540
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 908 -s 1044
      2⤵
      • Program crash
      PID:3848
  • C:\Windows\SysWOW64\wnctosut\wjvslydn.exe
    C:\Windows\SysWOW64\wnctosut\wjvslydn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_a2984597331a8be73f5238c6e4072277_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1924
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2836
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1924 -s 512
      2⤵
      • Program crash
      PID:2816
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 908 -ip 908
    1⤵
      PID:4180
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 1924 -ip 1924
      1⤵
        PID:2272

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.5MB

        MD5

        7ce7abcccd964aa33983c069f6d16bba

        SHA1

        9e753b8c8706934a7d6e78a983663b3efd3ba105

        SHA256

        6cf3fec2fb78b3a07068de501879b840eeeea632b5ec7502a702dbe252ee9694

        SHA512

        916b558809f17c3f74f4306b6471c45fcc39243cdf9d1b6b546139b159459bd9ec75dea2eae1f2697717ec8ba9c17172da41b2d49c3eba38ad42d859bb5ffc59

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/908-1-0x0000000000820000-0x0000000000920000-memory.dmp

        Filesize

        1024KB

      • memory/908-8-0x0000000000770000-0x0000000000783000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/908-2-0x0000000000770000-0x0000000000783000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/1924-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2836-14-0x0000000000E30000-0x0000000000E45000-memory.dmp

        Filesize

        84KB

      • memory/2836-16-0x0000000000E30000-0x0000000000E45000-memory.dmp

        Filesize

        84KB

      • memory/2836-17-0x0000000000E30000-0x0000000000E45000-memory.dmp

        Filesize

        84KB