Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    03-11-2024 09:50

General

  • Target

    2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe

  • Size

    13.2MB

  • MD5

    7805744de467df9742263b9b6bad88db

  • SHA1

    f65a57962202de0ab0264ea1c5d5193a2f4bd349

  • SHA256

    dce5b9da95d9d01aa4be5091d9cdcc52456d04f5e52385b79bc7887410eeea7e

  • SHA512

    b15550cc947017eec88d2fb8ad96fed34f48fd998dca4c7f5efbc789889aefb78264908e054a35b63d47d9c3e6eb2eee2fb7e9e41bf7fb5c5af20f0a9d84298e

  • SSDEEP

    196608:H3aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa+:H

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-03_7805744de467df9742263b9b6bad88db_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2080
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kqlrzdnx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3036
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lhbhnphy.exe" C:\Windows\SysWOW64\kqlrzdnx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2672
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create kqlrzdnx binPath= "C:\Windows\SysWOW64\kqlrzdnx\lhbhnphy.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1988
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description kqlrzdnx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2092
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start kqlrzdnx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2660
    • 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:2476
  • C:\Windows\SysWOW64\kqlrzdnx\lhbhnphy.exe
    C:\Windows\SysWOW64\kqlrzdnx\lhbhnphy.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2820
    • 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:2512

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.5MB

    MD5

    bfca992f052365585e6d3a2f2b0e43b9

    SHA1

    cccdf51b61455a77a252016e7221902c6a46f0cf

    SHA256

    3f006a250824f47ac2bded7698fd54b85d8c06b9e1672c2c4052d799d6a0c155

    SHA512

    b6c694c69d43801223425c739dbf857ecc337fee840c9cf0afd1647d80ccd1d527c8b9706dc51a94842abad9929fdac89ae61f01cedb4a09000dc259941c47c5

  • memory/2080-15-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2080-2-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

  • memory/2080-14-0x0000000000400000-0x0000000000459000-memory.dmp

    Filesize

    356KB

  • memory/2080-1-0x0000000000290000-0x0000000000390000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/2512-11-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2512-8-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2512-17-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2512-18-0x00000000000C0000-0x00000000000D5000-memory.dmp

    Filesize

    84KB

  • memory/2820-12-0x0000000000400000-0x0000000000459000-memory.dmp

    Filesize

    356KB