Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    09-01-2025 18:51

General

  • Target

    2025-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe

  • Size

    10.8MB

  • MD5

    bc0920bf926ce5afd4b3bddbe164c661

  • SHA1

    02d2615da6e80b0f12c8f5af0059034365a7e7c6

  • SHA256

    125855b740b1777ffecc46e376fba8c12e89daa1ac4d4c64c9df5ecc00380b74

  • SHA512

    56f38c84ff5439fe5301fcbc934f8a0212bb535b1e6d41d5207a2b7ce18713eda482557cfa3bec79f3ee77a2e3153c946234230070e2fae85d3a9ab67b5877b5

  • SSDEEP

    6144:1LQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQQ:GTYe+D2jFu+iZoUFhAz

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-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4884
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vwfzqumm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3928
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kmfqxftj.exe" C:\Windows\SysWOW64\vwfzqumm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create vwfzqumm binPath= "C:\Windows\SysWOW64\vwfzqumm\kmfqxftj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2648
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description vwfzqumm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1060
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start vwfzqumm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3024
    • 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:2916
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4884 -s 1208
      2⤵
      • Program crash
      PID:220
  • C:\Windows\SysWOW64\vwfzqumm\kmfqxftj.exe
    C:\Windows\SysWOW64\vwfzqumm\kmfqxftj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-09_bc0920bf926ce5afd4b3bddbe164c661_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1476
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3268
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1476 -s 504
      2⤵
      • Program crash
      PID:3376
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4884 -ip 4884
    1⤵
      PID:3384
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 1476 -ip 1476
      1⤵
        PID:5116

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.6MB

        MD5

        3718c0cb7b270210a33a63ff8c3112a7

        SHA1

        f638cdac906aca70c105bef19043cd8b2556b77d

        SHA256

        481040fa375b3aa15f4b82a9f8d51c53deef349c176aeea9ec927a45924e01b3

        SHA512

        c8d042ebcc698a5c3e223fe56bed00cbe5512ffb63d68c9590b46d91f39715875a85ad3fb7e1ee368a2dc109570be52117b69871819efb47987d191c3668fb1a

      • memory/1476-8-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/1476-16-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/1476-10-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/1476-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/3268-14-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3268-11-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3268-20-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3268-21-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3268-22-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4884-2-0x0000000000530000-0x0000000000543000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4884-1-0x0000000000550000-0x0000000000650000-memory.dmp

        Filesize

        1024KB

      • memory/4884-19-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4884-18-0x0000000000530000-0x0000000000543000-memory.dmp

        Filesize

        76KB

      • memory/4884-17-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB