Analysis

  • max time kernel
    144s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    28-01-2025 06:23

General

  • Target

    2025-01-28_a24aa125d61f42a8267cfd85bcde7b18_mafia.exe

  • Size

    11.8MB

  • MD5

    a24aa125d61f42a8267cfd85bcde7b18

  • SHA1

    2e834ed6e6dc00265a6795ac31b1726436c85625

  • SHA256

    78b1d4c45d4403511dfc45b0cfa83275d8bfc26b34cf4859bb72a73225926b69

  • SHA512

    bf9d0811d67273741caa74022b2596cc6ca7e072bb92973443a17479749940102d0f582c97290ad02b10bed77ebaf197345061279a048531d668cbe86ab79265

  • SSDEEP

    3072:ULBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/T:ROMdRQr7OB0ypmMXnl8XEPM3noSWOCw

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_a24aa125d61f42a8267cfd85bcde7b18_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_a24aa125d61f42a8267cfd85bcde7b18_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2664
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\fglnmvls\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ayhirncy.exe" C:\Windows\SysWOW64\fglnmvls\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2104
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fglnmvls binPath= "C:\Windows\SysWOW64\fglnmvls\ayhirncy.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_a24aa125d61f42a8267cfd85bcde7b18_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2888
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fglnmvls "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2812
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fglnmvls
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2672
    • 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:2608
  • C:\Windows\SysWOW64\fglnmvls\ayhirncy.exe
    C:\Windows\SysWOW64\fglnmvls\ayhirncy.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_a24aa125d61f42a8267cfd85bcde7b18_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2576
    • 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:3036

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.9MB

    MD5

    3f9d88a40e70ee634773e5f7ed7435b5

    SHA1

    619f07f391b2e384234b771bcf69b54d1e34f567

    SHA256

    acf5e1f976009a675114b44e8776aade9a4e8cd03dfe1847db918a49d10a7725

    SHA512

    1e339507a192b36bb1e30edc3b7f3c82dd99affb79b0b8569e9322b5dcee236875e6dcaf1c623f897f5b4f88500aa9b39d7a341de5c1c702bf8f657a98dc0707

  • memory/2576-17-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2664-7-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2664-8-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2664-1-0x0000000000610000-0x0000000000710000-memory.dmp

    Filesize

    1024KB

  • memory/2664-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/3036-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/3036-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/3036-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB