Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-02-2025 18:51

General

  • Target

    2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe

  • Size

    11.4MB

  • MD5

    0ea20400e10d827ce339c7b33c6f1e7f

  • SHA1

    6dda40aede4b6e2e0144a835af27bf22be037409

  • SHA256

    d3acc474578634a4a5fcb49255e9a97bb5d9391b2f4019426fb7e0c9586b3271

  • SHA512

    e5e2aaade75838d3bb96a31327a022a4765ed5ba80960a94658a06c6c0404cbcae2e5d95a7305de55a999a494e2f4d1da17c848ec740d8eae571fd7388e5b37c

  • SSDEEP

    6144:TLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQg:oTYe+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-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4512
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\knkrgrey\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2772
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ucrvigpp.exe" C:\Windows\SysWOW64\knkrgrey\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3084
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create knkrgrey binPath= "C:\Windows\SysWOW64\knkrgrey\ucrvigpp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3880
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description knkrgrey "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3792
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start knkrgrey
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:868
    • 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:2872
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4512 -s 1368
      2⤵
      • Program crash
      PID:1892
  • C:\Windows\SysWOW64\knkrgrey\ucrvigpp.exe
    C:\Windows\SysWOW64\knkrgrey\ucrvigpp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_0ea20400e10d827ce339c7b33c6f1e7f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3860
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:384
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3860 -s 512
      2⤵
      • Program crash
      PID:4204
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 4512 -ip 4512
    1⤵
      PID:3136
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3860 -ip 3860
      1⤵
        PID:4156

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.0MB

        MD5

        72f80640cf29e910dd8c4a7a97460d60

        SHA1

        efb34fe91fe0500d337b32e4961d16ab49d1efe7

        SHA256

        960ec1f03639ffcdd53dca59f3c4e0ef504016010a73876e9c1f7ce6a0e42fce

        SHA512

        00c5653c864966c1223eb959e6eb7e9d60c4876e05b6f51f30806c9f8bb211b8af9f4894ead09a97a676c79c632483f473f89324474019fd7672eece366e2817

      • memory/384-12-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/384-16-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        772KB

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

        Filesize

        772KB

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

        Filesize

        1024KB

      • memory/4512-2-0x00000000005F0000-0x0000000000603000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4512-11-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4512-10-0x00000000005F0000-0x0000000000603000-memory.dmp

        Filesize

        76KB

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

        Filesize

        772KB