Analysis

  • max time kernel
    148s
  • max time network
    127s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-09-2024 01:25

General

  • Target

    2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe

  • Size

    14.5MB

  • MD5

    f178952f1644818d0c1e3e334b749c46

  • SHA1

    b650ad19d57033a81b344177935f447f08ab5bfe

  • SHA256

    df903842e22291df470826cae9a31ff44e2293ebd012c28a682f6ebfc214c1cd

  • SHA512

    3001563ad672b8c15304772002412556ba1644f0cc0fe1a983f14f4a213e90245e84fe261b1ad12c1be2c8674cf34bac92494226c7ef0d25290eee7d6079b149

  • SSDEEP

    12288:8Vbj7zJB99tzBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBJ:8JzXd

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.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4400
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ykksfmf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3836
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\neahyxbf.exe" C:\Windows\SysWOW64\ykksfmf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:968
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ykksfmf binPath= "C:\Windows\SysWOW64\ykksfmf\neahyxbf.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3920
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ykksfmf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2060
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ykksfmf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1172
    • 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:4364
  • C:\Windows\SysWOW64\ykksfmf\neahyxbf.exe
    C:\Windows\SysWOW64\ykksfmf\neahyxbf.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-09-21_f178952f1644818d0c1e3e334b749c46_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3088
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1720

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.5MB

    MD5

    2a741e3373a4f445aff4360c626554da

    SHA1

    af3e27224d77bead3ec769826fdf72bb5754b412

    SHA256

    62d44782ee4142b81b8423f183be2d527b221cae1f0922c591f18296607abaec

    SHA512

    fc2ab6c3d92810d131e5bd15697447be9cde1431118fad16b9591739a6dafab7a58b5696d6b63dcb692a01c59d343884f3d384b13786544811fc427990a82265

  • memory/1720-14-0x0000000000960000-0x0000000000975000-memory.dmp

    Filesize

    84KB

  • memory/1720-19-0x0000000000960000-0x0000000000975000-memory.dmp

    Filesize

    84KB

  • memory/1720-18-0x0000000000960000-0x0000000000975000-memory.dmp

    Filesize

    84KB

  • memory/3088-13-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/3088-12-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/3088-11-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/3088-16-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/4400-8-0x0000000000600000-0x0000000000613000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/4400-1-0x0000000000640000-0x0000000000740000-memory.dmp

    Filesize

    1024KB

  • memory/4400-7-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    84KB

  • memory/4400-2-0x0000000000600000-0x0000000000613000-memory.dmp

    Filesize

    76KB