Analysis

  • max time kernel
    143s
  • max time network
    124s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

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

General

  • Target

    2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe

  • Size

    13.0MB

  • MD5

    402ef750eeb6f0bf1cf8c0afa7d5e870

  • SHA1

    de5899740d65c56dd7306f309fb31d0b32241cdb

  • SHA256

    8d36e7449053f920033f770121952e5c8843c4d84078ac742d3f2017ae428e9a

  • SHA512

    98acfd5bf20729f554cf295a77c6d041ffd2fe2981c7e1f1c3563b1aa546a38de631dd6611f4d3abf8ecdd60a1d12fc73cab005406301343fcfc52f563359917

  • SSDEEP

    6144:aLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ4:bTYe+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-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2240
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hkgqkmjf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1172
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xwkmaxyq.exe" C:\Windows\SysWOW64\hkgqkmjf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2888
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hkgqkmjf binPath= "C:\Windows\SysWOW64\hkgqkmjf\xwkmaxyq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2992
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hkgqkmjf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2748
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hkgqkmjf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1016
    • 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:2168
  • C:\Windows\SysWOW64\hkgqkmjf\xwkmaxyq.exe
    C:\Windows\SysWOW64\hkgqkmjf\xwkmaxyq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-22_402ef750eeb6f0bf1cf8c0afa7d5e870_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2628
    • 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:2760

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.5MB

    MD5

    681523abad6ac128d520bdebc58aabd0

    SHA1

    deb3defbe8a1dae1f30c81cf35acd42472c9b2d7

    SHA256

    eb026093f54342c1a60f6d5988c3ce61a5d6137fc10e6933866abe4dea9497f1

    SHA512

    5c26ddecd9a51d107655464d6468da17243ca9a6b8b6e27c1032198742aa8e3f507feab0871670d46adb263f56c43975fc60b738d3b5e54b3afa98935521e42c

  • memory/2240-7-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2240-8-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2240-6-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

  • memory/2240-1-0x0000000000270000-0x0000000000370000-memory.dmp

    Filesize

    1024KB

  • memory/2628-17-0x0000000000400000-0x00000000004C1000-memory.dmp

    Filesize

    772KB

  • memory/2760-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2760-16-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2760-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2760-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB