Analysis

  • max time kernel
    149s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-01-2025 18:50

General

  • Target

    2025-01-25_3037c559046509f4e18417b99bc13d18_mafia.exe

  • Size

    10.1MB

  • MD5

    3037c559046509f4e18417b99bc13d18

  • SHA1

    544c3ee6ba22bbfccc5e9d0b1c7d0823b2b86822

  • SHA256

    ab80628a0f62ca7df440960826b9e66e8fd42a9f57032e2d2affdfd2ed3f976f

  • SHA512

    b63f01894a1299760eb86c09e6e86ebfc82c422387c43e1e7f5d9bc817381d06a4edabb774acb2ed5e27f3d9aba4dd51076837e13608cf58422911419ca7c146

  • SSDEEP

    24576:OEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZH:nfot

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.

  • Program crash 2 IoCs
  • 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-01-25_3037c559046509f4e18417b99bc13d18_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-25_3037c559046509f4e18417b99bc13d18_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1840
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uueustws\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3696
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zmyvobgq.exe" C:\Windows\SysWOW64\uueustws\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3388
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create uueustws binPath= "C:\Windows\SysWOW64\uueustws\zmyvobgq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_3037c559046509f4e18417b99bc13d18_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description uueustws "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start uueustws
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:812
    • 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:2804
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1840 -s 784
      2⤵
      • Program crash
      PID:2304
  • C:\Windows\SysWOW64\uueustws\zmyvobgq.exe
    C:\Windows\SysWOW64\uueustws\zmyvobgq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_3037c559046509f4e18417b99bc13d18_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2088
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2508
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2088 -s 508
      2⤵
      • Program crash
      PID:4524
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 1840 -ip 1840
    1⤵
      PID:428
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 2088 -ip 2088
      1⤵
        PID:4516

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.5MB

        MD5

        dea67264187c1a679eb831674d714afe

        SHA1

        35cbd0f661aaa6944ae73f14ff602a3c602a0e39

        SHA256

        f947e1cfd6131e80f76a7ecced85b28c1cb0e99c026528d415a9afb3b9879311

        SHA512

        2224e12ed324968eddbc77425aa2c5cbc4c00c314046e4c00161a17e5d7591dfa91d8a1f201c238ff2d3db1488760c8ed5f4f18665047f822a706bd1344d9e74

      • memory/1840-8-0x0000000000590000-0x00000000005A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1840-1-0x0000000000450000-0x0000000000550000-memory.dmp

        Filesize

        1024KB

      • memory/1840-7-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/2088-12-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2088-11-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2088-13-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2088-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2508-14-0x0000000000880000-0x0000000000895000-memory.dmp

        Filesize

        84KB

      • memory/2508-16-0x0000000000880000-0x0000000000895000-memory.dmp

        Filesize

        84KB

      • memory/2508-17-0x0000000000880000-0x0000000000895000-memory.dmp

        Filesize

        84KB