Analysis

  • max time kernel
    149s
  • max time network
    147s
  • 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 08:42

General

  • Target

    2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe

  • Size

    13.7MB

  • MD5

    19d42f70cf2a641da8785c91e58511dc

  • SHA1

    f5586aeaf12a883d755b214f70651cdd74b574b2

  • SHA256

    d42784f3215554b90c84380cbaec443685eeb15b109d170a935a7d6352bf66a3

  • SHA512

    5e565ed3a87500568d4e9c79d72632844e45794b211b807e7a154a9380e073ee9969c8b046e5c4d06425d4370b9f6281b8674aa84412834ccdd43a09b1fac6a5

  • SSDEEP

    3072:FLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:oOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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_19d42f70cf2a641da8785c91e58511dc_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1376
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ccspshkv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1128
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xagapalr.exe" C:\Windows\SysWOW64\ccspshkv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3120
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ccspshkv binPath= "C:\Windows\SysWOW64\ccspshkv\xagapalr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ccspshkv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2712
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ccspshkv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1420
    • 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:2300
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1376 -s 1264
      2⤵
      • Program crash
      PID:1276
  • C:\Windows\SysWOW64\ccspshkv\xagapalr.exe
    C:\Windows\SysWOW64\ccspshkv\xagapalr.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_19d42f70cf2a641da8785c91e58511dc_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1828
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1736
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1828 -s 512
      2⤵
      • Program crash
      PID:1956
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 1376 -ip 1376
    1⤵
      PID:3172
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 476 -p 1828 -ip 1828
      1⤵
        PID:4964

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.1MB

        MD5

        3a7671d52057ba5387a80efd7467b307

        SHA1

        e57a1d5b095ec0bd8eb5bc873f51718605a7864a

        SHA256

        31b7ff8586323637dbe09b7d45b1528f6580c16ac62a83c4a533425a1c69e702

        SHA512

        92bc132683ab81d7496981ffdbb29fd80aa328156b6a58605aea047a0d96af1978ee781319bc1488e1124ac0348a015a970f881ae932d3d9db699542528cde3c

      • memory/1376-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/1376-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/1376-1-0x0000000000610000-0x0000000000710000-memory.dmp

        Filesize

        1024KB

      • memory/1736-16-0x0000000000980000-0x0000000000995000-memory.dmp

        Filesize

        84KB

      • memory/1736-14-0x0000000000980000-0x0000000000995000-memory.dmp

        Filesize

        84KB

      • memory/1736-17-0x0000000000980000-0x0000000000995000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/1828-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB