Analysis

  • max time kernel
    149s
  • 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
    19-01-2025 20:09

General

  • Target

    2025-01-19_08074404f8b31d0e87a7463ad0b8971d_mafia.exe

  • Size

    11.0MB

  • MD5

    08074404f8b31d0e87a7463ad0b8971d

  • SHA1

    6233da81ed9883318a02d5a87fcfcf52e3617cd9

  • SHA256

    bdc9e29f60050c116a263f1b183fd1f15c268e21a29ab43546cc9d1e40e66ab3

  • SHA512

    c02e3363a74a8bee633135005208305c6140b71d5a6f2994f408c80e840ce277a47d6df4de42b2a82dd235c4a4cf6fa7716e52e32ef9796c5d7e8ccb23dabbb8

  • SSDEEP

    24576:L6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ4:GWdLQk

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-19_08074404f8b31d0e87a7463ad0b8971d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-19_08074404f8b31d0e87a7463ad0b8971d_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4856
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fxlqqwya\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2784
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\toskalnl.exe" C:\Windows\SysWOW64\fxlqqwya\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4900
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fxlqqwya binPath= "C:\Windows\SysWOW64\fxlqqwya\toskalnl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-19_08074404f8b31d0e87a7463ad0b8971d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2164
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fxlqqwya "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fxlqqwya
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5048
    • 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:3012
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4856 -s 656
      2⤵
      • Program crash
      PID:4796
  • C:\Windows\SysWOW64\fxlqqwya\toskalnl.exe
    C:\Windows\SysWOW64\fxlqqwya\toskalnl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-19_08074404f8b31d0e87a7463ad0b8971d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:940
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3488
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 940 -s 560
      2⤵
      • Program crash
      PID:4920
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 4856 -ip 4856
    1⤵
      PID:4744
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 548 -p 940 -ip 940
      1⤵
        PID:1168

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.8MB

        MD5

        85c517aa26ae261e0416aa212d501670

        SHA1

        7e52731c6652e1fcb304a5c981e4f3775d3056e4

        SHA256

        86f3f3661816c909735eea15dbdccedf24437a16f1a6b7d2a0fde4eaf1e7e52a

        SHA512

        51f040c4c8adb908d7001a2b7523074d58e6e980f2ad6703cd424b5c21f0cd604d733790b4feae07946b72092565e69031d78265cfca1fa3962f28796f6ebc83

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

      • memory/3488-14-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/3488-16-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

      • memory/3488-17-0x0000000000A00000-0x0000000000A15000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/4856-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/4856-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

      • memory/4856-1-0x00000000006D0000-0x00000000007D0000-memory.dmp

        Filesize

        1024KB