Analysis

  • max time kernel
    148s
  • max time network
    145s
  • 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:16

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:940
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jdnklcxi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2604
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ultrbwdr.exe" C:\Windows\SysWOW64\jdnklcxi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jdnklcxi binPath= "C:\Windows\SysWOW64\jdnklcxi\ultrbwdr.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:4852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jdnklcxi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jdnklcxi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5068
    • 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:2356
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 940 -s 1244
      2⤵
      • Program crash
      PID:916
  • C:\Windows\SysWOW64\jdnklcxi\ultrbwdr.exe
    C:\Windows\SysWOW64\jdnklcxi\ultrbwdr.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:4828
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2828
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4828 -s 508
      2⤵
      • Program crash
      PID:2428
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 452 -p 940 -ip 940
    1⤵
      PID:2108
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 4828 -ip 4828
      1⤵
        PID:4972

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.1MB

        MD5

        50d6822b6f55ade2f6995138f8dc42db

        SHA1

        c5c8682b4620595c1d633872b1f363cafa8b58ab

        SHA256

        0852ff7b52a647186815954302d622d2e87defc09658406a8d64b40a3ffaa98f

        SHA512

        84007a78817353fdab11aec06cb2e37a94ae5001edd8ee17197601ec6377b534752a40090800c6e9768910819e986e19c4451e14b86976bcab18bc7685410c30

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

        Filesize

        316KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

      • memory/940-1-0x0000000000670000-0x0000000000770000-memory.dmp

        Filesize

        1024KB

      • memory/2828-14-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB

      • memory/2828-16-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB

      • memory/2828-17-0x00000000007C0000-0x00000000007D5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

      • memory/4828-19-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB