Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-02-2025 04:47

General

  • Target

    2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe

  • Size

    15.0MB

  • MD5

    44ddf319c7286465c9795bdc4d79e66f

  • SHA1

    17fa4e7a77612e29765a143092356174e47493db

  • SHA256

    2c0f0fc072f8ab0fc5b31e68944f7c4e76326f887d9bd44ed7e2193d6fb99c83

  • SHA512

    640f40f2ff6825d68c97b7e1e02a9d663f1fb18bf97fb93ed94b0e5a94ecb2e9f83585a15c5477e8b6cdf950fda743890adb801acfac27bb288780b2857b69cd

  • SSDEEP

    393216:HXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXP:P

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-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:64
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\shgyeyzr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3844
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ivhexkpz.exe" C:\Windows\SysWOW64\shgyeyzr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5108
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create shgyeyzr binPath= "C:\Windows\SysWOW64\shgyeyzr\ivhexkpz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4920
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description shgyeyzr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start shgyeyzr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3400
    • 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:4124
  • C:\Windows\SysWOW64\shgyeyzr\ivhexkpz.exe
    C:\Windows\SysWOW64\shgyeyzr\ivhexkpz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_44ddf319c7286465c9795bdc4d79e66f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4864
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4536

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.7MB

    MD5

    0e1e7503a866cec4de3b32c517c442dd

    SHA1

    f738f39da3f4ceca10f6c739be8f4327254bf19c

    SHA256

    e5a3a285730f722c216355adf2c0e48ca0d04fc8c8949391b9765887bf0c241f

    SHA512

    fe80d0687dca340c1d90009ce9b457683b2f6b690a02c3cd10cf40d50841cce08e6d4f3cc6873c024b768c939894219d56ea082f722c368466182ed2c4d892e2

  • memory/64-18-0x0000000000540000-0x0000000000553000-memory.dmp

    Filesize

    76KB

  • memory/64-2-0x0000000000540000-0x0000000000553000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/64-1-0x0000000000560000-0x0000000000660000-memory.dmp

    Filesize

    1024KB

  • memory/64-17-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/64-19-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/4536-22-0x0000000000730000-0x0000000000745000-memory.dmp

    Filesize

    84KB

  • memory/4536-11-0x0000000000730000-0x0000000000745000-memory.dmp

    Filesize

    84KB

  • memory/4536-21-0x0000000000730000-0x0000000000745000-memory.dmp

    Filesize

    84KB

  • memory/4536-20-0x0000000000730000-0x0000000000745000-memory.dmp

    Filesize

    84KB

  • memory/4536-16-0x0000000000730000-0x0000000000745000-memory.dmp

    Filesize

    84KB

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

    Filesize

    372KB

  • memory/4864-10-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/4864-14-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    372KB