Analysis

  • max time kernel
    148s
  • max time network
    136s
  • 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:27

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:1156
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cbylqkeu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3052
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fncgtraa.exe" C:\Windows\SysWOW64\cbylqkeu\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4168
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cbylqkeu binPath= "C:\Windows\SysWOW64\cbylqkeu\fncgtraa.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:4460
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cbylqkeu "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1500
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cbylqkeu
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1800
    • 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:1108
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 1156 -s 656
      2⤵
      • Program crash
      PID:3348
  • C:\Windows\SysWOW64\cbylqkeu\fncgtraa.exe
    C:\Windows\SysWOW64\cbylqkeu\fncgtraa.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:3668
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4220
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3668 -s 512
      2⤵
      • Program crash
      PID:632
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 420 -p 1156 -ip 1156
    1⤵
      PID:2664
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 524 -p 3668 -ip 3668
      1⤵
        PID:2020

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.5MB

        MD5

        ca8bbce7215ed1a385394e76fdca2b03

        SHA1

        aa059ac60528f1a6ca73db0aaa9b93c206f44841

        SHA256

        03338ce0eb766d10d70db076a0fb39a4f5736715442de0acc42951b34c8b95c3

        SHA512

        95de143ea382e85f6902b0edc55f63eded21e432f9da3961f71e376436cae47dec8d77c86746aeeafaeab11919db6780de4800c029166e3f517bbe3b31be869b

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

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        76KB

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

        Filesize

        312KB

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

        Filesize

        84KB

      • memory/1156-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

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

        Filesize

        312KB

      • memory/4220-14-0x00000000010B0000-0x00000000010C5000-memory.dmp

        Filesize

        84KB

      • memory/4220-16-0x00000000010B0000-0x00000000010C5000-memory.dmp

        Filesize

        84KB

      • memory/4220-17-0x00000000010B0000-0x00000000010C5000-memory.dmp

        Filesize

        84KB