Analysis

  • max time kernel
    146s
  • max time network
    145s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    04-02-2025 14:03

General

  • Target

    2025-02-04_110b0142e46e4ff35d73ac6ef54edf18_mafia.exe

  • Size

    12.4MB

  • MD5

    110b0142e46e4ff35d73ac6ef54edf18

  • SHA1

    ace5c9248b7b7b7fb278631f1f37e090b51e5321

  • SHA256

    534acce949e283b51c9cb3aa59c3d4dcef805cb81c66c8cef485780ae58f4fd3

  • SHA512

    c7464b39f0d158eb88c66f8b83803a10df6ab9f6abacd513e07456894490a0ef8678d3472b23bdf95fb88098c4fd49bfce83966021d5f3cdabe62f413ed20166

  • SSDEEP

    6144:bLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQD:wTYe+D2jFu+iZoUFhAzA

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-04_110b0142e46e4ff35d73ac6ef54edf18_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-04_110b0142e46e4ff35d73ac6ef54edf18_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1172
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gxcvsnlv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1944
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pgcjazdh.exe" C:\Windows\SysWOW64\gxcvsnlv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2864
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gxcvsnlv binPath= "C:\Windows\SysWOW64\gxcvsnlv\pgcjazdh.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-04_110b0142e46e4ff35d73ac6ef54edf18_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gxcvsnlv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gxcvsnlv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2544
    • 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:1856
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1172 -s 1032
      2⤵
      • Program crash
      PID:4864
  • C:\Windows\SysWOW64\gxcvsnlv\pgcjazdh.exe
    C:\Windows\SysWOW64\gxcvsnlv\pgcjazdh.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-04_110b0142e46e4ff35d73ac6ef54edf18_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2256
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2072
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2256 -s 536
      2⤵
      • Program crash
      PID:3848
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 1172 -ip 1172
    1⤵
      PID:2868
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 2256 -ip 2256
      1⤵
        PID:3456

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.0MB

        MD5

        f0fc75b5d71090544593b10dddda8591

        SHA1

        7e25d9213b65fcea64324fe3d8019e2c27a45cbc

        SHA256

        e9f6f0343809f07261b6c1f0ab7bfb4a0f7fd69dcf76bf7a5d97c5a7c54a5213

        SHA512

        d5e90929ca48c2b27b0bf787830ef55ed00f4d62a5dba7963e0f0f8c0529e263b33d3cbe4c45e3a61a37bcbfa536f600c450a72ce8599ba5ccb96cb9d209cdac

      • memory/1172-13-0x0000000000510000-0x0000000000523000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        1024KB

      • memory/1172-12-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/1172-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/2072-11-0x00000000009E0000-0x00000000009F5000-memory.dmp

        Filesize

        84KB

      • memory/2072-17-0x00000000009E0000-0x00000000009F5000-memory.dmp

        Filesize

        84KB

      • memory/2072-18-0x00000000009E0000-0x00000000009F5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        772KB

      • memory/2256-10-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2256-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2256-16-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB