Analysis

  • max time kernel
    145s
  • max time network
    128s
  • 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:04

General

  • Target

    2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe

  • Size

    12.1MB

  • MD5

    345d5622052f8b631231e989b5c85efd

  • SHA1

    e90c3bd6d1a5ad151007256374a9fce44ce77c37

  • SHA256

    10f5f76b6fce2de585f0ee72990c0d4eeb065c0dcbc13b20c7205abbd4acb0c7

  • SHA512

    b2af695e19f13313b30c5821076b6ef32c190ac242627f0be5e9d2d8673587ff32f79cf9257f31a4db2dbc3c7b03d649cbbb3fc20ebef88b70f38496084272c8

  • SSDEEP

    6144:aLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQI:bTYe+D2jFu+iZoUFhAz

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_345d5622052f8b631231e989b5c85efd_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1836
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rgzehuge\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4552
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\npkqjwg.exe" C:\Windows\SysWOW64\rgzehuge\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4792
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rgzehuge binPath= "C:\Windows\SysWOW64\rgzehuge\npkqjwg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4524
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rgzehuge "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2828
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rgzehuge
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4284
    • 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:2612
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1836 -s 1036
      2⤵
      • Program crash
      PID:2108
  • C:\Windows\SysWOW64\rgzehuge\npkqjwg.exe
    C:\Windows\SysWOW64\rgzehuge\npkqjwg.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_345d5622052f8b631231e989b5c85efd_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2768
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3660
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2768 -s 560
      2⤵
      • Program crash
      PID:4708
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 2768 -ip 2768
    1⤵
      PID:4208
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 1836 -ip 1836
      1⤵
        PID:608

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        ba8004dfd224f958d2472d564945e3fe

        SHA1

        b6ca365b14cc1ed03ae03d4e2c3280afeac300cd

        SHA256

        125980d562698bd4a8f4b9f5fa5c2c2dee1b5092b1233719692ddbda4dbd50aa

        SHA512

        4a4a99362a7f025249058f4d83cb8dd224ebe9a598a23a002fde0f230713f6bd30788201b63516beca3dec97f18d1302e9d00e116762fe7e84ff436706a56509

      • memory/1836-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1836-1-0x0000000000580000-0x0000000000680000-memory.dmp

        Filesize

        1024KB

      • memory/1836-16-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB

      • memory/1836-2-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB

      • memory/1836-15-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2768-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2768-14-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3660-9-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

      • memory/3660-12-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

      • memory/3660-18-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

      • memory/3660-19-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB

      • memory/3660-20-0x0000000000F60000-0x0000000000F75000-memory.dmp

        Filesize

        84KB