Analysis

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

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

General

  • Target

    2025-02-01_65c56bece39702f014e60ebf56482249_mafia.exe

  • Size

    13.1MB

  • MD5

    65c56bece39702f014e60ebf56482249

  • SHA1

    9c6f1fb2fca71dda4c5098938f6b3ffd8f45043b

  • SHA256

    88be634eddd475cf7babc400629f1121806f35bb868bc57f847e981fe200eb2e

  • SHA512

    87416cd19dbff197d10aee82f8d35b64366ddd8512248f05500a834604d64c39537a311291a561c9ffeaf77e365f21f34e88bd65bffa7a6d8604742c62da0533

  • SSDEEP

    6144:sLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQF: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-02-01_65c56bece39702f014e60ebf56482249_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_65c56bece39702f014e60ebf56482249_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2688
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qpyihya\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2812
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hugdwjoy.exe" C:\Windows\SysWOW64\qpyihya\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2652
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qpyihya binPath= "C:\Windows\SysWOW64\qpyihya\hugdwjoy.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_65c56bece39702f014e60ebf56482249_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qpyihya "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2568
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qpyihya
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2660
    • 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:2560
  • C:\Windows\SysWOW64\qpyihya\hugdwjoy.exe
    C:\Windows\SysWOW64\qpyihya\hugdwjoy.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_65c56bece39702f014e60ebf56482249_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2544
    • 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:3056

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.3MB

    MD5

    15db4f60b311a52ac70268e63fd73090

    SHA1

    28694932dd16bb06d7b85a81c7155d15fffc3394

    SHA256

    89346e1d2c27890c803ccd9b45507b4ec7d8b22269233d637a4a0977b94101f9

    SHA512

    a3ee904c8e4d82c95c3a0c61ac51ff8bf6a7f6f78bf5b48b1be5d94aefa5618503dc178965329b89bc064b3764ecaf965ee43978a49111d66b4745fb041fc1a2

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

    Filesize

    772KB

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

    Filesize

    772KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2688-1-0x00000000002B0000-0x00000000003B0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB