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
    26-01-2025 18:34

General

  • Target

    2025-01-26_7ca394a6c3fb23cf15f764ea44959924_mafia.exe

  • Size

    13.0MB

  • MD5

    7ca394a6c3fb23cf15f764ea44959924

  • SHA1

    489dc2c85200cd32d3a87c7c2d52710a770bf359

  • SHA256

    9574a9f69ddd18f7857877c02cc38a6ac7f5a227f678c7510973921f9c621420

  • SHA512

    bbf01aa88235c59d9a5e15ea063554ea4bf370b215939d88f56bd935506a3c196468512a783b87abe0ebd6caa2048ec27af38413f7a419262b15a36bc2c10951

  • SSDEEP

    24576:FEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZn:Ofot

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-26_7ca394a6c3fb23cf15f764ea44959924_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-26_7ca394a6c3fb23cf15f764ea44959924_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3004
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vyqkecyt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4572
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tvozgocs.exe" C:\Windows\SysWOW64\vyqkecyt\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4476
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vyqkecyt binPath= "C:\Windows\SysWOW64\vyqkecyt\tvozgocs.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-26_7ca394a6c3fb23cf15f764ea44959924_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4896
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vyqkecyt "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:456
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vyqkecyt
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4484
    • 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:1984
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3004 -s 1044
      2⤵
      • Program crash
      PID:1216
  • C:\Windows\SysWOW64\vyqkecyt\tvozgocs.exe
    C:\Windows\SysWOW64\vyqkecyt\tvozgocs.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-26_7ca394a6c3fb23cf15f764ea44959924_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3100
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3100 -s 508
      2⤵
      • Program crash
      PID:2644
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 3004 -ip 3004
    1⤵
      PID:1524
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 464 -p 3100 -ip 3100
      1⤵
        PID:4872

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.4MB

        MD5

        4d737663134a85a158696b60d83e303d

        SHA1

        797db7456286a548806502c9543e3d26496ceae4

        SHA256

        4f8c6d59f1d610f7d40e176009ac08d6a68a5892c91f6fd938eb1d7095a30bb5

        SHA512

        f71276e8bd404002e0238042555a640738c5a108bb62d3895bba53967308e704469cfa440381cc1f682dbecdaeaf352dc98dbe58e054c620259fcd4b59a0358b

      • memory/1376-14-0x00000000005A0000-0x00000000005B5000-memory.dmp

        Filesize

        84KB

      • memory/1376-17-0x00000000005A0000-0x00000000005B5000-memory.dmp

        Filesize

        84KB

      • memory/1376-16-0x00000000005A0000-0x00000000005B5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/3004-1-0x0000000000730000-0x0000000000830000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB