Analysis

  • max time kernel
    149s
  • max time network
    146s
  • 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:24

General

  • Target

    2025-01-19_b02add27ccd94eec5f3bbb0b695a5d57_mafia.exe

  • Size

    13.2MB

  • MD5

    b02add27ccd94eec5f3bbb0b695a5d57

  • SHA1

    e5c33b3bd8c65dec6591a5957f24722ee83d76c1

  • SHA256

    0a6699f77db01913025c624843d40f6dc9904d75970a35fa7d8ff9a9d6dfdf99

  • SHA512

    82cecf03904f6acc6046180cb299e2abf8c645c1c990b3f799c3f2503d9b72e42e84e153c1b708ea30695e6d34a6cd031edf87b2a160cfef890ed39fdcb9edfc

  • SSDEEP

    24576:46WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQ3:FWdLQk

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_b02add27ccd94eec5f3bbb0b695a5d57_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-19_b02add27ccd94eec5f3bbb0b695a5d57_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1180
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ryeuxoqn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4608
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\disnhtqs.exe" C:\Windows\SysWOW64\ryeuxoqn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3516
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ryeuxoqn binPath= "C:\Windows\SysWOW64\ryeuxoqn\disnhtqs.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-19_b02add27ccd94eec5f3bbb0b695a5d57_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4464
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ryeuxoqn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4500
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ryeuxoqn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3124
    • 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:2732
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1180 -s 1028
      2⤵
      • Program crash
      PID:5016
  • C:\Windows\SysWOW64\ryeuxoqn\disnhtqs.exe
    C:\Windows\SysWOW64\ryeuxoqn\disnhtqs.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-19_b02add27ccd94eec5f3bbb0b695a5d57_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3356
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3704
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3356 -s 516
      2⤵
      • Program crash
      PID:1828
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 1180 -ip 1180
    1⤵
      PID:2540
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 3356 -ip 3356
      1⤵
        PID:928

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.5MB

        MD5

        e3189e54972938db3b54c88822f37ae7

        SHA1

        fbbd284a5746cd17a95f528a8864c1e498b6a48a

        SHA256

        ea4a8b089dc1c056dc5c83e45fbc6abb5b0ccda697c6f11f7a8e0c3e667d4ed9

        SHA512

        36fd88dae2a78d2dc81a8a8b95dfc20349ecd3cc4d0857544a739b16876e18a12d1f519bd8c01ed4b011c9d1f149f6a865bccbb80adf931220823d2b9c2d2dc3

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

        Filesize

        316KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        1024KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

      • memory/3704-14-0x0000000000E30000-0x0000000000E45000-memory.dmp

        Filesize

        84KB

      • memory/3704-16-0x0000000000E30000-0x0000000000E45000-memory.dmp

        Filesize

        84KB

      • memory/3704-18-0x0000000000E30000-0x0000000000E45000-memory.dmp

        Filesize

        84KB