Analysis

  • max time kernel
    146s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    04-11-2024 22:19

General

  • Target

    2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe

  • Size

    14.4MB

  • MD5

    b29c68e036c667eaa53f1d05250810aa

  • SHA1

    e7dd2c9c7126de966d0b6dc0454759dcad7e3184

  • SHA256

    3f198854ec2a1e8720d308e6543f507b8313696f4c5a659fafffb0e355f9ebf4

  • SHA512

    23a79bfbf7ff53e7b4aaee4b96b78d436d58ae966d6d17184fc39784f03283689f51e8460ace2f98ff92e435721dec49a34fb1122f08aa8cbac8b5b01c02ac4e

  • SSDEEP

    49152:eVdrl/8HAzGCbGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGGv:eVdrl/9zG

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\2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2784
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\usznbdxm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2712
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hbdauqaf.exe" C:\Windows\SysWOW64\usznbdxm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2740
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create usznbdxm binPath= "C:\Windows\SysWOW64\usznbdxm\hbdauqaf.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2948
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description usznbdxm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2692
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start usznbdxm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2592
    • 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:2316
  • C:\Windows\SysWOW64\usznbdxm\hbdauqaf.exe
    C:\Windows\SysWOW64\usznbdxm\hbdauqaf.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-04_b29c68e036c667eaa53f1d05250810aa_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2648
    • 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:1412

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.5MB

    MD5

    7f60beb2139827839495a01580ab7088

    SHA1

    84093a3f53eb72f7cb35115f4bcacef347e8f53d

    SHA256

    ead59102fbfb0230a909a4946cd3bb31155844e08b66657e44b2f4a3053e9aa0

    SHA512

    b81f1b21b462b29288e044ebb21400ca5ef3a5137f3670009239df36dacb9f9a9186270ba38eb5142ab4c32eeffcc4a96845b2b6c72671e06020ab17845bb4ee

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

    Filesize

    84KB

  • memory/1412-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/1412-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2648-16-0x0000000000400000-0x0000000000518000-memory.dmp

    Filesize

    1.1MB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2784-8-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

  • memory/2784-7-0x0000000000400000-0x0000000000518000-memory.dmp

    Filesize

    1.1MB

  • memory/2784-1-0x00000000005D0000-0x00000000006D0000-memory.dmp

    Filesize

    1024KB