Analysis

  • max time kernel
    147s
  • max time network
    118s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-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
  • 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-11_21b4465219a1a154003bb8b84360333d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-11_21b4465219a1a154003bb8b84360333d_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3044
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jbairubx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2464
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\riqoytao.exe" C:\Windows\SysWOW64\jbairubx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1428
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jbairubx binPath= "C:\Windows\SysWOW64\jbairubx\riqoytao.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:2476
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jbairubx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1676
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jbairubx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2508
    • 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:3024
  • C:\Windows\SysWOW64\jbairubx\riqoytao.exe
    C:\Windows\SysWOW64\jbairubx\riqoytao.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:2424
    • 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:2588

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.1MB

    MD5

    a6ce520a7907a35c5de8c60da933d828

    SHA1

    cec0993201197353de1e552cb0df75950804369a

    SHA256

    a3ac7f89be136f82f488262b9779e2e504d24be72cdd0a9aca3d3dcb88607937

    SHA512

    0d2a51279c52fabf125ae9058cb0846da166b1ab21dfada3e3056f785481a0d7b7ca6d920e480d8f6a4b02893def5e7982bb7d72bb73a74f6987c5463243a1ef

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

    Filesize

    312KB

  • memory/2588-8-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2588-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2588-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2588-17-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2588-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/3044-1-0x0000000000230000-0x0000000000330000-memory.dmp

    Filesize

    1024KB

  • memory/3044-14-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/3044-16-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/3044-15-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB