Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-01-2025 18:50

General

  • Target

    2025-01-24_43a80b8b886a686d81d1d75ae7a660c0_mafia.exe

  • Size

    12.2MB

  • MD5

    43a80b8b886a686d81d1d75ae7a660c0

  • SHA1

    2599837bcc0f0c22909ca28c5bf04da844b48433

  • SHA256

    0652a5f8a2fffb7fd3ce53a5895c5a550b2d755825e6a70369aee019cedb33c3

  • SHA512

    8d4ed21b7c40fe3df69de4f45ae94578f0fc0e6648337d2be0c1aaeac84f3181c895f25fa420ae98e280d6a118fa9d0825923fb72c063180467dbfd5e571535e

  • SSDEEP

    24576:sEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZD:pfot

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-24_43a80b8b886a686d81d1d75ae7a660c0_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-24_43a80b8b886a686d81d1d75ae7a660c0_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2616
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\framvyib\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:964
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qdpmfsxh.exe" C:\Windows\SysWOW64\framvyib\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3952
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create framvyib binPath= "C:\Windows\SysWOW64\framvyib\qdpmfsxh.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-24_43a80b8b886a686d81d1d75ae7a660c0_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4940
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description framvyib "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3260
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start framvyib
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:372
    • 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:1676
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2616 -s 664
      2⤵
      • Program crash
      PID:2500
  • C:\Windows\SysWOW64\framvyib\qdpmfsxh.exe
    C:\Windows\SysWOW64\framvyib\qdpmfsxh.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-24_43a80b8b886a686d81d1d75ae7a660c0_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4000
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1364
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4000 -s 560
      2⤵
      • Program crash
      PID:4988
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2616 -ip 2616
    1⤵
      PID:2984
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 4000 -ip 4000
      1⤵
        PID:3948

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.7MB

        MD5

        88025e9daf034cbdef173aac6379be36

        SHA1

        11ac27941ccb58d1f1bd04f2171f7e2fcaa32256

        SHA256

        cd2526722c546e5ff2c8d21ab255134d0ec6539bb6bd7b24072bc50cfb240440

        SHA512

        dab71eac50103e1c1b67d16a15cdb8b8a538bfe797ba2df1695151bc719144bb675fb0b4e8be9b00b26cd6367463445913a27ca58a322c6a1dbd2fbe0977f84c

      • memory/1364-16-0x00000000012C0000-0x00000000012D5000-memory.dmp

        Filesize

        84KB

      • memory/1364-17-0x00000000012C0000-0x00000000012D5000-memory.dmp

        Filesize

        84KB

      • memory/1364-14-0x00000000012C0000-0x00000000012D5000-memory.dmp

        Filesize

        84KB

      • memory/2616-8-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2616-1-0x0000000000680000-0x0000000000780000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/2616-2-0x0000000000490000-0x00000000004A3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB