Analysis

  • max time kernel
    144s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    31-01-2025 19:55

General

  • Target

    2025-01-31_4b0e330b5c6583fedcc935a0186d4f5f_mafia.exe

  • Size

    13.7MB

  • MD5

    4b0e330b5c6583fedcc935a0186d4f5f

  • SHA1

    62d45c7e61a636c6ceee3a3538179ca19d519400

  • SHA256

    af7459c0ee91c6b97f86e2157c3161d114fee74be37e562f4ecdacd1a53cb275

  • SHA512

    8520a316fad2d39b720c4e274900d688e694e4c4d506747c5cc32bf2666464fb68bc5663d7c7dcbc538145163bdb78600884e327ed2d7b54d8b0d68d80c90ce3

  • SSDEEP

    24576:IpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttP:koo

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-31_4b0e330b5c6583fedcc935a0186d4f5f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_4b0e330b5c6583fedcc935a0186d4f5f_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1700
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gptpwzfc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2408
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dcqsgdew.exe" C:\Windows\SysWOW64\gptpwzfc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gptpwzfc binPath= "C:\Windows\SysWOW64\gptpwzfc\dcqsgdew.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_4b0e330b5c6583fedcc935a0186d4f5f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2752
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gptpwzfc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gptpwzfc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2840
    • 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:2252
  • C:\Windows\SysWOW64\gptpwzfc\dcqsgdew.exe
    C:\Windows\SysWOW64\gptpwzfc\dcqsgdew.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_4b0e330b5c6583fedcc935a0186d4f5f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2812
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2744

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.9MB

    MD5

    ddc97be4f0a9348a8665f9938ea0365a

    SHA1

    4554cfc131d3f8485f81a08a3237fbc11fa8f9a9

    SHA256

    999cb7e3135e864c0b8de04b60bb78ff8d945971ea3e2f303967fe8a826ab1ad

    SHA512

    25c88874c510754ea1890c5403a2ce63ad710f30af013ffa935b3deda98a45160e972966339e990619dbd955fcd597375586ded6164791c82276d003aa4bf2f3

  • memory/1700-15-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1700-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/1700-16-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1700-1-0x0000000000230000-0x0000000000330000-memory.dmp

    Filesize

    1024KB

  • memory/1700-14-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2744-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2744-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2744-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2744-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2744-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    312KB