Analysis

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

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-x64system
  • submitted
    24-01-2025 09:28

General

  • Target

    2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe

  • Size

    12.2MB

  • MD5

    a9343ac4629f6571ded4698ac1b1701c

  • SHA1

    2e82080cb3f51d9ac04f4740c2bc97123588b936

  • SHA256

    d7aff3bd4f728633f95b10819fd19809f9ebb5dba0e989db424a1e1a972d7ee3

  • SHA512

    cc7e1872797d4de49d47c3e0b3d9e59ad56aa68f077b2046452d9f161b2bae5f902b511461daa19243b7c0f7dcdfb985dfb6b4e39263431cb11e61561bac94af

  • SSDEEP

    6144:fLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQI:ETYe+D2jFu+iZoUFhAz

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_a9343ac4629f6571ded4698ac1b1701c_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2436
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kgxdfaij\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1488
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pgomwrym.exe" C:\Windows\SysWOW64\kgxdfaij\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2100
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kgxdfaij binPath= "C:\Windows\SysWOW64\kgxdfaij\pgomwrym.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2304
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kgxdfaij "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kgxdfaij
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2104
    • 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:2708
  • C:\Windows\SysWOW64\kgxdfaij\pgomwrym.exe
    C:\Windows\SysWOW64\kgxdfaij\pgomwrym.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_a9343ac4629f6571ded4698ac1b1701c_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2616
    • 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:2796

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.7MB

    MD5

    2e23d5360217eedbe617f05a033c13f1

    SHA1

    8acdb3162d411a4828280d3893fa06d59b03017e

    SHA256

    8d907c856a70942c026db579f46d3ac49c03d6b307ee091716b1cb7ab5d586e8

    SHA512

    5a3e6a59c9c81989c7b3435a908c5fa1c38535286ee6dd1e95b112d4ec125760b540a416540161d563c5ade25e81d1ee8a68278ffd796b439377196144110bd3

  • memory/2436-7-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2436-1-0x0000000000680000-0x0000000000780000-memory.dmp

    Filesize

    1024KB

  • memory/2616-15-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB