Analysis

  • max time kernel
    144s
  • max time network
    129s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20250129-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20250129-enlocale:en-usos:windows10-2004-x64system
  • submitted
    31-01-2025 19:46

General

  • Target

    2025-01-31_047c998fb134b08e332826053fa8640f_mafia.exe

  • Size

    14.7MB

  • MD5

    047c998fb134b08e332826053fa8640f

  • SHA1

    b69f1fe444fb5c2fd2983c17e91607be66453376

  • SHA256

    77728ab8b44b23e25a625458f8750a51feb298c7af0bf2c0d619fbd78b56f6f8

  • SHA512

    120e7c55a728c4b55689ed8a87ba6f0e1cbc537ba17328481a013284afaae63c6593815ccd9f226723ea5168e0b62bb93270b64de9927e91bcca5a7c869f513f

  • SSDEEP

    393216:XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX3:

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
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2025-01-31_047c998fb134b08e332826053fa8640f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_047c998fb134b08e332826053fa8640f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4652
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\jcikrufd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4320
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\oiizktkm.exe" C:\Windows\SysWOW64\jcikrufd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4812
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create jcikrufd binPath= "C:\Windows\SysWOW64\jcikrufd\oiizktkm.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_047c998fb134b08e332826053fa8640f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1632
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description jcikrufd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5044
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start jcikrufd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:5024
    • 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:2012
  • C:\Windows\SysWOW64\jcikrufd\oiizktkm.exe
    C:\Windows\SysWOW64\jcikrufd\oiizktkm.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_047c998fb134b08e332826053fa8640f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1184
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:5080

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.1MB

    MD5

    5e15ab1ff2fd29ddfd090e5a675e8569

    SHA1

    54053e5403871decfe48fab22f77a41bcdcb168e

    SHA256

    df262ac57db73e286fb2c5e2f9565c948ced4ef7a078b79fb58a566f9bde381d

    SHA512

    d9aae32da5d99086fdcf48bfbe449f53afe08bf49d5ba1e4ad63feb1635c168e8bbbf1e4f0c54f76deba7d293c22854eef9309d4c2be4ebf0b8a71b15673cf67

  • memory/1184-12-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/1184-11-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/1184-16-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    84KB

  • memory/4652-2-0x0000000000570000-0x0000000000583000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/4652-1-0x0000000000780000-0x0000000000880000-memory.dmp

    Filesize

    1024KB

  • memory/4652-8-0x0000000000570000-0x0000000000583000-memory.dmp

    Filesize

    76KB

  • memory/4652-7-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/5080-13-0x0000000000C30000-0x0000000000C45000-memory.dmp

    Filesize

    84KB

  • memory/5080-17-0x0000000000C30000-0x0000000000C45000-memory.dmp

    Filesize

    84KB

  • memory/5080-18-0x0000000000C30000-0x0000000000C45000-memory.dmp

    Filesize

    84KB