Analysis

  • max time kernel
    149s
  • 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
    30/01/2025, 22:25

General

  • Target

    2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe

  • Size

    12.6MB

  • MD5

    173d0dae116ce3af630bb816a5016ce6

  • SHA1

    e922787a276ddb7dcd6a9920f37c69e62c326d69

  • SHA256

    559392ab0d8b5822bfb22af22fa624a4d13ed5dbe2dfb41479b88175c36e115b

  • SHA512

    3c7ac21a257f8b44582b5bf8c337a20cd7053331679ccab22fa1182a516213825ef6bdf182e5253f67c8f61b783aa614045109f5eaff4ace42a16a1149a2c67f

  • SSDEEP

    24576:eEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZ5:3fotz

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-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1876
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pdrfgkkc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2464
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wudenjyu.exe" C:\Windows\SysWOW64\pdrfgkkc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3904
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create pdrfgkkc binPath= "C:\Windows\SysWOW64\pdrfgkkc\wudenjyu.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2372
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description pdrfgkkc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1180
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start pdrfgkkc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:876
    • 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:1404
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1876 -s 604
      2⤵
      • Program crash
      PID:1956
  • C:\Windows\SysWOW64\pdrfgkkc\wudenjyu.exe
    C:\Windows\SysWOW64\pdrfgkkc\wudenjyu.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-30_173d0dae116ce3af630bb816a5016ce6_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4332
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4520
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4332 -s 508
      2⤵
      • Program crash
      PID:4560
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 436 -p 1876 -ip 1876
    1⤵
      PID:2944
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 568 -p 4332 -ip 4332
      1⤵
        PID:5036

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.8MB

        MD5

        68e30ca7071d3c4e166c4bed4a745e5c

        SHA1

        b7d46b8dbc640e0767684e17313442bf758fccfc

        SHA256

        38cb0189c88080b3ad015c7b373993bf92ffbd6b40a88f0fd44111a55c3e18f0

        SHA512

        810272228999761709fd38e36d7726addc064db9d4c04485e7e761f52474436155d96f1168f2fc65d1b845d5af795c9b97d6d72460ebccbd76617b5de8c08453

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

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/1876-2-0x0000000000570000-0x0000000000583000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

      • memory/1876-8-0x0000000000570000-0x0000000000583000-memory.dmp

        Filesize

        76KB

      • memory/1876-1-0x00000000007F0000-0x00000000008F0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4520-14-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB

      • memory/4520-16-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB

      • memory/4520-17-0x00000000012B0000-0x00000000012C5000-memory.dmp

        Filesize

        84KB