Analysis

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

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    19-01-2025 19:59

General

  • Target

    2025-01-19_5902771d2cea8460388d23fbcac64799_mafia.exe

  • Size

    13.5MB

  • MD5

    5902771d2cea8460388d23fbcac64799

  • SHA1

    22a47f9a53b3e1cb5670eb06416b4b8523bc50bd

  • SHA256

    21357848492562600821029f2e52e3b4670465097d6de080758a323b5014df7a

  • SHA512

    78a222f3f26577b74aa012869d9717f14d54ab7575816d7e385eed525091f0f828bc66d01028b79812a95e421f7994ee51feebcb268ff5eb7ba2cb6bca082c4e

  • SSDEEP

    24576:bpomTTN9ttttttttttttttttttttttttttttttttttttttttttttttttttttttt/:too

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-19_5902771d2cea8460388d23fbcac64799_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-19_5902771d2cea8460388d23fbcac64799_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1240
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zyxkgfv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2988
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ruaujufl.exe" C:\Windows\SysWOW64\zyxkgfv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zyxkgfv binPath= "C:\Windows\SysWOW64\zyxkgfv\ruaujufl.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-19_5902771d2cea8460388d23fbcac64799_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2388
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zyxkgfv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2744
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zyxkgfv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2820
    • 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:2888
  • C:\Windows\SysWOW64\zyxkgfv\ruaujufl.exe
    C:\Windows\SysWOW64\zyxkgfv\ruaujufl.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-19_5902771d2cea8460388d23fbcac64799_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2752
    • 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:2212

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.3MB

    MD5

    fe4c125a724d2fa1b12545f824af5fb1

    SHA1

    5480823b559f9bc42f548758d1f11306ee89ebfd

    SHA256

    7da0eac6040ef79d16ada14a87cb84feed29370e2426fad7f737dd0b2729c4e4

    SHA512

    1552e696ee89f5695b5614deebd2aa481a72d77bc81cc5c08de1ec901993360dce657afe0b89e4d4e660713dc7aabac3b31b034eeb53e29aada04c845231095d

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

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/1240-1-0x00000000005F0000-0x00000000006F0000-memory.dmp

    Filesize

    1024KB

  • memory/1240-14-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2752-12-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB