Analysis

  • max time kernel
    148s
  • 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
    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
  • 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-31_0e117629bea7310213e5299e6d8522f7_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_0e117629bea7310213e5299e6d8522f7_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xlydbdsq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oopavwuc.exe" C:\Windows\SysWOW64\xlydbdsq\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xlydbdsq binPath= "C:\Windows\SysWOW64\xlydbdsq\oopavwuc.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:3608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xlydbdsq "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5040
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xlydbdsq
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3076
    • 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:2968
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3764 -s 1036
      2⤵
      • Program crash
      PID:3412
  • C:\Windows\SysWOW64\xlydbdsq\oopavwuc.exe
    C:\Windows\SysWOW64\xlydbdsq\oopavwuc.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:920
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1048
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 920 -s 508
      2⤵
      • Program crash
      PID:4524
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 3764 -ip 3764
    1⤵
      PID:1460
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 920 -ip 920
      1⤵
        PID:1532

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.9MB

        MD5

        13fff02eb3a8633d31fac9a1dfdfb04d

        SHA1

        5c773d1c40f0dcceb5a844424a7c5f0c1a1122f4

        SHA256

        ce55adb8682954027a33b4aa2b0785bff3c439d93fdd0c170875d8c641a0cc3d

        SHA512

        44863236c43ae881b3d7f2ef34016e724e6b820653a391b90cf4669ed9dec2faa4e47bec7f91c84f7d6d000c1bfeabc61b20433b4482fb3f75621b7a4e7e0d3e

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/1048-14-0x0000000000880000-0x0000000000895000-memory.dmp

        Filesize

        84KB

      • memory/1048-16-0x0000000000880000-0x0000000000895000-memory.dmp

        Filesize

        84KB

      • memory/1048-18-0x0000000000880000-0x0000000000895000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3764-2-0x0000000000520000-0x0000000000533000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3764-8-0x0000000000520000-0x0000000000533000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/3764-1-0x0000000000630000-0x0000000000730000-memory.dmp

        Filesize

        1024KB