Analysis

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

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    13-01-2025 19:44

General

  • Target

    2025-01-13_bb831c7f52de206d92781189a192b098_mafia.exe

  • Size

    11.2MB

  • MD5

    bb831c7f52de206d92781189a192b098

  • SHA1

    024df9bd47f11c0159fb01fa01f7c92552734462

  • SHA256

    c9ddeb670cecb378ac5539460db36b23b32f8f4c416d55372bf3acf10badfde2

  • SHA512

    1962522edcabfd2c0595de017e131d2a6da3ee9fe238dc70636a614a56388255bede9377fef05447789411df14282d4fe9ffd4d5223dabd3928fa1ebbf2e31a0

  • SSDEEP

    24576:l6WdLQkyQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQQv:kWdLQk

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-13_bb831c7f52de206d92781189a192b098_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-13_bb831c7f52de206d92781189a192b098_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1628
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\rvidooli\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3000
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\saptgenn.exe" C:\Windows\SysWOW64\rvidooli\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2212
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create rvidooli binPath= "C:\Windows\SysWOW64\rvidooli\saptgenn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-13_bb831c7f52de206d92781189a192b098_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2128
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description rvidooli "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2960
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start rvidooli
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3064
    • 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:2968
  • C:\Windows\SysWOW64\rvidooli\saptgenn.exe
    C:\Windows\SysWOW64\rvidooli\saptgenn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-13_bb831c7f52de206d92781189a192b098_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2844
    • 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:2852

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.7MB

    MD5

    1c372cf1fc9fdbd4d27814cb1e945a98

    SHA1

    e1a29c4b4728469bfea6861320442180ad1f6c13

    SHA256

    f715657c3d72a69634edf1608c791a5e2d1bb050626f55a33c6c0fa52578f317

    SHA512

    f243ae2e3b8a2d182b978129eee106507bcb9d52df80f98ced59a3a349504563560de3a754dc18489194f4383eedc16caf70ff84fde934186247577587c9f0c7

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

    Filesize

    316KB

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

    Filesize

    84KB

  • memory/1628-1-0x00000000004C0000-0x00000000005C0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    76KB

  • memory/2844-15-0x0000000000400000-0x000000000044F000-memory.dmp

    Filesize

    316KB

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2852-14-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB