Analysis

  • max time kernel
    147s
  • 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
    22-01-2025 19:08

General

  • Target

    2025-01-22_49340c3d7ab1f049b2399e5733052382_mafia.exe

  • Size

    11.5MB

  • MD5

    49340c3d7ab1f049b2399e5733052382

  • SHA1

    6ebbae3f19bc5219e9f534f90b45acd05cd34715

  • SHA256

    8ca0c45c5ad2a3699ddfd096c361372a5a8a76ccb1303c51ba6dd03f21541fde

  • SHA512

    1b192462ce35161b2285123c1c9177ac16e5b967f53dd90d750d8ba2f287f0b2555355a4f9fa6ff5cc570bb6a57db7116175886ecab426a59fec27d1fadc3baf

  • SSDEEP

    24576:t6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQn:cWdLQk

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-22_49340c3d7ab1f049b2399e5733052382_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-22_49340c3d7ab1f049b2399e5733052382_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2416
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\eoglkoia\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1300
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pnwxgcrn.exe" C:\Windows\SysWOW64\eoglkoia\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4496
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create eoglkoia binPath= "C:\Windows\SysWOW64\eoglkoia\pnwxgcrn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-22_49340c3d7ab1f049b2399e5733052382_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3428
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description eoglkoia "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start eoglkoia
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3640
    • 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:1640
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2416 -s 648
      2⤵
      • Program crash
      PID:3736
  • C:\Windows\SysWOW64\eoglkoia\pnwxgcrn.exe
    C:\Windows\SysWOW64\eoglkoia\pnwxgcrn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-22_49340c3d7ab1f049b2399e5733052382_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1932
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2800
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1932 -s 508
      2⤵
      • Program crash
      PID:3268
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 2416 -ip 2416
    1⤵
      PID:4036
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1932 -ip 1932
      1⤵
        PID:1768

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.7MB

        MD5

        6775ac32aad59feec6fdad0d900f96e1

        SHA1

        0328f7516265a1fff0a2bf505f3e216a9e485b12

        SHA256

        8bfbef801dc12d730a7e4264259a16f31054d36011fd7d0f9b7a3357ae540d74

        SHA512

        88ab03a342757b2e6336269d4a021b3b7db1011534b1680919eabc30fe54922b8220663798381ddc5f89b766b512a0ac475af810e2dd186bf50ecebde030528b

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        316KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        316KB

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2416-1-0x00000000006B0000-0x00000000007B0000-memory.dmp

        Filesize

        1024KB

      • memory/2800-14-0x0000000000C80000-0x0000000000C95000-memory.dmp

        Filesize

        84KB

      • memory/2800-16-0x0000000000C80000-0x0000000000C95000-memory.dmp

        Filesize

        84KB

      • memory/2800-17-0x0000000000C80000-0x0000000000C95000-memory.dmp

        Filesize

        84KB