Analysis

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

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

General

  • Target

    2025-02-06_4dac4f3814cf7bd74dc29a03337a81d4_mafia.exe

  • Size

    14.6MB

  • MD5

    4dac4f3814cf7bd74dc29a03337a81d4

  • SHA1

    e8902d85c42d8c464046ef57e80fd8c0418511b0

  • SHA256

    3f7c6c00a626699f95045602c394bf895d6f8e5f1ae47e42875f9448e4b2cbcc

  • SHA512

    7cf54c5d8c86438180b3377793b702f940144029858093ebb7662b5bb5174bcc09332b68d3409db526088ab2ee8f8b16671d303993d5a9adad58cfe952ef92cd

  • SSDEEP

    49152:PqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP6:PqtYc3t

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_4dac4f3814cf7bd74dc29a03337a81d4_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-06_4dac4f3814cf7bd74dc29a03337a81d4_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3484
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gmyawqge\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2060
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wrvndoqo.exe" C:\Windows\SysWOW64\gmyawqge\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1824
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gmyawqge binPath= "C:\Windows\SysWOW64\gmyawqge\wrvndoqo.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-06_4dac4f3814cf7bd74dc29a03337a81d4_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2640
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gmyawqge "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4308
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gmyawqge
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4144
    • 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:3004
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3484 -s 1244
      2⤵
      • Program crash
      PID:3176
  • C:\Windows\SysWOW64\gmyawqge\wrvndoqo.exe
    C:\Windows\SysWOW64\gmyawqge\wrvndoqo.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-06_4dac4f3814cf7bd74dc29a03337a81d4_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4108
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1292
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4108 -s 528
      2⤵
      • Program crash
      PID:5104
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4108 -ip 4108
    1⤵
      PID:2316
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 3484 -ip 3484
      1⤵
        PID:3744

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.1MB

        MD5

        a992a8b38e57e89703796622c964c46a

        SHA1

        e5ca16a17caaf801ecbe08ff1c1b61e5b1b13c4e

        SHA256

        c46946d6c575b713eca1e2497c23b3e30fbc3000b4efc9ae096722cf1ca7f309

        SHA512

        b81f3abdc0bb6ac7430fd4c8fc3f34c675f02823631a28b77dd653eb32a8cc980b69d4527dcbe502c0de58675c32ecddd4b5f42e690481c53e7835afbb13bf7a

      • memory/1292-8-0x0000000000D50000-0x0000000000D65000-memory.dmp

        Filesize

        84KB

      • memory/1292-14-0x0000000000D50000-0x0000000000D65000-memory.dmp

        Filesize

        84KB

      • memory/1292-15-0x0000000000D50000-0x0000000000D65000-memory.dmp

        Filesize

        84KB

      • memory/3484-1-0x0000000002FC0000-0x00000000030C0000-memory.dmp

        Filesize

        1024KB

      • memory/3484-2-0x0000000002F00000-0x0000000002F13000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3484-12-0x0000000002F00000-0x0000000002F13000-memory.dmp

        Filesize

        76KB

      • memory/3484-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3484-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/4108-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB