Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-01-2025 20:08

General

  • Target

    2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe

  • Size

    14.7MB

  • MD5

    aaf8e49d400422b269c8ae719a1fa882

  • SHA1

    f2bd9b6119558167165030f0b4f5c3fb632e456f

  • SHA256

    dc1457831a3170e63c3bc791a963c11f1cf670862c7f9c65d4813b97c54ccf66

  • SHA512

    267f2de50c70bee415f67c706227b5a66d2785d2e745a013e54aa7c6ea88296fa0c53455bca168d4e05fa11690cbd629cd9bde751e8f2719c681edfc3b9a7bc2

  • 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-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2364
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xovtwknw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4140
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wihvgqys.exe" C:\Windows\SysWOW64\xovtwknw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2472
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xovtwknw binPath= "C:\Windows\SysWOW64\xovtwknw\wihvgqys.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3604
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xovtwknw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xovtwknw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:792
    • 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:2580
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2364 -s 1036
      2⤵
      • Program crash
      PID:3664
  • C:\Windows\SysWOW64\xovtwknw\wihvgqys.exe
    C:\Windows\SysWOW64\xovtwknw\wihvgqys.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_aaf8e49d400422b269c8ae719a1fa882_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3380
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3380 -s 508
      2⤵
      • Program crash
      PID:860
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 2364 -ip 2364
    1⤵
      PID:840
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 184 -p 3380 -ip 3380
      1⤵
        PID:3436

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.7MB

        MD5

        6f303a357c9a17389e0bbda915946851

        SHA1

        d4a4f91ea8a2a718aa5316b79573221ce485c5ca

        SHA256

        e4cfb5aaa41d69bf2d095c756608af76f0b8e0789827e80762d825ec13664eb6

        SHA512

        4c9fe7e7b778de858c0c34dd72df9407adae3dcdb0334ef20421a6cbb77a89a4ee0c3cc9f734b678b05c3ae5912cf7366205cabbbaeaee169970a62610a7eafb

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2364-1-0x0000000000620000-0x0000000000720000-memory.dmp

        Filesize

        1024KB

      • memory/3376-14-0x00000000003A0000-0x00000000003B5000-memory.dmp

        Filesize

        84KB

      • memory/3376-16-0x00000000003A0000-0x00000000003B5000-memory.dmp

        Filesize

        84KB

      • memory/3376-17-0x00000000003A0000-0x00000000003B5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB