Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-01-2025 19:16

General

  • Target

    2025-01-25_fe2a6350634d4ec53d6940cabcdb6c70_mafia.exe

  • Size

    11.7MB

  • MD5

    fe2a6350634d4ec53d6940cabcdb6c70

  • SHA1

    c5ca60481439fdcf3c189173861246fc3df51c2e

  • SHA256

    95a6da773a66bee3c82e02f1823fbf567bda773845b7f8a22fec24574c36d08f

  • SHA512

    7e5415bb6a9025394bd35fdab07cfd0eb7e88815263c1c7b4fe0cea621235444d0c3dc19090d00a8da8fdf1642e84a392b6d1e73efcb4006ced82d6dc361a171

  • SSDEEP

    24576:06WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ/:ZWdLQk

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-25_fe2a6350634d4ec53d6940cabcdb6c70_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-25_fe2a6350634d4ec53d6940cabcdb6c70_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4828
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kelviiz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3840
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uoofqzqs.exe" C:\Windows\SysWOW64\kelviiz\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1984
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kelviiz binPath= "C:\Windows\SysWOW64\kelviiz\uoofqzqs.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_fe2a6350634d4ec53d6940cabcdb6c70_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kelviiz "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1164
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kelviiz
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4060
    • 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:1720
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4828 -s 1028
      2⤵
      • Program crash
      PID:4208
  • C:\Windows\SysWOW64\kelviiz\uoofqzqs.exe
    C:\Windows\SysWOW64\kelviiz\uoofqzqs.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_fe2a6350634d4ec53d6940cabcdb6c70_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4712
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2884
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4712 -s 560
      2⤵
      • Program crash
      PID:5064
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4828 -ip 4828
    1⤵
      PID:592
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4712 -ip 4712
      1⤵
        PID:1920

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        6ac1bc3868243a03211fadad63f67193

        SHA1

        758e9b06d401251b17bec94972ecbe3a72760723

        SHA256

        41db8331698dc22b9b4811382d3065f0b304f2f11436ec64e3fcf588f880ebbb

        SHA512

        3a20a951a7800f538b879542d1620d2132e29d6cd441a02bd14aae9b22a82d8687752b0c48b16785dd086151aa0f79d44d9e82729557a53a981ca356b3073be5

      • memory/2884-14-0x0000000001260000-0x0000000001275000-memory.dmp

        Filesize

        84KB

      • memory/2884-16-0x0000000001260000-0x0000000001275000-memory.dmp

        Filesize

        84KB

      • memory/2884-17-0x0000000001260000-0x0000000001275000-memory.dmp

        Filesize

        84KB

      • memory/4712-11-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4712-13-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4712-12-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4712-19-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/4828-7-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/4828-1-0x00000000005A0000-0x00000000006A0000-memory.dmp

        Filesize

        1024KB