Analysis

  • max time kernel
    141s
  • max time network
    131s
  • 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:53

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:4316
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hximnwbc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2888
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fdmnwshd.exe" C:\Windows\SysWOW64\hximnwbc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4616
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hximnwbc binPath= "C:\Windows\SysWOW64\hximnwbc\fdmnwshd.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:4552
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hximnwbc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:996
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hximnwbc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:820
    • 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:2336
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4316 -s 1040
      2⤵
      • Program crash
      PID:3516
  • C:\Windows\SysWOW64\hximnwbc\fdmnwshd.exe
    C:\Windows\SysWOW64\hximnwbc\fdmnwshd.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:2128
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1480
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2128 -s 512
      2⤵
      • Program crash
      PID:2672
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4316 -ip 4316
    1⤵
      PID:1820
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 540 -p 2128 -ip 2128
      1⤵
        PID:324

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.3MB

        MD5

        9fdfe9888a658a5c32023f56eb4a1daf

        SHA1

        c35594f8fa42629e33c74c5a7a52ea5224d98ffc

        SHA256

        2c1daf4538b0fce4b51d1110d91ad7f24f900fe91d93f5d166c9e00ca4236faf

        SHA512

        c63fd406f45d1b5d9b9caeecc17b0877eba1f5450327c207a526de7204818fa07498bee684633bfe95ddb13cddde62e8376d79915dfcc5abc73a188066748249

      • memory/1480-14-0x0000000000B00000-0x0000000000B15000-memory.dmp

        Filesize

        84KB

      • memory/1480-17-0x0000000000B00000-0x0000000000B15000-memory.dmp

        Filesize

        84KB

      • memory/1480-16-0x0000000000B00000-0x0000000000B15000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4316-8-0x0000000000530000-0x0000000000543000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4316-2-0x0000000000530000-0x0000000000543000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        1024KB