Analysis

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

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

General

  • Target

    2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe

  • Size

    12.4MB

  • MD5

    30a7d8bf5a7eb75f9e72c522ae0b0efd

  • SHA1

    54201ea3b968280c003d8b43136bcd274ce050cb

  • SHA256

    ab7df9602cb6368e75710ec61a31f508242f8d33cb107ce293fe807434d942b7

  • SHA512

    693bae076588d7e8d8c44be14452e72238216b1446f1f1a795af36ec34ca56d273a745673c74437f7b929c65ac24d7776c32bbee31aeaa292aa76f8910322ce9

  • SSDEEP

    49152:oqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:oqtYc3

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-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4400
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bdlcptxx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2864
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\frqepzhb.exe" C:\Windows\SysWOW64\bdlcptxx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2596
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bdlcptxx binPath= "C:\Windows\SysWOW64\bdlcptxx\frqepzhb.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4820
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bdlcptxx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1392
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bdlcptxx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2640
    • 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:320
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4400 -s 892
      2⤵
      • Program crash
      PID:4032
  • C:\Windows\SysWOW64\bdlcptxx\frqepzhb.exe
    C:\Windows\SysWOW64\bdlcptxx\frqepzhb.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_30a7d8bf5a7eb75f9e72c522ae0b0efd_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1836
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2132
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1836 -s 512
      2⤵
      • Program crash
      PID:1176
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1836 -ip 1836
    1⤵
      PID:3460
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 480 -p 4400 -ip 4400
      1⤵
        PID:2956

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        13.2MB

        MD5

        ccfdd3b3bd716781c58f384e57832015

        SHA1

        16cbe22c63946bab54a091bbc868f5a1029bf817

        SHA256

        587d46422210f07b6fa947c32729635b21defda03a4030132ca3a4ac6b6bdd80

        SHA512

        51ce7ef3d59287d5aa22c98c56e96018d19308cdb12d4be05d1602cd7dabbb17269c9579dbad6907436dc8a5312f92f753f7463890a005dbdc0a2c48dca0e177

      • memory/1836-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/2132-8-0x0000000000E30000-0x0000000000E45000-memory.dmp

        Filesize

        84KB

      • memory/2132-14-0x0000000000E30000-0x0000000000E45000-memory.dmp

        Filesize

        84KB

      • memory/2132-15-0x0000000000E30000-0x0000000000E45000-memory.dmp

        Filesize

        84KB

      • memory/4400-1-0x0000000002F50000-0x0000000003050000-memory.dmp

        Filesize

        1024KB

      • memory/4400-2-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/4400-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4400-12-0x00000000001C0000-0x00000000001D3000-memory.dmp

        Filesize

        76KB

      • memory/4400-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB