Analysis

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

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

General

  • Target

    2025-02-07_83fb012a3af17f7ee03fa6b70fb92d99_mafia.exe

  • Size

    14.6MB

  • MD5

    83fb012a3af17f7ee03fa6b70fb92d99

  • SHA1

    23e602b8d722fb7ef210a986e5b652ba3dc2e02d

  • SHA256

    ec9ac642df40ab28d21938e59b719607beac2bafa200591f58df8d25eebaa3e5

  • SHA512

    542d239756bb821d579ea836633122c5334c9c93b69e1b9355add7a56561351cd61643d85b71d239e596d94bf172aabcb974a9131fb43d1a247d18915f745b3a

  • SSDEEP

    24576:x6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQw:YWdLQk

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-07_83fb012a3af17f7ee03fa6b70fb92d99_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_83fb012a3af17f7ee03fa6b70fb92d99_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3556
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\sjbkxesn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3260
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zeojdpmo.exe" C:\Windows\SysWOW64\sjbkxesn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create sjbkxesn binPath= "C:\Windows\SysWOW64\sjbkxesn\zeojdpmo.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_83fb012a3af17f7ee03fa6b70fb92d99_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3468
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description sjbkxesn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4244
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start sjbkxesn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2712
    • 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:3320
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3556 -s 592
      2⤵
      • Program crash
      PID:4284
  • C:\Windows\SysWOW64\sjbkxesn\zeojdpmo.exe
    C:\Windows\SysWOW64\sjbkxesn\zeojdpmo.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_83fb012a3af17f7ee03fa6b70fb92d99_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2124
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2452
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2124 -s 516
      2⤵
      • Program crash
      PID:3768
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3556 -ip 3556
    1⤵
      PID:1768
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2124 -ip 2124
      1⤵
        PID:2880

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.3MB

        MD5

        7d1dd579fff1ea62f386c8814a7fad5e

        SHA1

        d03a37bbf99d07d7a92a9303ab29f46084b95b46

        SHA256

        fcb4a6f4220b956708d1a7f3fce9286b1eab14ce6cf8145c5901171377dff5dc

        SHA512

        af59b58b2bd78115f6a17d9a7a52c3317b653cccb8d257b3b49fc570c87ab12914b0bbfb61ae7ba50f6614c10ad3f3efaf5eb69667651a0ae5c88b5ba0991106

      • memory/2124-11-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/2124-19-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/2124-12-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/2124-13-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/2452-14-0x00000000012E0000-0x00000000012F5000-memory.dmp

        Filesize

        84KB

      • memory/2452-16-0x00000000012E0000-0x00000000012F5000-memory.dmp

        Filesize

        84KB

      • memory/2452-17-0x00000000012E0000-0x00000000012F5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3556-7-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/3556-1-0x00000000006A0000-0x00000000007A0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        76KB