Analysis

  • max time kernel
    146s
  • max time network
    126s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    15-01-2025 01:14

General

  • Target

    2025-01-15_bcf405aa2a91aae311e9a0d51a2014ac_mafia.exe

  • Size

    10.9MB

  • MD5

    bcf405aa2a91aae311e9a0d51a2014ac

  • SHA1

    bb5db982955a4a866d638c2787a2f54e50a9c59e

  • SHA256

    c51d1bc621dc0db87e6aaaf6b6a51cd1a941ed42b932031d7fad7c0ceea5f8d9

  • SHA512

    39a17d671c980468789c7b87e242f580e593adc1e380bd328338f00ac43178ba58c54eb3b192019a0d840ed83440aa787a621a90218613f159fe4e2204356c81

  • SSDEEP

    49152:dLFuiE888888888888888888888888888888888888888888888888888888888E:dLM

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-15_bcf405aa2a91aae311e9a0d51a2014ac_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-15_bcf405aa2a91aae311e9a0d51a2014ac_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2484
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zkwkyifw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2892
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\saptgenn.exe" C:\Windows\SysWOW64\zkwkyifw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zkwkyifw binPath= "C:\Windows\SysWOW64\zkwkyifw\saptgenn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-15_bcf405aa2a91aae311e9a0d51a2014ac_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2736
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zkwkyifw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2932
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zkwkyifw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2784
    • 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:2632
  • C:\Windows\SysWOW64\zkwkyifw\saptgenn.exe
    C:\Windows\SysWOW64\zkwkyifw\saptgenn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-15_bcf405aa2a91aae311e9a0d51a2014ac_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2416
    • 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:2664

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.4MB

    MD5

    f8184a892685c9bd8121cd6370723790

    SHA1

    e2b443fcffcc69ff304dabdd37f6a0cc22c59799

    SHA256

    9bacef5e8fffca6deb95e7666a27f764b47aae1c32562ebb2d498011091df4aa

    SHA512

    6ced6c1746665bc5aae6195f4b2b60d0e13d12917d4f7f371873b88bec90205e9cb68c18b82143c9c3bcb288458e0c9549fb6bd58efcfec345e36a04ec3199cb

  • memory/2416-18-0x0000000000400000-0x0000000002DBF000-memory.dmp

    Filesize

    41.7MB

  • memory/2484-10-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2484-9-0x0000000002ED0000-0x0000000002FD0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

  • memory/2484-1-0x0000000002ED0000-0x0000000002FD0000-memory.dmp

    Filesize

    1024KB

  • memory/2484-7-0x0000000000400000-0x0000000002DBF000-memory.dmp

    Filesize

    41.7MB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2664-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2664-14-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2664-12-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2664-19-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB