Analysis

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

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    27/01/2025, 11:06

General

  • Target

    2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe

  • Size

    14.5MB

  • MD5

    a026d18ee3a43efeb3bb6cf62627fb60

  • SHA1

    001bdf3769b61ec1043b594945ce524229c243c1

  • SHA256

    a725c7f09a266056b3599ff0d8531a1145a243808b48eefaefa805ec00c62af0

  • SHA512

    87ab5827d7bb9ae67fa754e6d1fa32e6d89c221f15bb13dec112299d35c0e4bf98d155122d5357aba6223e97a3ded11dc91720de8a6e19a678b07bbbcabdc923

  • SSDEEP

    24576:6EfmTNIkv/ZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZZJ:Tfot

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-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2624
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\bdjgyphx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1328
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\viurkxcm.exe" C:\Windows\SysWOW64\bdjgyphx\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2028
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create bdjgyphx binPath= "C:\Windows\SysWOW64\bdjgyphx\viurkxcm.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2432
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description bdjgyphx "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2916
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start bdjgyphx
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2840
    • 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:2212
  • C:\Windows\SysWOW64\bdjgyphx\viurkxcm.exe
    C:\Windows\SysWOW64\bdjgyphx\viurkxcm.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-27_a026d18ee3a43efeb3bb6cf62627fb60_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2816
    • 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:2884

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.5MB

    MD5

    a3623c07786ed20326db682435737167

    SHA1

    2d67742105f40d218032cd0e90d704ee64b2931d

    SHA256

    8f52d33156403a6d02f9c63856cb07bf05db74f4f44f379fa9aece834a52f010

    SHA512

    4fbd5289df14d4ca475038f00f36a97c3205ac5e6f18d00923fc6fa99b8d72795b28a784200eafd4b268e08a253a93bb4ea289f13b5c1b134598b809b771b5c5

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

    Filesize

    312KB

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

    Filesize

    84KB

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

    Filesize

    76KB

  • memory/2624-14-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2624-13-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2624-1-0x00000000004E0000-0x00000000005E0000-memory.dmp

    Filesize

    1024KB

  • memory/2816-16-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2884-11-0x0000000000110000-0x0000000000125000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2884-8-0x0000000000110000-0x0000000000125000-memory.dmp

    Filesize

    84KB

  • memory/2884-17-0x0000000000110000-0x0000000000125000-memory.dmp

    Filesize

    84KB

  • memory/2884-18-0x0000000000110000-0x0000000000125000-memory.dmp

    Filesize

    84KB