Analysis

  • max time kernel
    149s
  • 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 04:50

General

  • Target

    2025-02-01_3c35df53659a5e0bf3470dae3ca6223f_mafia.exe

  • Size

    11.8MB

  • MD5

    3c35df53659a5e0bf3470dae3ca6223f

  • SHA1

    6299504ef85eb56575fabf71ac081f9bc77e6557

  • SHA256

    c4c31118bfe9b71372e7a3b0d8af32cb2fbdc90d2907a1527b68757c6a625972

  • SHA512

    ae63f20babc5aed1b83862b161fcf010d80ba58bd75bd75592ca0554d6d5b1997cf139574a9072f826f5b0b9978caaef9515123b6086f65559ae6f588f44adfa

  • SSDEEP

    3072:ULBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/S:ROMdRQr7OB0ypmMXnl8XEPM3noSWOCr

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_3c35df53659a5e0bf3470dae3ca6223f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_3c35df53659a5e0bf3470dae3ca6223f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2364
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qlanhyxk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5024
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\vdswjhqq.exe" C:\Windows\SysWOW64\qlanhyxk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2908
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qlanhyxk binPath= "C:\Windows\SysWOW64\qlanhyxk\vdswjhqq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_3c35df53659a5e0bf3470dae3ca6223f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4996
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qlanhyxk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:508
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qlanhyxk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1056
    • 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:2448
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2364 -s 1280
      2⤵
      • Program crash
      PID:4196
  • C:\Windows\SysWOW64\qlanhyxk\vdswjhqq.exe
    C:\Windows\SysWOW64\qlanhyxk\vdswjhqq.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_3c35df53659a5e0bf3470dae3ca6223f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2900
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3420
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2900 -s 512
      2⤵
      • Program crash
      PID:2984
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 2364 -ip 2364
    1⤵
      PID:1408
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 512 -p 2900 -ip 2900
      1⤵
        PID:224

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.1MB

        MD5

        0ea2df61ceb945e4bd1c476ff04cdf48

        SHA1

        9a02893ab47f2389c877c3d1d6f32a0cbf3d6f12

        SHA256

        fda4f8c8fad4c467533e461aba0b75241fe29adb7db2aa1ef5638e7dff3d550c

        SHA512

        da46893d260b70c499cf207bb2bd560ef65b7f90727fbc0c0b39c63f9fd4e9255cdd19ec28016ced6da8e7c9d981de5e0f4f20589b6d45aa04aeab6e35a91380

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2364-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/2364-8-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3420-14-0x0000000000990000-0x00000000009A5000-memory.dmp

        Filesize

        84KB

      • memory/3420-16-0x0000000000990000-0x00000000009A5000-memory.dmp

        Filesize

        84KB

      • memory/3420-17-0x0000000000990000-0x00000000009A5000-memory.dmp

        Filesize

        84KB