Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    25-01-2025 18:54

General

  • Target

    2025-01-25_b15b8103c063ce7a8849f6cc6d196789_mafia.exe

  • Size

    12.3MB

  • MD5

    b15b8103c063ce7a8849f6cc6d196789

  • SHA1

    9a8519bc5fd5b45e88b354ca47a5405e1b54700c

  • SHA256

    52e2c2485a493bbff724c2b84fff5f827c3a44692fa77ed4fb585d6fca9e6f2b

  • SHA512

    48f579b4844f45ba066b64aa542a40e5abdb0b9ce5ee8c94ac4d5c2942391ca0a021aa6cf6bd3a04da260a6c3a6c3baa2f903043127b72860fb2af634d9d0487

  • SSDEEP

    24576:R6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ3:4WdLQk

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-25_b15b8103c063ce7a8849f6cc6d196789_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-25_b15b8103c063ce7a8849f6cc6d196789_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2840
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lherwkai\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hcgyozbz.exe" C:\Windows\SysWOW64\lherwkai\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2748
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lherwkai binPath= "C:\Windows\SysWOW64\lherwkai\hcgyozbz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_b15b8103c063ce7a8849f6cc6d196789_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3020
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lherwkai "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2644
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lherwkai
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1244
    • 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:476
  • C:\Windows\SysWOW64\lherwkai\hcgyozbz.exe
    C:\Windows\SysWOW64\lherwkai\hcgyozbz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_b15b8103c063ce7a8849f6cc6d196789_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2660
    • 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:2892

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.7MB

    MD5

    f68c898695d5094b13578e3d15eb6eb4

    SHA1

    b1ca853ccb51501f6591317b041731de327f2c1a

    SHA256

    78e9135ecef42c90f68de15c57966bb5a91ab74cbf3996b80682e89547a22955

    SHA512

    80e230e0484a74966023196fb9a5d065f651fe3f84e7a29c460994c3c07b7627e419b5ca2689c95bd0797c096cd55ad0f4330b28b6db7b1a5d0674a048b5c977

  • memory/2660-12-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2840-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2840-3-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2840-1-0x0000000000250000-0x0000000000350000-memory.dmp

    Filesize

    1024KB

  • memory/2840-14-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

  • memory/2840-15-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2892-11-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2892-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2892-8-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2892-16-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB

  • memory/2892-17-0x0000000000090000-0x00000000000A5000-memory.dmp

    Filesize

    84KB