Analysis

  • max time kernel
    143s
  • 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
    07-02-2025 08:25

General

  • Target

    2025-02-07_3c18d492b070d12b0410b79cc5e04490_mafia.exe

  • Size

    12.4MB

  • MD5

    3c18d492b070d12b0410b79cc5e04490

  • SHA1

    a55d2116d24a0e1d6b19bf7cab14c425bbae3c6f

  • SHA256

    5d24aa9379dfd9b590efd8e7346fef96609a3d09b99e2bf28ffd8fdc11f204fb

  • SHA512

    6de497b6d76c2b875b498a8b279c92a7539284880b28e9d5433653ade9bcd64ee4eaf5e337b240ef7320e29d0fe706c4109cdb41a67ffc64a7458408ef1d32eb

  • SSDEEP

    24576:uEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZD:HfotR

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-07_3c18d492b070d12b0410b79cc5e04490_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-07_3c18d492b070d12b0410b79cc5e04490_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4620
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pzpozzqj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2744
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ffgrmnlt.exe" C:\Windows\SysWOW64\pzpozzqj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1396
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pzpozzqj binPath= "C:\Windows\SysWOW64\pzpozzqj\ffgrmnlt.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-07_3c18d492b070d12b0410b79cc5e04490_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1984
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pzpozzqj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:216
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pzpozzqj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2920
    • 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:4924
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4620 -s 1240
      2⤵
      • Program crash
      PID:2072
  • C:\Windows\SysWOW64\pzpozzqj\ffgrmnlt.exe
    C:\Windows\SysWOW64\pzpozzqj\ffgrmnlt.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-07_3c18d492b070d12b0410b79cc5e04490_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3348
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1432
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3348 -s 512
      2⤵
      • Program crash
      PID:3408
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4620 -ip 4620
    1⤵
      PID:4364
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 528 -p 3348 -ip 3348
      1⤵
        PID:4588

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.2MB

        MD5

        c1bf30af272d61517d4f3426153b434a

        SHA1

        5d773495c9a666ed735f8e31a1cb9a23561822ad

        SHA256

        70411146a82313a750a61102e63b2d2d8bdde3a0ee87a5d9495df71e2719545f

        SHA512

        08329b9ebcfdd9a58cfd11a215e6356d8ca04f4fc4f32a5e6b210d8928d199bad46b9e377cbba15dfcfd95c044493d49a30fb6eece8013be7fe081e7f1ae0b62

      • memory/1432-14-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

      • memory/1432-16-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

      • memory/1432-17-0x00000000010A0000-0x00000000010B5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/4620-1-0x0000000000760000-0x0000000000860000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

      • memory/4620-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4620-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB