Analysis

  • max time kernel
    141s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    28-01-2025 17:32

General

  • Target

    2025-01-28_63dcaac1b381fa7e88d8cd2e4cdd8d74_mafia.exe

  • Size

    13.7MB

  • MD5

    63dcaac1b381fa7e88d8cd2e4cdd8d74

  • SHA1

    c30c822977803bfab85a9ff37961517bd74c8311

  • SHA256

    e1df3fe8c0ae2b0705699516b26e6cc71c741e05c56922378d1a0c608d8c399c

  • SHA512

    484379fcf1f922c65e2bbd8ad204344fe11422e3f3bf6d5959b2d84c3efae0945a66175b86fd8daa8607f1189022d4cc9cb04752a275af724395a500c1bd6451

  • SSDEEP

    49152:PqE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPP:PqtYc3

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_63dcaac1b381fa7e88d8cd2e4cdd8d74_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-28_63dcaac1b381fa7e88d8cd2e4cdd8d74_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2256
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ijjhtjfe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2808
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dgmgvgrx.exe" C:\Windows\SysWOW64\ijjhtjfe\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2748
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ijjhtjfe binPath= "C:\Windows\SysWOW64\ijjhtjfe\dgmgvgrx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-28_63dcaac1b381fa7e88d8cd2e4cdd8d74_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2936
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ijjhtjfe "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2616
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ijjhtjfe
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2704
    • 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:2664
  • C:\Windows\SysWOW64\ijjhtjfe\dgmgvgrx.exe
    C:\Windows\SysWOW64\ijjhtjfe\dgmgvgrx.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-28_63dcaac1b381fa7e88d8cd2e4cdd8d74_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2592
    • 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:2280

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.8MB

    MD5

    7f4786a6e4fe97bfaeabe361924a8ca6

    SHA1

    454802abca610637ef6013398f5dcafdd27a7463

    SHA256

    4119c0f3104f7ad95952a660548c28ec83c7b27b11bf67b672043d5dd954bbc7

    SHA512

    54ac466948e203894c2e1f3d4a22794a4e18e9e11f98b1b65d3935860c7af80a5f2d2542f878f14e110cda3c30d23f59a98b4442e51ccc0471c20e012209ec18

  • memory/2256-13-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2256-14-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2256-1-0x0000000002F70000-0x0000000003070000-memory.dmp

    Filesize

    1024KB

  • memory/2256-8-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

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

    Filesize

    84KB

  • memory/2280-12-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2280-11-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2280-9-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2592-17-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB