Analysis

  • max time kernel
    148s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20241023-en
  • resource tags

    arch:x64arch:x86image:win7-20241023-enlocale:en-usos:windows7-x64system
  • submitted
    19/01/2025, 20:24

General

  • Target

    2025-01-19_340e20f5c4dd6964dc893b41c4794ec3_mafia.exe

  • Size

    14.6MB

  • MD5

    340e20f5c4dd6964dc893b41c4794ec3

  • SHA1

    73a8010c6fd2760c73766cbe7b6415f13d385191

  • SHA256

    957e0855b07e0ac2fc16bd76892fc88a76d5c50467e026cc34dead160d1122f9

  • SHA512

    3592f6a573de55a650817cee122a2dcc83b7594d4131b6168141eb8b0db8ef064fab407a5ac08b494f44c2afdd5878bb49ad3066e8390271d21ecb70c7063316

  • SSDEEP

    24576:uEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZv:Hfot

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-19_340e20f5c4dd6964dc893b41c4794ec3_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-19_340e20f5c4dd6964dc893b41c4794ec3_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2064
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\wjravnts\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2580
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\qhpnxszn.exe" C:\Windows\SysWOW64\wjravnts\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1640
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create wjravnts binPath= "C:\Windows\SysWOW64\wjravnts\qhpnxszn.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-19_340e20f5c4dd6964dc893b41c4794ec3_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1668
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description wjravnts "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3060
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start wjravnts
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2296
    • 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:3044
  • C:\Windows\SysWOW64\wjravnts\qhpnxszn.exe
    C:\Windows\SysWOW64\wjravnts\qhpnxszn.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-19_340e20f5c4dd6964dc893b41c4794ec3_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:2976

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.2MB

    MD5

    8596033c2cf2c9c4d08777eef751efc3

    SHA1

    35278b7472d0fd649028b5639600dc3b75011c0a

    SHA256

    6987cab78315f0187d8fce75e62de2eaca4f4e5eab27996abb89b18cafde2ed9

    SHA512

    3baa76f876b0d9a9ad897197dad19cc8020fede114974911de359ac9b08e40f0f30f65eff094e0f2515753fa2a4b92019107aaf8a227d2d3f57e2b60fff0331b

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2064-16-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2064-1-0x0000000000540000-0x0000000000640000-memory.dmp

    Filesize

    1024KB

  • memory/2064-14-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2844-13-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

  • memory/2976-10-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2976-8-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB