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
    01-02-2025 19:23

General

  • Target

    2025-02-01_5e15ab1ff2fd29ddfd090e5a675e8569_mafia.exe

  • Size

    13.1MB

  • MD5

    5e15ab1ff2fd29ddfd090e5a675e8569

  • SHA1

    54053e5403871decfe48fab22f77a41bcdcb168e

  • SHA256

    df262ac57db73e286fb2c5e2f9565c948ced4ef7a078b79fb58a566f9bde381d

  • SHA512

    d9aae32da5d99086fdcf48bfbe449f53afe08bf49d5ba1e4ad63feb1635c168e8bbbf1e4f0c54f76deba7d293c22854eef9309d4c2be4ebf0b8a71b15673cf67

  • SSDEEP

    393216:JXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX3:

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-02-01_5e15ab1ff2fd29ddfd090e5a675e8569_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-02-01_5e15ab1ff2fd29ddfd090e5a675e8569_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1444
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ghujyfmw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1312
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wqqhsbsu.exe" C:\Windows\SysWOW64\ghujyfmw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:3384
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ghujyfmw binPath= "C:\Windows\SysWOW64\ghujyfmw\wqqhsbsu.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-02-01_5e15ab1ff2fd29ddfd090e5a675e8569_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2608
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ghujyfmw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4704
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ghujyfmw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:748
    • 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\ghujyfmw\wqqhsbsu.exe
    C:\Windows\SysWOW64\ghujyfmw\wqqhsbsu.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-02-01_5e15ab1ff2fd29ddfd090e5a675e8569_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4544
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3844

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.1MB

    MD5

    9529a80a8f5fcb89d261f915561c9459

    SHA1

    db170cbfb059a12ad67adca004adbf421291fef2

    SHA256

    f8cf67bda8995869db2b1161a875cb1f5db0752bbf9deaf39d93543531a82869

    SHA512

    823facf19d5755797e58aa91cd315785287e0cfe4cb184a5ff2eb747edc6c7a2a7ffb8f9410d0c5c064e712432f0497f5e7303b21509e629bec149bbd77f674a

  • memory/1444-2-0x00000000005A0000-0x00000000005B3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/1444-8-0x00000000005A0000-0x00000000005B3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    372KB

  • memory/1444-1-0x00000000004A0000-0x00000000005A0000-memory.dmp

    Filesize

    1024KB

  • memory/3844-18-0x00000000008C0000-0x00000000008D5000-memory.dmp

    Filesize

    84KB

  • memory/3844-22-0x00000000008C0000-0x00000000008D5000-memory.dmp

    Filesize

    84KB

  • memory/3844-21-0x00000000008C0000-0x00000000008D5000-memory.dmp

    Filesize

    84KB

  • memory/3844-14-0x00000000008C0000-0x00000000008D5000-memory.dmp

    Filesize

    84KB

  • memory/3844-17-0x00000000008C0000-0x00000000008D5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    372KB

  • memory/4544-20-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/4544-13-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    372KB