Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    25-01-2025 18:44

General

  • Target

    2025-01-25_07136c6c2b2c098e614be421dc1f638b_mafia.exe

  • Size

    11.4MB

  • MD5

    07136c6c2b2c098e614be421dc1f638b

  • SHA1

    92af92900994707b8b6d4e9ef06cd0011cb01452

  • SHA256

    db59034e8634366a2f6b7f8a6c91399beb14ad5be0f12e309de7e805963b9b3c

  • SHA512

    46b59ba652e164599319f6cfa67f5ac5dca618fde602bd9de8dc80626275e9997ae3c5ab89b406db67aa68fa9f501445b6e24b065fda7dff03586594481aa979

  • SSDEEP

    24576:l6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQw:kWdLQk

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-25_07136c6c2b2c098e614be421dc1f638b_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-25_07136c6c2b2c098e614be421dc1f638b_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2836
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lnsradqh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3684
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fioixitz.exe" C:\Windows\SysWOW64\lnsradqh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4324
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lnsradqh binPath= "C:\Windows\SysWOW64\lnsradqh\fioixitz.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_07136c6c2b2c098e614be421dc1f638b_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3496
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lnsradqh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2268
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lnsradqh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:624
    • 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:1352
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2836 -s 1180
      2⤵
      • Program crash
      PID:1336
  • C:\Windows\SysWOW64\lnsradqh\fioixitz.exe
    C:\Windows\SysWOW64\lnsradqh\fioixitz.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_07136c6c2b2c098e614be421dc1f638b_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4708
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2172
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4708 -s 512
      2⤵
      • Program crash
      PID:1456
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 2836 -ip 2836
    1⤵
      PID:2436
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 4708 -ip 4708
      1⤵
        PID:3116

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.5MB

        MD5

        4eaec09f2a50325a7658ead02f87106e

        SHA1

        000311d6abade6617dbea993a948ac967badc9c4

        SHA256

        40c7849b4f758d5e09d94423a2306085a7f44aa941ce1742c4c2995b75eb864d

        SHA512

        dcc43afff9f7d3eb013110be3160d0a278465807b3dd9af1fab11a2e997f8b1173b386dab65a96d8c5a8814f81fa5af8c4be389d4d563a05f884c4ec689d1954

      • memory/2172-14-0x0000000000A80000-0x0000000000A95000-memory.dmp

        Filesize

        84KB

      • memory/2172-17-0x0000000000A80000-0x0000000000A95000-memory.dmp

        Filesize

        84KB

      • memory/2172-16-0x0000000000A80000-0x0000000000A95000-memory.dmp

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2836-1-0x0000000000640000-0x0000000000740000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        316KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB