Analysis

  • max time kernel
    145s
  • max time network
    146s
  • 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 19:57

General

  • Target

    2025-02-01_23149380cb2e21f3ac8604d27606930f_mafia.exe

  • Size

    12.7MB

  • MD5

    23149380cb2e21f3ac8604d27606930f

  • SHA1

    8336412d09509079439da4ed413caebe4396cb0b

  • SHA256

    8711e4d61eada87960a6eabf68333d34eb77be617505928c39dbbca8970a23aa

  • SHA512

    3472ea7bd514674d35a2af413709e2494115845c29b575f20aa868eceb6dbc507fac19ed956370c9b7afe158af6cb4ab9849c2a6b43ddcc44dfd84246ac3197e

  • SSDEEP

    24576:7pomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttX:Noo

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_23149380cb2e21f3ac8604d27606930f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_23149380cb2e21f3ac8604d27606930f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2940
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\yzjczbtx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2536
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qlphxiki.exe" C:\Windows\SysWOW64\yzjczbtx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create yzjczbtx binPath= "C:\Windows\SysWOW64\yzjczbtx\qlphxiki.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_23149380cb2e21f3ac8604d27606930f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4664
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description yzjczbtx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start yzjczbtx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1580
    • 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:4356
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2940 -s 1044
      2⤵
      • Program crash
      PID:2404
  • C:\Windows\SysWOW64\yzjczbtx\qlphxiki.exe
    C:\Windows\SysWOW64\yzjczbtx\qlphxiki.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_23149380cb2e21f3ac8604d27606930f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2692
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2204
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2692 -s 508
      2⤵
      • Program crash
      PID:1196
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 424 -p 2940 -ip 2940
    1⤵
      PID:1292
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2692 -ip 2692
      1⤵
        PID:2996

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        1b1b869f94711ee34be445f280e4af0a

        SHA1

        ba278f9a2e30cfab60fad4e8fbf10773ae26a71e

        SHA256

        5aea281a1865f690ca9ea35ad62708569e615e4fdf047cc186900d856eb64c68

        SHA512

        f765b7a7ae6213bbd72ed8ed239045cbda48be54fd53bd981deeebd400214d039050344898e94a5fbba476e14ffea43e77c9ea02096f87052494b2283dc72835

      • memory/2204-18-0x0000000000DD0000-0x0000000000DE5000-memory.dmp

        Filesize

        84KB

      • memory/2204-15-0x0000000000DD0000-0x0000000000DE5000-memory.dmp

        Filesize

        84KB

      • memory/2204-17-0x0000000000DD0000-0x0000000000DE5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

      • memory/2692-14-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/2940-9-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/2940-10-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/2940-8-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/2940-6-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2940-1-0x0000000000680000-0x0000000000780000-memory.dmp

        Filesize

        1024KB