Analysis

  • max time kernel
    149s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    30-01-2025 16:31

General

  • Target

    2025-01-30_8ba95e2c690ea0eaae268ccbea0bf6a5_mafia.exe

  • Size

    10.1MB

  • MD5

    8ba95e2c690ea0eaae268ccbea0bf6a5

  • SHA1

    347c94a8d5128b256eb0469229158d998c10a8b7

  • SHA256

    23add7fb45eafa098b31903d7ee76734723361eb68c915b07e2fc14ec4088e89

  • SHA512

    a0d54ccf907d79edfb2f4a24251051a1fda83c0949b35a11e50c973d69e468906b6a59be30544ee5eaf013414912e4f4a6e2e9e3c4d1c49784827b8778260301

  • SSDEEP

    24576:n6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQP:6WdLQk

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-01-30_8ba95e2c690ea0eaae268ccbea0bf6a5_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_8ba95e2c690ea0eaae268ccbea0bf6a5_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2144
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rutrwnmf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4580
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uwpahpdt.exe" C:\Windows\SysWOW64\rutrwnmf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2236
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rutrwnmf binPath= "C:\Windows\SysWOW64\rutrwnmf\uwpahpdt.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_8ba95e2c690ea0eaae268ccbea0bf6a5_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1224
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rutrwnmf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rutrwnmf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3140
    • 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:1052
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2144 -s 1040
      2⤵
      • Program crash
      PID:1756
  • C:\Windows\SysWOW64\rutrwnmf\uwpahpdt.exe
    C:\Windows\SysWOW64\rutrwnmf\uwpahpdt.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_8ba95e2c690ea0eaae268ccbea0bf6a5_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3020
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2276
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3020 -s 512
      2⤵
      • Program crash
      PID:2884
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 412 -p 2144 -ip 2144
    1⤵
      PID:2296
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 3020 -ip 3020
      1⤵
        PID:4136

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        27348a4976725a4459662023def4591d

        SHA1

        f37abd4a682275f61e1ee5c16ffd574245056d3f

        SHA256

        e421a39d37b84a50e899c78863c4ad896177a74056a9d6162e3b5d9cec8c8212

        SHA512

        f52fa50aca40a50555dfae7089e19584a48e97dc5b0ace11cd41d63b3604b76c499419ad27e8b245ce537c6818169b5499b4628bacc34576e495c44c95e2ef9a

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

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        316KB

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

        Filesize

        76KB

      • memory/2144-1-0x0000000000650000-0x0000000000750000-memory.dmp

        Filesize

        1024KB

      • memory/2276-14-0x0000000000950000-0x0000000000965000-memory.dmp

        Filesize

        84KB

      • memory/2276-16-0x0000000000950000-0x0000000000965000-memory.dmp

        Filesize

        84KB

      • memory/2276-17-0x0000000000950000-0x0000000000965000-memory.dmp

        Filesize

        84KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB