Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-01-2025 19:52

General

  • Target

    2025-01-31_35d3b58bc47cf0fbbe92b17ef7c2a278_mafia.exe

  • Size

    12.4MB

  • MD5

    35d3b58bc47cf0fbbe92b17ef7c2a278

  • SHA1

    05093f1a1d9c8c53a92e08d297ef86dec093201c

  • SHA256

    75a857069aaef2b13e4faac2eaf67423fa9f58e65246dddbc075be0e140efc95

  • SHA512

    32d770ff08e03312aebbfa75ba9b797d26e7c7c692ab29966e206a1f5b42ac14fd32eac5f25fac0b8ee51ec49503444d0a25605694995ebc73880b37bcb92a6d

  • SSDEEP

    6144:bLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQ4:wTYe+D2jFu+iZoUFhAz

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-01-31_35d3b58bc47cf0fbbe92b17ef7c2a278_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_35d3b58bc47cf0fbbe92b17ef7c2a278_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4792
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vqevcfpp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:740
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jlgmfsc.exe" C:\Windows\SysWOW64\vqevcfpp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2556
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vqevcfpp binPath= "C:\Windows\SysWOW64\vqevcfpp\jlgmfsc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_35d3b58bc47cf0fbbe92b17ef7c2a278_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vqevcfpp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4112
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vqevcfpp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2608
    • 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:3520
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4792 -s 580
      2⤵
      • Program crash
      PID:3592
  • C:\Windows\SysWOW64\vqevcfpp\jlgmfsc.exe
    C:\Windows\SysWOW64\vqevcfpp\jlgmfsc.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_35d3b58bc47cf0fbbe92b17ef7c2a278_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3648
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1860
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3648 -s 528
      2⤵
      • Program crash
      PID:3488
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 4792 -ip 4792
    1⤵
      PID:5072
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 468 -p 3648 -ip 3648
      1⤵
        PID:2624

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.9MB

        MD5

        9acc76a82b633ac67bcf98e0b43974d4

        SHA1

        cb1fd30661ef9c08defb40a8fbfabe90b35aaff4

        SHA256

        890e8c70cabda2b1ada8df003d1cfd16d371f75d0c75371e8c246459ed29baba

        SHA512

        f4c217be1e942ac45727352be2726733bd9daad4b66ee0842139fd7e9a0f7474d9977177d8d3d450b7eef45288d00348ff81ca4ada9b3d745f6839d975362790

      • memory/1860-13-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/1860-18-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/1860-20-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/1860-19-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

      • memory/1860-10-0x0000000000C00000-0x0000000000C15000-memory.dmp

        Filesize

        84KB

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

        Filesize

        772KB

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

        Filesize

        772KB

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

        Filesize

        772KB

      • memory/4792-14-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4792-16-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4792-15-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4792-1-0x0000000000670000-0x0000000000770000-memory.dmp

        Filesize

        1024KB

      • memory/4792-2-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB