Analysis

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

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

General

  • Target

    2025-02-01_acf0ce65b64c5ab5852b6958b3db703a_mafia.exe

  • Size

    12.4MB

  • MD5

    acf0ce65b64c5ab5852b6958b3db703a

  • SHA1

    73c23316ae3703ca16ec98f37cd01dc580ab8294

  • SHA256

    3497d7067998701c2bea7bf39fc56497adfe1a4e8a230b5be44692d86c9d127f

  • SHA512

    fbbf0d5e1619b2f00e129faaebb0e24962804c82f81bd998d329259a148b8779dba8ea8904e942b9ae253441b9fa0d07831985914bf838456476c00163900c8a

  • SSDEEP

    24576:ipomTTN9ttttttttttttttttttttttttttttttttttttttttttttttttttttttt1:Goo

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-02-01_acf0ce65b64c5ab5852b6958b3db703a_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_acf0ce65b64c5ab5852b6958b3db703a_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1244
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\weduhger\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4848
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tkgnedhl.exe" C:\Windows\SysWOW64\weduhger\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1752
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create weduhger binPath= "C:\Windows\SysWOW64\weduhger\tkgnedhl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_acf0ce65b64c5ab5852b6958b3db703a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4148
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description weduhger "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3016
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start weduhger
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3984
    • 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:2300
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1244 -s 1032
      2⤵
      • Program crash
      PID:5056
  • C:\Windows\SysWOW64\weduhger\tkgnedhl.exe
    C:\Windows\SysWOW64\weduhger\tkgnedhl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_acf0ce65b64c5ab5852b6958b3db703a_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2500
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1828
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2500 -s 516
      2⤵
      • Program crash
      PID:5004
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 1244 -ip 1244
    1⤵
      PID:1896
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2500 -ip 2500
      1⤵
        PID:4080

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.6MB

        MD5

        6e59ddf37ef9c74f4be8476ab96432d1

        SHA1

        7fa1c64e0e2b405cafb77e676efe4a1895623228

        SHA256

        6a9cd7c08d735710bc1d8c012aefddf1175e84ee1be1118b4c2c314f7efd48c9

        SHA512

        659598c4ce7ef5cbd56f8fc244a6d4130240bfdd0b65cc00a45b6fb4c9f15af9eb084fb78097549aa599a45dd34fc4b0b8600430a2eb967df770089b89826a87

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1244-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/1244-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

      • memory/1244-1-0x0000000000710000-0x0000000000810000-memory.dmp

        Filesize

        1024KB

      • memory/1828-14-0x0000000000340000-0x0000000000355000-memory.dmp

        Filesize

        84KB

      • memory/1828-16-0x0000000000340000-0x0000000000355000-memory.dmp

        Filesize

        84KB

      • memory/1828-17-0x0000000000340000-0x0000000000355000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB