Analysis

  • max time kernel
    141s
  • 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
    01-02-2025 12:05

General

  • Target

    2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe

  • Size

    14.1MB

  • MD5

    f7da13f615639ece98410f33d193d766

  • SHA1

    3ff4669bef39fbec5c96038aac654faa8d7de61d

  • SHA256

    e462a4edf20e32317f6164ab0eb8bcbf34e6e4adaa5c6c51f38e678bfc486944

  • SHA512

    3d9b59b17b682fde082029b168a06a27a57ebe931827d4047ed8fe2eae07bcb1b37a8671238e677b89c6a819d3c2400044c2ad698c3a953fa83834c6825669ae

  • SSDEEP

    24576:rEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZp:4fotT

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-01_f7da13f615639ece98410f33d193d766_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3700
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gmxkowlu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1252
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hqkphgbx.exe" C:\Windows\SysWOW64\gmxkowlu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1648
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gmxkowlu binPath= "C:\Windows\SysWOW64\gmxkowlu\hqkphgbx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3136
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gmxkowlu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4052
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gmxkowlu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2112
    • 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:220
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3700 -s 1036
      2⤵
      • Program crash
      PID:2916
  • C:\Windows\SysWOW64\gmxkowlu\hqkphgbx.exe
    C:\Windows\SysWOW64\gmxkowlu\hqkphgbx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_f7da13f615639ece98410f33d193d766_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3184
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3904
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3184 -s 512
      2⤵
      • Program crash
      PID:4904
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 3700 -ip 3700
    1⤵
      PID:2948
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3184 -ip 3184
      1⤵
        PID:1872

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.0MB

        MD5

        9a3fdfef5fd94bd9e28a8f8977248d2b

        SHA1

        0043ffcf0f937627490a9d0c8e4ac501ac626d34

        SHA256

        89bc1af4a49caa80239dbbe0a04e668d607cdb2fa540853e89eaeeb56d6b473b

        SHA512

        f73efa83f13ab2caccbf51a92c85e50a1ff82c0d5e873d2313d9306fb93161d6522380c42f925d7f6395fa76446237c6ba17f377cac68f262c41d6f119bfbc07

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3184-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3700-2-0x0000000000620000-0x0000000000633000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3700-8-0x0000000000620000-0x0000000000633000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/3700-1-0x0000000000770000-0x0000000000870000-memory.dmp

        Filesize

        1024KB

      • memory/3904-14-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB

      • memory/3904-16-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB

      • memory/3904-17-0x0000000000BB0000-0x0000000000BC5000-memory.dmp

        Filesize

        84KB