Analysis

  • max time kernel
    145s
  • max time network
    127s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    31-01-2025 19:47

General

  • Target

    2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe

  • Size

    10.9MB

  • MD5

    064ff886ce1dfae017a3a8ffd297c74d

  • SHA1

    93a9531d32673ebeb3f9adc54aebe0caa6ce9ecc

  • SHA256

    5f51d30f289b1a454e24a69f7b6bedbe46feac7777fb99b903edcb0e12064ff4

  • SHA512

    0da174a798c099d9e03ddd4b6a015c37ae013aa18dc6c6327153fea8f9a551b8f44d7a3fd7d89ccdee1be333c68c079b1349bcfd13e5dff38b898336e493458a

  • SSDEEP

    49152:/qE0YKr3fYPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPPn:/qtYc3

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-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2952
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qtwpdwgg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2248
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lykhansc.exe" C:\Windows\SysWOW64\qtwpdwgg\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2204
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qtwpdwgg binPath= "C:\Windows\SysWOW64\qtwpdwgg\lykhansc.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1780
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qtwpdwgg "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2164
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qtwpdwgg
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2792
    • 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:2696
  • C:\Windows\SysWOW64\qtwpdwgg\lykhansc.exe
    C:\Windows\SysWOW64\qtwpdwgg\lykhansc.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_064ff886ce1dfae017a3a8ffd297c74d_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2908
    • 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:2828

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.3MB

    MD5

    6dd13a57c6a06a93be7ae34d9cb92a6a

    SHA1

    4a7551506dcd411a6385e2a985ba4429de2f63ea

    SHA256

    103f257a6c4a8617124389d69bc1ae7315e8c0d773548b1eed2d4a4044bdd2be

    SHA512

    8dfcb3439993a08c21330a926ef161ff0a81f05879a81baad13bfb025c414f161d18590717277ae0c34fd4113caa66cc524589ee919a572936273ad0fa105cc9

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2908-12-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2952-1-0x0000000000230000-0x0000000000330000-memory.dmp

    Filesize

    1024KB

  • memory/2952-15-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2952-16-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2952-14-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB