Analysis

  • max time kernel
    149s
  • max time network
    118s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    25-01-2025 18:50

General

  • Target

    2025-01-25_96ff259433e0be69761294f521e22f12_mafia.exe

  • Size

    11.7MB

  • MD5

    96ff259433e0be69761294f521e22f12

  • SHA1

    923195cf987deaae3a7a1104f1d8609bd4a56733

  • SHA256

    e978bf481b280693a6955453cf5d5cbc835706d17b97466bcfe032889054aed0

  • SHA512

    b51359e229800ec59c92d0180d8d1bd9cc3f35728cb08e7359a9bb35ac1eef6c39b8c81cbb872050c179eb3494247ff8aae3ec6387402e692c13a6ddfc56671f

  • SSDEEP

    49152:0qE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:0qtYc3

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
  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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.

  • 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 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-25_96ff259433e0be69761294f521e22f12_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-25_96ff259433e0be69761294f521e22f12_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2384
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wokvigot\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2324
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uwpahpdt.exe" C:\Windows\SysWOW64\wokvigot\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1400
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wokvigot binPath= "C:\Windows\SysWOW64\wokvigot\uwpahpdt.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_96ff259433e0be69761294f521e22f12_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2228
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wokvigot "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2708
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wokvigot
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2824
    • 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:2056
  • C:\Windows\SysWOW64\wokvigot\uwpahpdt.exe
    C:\Windows\SysWOW64\wokvigot\uwpahpdt.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_96ff259433e0be69761294f521e22f12_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3056
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2716

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.3MB

    MD5

    938b28fd09ce465d0b28f51f5b2e2fc6

    SHA1

    424fe30611b25651d461d34d2b015d38679d9e28

    SHA256

    7787213c561f4801dc827320d22b8e6fe756a9cdd8542d010175c2dcc14361f0

    SHA512

    4f14a8bf86ecd07b2fe49e276f5c52b382360123034fba2fb23bac85e5d33b4f6ba95b476695b51630922018a5363ab539687e8ca2d2791e1b26967645240445

  • memory/2384-7-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

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

    Filesize

    84KB

  • memory/2384-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2384-8-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2384-1-0x0000000002E60000-0x0000000002F60000-memory.dmp

    Filesize

    1024KB

  • memory/2716-16-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2716-14-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2716-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2716-11-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2716-18-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/3056-17-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB