Analysis

  • max time kernel
    146s
  • max time network
    124s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    01-02-2025 20:35

General

  • Target

    2025-02-01_bdfff05dd7ad370dd82adf8c9fd8bc94_mafia.exe

  • Size

    14.3MB

  • MD5

    bdfff05dd7ad370dd82adf8c9fd8bc94

  • SHA1

    2b4a6cef5342cdc9925bd36acecb2e0ba55be21b

  • SHA256

    4691b2fd4ae32c2e070e45a44ddf3ffe2a75df9c997c34fd8f0aaa8b25911305

  • SHA512

    55a6fedebea9b742eef125823381d201606566571cea225ccc5ea1bbbc5c74655a330303ec63ac8bdbdf0355ecbbfe1e11c9640f411b7a2aea96a0baf5fb7629

  • SSDEEP

    49152:hqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:hqtYc3

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-01_bdfff05dd7ad370dd82adf8c9fd8bc94_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_bdfff05dd7ad370dd82adf8c9fd8bc94_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3796
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bmvrvnyv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1068
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tphhetsg.exe" C:\Windows\SysWOW64\bmvrvnyv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:320
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bmvrvnyv binPath= "C:\Windows\SysWOW64\bmvrvnyv\tphhetsg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_bdfff05dd7ad370dd82adf8c9fd8bc94_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1284
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bmvrvnyv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3684
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bmvrvnyv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2052
    • 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:3452
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3796 -s 1272
      2⤵
      • Program crash
      PID:3356
  • C:\Windows\SysWOW64\bmvrvnyv\tphhetsg.exe
    C:\Windows\SysWOW64\bmvrvnyv\tphhetsg.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_bdfff05dd7ad370dd82adf8c9fd8bc94_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2916
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4572
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 2916 -s 508
      2⤵
      • Program crash
      PID:3204
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 444 -p 2916 -ip 2916
    1⤵
      PID:4816
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 492 -p 3796 -ip 3796
      1⤵
        PID:3736

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.0MB

        MD5

        ce1d703ddf4fa438fbb93c9473578a71

        SHA1

        8bb244e49588139f57e090a795654701e57c6da1

        SHA256

        537dbeebe9b285a5174f1c3f1ca3b1096d57865d06d08a6c044c41347039eb83

        SHA512

        f26c125f538bce872909e4b243f4c3dd68d9231a260d42167202be9a8426aad7e4fd5eb8cfdb0ff2f16c4abe41bfb04b748be70619a990828caf1f8500fc9a90

      • memory/2916-10-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/3796-1-0x0000000002E80000-0x0000000002F80000-memory.dmp

        Filesize

        1024KB

      • memory/3796-2-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

      • memory/3796-13-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/3796-12-0x00000000001E0000-0x00000000001F3000-memory.dmp

        Filesize

        76KB

      • memory/3796-11-0x0000000000400000-0x0000000002DC3000-memory.dmp

        Filesize

        41.8MB

      • memory/4572-8-0x0000000000140000-0x0000000000155000-memory.dmp

        Filesize

        84KB

      • memory/4572-14-0x0000000000140000-0x0000000000155000-memory.dmp

        Filesize

        84KB

      • memory/4572-15-0x0000000000140000-0x0000000000155000-memory.dmp

        Filesize

        84KB