Analysis

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

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

General

  • Target

    2025-01-13_bb831c7f52de206d92781189a192b098_mafia.exe

  • Size

    11.2MB

  • MD5

    bb831c7f52de206d92781189a192b098

  • SHA1

    024df9bd47f11c0159fb01fa01f7c92552734462

  • SHA256

    c9ddeb670cecb378ac5539460db36b23b32f8f4c416d55372bf3acf10badfde2

  • SHA512

    1962522edcabfd2c0595de017e131d2a6da3ee9fe238dc70636a614a56388255bede9377fef05447789411df14282d4fe9ffd4d5223dabd3928fa1ebbf2e31a0

  • SSDEEP

    24576:l6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQv:kWdLQk

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-13_bb831c7f52de206d92781189a192b098_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-13_bb831c7f52de206d92781189a192b098_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:532
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qvqawbvj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:5024
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\awoolazn.exe" C:\Windows\SysWOW64\qvqawbvj\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4548
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qvqawbvj binPath= "C:\Windows\SysWOW64\qvqawbvj\awoolazn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_bb831c7f52de206d92781189a192b098_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:556
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qvqawbvj "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3752
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qvqawbvj
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3300
    • 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:1936
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 532 -s 1040
      2⤵
      • Program crash
      PID:1960
  • C:\Windows\SysWOW64\qvqawbvj\awoolazn.exe
    C:\Windows\SysWOW64\qvqawbvj\awoolazn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_bb831c7f52de206d92781189a192b098_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3524
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:840
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3524 -s 508
      2⤵
      • Program crash
      PID:3220
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 440 -p 532 -ip 532
    1⤵
      PID:3536
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 404 -p 3524 -ip 3524
      1⤵
        PID:4616

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        10.7MB

        MD5

        c8a23a879e2b95a3dd675edcd20a699e

        SHA1

        35b28058697f524cfe9ab39ccd0a331b1f89d2e3

        SHA256

        eba85e2b53cafa36edfd295c02476679a2751bd0d7b85449cd86122ac8558b08

        SHA512

        42b4e30ed006f84aa18f097ec816fe0ba3e4e97afbaf4a8b351892d346cc4bdc1112389b2b7dbf59bf7b211dda22bd704415ac24012f4aeb7b02ebcd1203dae6

      • memory/532-7-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

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

        Filesize

        84KB

      • memory/532-2-0x0000000000780000-0x0000000000793000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/532-8-0x0000000000780000-0x0000000000793000-memory.dmp

        Filesize

        76KB

      • memory/532-1-0x0000000000810000-0x0000000000910000-memory.dmp

        Filesize

        1024KB

      • memory/840-14-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

        Filesize

        84KB

      • memory/840-16-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

        Filesize

        84KB

      • memory/840-17-0x0000000000DB0000-0x0000000000DC5000-memory.dmp

        Filesize

        84KB

      • memory/3524-12-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/3524-11-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/3524-13-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB

      • memory/3524-19-0x0000000000400000-0x000000000044F000-memory.dmp

        Filesize

        316KB