Analysis

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

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

General

  • Target

    2025-01-19_0d5531100e7d9824de6e5aecffbe9341_mafia.exe

  • Size

    11.0MB

  • MD5

    0d5531100e7d9824de6e5aecffbe9341

  • SHA1

    5ced127d1e9ae254d058712c395cf8bda7f27ab7

  • SHA256

    f9fcec7285c18f2bf701fc31f799ea3a28bbb84a51290d03ec010dc3559f2f10

  • SHA512

    f0cb42ec59009bba4ef7801b46609ed4d5e6772fe99823f4046f9a52bd27eaeb22f0866d4538ef4f7be755e8b54862c6f3e2702d21c1186dbb2af3a1a7a35b32

  • SSDEEP

    6144:WLQ1p/2p5e+D2jFHO+iZoy6u9FlfrXEz9NQNQNQNQNQNQNQNQNQNQNQNQNQNQNQF:HTYe+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-19_0d5531100e7d9824de6e5aecffbe9341_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-19_0d5531100e7d9824de6e5aecffbe9341_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:780
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\shitzgxk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2004
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tcwbtsnj.exe" C:\Windows\SysWOW64\shitzgxk\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1724
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create shitzgxk binPath= "C:\Windows\SysWOW64\shitzgxk\tcwbtsnj.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-19_0d5531100e7d9824de6e5aecffbe9341_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4780
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description shitzgxk "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:848
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start shitzgxk
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1300
    • 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:3492
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 780 -s 1036
      2⤵
      • Program crash
      PID:1056
  • C:\Windows\SysWOW64\shitzgxk\tcwbtsnj.exe
    C:\Windows\SysWOW64\shitzgxk\tcwbtsnj.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-19_0d5531100e7d9824de6e5aecffbe9341_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3272
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2408
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3272 -s 560
      2⤵
      • Program crash
      PID:4732
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 204 -p 780 -ip 780
    1⤵
      PID:2320
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 484 -p 3272 -ip 3272
      1⤵
        PID:1464

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.3MB

        MD5

        bd9841e8023a0d7ce8d5869cd5901d5f

        SHA1

        5c3c5339c17c615b0c4a9b12bfdc00caee4369ec

        SHA256

        bddb473f40d1de92e72c2baca688938f30c556324d413584612a302f6ce2986e

        SHA512

        465adb4d75ea5d1b45a47fec1f04efe4b182cc46f5fd98702e2c9c1f8242fab899da751355f28da6cdef7a60579785df5ee94ba8b419634fbbb1eb980bd423cb

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

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/780-1-0x00000000006E0000-0x00000000007E0000-memory.dmp

        Filesize

        1024KB

      • memory/780-17-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/780-16-0x00000000005A0000-0x00000000005B3000-memory.dmp

        Filesize

        76KB

      • memory/780-15-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

      • memory/2408-20-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

        Filesize

        84KB

      • memory/2408-22-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

        Filesize

        84KB

      • memory/2408-21-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

        Filesize

        84KB

      • memory/2408-11-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

        Filesize

        84KB

      • memory/2408-14-0x0000000000FC0000-0x0000000000FD5000-memory.dmp

        Filesize

        84KB

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

        Filesize

        772KB

      • memory/3272-19-0x0000000000400000-0x00000000004C1000-memory.dmp

        Filesize

        772KB

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

        Filesize

        772KB

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

        Filesize

        772KB