Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-01-2025 20:02

General

  • Target

    2025-01-30_5c21d1621ae8aed4b888874b6440a2b6_mafia.exe

  • Size

    10.9MB

  • MD5

    5c21d1621ae8aed4b888874b6440a2b6

  • SHA1

    6aee183901b7c8e9fcdfd96111d8e738d90d8caa

  • SHA256

    db4582f33b218c1bfd904c331e03acd29217b75397b608c2e45352dfa9111613

  • SHA512

    ca39fef8c7376f085ccf808fdb4b20d0e171ac7e62cc1e2150804114cdc5c6abeab0926a43c98142d993a59aaf26ae6dde40873aba17a7a72bb76152e8733a9c

  • SSDEEP

    24576:TpomTTN9ttttttttttttttttttttttttttttttttttttttttttttttttttttttt7:Voop

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-30_5c21d1621ae8aed4b888874b6440a2b6_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_5c21d1621ae8aed4b888874b6440a2b6_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:928
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kufdvedc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3548
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oxrwonie.exe" C:\Windows\SysWOW64\kufdvedc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2484
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kufdvedc binPath= "C:\Windows\SysWOW64\kufdvedc\oxrwonie.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_5c21d1621ae8aed4b888874b6440a2b6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2292
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kufdvedc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1920
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kufdvedc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4348
    • 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:2348
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 928 -s 892
      2⤵
      • Program crash
      PID:4968
  • C:\Windows\SysWOW64\kufdvedc\oxrwonie.exe
    C:\Windows\SysWOW64\kufdvedc\oxrwonie.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_5c21d1621ae8aed4b888874b6440a2b6_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4056
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4812
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4056 -s 512
      2⤵
      • Program crash
      PID:1580
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 928 -ip 928
    1⤵
      PID:4464
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4056 -ip 4056
      1⤵
        PID:780

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.4MB

        MD5

        e43d55603eb6a5f4dba8f9c684013cc0

        SHA1

        56733a5d62f1994c0f041d64f894f772ccb0144e

        SHA256

        213d052a6249e526279f8a5caa6d84f157d495b72a35fb21c5ea6f5ceb7bc8e4

        SHA512

        e6264897c07d8ac929d5e2a130c96240abd9b45f5064810c163198549c37dd8dfa6c303e670a0a575ff9b4fd0795c581954d1e4eef84f486c8574239227491b3

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/928-1-0x0000000000500000-0x0000000000600000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4812-14-0x0000000000540000-0x0000000000555000-memory.dmp

        Filesize

        84KB

      • memory/4812-16-0x0000000000540000-0x0000000000555000-memory.dmp

        Filesize

        84KB

      • memory/4812-17-0x0000000000540000-0x0000000000555000-memory.dmp

        Filesize

        84KB