Analysis

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

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

General

  • Target

    2025-01-19_0d5531100e7d9824de6e5aecffbe9341_mafia.exe

  • Size

    11.0MB

  • MD5

    0d5531100e7d9824de6e5aecffbe9341

  • SHA1

    5ced127d1e9ae254d058712c395cf8bda7f27ab7

  • SHA256

    f9fcec7285c18f2bf701fc31f799ea3a28bbb84a51290d03ec010dc3559f2f10

  • SHA512

    f0cb42ec59009bba4ef7801b46609ed4d5e6772fe99823f4046f9a52bd27eaeb22f0866d4538ef4f7be755e8b54862c6f3e2702d21c1186dbb2af3a1a7a35b32

  • SSDEEP

    6144:WLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQF:HTYe+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-19_0d5531100e7d9824de6e5aecffbe9341_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-19_0d5531100e7d9824de6e5aecffbe9341_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:604
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bhqxqeix\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1668
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ygvzmktt.exe" C:\Windows\SysWOW64\bhqxqeix\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bhqxqeix binPath= "C:\Windows\SysWOW64\bhqxqeix\ygvzmktt.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-19_0d5531100e7d9824de6e5aecffbe9341_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2164
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bhqxqeix "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2712
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bhqxqeix
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2820
    • 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:2692
  • C:\Windows\SysWOW64\bhqxqeix\ygvzmktt.exe
    C:\Windows\SysWOW64\bhqxqeix\ygvzmktt.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-19_0d5531100e7d9824de6e5aecffbe9341_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2720
    • 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:2580

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.5MB

    MD5

    681523abad6ac128d520bdebc58aabd0

    SHA1

    deb3defbe8a1dae1f30c81cf35acd42472c9b2d7

    SHA256

    eb026093f54342c1a60f6d5988c3ce61a5d6137fc10e6933866abe4dea9497f1

    SHA512

    5c26ddecd9a51d107655464d6468da17243ca9a6b8b6e27c1032198742aa8e3f507feab0871670d46adb263f56c43975fc60b738d3b5e54b3afa98935521e42c

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    772KB

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

    Filesize

    84KB

  • memory/604-1-0x00000000005D0000-0x00000000006D0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    772KB