Analysis

  • max time kernel
    143s
  • max time network
    122s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    28-01-2025 03:46

General

  • Target

    2025-01-28_f2bdc578585d0f246e1c7a00b172c541_mafia.exe

  • Size

    12.3MB

  • MD5

    f2bdc578585d0f246e1c7a00b172c541

  • SHA1

    18844a0e15ba1ede158e432116377713c9217e1f

  • SHA256

    041bc2517d28c165af6f2d9c307ee80ba34c6841b1523c9e67d81afec2ddf046

  • SHA512

    db881f6ce3c602af1740eefce4987a4e2c5c7050a479f49e666f8235a63be5ce2edaa6c133bdb77e7a73c85d8cb147f895b725cf42236943a4d76132269f7dd4

  • SSDEEP

    24576:R6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQU:4WdLQku

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-28_f2bdc578585d0f246e1c7a00b172c541_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_f2bdc578585d0f246e1c7a00b172c541_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2256
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ohxepsqb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2852
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xgafxwrn.exe" C:\Windows\SysWOW64\ohxepsqb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2972
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ohxepsqb binPath= "C:\Windows\SysWOW64\ohxepsqb\xgafxwrn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_f2bdc578585d0f246e1c7a00b172c541_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2768
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ohxepsqb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ohxepsqb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2156
    • 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:2792
  • C:\Windows\SysWOW64\ohxepsqb\xgafxwrn.exe
    C:\Windows\SysWOW64\ohxepsqb\xgafxwrn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_f2bdc578585d0f246e1c7a00b172c541_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2732
    • 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\xgafxwrn.exe

    Filesize

    14.6MB

    MD5

    9be43bae6f075629f61abe7dc25f84c6

    SHA1

    16eaa7ce38c6f8d8a827be4fd2ae92dc2761fe25

    SHA256

    0c50455f00c72b4c687041a0f9ebc9fd29b87fb6a91f033d31caeecd935e5361

    SHA512

    d5815932075aaa33e65155b3774428949f66eacc08ca0ca339993ba01ae873ee5f65d67062bba7e64c576605131c34e563dba19463ce5e079ea38aa6fcab8a9d

  • memory/2256-7-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2256-1-0x00000000005A0000-0x00000000006A0000-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/2732-17-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB