Analysis

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

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    30-01-2025 22:25

General

  • Target

    2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe

  • Size

    12.6MB

  • MD5

    173d0dae116ce3af630bb816a5016ce6

  • SHA1

    e922787a276ddb7dcd6a9920f37c69e62c326d69

  • SHA256

    559392ab0d8b5822bfb22af22fa624a4d13ed5dbe2dfb41479b88175c36e115b

  • SHA512

    3c7ac21a257f8b44582b5bf8c337a20cd7053331679ccab22fa1182a516213825ef6bdf182e5253f67c8f61b783aa614045109f5eaff4ace42a16a1149a2c67f

  • SSDEEP

    24576:eEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ5:3fotz

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-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2256
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pftiohfe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2808
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hqkphgbx.exe" C:\Windows\SysWOW64\pftiohfe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pftiohfe binPath= "C:\Windows\SysWOW64\pftiohfe\hqkphgbx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pftiohfe "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1680
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pftiohfe
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2880
    • 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:2640
  • C:\Windows\SysWOW64\pftiohfe\hqkphgbx.exe
    C:\Windows\SysWOW64\pftiohfe\hqkphgbx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2608
    • 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:1656

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.4MB

    MD5

    b05fb6a8b2d40d7437c6265ce6f89d72

    SHA1

    2223109395080261ddc53a4482458dfaf8fe9f73

    SHA256

    8aa877bf5242a8facc04f988f780b9fb24a90e48b71c0764fad6092b370e9bcb

    SHA512

    4b321360f483a65f9377607586e9ba67c3d5debb12a278816e7bd5dd5622a53d325f6fd5f2a2f542b7aa964caced38cfe134707c80ba125e00a475a5b6abff8b

  • memory/1656-11-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/1656-8-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/1656-17-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

  • memory/1656-18-0x0000000000100000-0x0000000000115000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2256-1-0x00000000005F0000-0x00000000006F0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    312KB