Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    05-02-2025 22:27

General

  • Target

    2025-02-05_7867b919ca8f673983a2870544a88110_mafia.exe

  • Size

    11.1MB

  • MD5

    7867b919ca8f673983a2870544a88110

  • SHA1

    4780d79a243ae7f189831178c37ce4e68e33decf

  • SHA256

    7a102e4f927d482372077e66f62e8c97b0ed1e043a5007a8691ac0a2d50513c7

  • SHA512

    e7ccf1d2f3f9d58778e71249c1199a529de823e1cca597970868fc4f21a09895693bce3a771246094cf40a1ef97bbc607caa19dfeeb8f2599b48ed5371ab355f

  • SSDEEP

    49152:WqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPe:WqtYc3v

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-05_7867b919ca8f673983a2870544a88110_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-05_7867b919ca8f673983a2870544a88110_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2672
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wztgcecr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2484
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qcbpaksm.exe" C:\Windows\SysWOW64\wztgcecr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4500
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wztgcecr binPath= "C:\Windows\SysWOW64\wztgcecr\qcbpaksm.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_7867b919ca8f673983a2870544a88110_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5004
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wztgcecr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wztgcecr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4420
    • 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:552
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2672 -s 596
      2⤵
      • Program crash
      PID:4444
  • C:\Windows\SysWOW64\wztgcecr\qcbpaksm.exe
    C:\Windows\SysWOW64\wztgcecr\qcbpaksm.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_7867b919ca8f673983a2870544a88110_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2952
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:744
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2952 -s 520
      2⤵
      • Program crash
      PID:1484
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 2672 -ip 2672
    1⤵
      PID:4084
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 500 -p 2952 -ip 2952
      1⤵
        PID:4552

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        a1ca961311961490b8e897b5b77b2961

        SHA1

        bb65e747013dd486bed4e89d425bdac81e6a5f3f

        SHA256

        463c693bfd2b9815f4f83ec96d30e69d508883b22f196ccfe0caa499137e86d5

        SHA512

        ebc8e03abbdf01d1768b40615451510a59a767992481da6c19efdbba38cbae8e5c198552ad76052b7294e2cbb18f0919af71d97416e50284f89032edf0e6a08a

      • memory/744-8-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB

      • memory/744-14-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB

      • memory/744-15-0x0000000000730000-0x0000000000745000-memory.dmp

        Filesize

        84KB

      • memory/2672-2-0x0000000003200000-0x0000000003213000-memory.dmp

        Filesize

        76KB

      • memory/2672-1-0x0000000002EB0000-0x0000000002FB0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2672-12-0x0000000003200000-0x0000000003213000-memory.dmp

        Filesize

        76KB

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

        Filesize

        41.8MB

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

        Filesize

        41.8MB