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
    05-02-2025 23:24

General

  • Target

    2025-02-05_08d539c30745d86b9c8bda52728e226b_mafia.exe

  • Size

    14.3MB

  • MD5

    08d539c30745d86b9c8bda52728e226b

  • SHA1

    12848039f5ed97febb6fe81cbc65a4b8538e1d7e

  • SHA256

    82ee833b8910eaf9657cb934e63ba26261207d6f167321d62681a4fcdeab6e11

  • SHA512

    3a86da57d01e866ce988a49373356f0c104f97997cbd544753195192ea907b415fcad12a785036967457263f5514276b1358a3e427cd80195989ce340f7eb3c6

  • SSDEEP

    6144:aLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQb:bTYe+D2jFu+iZoUFhAz2

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-05_08d539c30745d86b9c8bda52728e226b_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-05_08d539c30745d86b9c8bda52728e226b_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:5100
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bjoueuny\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4680
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wetxkirr.exe" C:\Windows\SysWOW64\bjoueuny\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3552
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bjoueuny binPath= "C:\Windows\SysWOW64\bjoueuny\wetxkirr.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-05_08d539c30745d86b9c8bda52728e226b_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:312
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bjoueuny "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bjoueuny
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3168
    • 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:3048
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 5100 -s 592
      2⤵
      • Program crash
      PID:4608
  • C:\Windows\SysWOW64\bjoueuny\wetxkirr.exe
    C:\Windows\SysWOW64\bjoueuny\wetxkirr.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-05_08d539c30745d86b9c8bda52728e226b_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4568
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1136
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4568 -s 520
      2⤵
      • Program crash
      PID:2772
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 5100 -ip 5100
    1⤵
      PID:2644
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 508 -p 4568 -ip 4568
      1⤵
        PID:4224

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.6MB

        MD5

        7a7802a8f4688d6008680bf32a95ed4f

        SHA1

        837b6c6e3ff993f48f0fcae6fba26cca5a4bef7a

        SHA256

        77904f157195e67c55631b0974e54e3481891fc6a0007aaec946b085be84728a

        SHA512

        8c4df3639796527ccb7b94e5258a2b5b6c4c691cbd896cc4d9c8d6a58b969b74808263b9eccddf2755f29ebafc4f06ae7bd9cd75d86d4e72c9990ebe0e043ce6

      • memory/1136-11-0x0000000000CB0000-0x0000000000CC5000-memory.dmp

        Filesize

        84KB

      • memory/1136-18-0x0000000000CB0000-0x0000000000CC5000-memory.dmp

        Filesize

        84KB

      • memory/1136-19-0x0000000000CB0000-0x0000000000CC5000-memory.dmp

        Filesize

        84KB

      • memory/4568-10-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/4568-9-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        772KB

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

        Filesize

        772KB

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

        Filesize

        84KB

      • memory/5100-2-0x00000000005E0000-0x00000000005F3000-memory.dmp

        Filesize

        76KB

      • memory/5100-1-0x00000000006D0000-0x00000000007D0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        772KB

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

        Filesize

        84KB

      • memory/5100-14-0x00000000005E0000-0x00000000005F3000-memory.dmp

        Filesize

        76KB