Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-02-2025 20:48

General

  • Target

    2025-02-01_f3a44bc30cb52a1f91e730cb059fedfa_mafia.exe

  • Size

    13.9MB

  • MD5

    f3a44bc30cb52a1f91e730cb059fedfa

  • SHA1

    444732a85e3b065fc972fbcbeced19092c6c2fa2

  • SHA256

    254c7a5fc2f5a45a64374fb0f5a9eb834b6cc510e30cec6e1687a20a1a9a7157

  • SHA512

    07405001adc94099dd607fedc8ca11daeb7b859563269b5868332929cb887ff03c75194ac21d38704603748a751b92f7408a296e924a48c088f36fe7445217b4

  • SSDEEP

    24576:NpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttn:noo

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-01_f3a44bc30cb52a1f91e730cb059fedfa_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_f3a44bc30cb52a1f91e730cb059fedfa_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:868
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hjjcdtde\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2348
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rnffcrqe.exe" C:\Windows\SysWOW64\hjjcdtde\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2476
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hjjcdtde binPath= "C:\Windows\SysWOW64\hjjcdtde\rnffcrqe.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_f3a44bc30cb52a1f91e730cb059fedfa_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2872
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hjjcdtde "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3456
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hjjcdtde
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5096
    • 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:3480
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 868 -s 1332
      2⤵
      • Program crash
      PID:576
  • C:\Windows\SysWOW64\hjjcdtde\rnffcrqe.exe
    C:\Windows\SysWOW64\hjjcdtde\rnffcrqe.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_f3a44bc30cb52a1f91e730cb059fedfa_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4156
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4080
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4156 -s 512
      2⤵
      • Program crash
      PID:1672
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 416 -p 868 -ip 868
    1⤵
      PID:2104
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 4156 -ip 4156
      1⤵
        PID:4884

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.0MB

        MD5

        aaf5efa5d210b030df576013892751d5

        SHA1

        e36ebf9bce0b08061f3b37f75f974fe9b3b90277

        SHA256

        156eed58835eb587f232bd3c3417520cf5cced8d368fd2303b7eb6082c8c14f1

        SHA512

        2ab205a76a1805397837ef6b72d801a31cb0bb8de5c578b394d34638d0c5fd1a291f9f1ee5b26828e52ad5248e6a735fea61a69b3e01b16ee162c30f0007c2ed

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/868-2-0x00000000004B0000-0x00000000004C3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/868-8-0x00000000004B0000-0x00000000004C3000-memory.dmp

        Filesize

        76KB

      • memory/868-1-0x00000000006A0000-0x00000000007A0000-memory.dmp

        Filesize

        1024KB

      • memory/4080-16-0x0000000000560000-0x0000000000575000-memory.dmp

        Filesize

        84KB

      • memory/4080-14-0x0000000000560000-0x0000000000575000-memory.dmp

        Filesize

        84KB

      • memory/4080-17-0x0000000000560000-0x0000000000575000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4156-18-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB