Analysis

  • max time kernel
    147s
  • max time network
    119s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

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

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:2412
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\aqxgdsys\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2176
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\kmhngtd.exe" C:\Windows\SysWOW64\aqxgdsys\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2324
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create aqxgdsys binPath= "C:\Windows\SysWOW64\aqxgdsys\kmhngtd.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:2108
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description aqxgdsys "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2380
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start aqxgdsys
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2684
    • 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:2740
  • C:\Windows\SysWOW64\aqxgdsys\kmhngtd.exe
    C:\Windows\SysWOW64\aqxgdsys\kmhngtd.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:2792
    • 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:3000

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.8MB

    MD5

    2e5664311b1a24adbc8f6fa546b308df

    SHA1

    b1abff2e336f79fa96d086f76a2034117a271a06

    SHA256

    73afe44831c19bf3e5d16ebbda17d91e8da4c34b3438aad1c3c615ef24d7e458

    SHA512

    e529912b4a632456c6f81d7d4120fa3ae56baa051d6161f0318025bfd6714d304dc98ae8faa10f99fbcc718b12b3615a58d6662037de2d1702db9a45e332da33

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2412-4-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    41.8MB

  • memory/2412-1-0x0000000002F20000-0x0000000003020000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    76KB

  • memory/2792-13-0x0000000000400000-0x0000000002DC3000-memory.dmp

    Filesize

    41.8MB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB