Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-02-2025 21:19

General

  • Target

    2025-02-03_99c64ff1e1f52348d4b7dbbf5a0632f9_mafia.exe

  • Size

    12.9MB

  • MD5

    99c64ff1e1f52348d4b7dbbf5a0632f9

  • SHA1

    12eece8338d93ed9dd22903f4e6c64d8e6f6531a

  • SHA256

    87a0db19083558b7383108d51b80eb6505f25d869dfd6c36ba9e66292d74a490

  • SHA512

    7eabb767096cb2cd25a019470018f7e69a8bb75872970eea7cb5aabb4bffb84d11261df95e7f619a4c5562ab893928ef69d38d40ed87c65d360eba3594d3176e

  • SSDEEP

    24576:W6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQY:XWdLQk

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-03_99c64ff1e1f52348d4b7dbbf5a0632f9_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_99c64ff1e1f52348d4b7dbbf5a0632f9_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vkvxovcs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4352
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ylxunafp.exe" C:\Windows\SysWOW64\vkvxovcs\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vkvxovcs binPath= "C:\Windows\SysWOW64\vkvxovcs\ylxunafp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_99c64ff1e1f52348d4b7dbbf5a0632f9_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3764
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vkvxovcs "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vkvxovcs
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4912
    • 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:2020
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4564 -s 1036
      2⤵
      • Program crash
      PID:2864
  • C:\Windows\SysWOW64\vkvxovcs\ylxunafp.exe
    C:\Windows\SysWOW64\vkvxovcs\ylxunafp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_99c64ff1e1f52348d4b7dbbf5a0632f9_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1220
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1840
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1220 -s 508
      2⤵
      • Program crash
      PID:2168
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4564 -ip 4564
    1⤵
      PID:4432
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 1220 -ip 1220
      1⤵
        PID:2812

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.1MB

        MD5

        aec772a7e2480bebdbc7e98474314f6e

        SHA1

        9b189ecef3821d45fb0bd12915db35f7a4be77fc

        SHA256

        b7143f9b152c8088c24decca368c2c3c3bd01e5815fbf20f6b44385d7f1ae57a

        SHA512

        a5edb773ebc5e6dd09d20b97a416073ca7368cdcdaab9b4b841ad40305a10b64b747f1f9ecd8f135119d813e9d7174f8ef5f4608e99374b7bd7c3f1cf522f9e1

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

      • memory/1840-14-0x0000000000B80000-0x0000000000B95000-memory.dmp

        Filesize

        84KB

      • memory/1840-16-0x0000000000B80000-0x0000000000B95000-memory.dmp

        Filesize

        84KB

      • memory/1840-17-0x0000000000B80000-0x0000000000B95000-memory.dmp

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        316KB

      • memory/4564-1-0x0000000000600000-0x0000000000700000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

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

        Filesize

        76KB