Analysis

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

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

General

  • Target

    2025-02-06_f3eda9233b9866583638eab9a80cd886_mafia.exe

  • Size

    13.7MB

  • MD5

    f3eda9233b9866583638eab9a80cd886

  • SHA1

    be8b2ac167a03f073d2a2a26e849c5fcda57e4a7

  • SHA256

    c9e8b3cc85721662eb296b73db92b2029a1ddf4c3e0ab32e876ab50eaee72f33

  • SHA512

    bfe3efcdf0e58624cf5f531e6ebeb1ce500c26e52b1b54c5bab13ce7baf7cde736e43b5baa81c0b3d540b9932f347935f704f221b2c336ade12da515f54f80b4

  • SSDEEP

    6144:7LQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQL:QTYe+D2jFu+iZoUFhAzU

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-02-06_f3eda9233b9866583638eab9a80cd886_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-06_f3eda9233b9866583638eab9a80cd886_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4880
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\mtzetsol\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:312
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vdswjhqq.exe" C:\Windows\SysWOW64\mtzetsol\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4032
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create mtzetsol binPath= "C:\Windows\SysWOW64\mtzetsol\vdswjhqq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-06_f3eda9233b9866583638eab9a80cd886_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2088
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description mtzetsol "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2184
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start mtzetsol
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5024
    • 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:4360
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4880 -s 1100
      2⤵
      • Program crash
      PID:1000
  • C:\Windows\SysWOW64\mtzetsol\vdswjhqq.exe
    C:\Windows\SysWOW64\mtzetsol\vdswjhqq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-06_f3eda9233b9866583638eab9a80cd886_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4316
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2420
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4316 -s 560
      2⤵
      • Program crash
      PID:2108
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 4880 -ip 4880
    1⤵
      PID:392
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 496 -p 4316 -ip 4316
      1⤵
        PID:932

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.8MB

        MD5

        4f2cb1000ef80d2875a049719aea6d0e

        SHA1

        6a1e877a2d122dea5be38829f6d1d99c3daf7264

        SHA256

        62fad157cfb56ae9dbd03680c744e66e6db50cac1eed43d773c477543249b939

        SHA512

        1665db6a8445fdabada67bff7a886aa2cf8e0e5894674205c6c635ea62e483fa955ff00d675a25bf19c98568b9b6950d527ff3b7a5b8880582bdedb74d4eb859

      • memory/2420-11-0x0000000001000000-0x0000000001015000-memory.dmp

        Filesize

        84KB

      • memory/2420-19-0x0000000001000000-0x0000000001015000-memory.dmp

        Filesize

        84KB

      • memory/2420-18-0x0000000001000000-0x0000000001015000-memory.dmp

        Filesize

        84KB

      • memory/4316-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4316-10-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4316-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4316-17-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4880-2-0x00000000006F0000-0x0000000000703000-memory.dmp

        Filesize

        76KB

      • memory/4880-14-0x00000000006F0000-0x0000000000703000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4880-13-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        84KB

      • memory/4880-1-0x00000000007B0000-0x00000000008B0000-memory.dmp

        Filesize

        1024KB