Analysis

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

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    11-01-2025 16:35

General

  • Target

    2025-01-11_21b4465219a1a154003bb8b84360333d_mafia.exe

  • Size

    13.2MB

  • MD5

    21b4465219a1a154003bb8b84360333d

  • SHA1

    444742300be0feace5aeedec675d3a551cfa4f6a

  • SHA256

    c1048cd43182a46e41b0839b55e03ba85b0945f974d5b9b1a606172f3d3bad5d

  • SHA512

    64615c3b1d61f18059b3b579d4320d427e912eba10a3d05992b5610135078707353bd3200f2c8f99f18e2b3d169c0d6235948456437d46541ecd34c11aba0c8c

  • SSDEEP

    24576:YpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttf:0oo

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-11_21b4465219a1a154003bb8b84360333d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-11_21b4465219a1a154003bb8b84360333d_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\hnwqkxib\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4940
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rtounak.exe" C:\Windows\SysWOW64\hnwqkxib\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1076
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create hnwqkxib binPath= "C:\Windows\SysWOW64\hnwqkxib\rtounak.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-11_21b4465219a1a154003bb8b84360333d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4516
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description hnwqkxib "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2212
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start hnwqkxib
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2908
    • 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:4184
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2564 -s 640
      2⤵
      • Program crash
      PID:1452
  • C:\Windows\SysWOW64\hnwqkxib\rtounak.exe
    C:\Windows\SysWOW64\hnwqkxib\rtounak.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-11_21b4465219a1a154003bb8b84360333d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4808
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2972
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 4808 -s 508
      2⤵
      • Program crash
      PID:1480
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 408 -p 2564 -ip 2564
    1⤵
      PID:2108
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 536 -p 4808 -ip 4808
      1⤵
        PID:3648

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.5MB

        MD5

        294bbb1ad35bf15ce1d937874c94d7df

        SHA1

        0e5afbe8608b7811f18a4cabbf7376cde67ff6b9

        SHA256

        699a0bf1ccf38a8a0c95c4814b02e67b5911e9c4863f9f80f42cfe6bc8843c3c

        SHA512

        260c3ee931412846a6ec6660d19eebe73a9f02df28451585a5402d74d4ff24e53aa0ee126cebd1c9f67fbb1f29be6eb992964de272e1b9925f57d37bfbb3919e

      • memory/2564-8-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/2564-2-0x0000000000560000-0x0000000000573000-memory.dmp

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

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

        Filesize

        1024KB

      • memory/2972-14-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

      • memory/2972-16-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

      • memory/2972-17-0x0000000000420000-0x0000000000435000-memory.dmp

        Filesize

        84KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4808-19-0x0000000000400000-0x000000000044E000-memory.dmp

        Filesize

        312KB