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
    02-02-2025 00:51

General

  • Target

    2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe

  • Size

    11.4MB

  • MD5

    1fd39ea0fb754241ec179ae2975708ff

  • SHA1

    a869c4b2113ba693ce6318d45b4c9ccc975d322d

  • SHA256

    c51a7e68b13cd19ac5f8018136be3dd56b72fd5eb2f441753bb760c5494ac8ec

  • SHA512

    f223cfa23e0546b6757880ad92ff28dbdf161641b7853291f61067e27b098e3cdc02d4985054bed89afbba2a939414153f0a7b1b88dad86147442632106be212

  • SSDEEP

    24576:26WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQI:3WdLQk

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-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4752
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cwqgybep\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3552
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jiwymjkc.exe" C:\Windows\SysWOW64\cwqgybep\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cwqgybep binPath= "C:\Windows\SysWOW64\cwqgybep\jiwymjkc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2496
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cwqgybep "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1132
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cwqgybep
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3152
    • 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:1948
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4752 -s 648
      2⤵
      • Program crash
      PID:5028
  • C:\Windows\SysWOW64\cwqgybep\jiwymjkc.exe
    C:\Windows\SysWOW64\cwqgybep\jiwymjkc.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_1fd39ea0fb754241ec179ae2975708ff_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:424
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4220
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 424 -s 560
      2⤵
      • Program crash
      PID:1960
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4752 -ip 4752
    1⤵
      PID:1840
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 424 -ip 424
      1⤵
        PID:4548

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.3MB

        MD5

        bec300e99e52da041f6c03a51b6ce623

        SHA1

        0c70983884996620a9b0623ea8b71caa44a7cb59

        SHA256

        24a3f5ebdf50c3c92321cc7317a04bba0c8af0ac4cb828f16d18faee2d72a860

        SHA512

        5a03c146d7be4fa2862df52c4dea634dcf8b18de355252a458b5cceabc9ff452596bac7f4b51fa81222024a26c709ead67d627b9a6381a19e2c01ab72837ccca

      • memory/424-11-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/424-19-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/424-13-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/424-12-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4220-14-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB

      • memory/4220-16-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB

      • memory/4220-17-0x00000000008E0000-0x00000000008F5000-memory.dmp

        Filesize

        84KB

      • memory/4752-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4752-7-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/4752-1-0x00000000004F0000-0x00000000005F0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/4752-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB