Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11-01-2025 16:37

General

  • Target

    2025-01-11_cf1854207054c0fc2d20cc74a9eb818f_mafia.exe

  • Size

    10.6MB

  • MD5

    cf1854207054c0fc2d20cc74a9eb818f

  • SHA1

    867e51bdfc3dfeaf1c644ba2c1400fe36a8d414d

  • SHA256

    b513bc873cb6846cd3957141af65e5f9a30d673fcc2d4ab7ef09938cdf5bc81d

  • SHA512

    e5eaf9c8cf7a57df4d1d5d3f14a104b9fd817a6e83903abb25d41d16a4665f12c88bbd8baf1eb46308ec53a704553ba5ca8e19e1179d4449343f4badd26b4e57

  • SSDEEP

    24576:CpomTTN9ttttttttttttttttttttttttttttttttttttttttttttttttttttttt3:moo

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-11_cf1854207054c0fc2d20cc74a9eb818f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-11_cf1854207054c0fc2d20cc74a9eb818f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4172
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kxggyhea\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:228
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rtounak.exe" C:\Windows\SysWOW64\kxggyhea\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3312
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kxggyhea binPath= "C:\Windows\SysWOW64\kxggyhea\rtounak.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-11_cf1854207054c0fc2d20cc74a9eb818f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4920
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kxggyhea "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4444
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kxggyhea
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2212
    • 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:2768
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4172 -s 1036
      2⤵
      • Program crash
      PID:5076
  • C:\Windows\SysWOW64\kxggyhea\rtounak.exe
    C:\Windows\SysWOW64\kxggyhea\rtounak.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-11_cf1854207054c0fc2d20cc74a9eb818f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2400
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3828
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2400 -s 528
      2⤵
      • Program crash
      PID:1996
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 4172 -ip 4172
    1⤵
      PID:2808
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 2400 -ip 2400
      1⤵
        PID:1004

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.1MB

        MD5

        2bb347d87b00665a23dc9bdcbd27658e

        SHA1

        d8f7e10710b37f27f4d9af9bb0d68cc180466094

        SHA256

        a4574074382a6fe79191c5eeca0f7cc650f5b763d3f558f550f93b3e47a4b217

        SHA512

        b65ec93a6ac50973b168b2109604766371ea8a53ce8d08dffd44b055fb99f72d4deb6436db2ab947a325cbb7f7df10f83540fa4c273906fafc3e15ad35f7d7d9

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3828-14-0x0000000000A50000-0x0000000000A65000-memory.dmp

        Filesize

        84KB

      • memory/3828-16-0x0000000000A50000-0x0000000000A65000-memory.dmp

        Filesize

        84KB

      • memory/3828-17-0x0000000000A50000-0x0000000000A65000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        1024KB