Analysis

  • max time kernel
    149s
  • max time network
    128s
  • 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 01:19

General

  • Target

    2025-02-02_fab4de48010f51b4aa8aa0751b525553_mafia.exe

  • Size

    12.2MB

  • MD5

    fab4de48010f51b4aa8aa0751b525553

  • SHA1

    8cb8355eea57313d0761160f89d8782cbd69b359

  • SHA256

    c112f21a28911d1995b8a33f5e8310764421a058e250d07e8a2d5c78e1e38b97

  • SHA512

    98afc6fa1aa0f8053cc68d9f2e291454c3f6a07fc0702b7c4934c812c089625558d47fb44e7f31e19ff68ab00f71a672e8444b2e8ab27cb5e3c4a744dd6bf6ab

  • SSDEEP

    24576:PEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZH:Mfot

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-02_fab4de48010f51b4aa8aa0751b525553_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_fab4de48010f51b4aa8aa0751b525553_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3640
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\civtiuw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3196
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vvwhcdbj.exe" C:\Windows\SysWOW64\civtiuw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2036
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create civtiuw binPath= "C:\Windows\SysWOW64\civtiuw\vvwhcdbj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_fab4de48010f51b4aa8aa0751b525553_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3556
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description civtiuw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start civtiuw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4336
    • 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:4832
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3640 -s 1044
      2⤵
      • Program crash
      PID:2228
  • C:\Windows\SysWOW64\civtiuw\vvwhcdbj.exe
    C:\Windows\SysWOW64\civtiuw\vvwhcdbj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_fab4de48010f51b4aa8aa0751b525553_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2872
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2472
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2872 -s 512
      2⤵
      • Program crash
      PID:1356
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 3640 -ip 3640
    1⤵
      PID:720
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 2872 -ip 2872
      1⤵
        PID:412

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        7574adc2062fd2ff323c9c42831b353a

        SHA1

        7dd99ee1fbf4dbe6134ce9d5186f47a855448062

        SHA256

        3fee8815070cf83f50ac287097d62423cb5079b9cbf6f4833323f74f26579d34

        SHA512

        ca8ec50950d34348034c3298aa6367252a6e481b8e3908aed73d861815eed7a4575a025ca749f3c803eb584bbb48ce0c1071d42733c4aa186254f5b34e2b158d

      • memory/2472-16-0x0000000000C80000-0x0000000000C95000-memory.dmp

        Filesize

        84KB

      • memory/2472-17-0x0000000000C80000-0x0000000000C95000-memory.dmp

        Filesize

        84KB

      • memory/2472-14-0x0000000000C80000-0x0000000000C95000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3640-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/3640-1-0x0000000000460000-0x0000000000560000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3640-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB