Analysis

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

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    10-01-2025 15:50

General

  • Target

    2025-01-10_792e3cfa2dffd5d810b91ed078215e83_mafia.exe

  • Size

    15.0MB

  • MD5

    792e3cfa2dffd5d810b91ed078215e83

  • SHA1

    525ce22182a5762c53562774afddeb73d6624548

  • SHA256

    74bd7dc9f31e2ed15b4a5f6b855c60bfb7e9edfa61837a49a3e12ac50a6cee93

  • SHA512

    485154fb67322713eaabeee05db0f6d2fe9a42ac1be3a896c0768c0e6d1d645db9f386901865a507938999b4567d51806ecca3cf627c2187552ccbaa98a29ac4

  • SSDEEP

    6144:0VXdWonWCgHBEJE968VNNXSB3sFD+yZpp:mbnWvHBEJM6WNNCB36D+y

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-10_792e3cfa2dffd5d810b91ed078215e83_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-10_792e3cfa2dffd5d810b91ed078215e83_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2916
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rqlrxrym\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2784
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hguwkhia.exe" C:\Windows\SysWOW64\rqlrxrym\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2776
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rqlrxrym binPath= "C:\Windows\SysWOW64\rqlrxrym\hguwkhia.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-10_792e3cfa2dffd5d810b91ed078215e83_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rqlrxrym "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2772
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rqlrxrym
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2672
    • 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:768
  • C:\Windows\SysWOW64\rqlrxrym\hguwkhia.exe
    C:\Windows\SysWOW64\rqlrxrym\hguwkhia.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-10_792e3cfa2dffd5d810b91ed078215e83_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2724
    • 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:2548

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.9MB

    MD5

    421fd0012c0484553bbb63c27bd9618a

    SHA1

    d245b29e374b19f93da3d717c5c9807850d6c604

    SHA256

    bc88ecb8fe8cb44200c2e0dbd4ccc5e07c74be83af4f51a29c2d6123f8752345

    SHA512

    37d1ae28448293406734009625d48251a812effdc6eadb4db94be74f5297368eae5585a08169ba97e6ef3a9b9909ebd1a4301ae536c6f7547581c483a25309d5

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

    Filesize

    4KB

  • memory/2548-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2724-12-0x0000000000400000-0x0000000000455000-memory.dmp

    Filesize

    340KB

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

    Filesize

    84KB

  • memory/2916-1-0x00000000004D0000-0x00000000005D0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

  • memory/2916-13-0x0000000000400000-0x0000000000455000-memory.dmp

    Filesize

    340KB

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

    Filesize

    84KB

  • memory/2916-14-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB