Analysis

  • max time kernel
    143s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

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

General

  • Target

    2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe

  • Size

    13.6MB

  • MD5

    fe68e1702fa55d9c6125bbeb3026a5b8

  • SHA1

    3a1cac180b422f57c7a1576baa3f16f09f6c7b7e

  • SHA256

    cc9bf7bab2fa10c5b0cdf790586f29f15e3112bd6aa289a2175a1e5aca190993

  • SHA512

    03dd144e41475bc9c51122571aa9c78304ea8d4b11c1b28d2028813c45392862d8608ac6aa2c21ecd17e4350730f462fc3fb25a4cb2516744e3a166ebf0e33a4

  • SSDEEP

    24576:REfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZb:qfot

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-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3020
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pyipdgen\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2436
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\yyzkfgem.exe" C:\Windows\SysWOW64\pyipdgen\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2756
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pyipdgen binPath= "C:\Windows\SysWOW64\pyipdgen\yyzkfgem.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2836
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pyipdgen "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pyipdgen
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2676
    • 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:2828
  • C:\Windows\SysWOW64\pyipdgen\yyzkfgem.exe
    C:\Windows\SysWOW64\pyipdgen\yyzkfgem.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_fe68e1702fa55d9c6125bbeb3026a5b8_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2596
    • 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:2780

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.4MB

    MD5

    f4cb1853ccb6068d15303ca0ac73a679

    SHA1

    aa9df21728a8c774617afe3b6edbf66c5da3f872

    SHA256

    99f9e31d0472cda2a7fe3c361bac3ca67469cc6cb50cf99f110f0389f8f234f2

    SHA512

    19c80ced9467fc593cf4f1c0f89e5f3975bfe7c1a7bf981c043b1f4c325116abdc96e454a21c83c9cfde39166f538eb380c3338b885296a50c77965007607a29

  • memory/2596-17-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2780-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2780-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2780-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/3020-8-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    312KB

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

    Filesize

    76KB

  • memory/3020-1-0x0000000000890000-0x0000000000990000-memory.dmp

    Filesize

    1024KB