Analysis

  • max time kernel
    141s
  • max time network
    130s
  • 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 20:42

General

  • Target

    2025-02-01_d86fc9042dc87dc260ebc6aba1cca2a9_mafia.exe

  • Size

    11.7MB

  • MD5

    d86fc9042dc87dc260ebc6aba1cca2a9

  • SHA1

    781b9b2a4a7f84bdc5129b390f5119b47392bf0f

  • SHA256

    084c094e5f485885ffc27412ba8085d325c45e169bcf4fcdee5bca1c264fdf65

  • SHA512

    c61c3e80794fff18819274f067dfa70a5a6cfa0a71f63ef48a043200e4bdf710041fa2467ead3d1fc7af2d226b81750335f2021fe12dc39c41ec72ffda72fba0

  • SSDEEP

    3072:KLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:zOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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_d86fc9042dc87dc260ebc6aba1cca2a9_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_d86fc9042dc87dc260ebc6aba1cca2a9_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:864
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\etfuxxzx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2780
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zuyqgrtr.exe" C:\Windows\SysWOW64\etfuxxzx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2980
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create etfuxxzx binPath= "C:\Windows\SysWOW64\etfuxxzx\zuyqgrtr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_d86fc9042dc87dc260ebc6aba1cca2a9_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description etfuxxzx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2332
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start etfuxxzx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4804
    • 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:4888
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 864 -s 1320
      2⤵
      • Program crash
      PID:2352
  • C:\Windows\SysWOW64\etfuxxzx\zuyqgrtr.exe
    C:\Windows\SysWOW64\etfuxxzx\zuyqgrtr.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_d86fc9042dc87dc260ebc6aba1cca2a9_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3644
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2832
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3644 -s 512
      2⤵
      • Program crash
      PID:5012
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 864 -ip 864
    1⤵
      PID:4248
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 3644 -ip 3644
      1⤵
        PID:2000

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.0MB

        MD5

        b7ac5c498a4d0ff44e32c8d257ff7579

        SHA1

        139c36a8e6ef61d19c83d1e7387d31d829134691

        SHA256

        9784c5b40b03acb0d741a397c4737d6b39017bb08e68c710fc3fe98f24659f94

        SHA512

        8ae9ba9c4a6476998b4e33932b0e6cf6d4a7d0bb26ba02d760a8360b0e4cd880721c0fd79977446814761986271dd1ef7da4237624d8b12ae03804103b69c273

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/864-1-0x00000000006B0000-0x00000000007B0000-memory.dmp

        Filesize

        1024KB

      • memory/2832-14-0x00000000010B0000-0x00000000010C5000-memory.dmp

        Filesize

        84KB

      • memory/2832-16-0x00000000010B0000-0x00000000010C5000-memory.dmp

        Filesize

        84KB

      • memory/2832-17-0x00000000010B0000-0x00000000010C5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3644-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB