Analysis

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

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-01-2025 19:54

General

  • Target

    2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe

  • Size

    10.9MB

  • MD5

    064ff886ce1dfae017a3a8ffd297c74d

  • SHA1

    93a9531d32673ebeb3f9adc54aebe0caa6ce9ecc

  • SHA256

    5f51d30f289b1a454e24a69f7b6bedbe46feac7777fb99b903edcb0e12064ff4

  • SHA512

    0da174a798c099d9e03ddd4b6a015c37ae013aa18dc6c6327153fea8f9a551b8f44d7a3fd7d89ccdee1be333c68c079b1349bcfd13e5dff38b898336e493458a

  • SSDEEP

    49152:/qE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:/qtYc3

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-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4424
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\whoenwhr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4320
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gxfdnipd.exe" C:\Windows\SysWOW64\whoenwhr\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2228
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create whoenwhr binPath= "C:\Windows\SysWOW64\whoenwhr\gxfdnipd.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description whoenwhr "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4696
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start whoenwhr
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:748
    • 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:3924
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4424 -s 592
      2⤵
      • Program crash
      PID:4016
  • C:\Windows\SysWOW64\whoenwhr\gxfdnipd.exe
    C:\Windows\SysWOW64\whoenwhr\gxfdnipd.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3296
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2056
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3296 -s 548
      2⤵
      • Program crash
      PID:3752
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 460 -p 3296 -ip 3296
    1⤵
      PID:2128
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 4424 -ip 4424
      1⤵
        PID:2296

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.7MB

        MD5

        a54b021a8223c5a7125f46b1c75749fb

        SHA1

        73ed8ef52e45823bcc01173389ca9c9d840c81a7

        SHA256

        7d6d2980b591cbf4e66b89610569b695d1c100336bb4e07bb894a5925884d205

        SHA512

        ce58683aeffa229758a36fe929c0d00e917dbebade0966e5f4ad92dbb62d1cfb8c168e2dea676b080677c4da79dcb70d6d2bbb3319f12ea89b56a4aeaf3e37bf

      • memory/2056-6-0x0000000000E90000-0x0000000000EA5000-memory.dmp

        Filesize

        84KB

      • memory/2056-11-0x0000000000E90000-0x0000000000EA5000-memory.dmp

        Filesize

        84KB

      • memory/2056-12-0x0000000000E90000-0x0000000000EA5000-memory.dmp

        Filesize

        84KB

      • memory/3296-8-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/4424-1-0x00007FFD400B0000-0x00007FFD402A5000-memory.dmp

        Filesize

        2.0MB

      • memory/4424-10-0x00007FFD400B0000-0x00007FFD402A5000-memory.dmp

        Filesize

        2.0MB

      • memory/4424-9-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB