Analysis

  • max time kernel
    144s
  • max time network
    121s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    31-12-2024 19:06

General

  • Target

    2024-12-31_4a2f911be17cbf9f739e2bc2019adc68_mafia.exe

  • Size

    11.3MB

  • MD5

    4a2f911be17cbf9f739e2bc2019adc68

  • SHA1

    d03579045d42dbe47f1395707298ecb63d1928bd

  • SHA256

    8cd5fda34842dcbe5e8de07def2f60314e0864edf2a430aca7d0e79da715831f

  • SHA512

    54ed898eb0f6dd2a404788a23a504f9ea0ac3b25c68024a942150a1d29d777402fa7b8c7a2e0948d4d10faa6b10450b87f88f5e5ecfad728f5cff303aedba4b2

  • SSDEEP

    3072:YLBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:VOMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-12-31_4a2f911be17cbf9f739e2bc2019adc68_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-31_4a2f911be17cbf9f739e2bc2019adc68_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1764
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qkjwrlld\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2828
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wytzsfp.exe" C:\Windows\SysWOW64\qkjwrlld\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2200
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qkjwrlld binPath= "C:\Windows\SysWOW64\qkjwrlld\wytzsfp.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-31_4a2f911be17cbf9f739e2bc2019adc68_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qkjwrlld "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2792
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qkjwrlld
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2548
    • 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:2716
  • C:\Windows\SysWOW64\qkjwrlld\wytzsfp.exe
    C:\Windows\SysWOW64\qkjwrlld\wytzsfp.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-31_4a2f911be17cbf9f739e2bc2019adc68_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2240
    • 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:2724

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.5MB

    MD5

    6929f77a4b76ff1588b7923839394d89

    SHA1

    e80365fb73bf6f37e6c5a1a07a21df84f0fe5c8c

    SHA256

    4e71bb954908335af3c0b20b71b0108699c263d774f3a8fab8393965a48f53e4

    SHA512

    22b939172769567e5c6190468802a765aec5feabcf146108b197b9b5bad97e84f0946c285521ae3d5c19c3c5e06e1907b25431b2c2e8301688e4b9328a075de0

  • memory/1764-1-0x00000000002D0000-0x00000000003D0000-memory.dmp

    Filesize

    1024KB

  • memory/1764-3-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/1764-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/1764-15-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB