Analysis

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

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

General

  • Target

    2025-01-22_898f8b76a4b79853b2483f0d96d55db8_mafia.exe

  • Size

    14.4MB

  • MD5

    898f8b76a4b79853b2483f0d96d55db8

  • SHA1

    18d283e2c9076d72a2f218517d83aedf04ca031f

  • SHA256

    764de042f5f83bc6e5b7f9e4843b783a4e1aebe7e0d9bc4a3eb6ae9f849607f0

  • SHA512

    bda64aa2d29ca562d5fcb4b164a42f989b6dbad288b93c979d54f6b96c9db7cf8ee4e7b9222f74100d000ba47e63ae4119c9bddf3bfe711539e93510fe996c4e

  • SSDEEP

    49152:KqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:KqtYc3

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-22_898f8b76a4b79853b2483f0d96d55db8_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-22_898f8b76a4b79853b2483f0d96d55db8_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3916
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\uuhgpbkm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4788
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tkgnedhl.exe" C:\Windows\SysWOW64\uuhgpbkm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:220
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create uuhgpbkm binPath= "C:\Windows\SysWOW64\uuhgpbkm\tkgnedhl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-22_898f8b76a4b79853b2483f0d96d55db8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2436
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description uuhgpbkm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4236
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start uuhgpbkm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1380
    • 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:1632
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3916 -s 572
      2⤵
      • Program crash
      PID:3268
  • C:\Windows\SysWOW64\uuhgpbkm\tkgnedhl.exe
    C:\Windows\SysWOW64\uuhgpbkm\tkgnedhl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-22_898f8b76a4b79853b2483f0d96d55db8_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3760
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1216
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -u -p 3760 -s 536
      2⤵
      • Program crash
      PID:3472
  • C:\Windows\SysWOW64\WerFault.exe
    C:\Windows\SysWOW64\WerFault.exe -pss -s 432 -p 3760 -ip 3760
    1⤵
      PID:396
    • C:\Windows\SysWOW64\WerFault.exe
      C:\Windows\SysWOW64\WerFault.exe -pss -s 472 -p 3916 -ip 3916
      1⤵
        PID:3588

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.1MB

        MD5

        0ebe86ddace953b74b0504def7312840

        SHA1

        7adf3c20f299ea73afe6ac1042965aef3dff1e99

        SHA256

        83fbf3dd54cfb6bb10b93154e5770791815eb849d332a1bafb86a6469c08b90a

        SHA512

        a781776729a121feaf269b8de161fdf02464d621448e97e09bef54b7e69e66e8eece32de2cd24ca347b17071e287baeb1cbbf60e7826246b727bfe5e007ee18c

      • memory/1216-8-0x0000000000360000-0x0000000000375000-memory.dmp

        Filesize

        84KB

      • memory/1216-14-0x0000000000360000-0x0000000000375000-memory.dmp

        Filesize

        84KB

      • memory/1216-15-0x0000000000360000-0x0000000000375000-memory.dmp

        Filesize

        84KB

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

        Filesize

        41.8MB

      • memory/3916-2-0x0000000002E10000-0x0000000002E23000-memory.dmp

        Filesize

        76KB

      • memory/3916-1-0x0000000002FF0000-0x00000000030F0000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/3916-12-0x0000000002E10000-0x0000000002E23000-memory.dmp

        Filesize

        76KB

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

        Filesize

        84KB

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

        Filesize

        41.8MB