Analysis

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

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

General

  • Target

    2025-01-25_4c84596bb67adb966181bac9a7abcc36_mafia.exe

  • Size

    10.1MB

  • MD5

    4c84596bb67adb966181bac9a7abcc36

  • SHA1

    da214228e670ea1422ba6906958af114aab704f9

  • SHA256

    d79b15983c9b584068dc9b1282bad7310071132581c81b58ee813180b1fd409f

  • SHA512

    621f5f3a28d4c0b13bb959e6a9b11392902ce342d3fbcfdd64c1c74656ea7bb20d4b12ced83b4a0a72327ae9b989fbfe78999caba31ee349c08dedf4393a97b6

  • SSDEEP

    49152:SLFuiE888888888888888888888888888888888888888888888888888888888/:SLM

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-25_4c84596bb67adb966181bac9a7abcc36_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-25_4c84596bb67adb966181bac9a7abcc36_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2988
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xfqbihnn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2396
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ypxvfahv.exe" C:\Windows\SysWOW64\xfqbihnn\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2328
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xfqbihnn binPath= "C:\Windows\SysWOW64\xfqbihnn\ypxvfahv.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-25_4c84596bb67adb966181bac9a7abcc36_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2096
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xfqbihnn "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:580
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xfqbihnn
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2796
    • 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:2464
  • C:\Windows\SysWOW64\xfqbihnn\ypxvfahv.exe
    C:\Windows\SysWOW64\xfqbihnn\ypxvfahv.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-25_4c84596bb67adb966181bac9a7abcc36_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2832
    • 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:2728

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.1MB

    MD5

    65eb609b0bfbc522d61983c5679fc9b0

    SHA1

    632ba9c0cd6343cfadb0c5c9977debcede266982

    SHA256

    1bb650a6c4cd6b7add0ee19a3c522fe5b2aca7b6b397fc5ac783f66a77b39ce0

    SHA512

    b3d59fcc8906931f55787197302c6c70461be55eb7d03f1a6a3b6f870acfd0d8bdde9c92b811a7e05e0043b2c70e01cb615c954fc2c3bc92f9b9e91ce465b470

  • memory/2728-8-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2728-11-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2728-17-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2728-18-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2832-13-0x0000000000400000-0x0000000002DBF000-memory.dmp

    Filesize

    41.7MB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2988-1-0x0000000002E50000-0x0000000002F50000-memory.dmp

    Filesize

    1024KB

  • memory/2988-14-0x0000000000400000-0x0000000002DBF000-memory.dmp

    Filesize

    41.7MB