Analysis

  • max time kernel
    143s
  • max time network
    131s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-02-2025 20:05

General

  • Target

    2025-02-01_3995761237124e0f137cded35908b237_mafia.exe

  • Size

    12.8MB

  • MD5

    3995761237124e0f137cded35908b237

  • SHA1

    16813f1fa14675c902afe02172c5c3f60cf6d78f

  • SHA256

    0d2b433856638eed525068a6bb6f84417c63edccc0067ff6e6151edbcc1240a1

  • SHA512

    60c4a255036b7e6a17e218260f05fa5683d8bf5007ac086490833081ffb5f597c37fca7d0e8e9f3dee996df6313cc1c77fbecb1db512ff5ad1e0db586bcaa2c9

  • SSDEEP

    393216:rXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXH:

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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-02-01_3995761237124e0f137cded35908b237_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_3995761237124e0f137cded35908b237_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1980
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xjzkkqyp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2532
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zqywgbiw.exe" C:\Windows\SysWOW64\xjzkkqyp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4960
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xjzkkqyp binPath= "C:\Windows\SysWOW64\xjzkkqyp\zqywgbiw.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_3995761237124e0f137cded35908b237_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3248
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xjzkkqyp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3220
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xjzkkqyp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3688
    • 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:516
  • C:\Windows\SysWOW64\xjzkkqyp\zqywgbiw.exe
    C:\Windows\SysWOW64\xjzkkqyp\zqywgbiw.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_3995761237124e0f137cded35908b237_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1816
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2200

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.5MB

    MD5

    9f0f7c586f7ce40d911651f0987fb75e

    SHA1

    ec8a8f5320569256b2075697b8f154456b478d50

    SHA256

    54bf5efa77a1f2106426687bea0e421338daf7fdba76d81518891e40c0a481c4

    SHA512

    e4b8e7656af657571ba5b270dd4fa9c9a8e9cbe09d0f0a8b16ab28d167b31812bdd1e66d7e5eb9fd3b7d23493493c4ed4dde6c1ea1b17349fa4ce3013caeef2e

  • memory/1816-18-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/1816-8-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/1980-11-0x0000000000590000-0x00000000005A3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1980-12-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1980-1-0x0000000000640000-0x0000000000740000-memory.dmp

    Filesize

    1024KB

  • memory/1980-9-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/1980-2-0x0000000000590000-0x00000000005A3000-memory.dmp

    Filesize

    76KB

  • memory/2200-10-0x0000000000F60000-0x0000000000F75000-memory.dmp

    Filesize

    84KB

  • memory/2200-16-0x0000000000F60000-0x0000000000F75000-memory.dmp

    Filesize

    84KB

  • memory/2200-19-0x0000000000F60000-0x0000000000F75000-memory.dmp

    Filesize

    84KB

  • memory/2200-20-0x0000000000F60000-0x0000000000F75000-memory.dmp

    Filesize

    84KB