Analysis

  • max time kernel
    143s
  • max time network
    126s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    02-02-2025 20:17

General

  • Target

    2025-02-02_1a136e835c3009b4e91d15512d298be6_mafia.exe

  • Size

    12.8MB

  • MD5

    1a136e835c3009b4e91d15512d298be6

  • SHA1

    fe88c1ff07a6445f2e1a34f02716fe43ef3b38ad

  • SHA256

    e52c20e0297216d87d9920eb23d3a2096ba04fcaaa923d28dc4263ae0ddbe5bb

  • SHA512

    e2fc3e2ad8f71c0a9febbfd93511c42b6585825f33648f90767415af978233fd0ea2d0c040186d73053031a13886666128fa67ede7ea048284c3ed4a3f8452b1

  • SSDEEP

    24576:I6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ:VWdLQk

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_1a136e835c3009b4e91d15512d298be6_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_1a136e835c3009b4e91d15512d298be6_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3824
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uwzfzakh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2808
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hqkphgbx.exe" C:\Windows\SysWOW64\uwzfzakh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4892
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create uwzfzakh binPath= "C:\Windows\SysWOW64\uwzfzakh\hqkphgbx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_1a136e835c3009b4e91d15512d298be6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:652
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description uwzfzakh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3480
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start uwzfzakh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:996
    • 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:2760
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3824 -s 640
      2⤵
      • Program crash
      PID:2240
  • C:\Windows\SysWOW64\uwzfzakh\hqkphgbx.exe
    C:\Windows\SysWOW64\uwzfzakh\hqkphgbx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_1a136e835c3009b4e91d15512d298be6_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1184
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1584
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1184 -s 516
      2⤵
      • Program crash
      PID:4060
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 3824 -ip 3824
    1⤵
      PID:1700
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 532 -p 1184 -ip 1184
      1⤵
        PID:1872

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        4ff8e5e331d7c88134ebea13bf6ed923

        SHA1

        ca3038609f72e3f441ede720720753ee6332b872

        SHA256

        5e2d97837390318ce90b8eedb5c4deadd393338dfa92523cee13dd65a11ecffe

        SHA512

        01735184c64fa50be2eca21aa41c91e1465e8369d68f3a26f0e2ec8532b0a3dfb45c6417eca76ddbda5215f04fd56ca12071811fe3dd799e9a9d606576a7c0dd

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

      • memory/1184-18-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/1584-14-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

        Filesize

        84KB

      • memory/1584-16-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

        Filesize

        84KB

      • memory/1584-17-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/3824-2-0x0000000000450000-0x0000000000463000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3824-8-0x0000000000450000-0x0000000000463000-memory.dmp

        Filesize

        76KB

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

        Filesize

        316KB

      • memory/3824-1-0x0000000000470000-0x0000000000570000-memory.dmp

        Filesize

        1024KB