Analysis

  • max time kernel
    145s
  • 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
    15-01-2025 18:37

General

  • Target

    2025-01-15_495a4f5942be9c692b3f1a377dbd3ed6_mafia.exe

  • Size

    13.6MB

  • MD5

    495a4f5942be9c692b3f1a377dbd3ed6

  • SHA1

    18a101af5fb4920b2aca09125bc943204733e3bc

  • SHA256

    2e9ae7676eb981e72b227131076be16ea55bc28e1e719207da87ee3d5172601b

  • SHA512

    6e88c71d3bec5a100af88549e4fb38939c46853d95a31f004afbc4110622293d74e0edbbe36bf82ce8f3334ae1549a0925d68f8e5e4f148f1e77dfe5f91151f0

  • SSDEEP

    6144:JLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQw:KTYe+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-15_495a4f5942be9c692b3f1a377dbd3ed6_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-15_495a4f5942be9c692b3f1a377dbd3ed6_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:676
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\avorzazp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4132
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zuyqgrtr.exe" C:\Windows\SysWOW64\avorzazp\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4872
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create avorzazp binPath= "C:\Windows\SysWOW64\avorzazp\zuyqgrtr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-15_495a4f5942be9c692b3f1a377dbd3ed6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3480
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description avorzazp "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4780
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start avorzazp
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2028
    • 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:220
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 676 -s 1184
      2⤵
      • Program crash
      PID:2208
  • C:\Windows\SysWOW64\avorzazp\zuyqgrtr.exe
    C:\Windows\SysWOW64\avorzazp\zuyqgrtr.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-15_495a4f5942be9c692b3f1a377dbd3ed6_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2124
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1568
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2124 -s 516
      2⤵
      • Program crash
      PID:2752
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 676 -ip 676
    1⤵
      PID:4692
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 2124 -ip 2124
      1⤵
        PID:224

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.9MB

        MD5

        2e9c40a565b47eea57f46338a9b60f66

        SHA1

        3d0d7d460cbc6d31277b5a73e26e1088d27a07a5

        SHA256

        4a0a65ac9784c2eeafb049fb222adcff3085268cbca9f1cd7f2d1704b4d9d864

        SHA512

        878d7be20e0818e36ead56f80a85bc5851b3a132c01cba8aa4c592107fc0c3dc47b4e83949e8b38e3b5b46c86aa694e09df264bd159b686c34fcf658862c5a33

      • memory/676-13-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        84KB

      • memory/676-2-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

      • memory/676-14-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

      • memory/676-15-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

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

        Filesize

        1024KB

      • memory/1568-9-0x0000000001260000-0x0000000001275000-memory.dmp

        Filesize

        84KB

      • memory/1568-12-0x0000000000400000-0x000000000040E000-memory.dmp

        Filesize

        56KB

      • memory/1568-18-0x0000000001260000-0x0000000001275000-memory.dmp

        Filesize

        84KB

      • memory/1568-19-0x0000000001260000-0x0000000001275000-memory.dmp

        Filesize

        84KB

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

        Filesize

        772KB

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

        Filesize

        772KB