Analysis

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

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

General

  • Target

    2025-02-03_57d27b6113c97e0701143f9b74c6b251_mafia.exe

  • Size

    13.7MB

  • MD5

    57d27b6113c97e0701143f9b74c6b251

  • SHA1

    0b1e6f6725283c90b092f0407c1b26a8d06b7327

  • SHA256

    65744d1fc2a6e583258dd9134447c94053c2fc875058b4e98e7c3b562b5597cb

  • SHA512

    f519efd94de05de0186191ed54a9ea3876ca2ae81431b5aafc675a5ece29d3bb87a7afcdb418cf750142d3aaa89a3903f84a2a74827c961d6ae4661e4c642acd

  • SSDEEP

    3072:zLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:6OMdRQr7OB0ypmMXnl8XEPM3noSWOC

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_57d27b6113c97e0701143f9b74c6b251_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-03_57d27b6113c97e0701143f9b74c6b251_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3168
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\onsflwoc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2428
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ucrvigpp.exe" C:\Windows\SysWOW64\onsflwoc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:624
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create onsflwoc binPath= "C:\Windows\SysWOW64\onsflwoc\ucrvigpp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-03_57d27b6113c97e0701143f9b74c6b251_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3460
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description onsflwoc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2904
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start onsflwoc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3600
    • 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:1248
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3168 -s 1264
      2⤵
      • Program crash
      PID:1484
  • C:\Windows\SysWOW64\onsflwoc\ucrvigpp.exe
    C:\Windows\SysWOW64\onsflwoc\ucrvigpp.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-03_57d27b6113c97e0701143f9b74c6b251_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3556
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4848
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3556 -s 556
      2⤵
      • Program crash
      PID:2908
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 3168 -ip 3168
    1⤵
      PID:2688
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 3556 -ip 3556
      1⤵
        PID:432

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.5MB

        MD5

        fb5e347a7f72b8e2387d6bed2d513aa8

        SHA1

        a05f978100a23685599ec91d29da0cdedb9250bf

        SHA256

        30a6c437aa251a5ab2437b6c3b7c18c34540958c67cf8ac86a186afda3f606f0

        SHA512

        ab11c42049f2c07f155273133f34295a37b2c1f01866d82696f81d4027378aa727e6f8251fe93d61652b94609a64b540083cd28a767e2563d935701a609b1c41

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/3168-2-0x0000000000450000-0x0000000000463000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3168-8-0x0000000000450000-0x0000000000463000-memory.dmp

        Filesize

        76KB

      • memory/3168-1-0x0000000000480000-0x0000000000580000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3556-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB

      • memory/4848-14-0x0000000000A40000-0x0000000000A55000-memory.dmp

        Filesize

        84KB

      • memory/4848-16-0x0000000000A40000-0x0000000000A55000-memory.dmp

        Filesize

        84KB

      • memory/4848-17-0x0000000000A40000-0x0000000000A55000-memory.dmp

        Filesize

        84KB