Analysis

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

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

General

  • Target

    2025-01-18_f3d769498f02e8f68fb85444b4893068_mafia.exe

  • Size

    10.2MB

  • MD5

    f3d769498f02e8f68fb85444b4893068

  • SHA1

    39bc846e09c574a21dc5809a3a78a6232f1ef96d

  • SHA256

    d17c61ddf9e340d1c5f213aa1fa64950b786036e143c2d098020c16a49d5d12f

  • SHA512

    43fe0ec173e671bdf992f56775b4c39988a26c76dd7f545f87b4567212437a1cbdf306800bb585626dd319c7bc6ef38e3e7a900480796f0b95284c3031a0eb9f

  • SSDEEP

    24576:xEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZx:Kfot

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-18_f3d769498f02e8f68fb85444b4893068_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-18_f3d769498f02e8f68fb85444b4893068_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3984
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ubpdzops\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fsebuhmw.exe" C:\Windows\SysWOW64\ubpdzops\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4872
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ubpdzops binPath= "C:\Windows\SysWOW64\ubpdzops\fsebuhmw.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-18_f3d769498f02e8f68fb85444b4893068_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4280
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ubpdzops "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2552
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ubpdzops
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1288
    • 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:3836
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3984 -s 1036
      2⤵
      • Program crash
      PID:2716
  • C:\Windows\SysWOW64\ubpdzops\fsebuhmw.exe
    C:\Windows\SysWOW64\ubpdzops\fsebuhmw.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-18_f3d769498f02e8f68fb85444b4893068_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:224
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4584
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 224 -s 516
      2⤵
      • Program crash
      PID:1660
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3984 -ip 3984
    1⤵
      PID:2440
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 224 -ip 224
      1⤵
        PID:3044

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.7MB

        MD5

        3bc1c94b9caf87fa2015479057836ce5

        SHA1

        bb2846c7c6a0e6778947fd578ff55cb18399e35c

        SHA256

        6d529d893db87047eef05b019c098d255ff1e3ff69d3797d98824ab13fe11289

        SHA512

        587ce47308499988a752815933beee1dea0917ab534deee83898a84c351262b909d85652772d4df8c2bf40eb94f889596ab611963c3298ae974bd3592d2d2a12

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3984-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3984-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/3984-1-0x0000000000550000-0x0000000000650000-memory.dmp

        Filesize

        1024KB

      • memory/4584-14-0x0000000000F50000-0x0000000000F65000-memory.dmp

        Filesize

        84KB

      • memory/4584-16-0x0000000000F50000-0x0000000000F65000-memory.dmp

        Filesize

        84KB

      • memory/4584-19-0x0000000000F50000-0x0000000000F65000-memory.dmp

        Filesize

        84KB