Analysis

  • max time kernel
    145s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    24-08-2024 21:18

General

  • Target

    2024-08-24_66be9b1a3765b942d7489f16a6dd806f_mafia.exe

  • Size

    11.5MB

  • MD5

    66be9b1a3765b942d7489f16a6dd806f

  • SHA1

    ea92f7112fd72d16d3a74500f331616f4bc17732

  • SHA256

    0e4bf85118a3a971dcae95333f9e28253628dd26cebcc8e1e5995d0611e7263e

  • SHA512

    2e6aec7be65360941b12859eca55067e9a7dbeba24a3f566a9a68df1ae1406adf6fbcacb8e27749e1ae3aea63ccd34ee5e386451e48b41ebc2662966f74da865

  • SSDEEP

    6144:q+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:q+r1IeSXMXc7LlxWV4Ug97GZ+ej

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.

  • 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\2024-08-24_66be9b1a3765b942d7489f16a6dd806f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-08-24_66be9b1a3765b942d7489f16a6dd806f_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1956
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qlmfhfop\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2364
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oonteszc.exe" C:\Windows\SysWOW64\qlmfhfop\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2628
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qlmfhfop binPath= "C:\Windows\SysWOW64\qlmfhfop\oonteszc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-08-24_66be9b1a3765b942d7489f16a6dd806f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qlmfhfop "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qlmfhfop
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2820
    • 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:2516
  • C:\Windows\SysWOW64\qlmfhfop\oonteszc.exe
    C:\Windows\SysWOW64\qlmfhfop\oonteszc.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-08-24_66be9b1a3765b942d7489f16a6dd806f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2552
    • 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:1680

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.8MB

    MD5

    8c83c9f98dae047d03b2cc7743875292

    SHA1

    260326f59221d018dc5b95fd594d04142ffe8b1d

    SHA256

    0fbcc37a13f1f6c1e803321f84ac998a18d91f4ea560b7626c4242eb92b534cf

    SHA512

    1b06d0d1f30df7cd1a9ce49fbb4e2ead2b1568bad2a1a939366cd740e92c2033a67a6d908cbea3117716d68200f3519d8c78cdd837879870c8742fc8536d2904

  • memory/1680-10-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1680-9-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/1680-7-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1680-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1680-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1956-1-0x0000000000680000-0x0000000000780000-memory.dmp

    Filesize

    1024KB

  • memory/1956-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1956-14-0x0000000000680000-0x0000000000780000-memory.dmp

    Filesize

    1024KB

  • memory/1956-15-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/1956-13-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/2552-11-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB