Analysis

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

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    01-02-2025 20:44

General

  • Target

    2025-02-01_e72355b4a0464e46c38ca6b00eb1c8e8_mafia.exe

  • Size

    12.4MB

  • MD5

    e72355b4a0464e46c38ca6b00eb1c8e8

  • SHA1

    73f4fda83748ad83cb959734b1efb871f990289b

  • SHA256

    7eec0b84366d92033888fb9def21b46b1d0351de031703e35cc182529682f27a

  • SHA512

    0080f7c14d7582f89555ecb28d7d8e2eb7064048db8c356429b4972d4368d600552bd8108794f999f5ea962e996a432d373367aadfa84a300404f4e61c5f44d9

  • SSDEEP

    24576:uEfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZj:Hfot

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-02-01_e72355b4a0464e46c38ca6b00eb1c8e8_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_e72355b4a0464e46c38ca6b00eb1c8e8_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2396
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\topdgtam\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2168
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rqegursk.exe" C:\Windows\SysWOW64\topdgtam\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1216
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create topdgtam binPath= "C:\Windows\SysWOW64\topdgtam\rqegursk.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_e72355b4a0464e46c38ca6b00eb1c8e8_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1192
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description topdgtam "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2776
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start topdgtam
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2876
    • 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:2792
  • C:\Windows\SysWOW64\topdgtam\rqegursk.exe
    C:\Windows\SysWOW64\topdgtam\rqegursk.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_e72355b4a0464e46c38ca6b00eb1c8e8_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3036
    • 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:2828

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.3MB

    MD5

    f862693c9ac97ab804ce7f35e3f9df23

    SHA1

    936961071b41fa08c7cf298022f840205a301d8c

    SHA256

    2183665069d9e35c4397b17dc82e6f90f619435585ddff10327090eb1433d432

    SHA512

    8d0cb169d9eb916968349aea06bdffcceb28278f9f95fce3a5786f0890e17137397aeb7d77fb6fdddd929c2f1cee8dd7954ff92c6eea708c9904fc92738b3f53

  • memory/2396-7-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2396-8-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    1024KB

  • memory/2828-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/3036-17-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB