Analysis

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

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

General

  • Target

    2025-02-02_9e54799a6d1ce9d9b4aab05f59141e88_mafia.exe

  • Size

    12.2MB

  • MD5

    9e54799a6d1ce9d9b4aab05f59141e88

  • SHA1

    5a2708cfb96b1ed2ab880a8aaaa3ea1e25709b41

  • SHA256

    cc37d38e078fb1516375a02f84093023df75a55b4c2ca880fa98255175ee7da7

  • SHA512

    601a8af10c73544b05456f31103aeb3927fd6718a91973d6cec63035fe23a4819b66569996e7e431fd22cac3d5c5a16977930b65bdee989b62e8d9f51327782b

  • SSDEEP

    3072:ULBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:ROMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-02_9e54799a6d1ce9d9b4aab05f59141e88_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_9e54799a6d1ce9d9b4aab05f59141e88_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1644
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bxwxrcuv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:700
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ltimzxgg.exe" C:\Windows\SysWOW64\bxwxrcuv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1600
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bxwxrcuv binPath= "C:\Windows\SysWOW64\bxwxrcuv\ltimzxgg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_9e54799a6d1ce9d9b4aab05f59141e88_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3416
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bxwxrcuv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1392
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bxwxrcuv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2876
    • 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:2408
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1644 -s 1192
      2⤵
      • Program crash
      PID:3668
  • C:\Windows\SysWOW64\bxwxrcuv\ltimzxgg.exe
    C:\Windows\SysWOW64\bxwxrcuv\ltimzxgg.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_9e54799a6d1ce9d9b4aab05f59141e88_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3148
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3568
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3148 -s 512
      2⤵
      • Program crash
      PID:1232
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 1644 -ip 1644
    1⤵
      PID:2368
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 3148 -ip 3148
      1⤵
        PID:4632

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.0MB

        MD5

        1d7ab04792e07201e6a5441f4ed11dae

        SHA1

        99fb8db8aa04cc6f0ffdb8826ccf7771b75a5d7b

        SHA256

        03afb073bd0bf6ecacdc998e03ae42b6ddcbf87d6c3ece249d257a59e6940ae4

        SHA512

        484de0ca292d739fac674b206f12931ad08abb89c842c330e652371428daf076bcf55672128f7308a70acce98cf8d0eef83b751b95ced0a0c53b85cc6a07362f

      • memory/1644-8-0x0000000000520000-0x0000000000533000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1644-2-0x0000000000520000-0x0000000000533000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/1644-1-0x0000000000710000-0x0000000000810000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/3568-14-0x0000000000440000-0x0000000000455000-memory.dmp

        Filesize

        84KB

      • memory/3568-16-0x0000000000440000-0x0000000000455000-memory.dmp

        Filesize

        84KB

      • memory/3568-19-0x0000000000440000-0x0000000000455000-memory.dmp

        Filesize

        84KB