Analysis

  • max time kernel
    149s
  • max time network
    148s
  • 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 08:45

General

  • Target

    2025-01-31_d466384f3c12b6a938536e4d09958985_mafia.exe

  • Size

    12.0MB

  • MD5

    d466384f3c12b6a938536e4d09958985

  • SHA1

    3587acbef84035751f5352a3d7578e6a95aed729

  • SHA256

    a6f313cfcd3964b6f94c68783a1be75d85b28080b7cdc7a930acbe222573ff65

  • SHA512

    e99798157fec46c5a4e00fea225d91c47cb5c422523a2b44a0c7a484de2744c6cd7a9505276a82247c343e4b4f3355ab74c3526648cd1b872b8d86c917d576b9

  • SSDEEP

    3072:vLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:mOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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_d466384f3c12b6a938536e4d09958985_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_d466384f3c12b6a938536e4d09958985_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4796
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rqufrgk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3992
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\nvkobzii.exe" C:\Windows\SysWOW64\rqufrgk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4560
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rqufrgk binPath= "C:\Windows\SysWOW64\rqufrgk\nvkobzii.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_d466384f3c12b6a938536e4d09958985_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1912
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rqufrgk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1652
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rqufrgk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3824
    • 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:2532
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4796 -s 1036
      2⤵
      • Program crash
      PID:1776
  • C:\Windows\SysWOW64\rqufrgk\nvkobzii.exe
    C:\Windows\SysWOW64\rqufrgk\nvkobzii.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_d466384f3c12b6a938536e4d09958985_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4700
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4748
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4700 -s 556
      2⤵
      • Program crash
      PID:4780
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 4796 -ip 4796
    1⤵
      PID:2956
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 520 -p 4700 -ip 4700
      1⤵
        PID:3412

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        4051db399b1be9f00cd4352c77ec6f90

        SHA1

        afae34337798293c08fdac58eab429954a7aaffc

        SHA256

        fced99ad41650a2c2082022ee8d555876c2285d9d6c3560194389e034d9060e5

        SHA512

        f75ff50e4887110e774de10ec13bd51b90224e6ddc33c03d3dfb9e9924ac6f07188afc659e388eaae3837e63c47f06634304143eafc4184e965b5a901145270b

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4748-14-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/4748-16-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

      • memory/4748-17-0x0000000000110000-0x0000000000125000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        312KB

      • memory/4796-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

        Filesize

        1024KB