Analysis

  • max time kernel
    148s
  • 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
    02-02-2025 20:10

General

  • Target

    2025-02-02_35496f3210be76bdf152e68c2d006c97_mafia.exe

  • Size

    14.7MB

  • MD5

    35496f3210be76bdf152e68c2d006c97

  • SHA1

    71edf2a785a3d8c2c202115c56a915c0055b82c6

  • SHA256

    a740950cb54ce7abb6840c2053dcd15c60a414976ba39184e52447622e634d77

  • SHA512

    7abd43f7c0de5ce5b6ef72d8e5c9d3e72698aadc48049dfafd72a449fcec149580e241da52b94ae341e21b7de8855801431d3079d26a14696a24cbf9d9d13b8e

  • SSDEEP

    24576:UpomTTN9ttttttttttttttttttttttttttttttttttttttttttttttttttttttt3:goo

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-02_35496f3210be76bdf152e68c2d006c97_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-02_35496f3210be76bdf152e68c2d006c97_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:736
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qbbjmrbj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2016
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\pocespqi.exe" C:\Windows\SysWOW64\qbbjmrbj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3980
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qbbjmrbj binPath= "C:\Windows\SysWOW64\qbbjmrbj\pocespqi.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-02_35496f3210be76bdf152e68c2d006c97_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2640
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qbbjmrbj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4424
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qbbjmrbj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1884
    • 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:4536
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 736 -s 1296
      2⤵
      • Program crash
      PID:3472
  • C:\Windows\SysWOW64\qbbjmrbj\pocespqi.exe
    C:\Windows\SysWOW64\qbbjmrbj\pocespqi.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-02_35496f3210be76bdf152e68c2d006c97_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:968
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:544
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 968 -s 516
      2⤵
      • Program crash
      PID:2400
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 448 -p 736 -ip 736
    1⤵
      PID:2376
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 968 -ip 968
      1⤵
        PID:1628

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.9MB

        MD5

        13fff02eb3a8633d31fac9a1dfdfb04d

        SHA1

        5c773d1c40f0dcceb5a844424a7c5f0c1a1122f4

        SHA256

        ce55adb8682954027a33b4aa2b0785bff3c439d93fdd0c170875d8c641a0cc3d

        SHA512

        44863236c43ae881b3d7f2ef34016e724e6b820653a391b90cf4669ed9dec2faa4e47bec7f91c84f7d6d000c1bfeabc61b20433b4482fb3f75621b7a4e7e0d3e

      • memory/544-14-0x0000000000A80000-0x0000000000A95000-memory.dmp

        Filesize

        84KB

      • memory/544-17-0x0000000000A80000-0x0000000000A95000-memory.dmp

        Filesize

        84KB

      • memory/544-16-0x0000000000A80000-0x0000000000A95000-memory.dmp

        Filesize

        84KB

      • memory/736-8-0x00000000009C0000-0x00000000009D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/736-1-0x00000000004E0000-0x00000000005E0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/736-2-0x00000000009C0000-0x00000000009D3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB