Analysis

  • max time kernel
    150s
  • max time network
    151s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240802-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    03-09-2024 10:42

General

  • Target

    2024-09-03_1415fb28d4ec24974686845f861affd4_mafia.exe

  • Size

    11.0MB

  • MD5

    1415fb28d4ec24974686845f861affd4

  • SHA1

    54f4df7f0d829b32e39f01203f6d1b1703f9be21

  • SHA256

    4ba2331be4aba69cc1be792caf33d02993bf36b7d75835dac3c541153ab6a919

  • SHA512

    ac79a64a940ae7078a9e424bd282e091cfbd77869f63ef5e9bd9befdbf09fe3ce2731aa9ef6fb2750d7c1deea1853bc3ce5dabef61797bbdca10a8d645a259ba

  • SSDEEP

    6144:3+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:3+r1IeSXMXc7LlxWV4Ug97GZ+ej

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.

  • 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\2024-09-03_1415fb28d4ec24974686845f861affd4_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-09-03_1415fb28d4ec24974686845f861affd4_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4876
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\naryagem\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2704
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\uwriztat.exe" C:\Windows\SysWOW64\naryagem\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2576
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create naryagem binPath= "C:\Windows\SysWOW64\naryagem\uwriztat.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-09-03_1415fb28d4ec24974686845f861affd4_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2260
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description naryagem "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4172
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start naryagem
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4012
    • 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:1768
  • C:\Windows\SysWOW64\naryagem\uwriztat.exe
    C:\Windows\SysWOW64\naryagem\uwriztat.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-09-03_1415fb28d4ec24974686845f861affd4_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2876
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2056

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.2MB

    MD5

    2e2e924602c0ee7a547f9b6391a08da7

    SHA1

    c3f57b84a87d82d5aa19e7f2c103702842bb992a

    SHA256

    af84e6ad455293eb569661d0d3dc83d1ad611d37a657bee5cdf4c6f555565748

    SHA512

    b9359ccf6ad16f9de86f292bcc57f5e8969ca7e1442a610ddb7af3d0b5e1b366aa2ac1b202a7d1f879dff9cf12055a440c4ce5b7990053ec763d3f67ff7c9e7f

  • memory/2056-10-0x00000000001E0000-0x00000000001F5000-memory.dmp

    Filesize

    84KB

  • memory/2056-14-0x00000000001E0000-0x00000000001F5000-memory.dmp

    Filesize

    84KB

  • memory/2056-16-0x00000000001E0000-0x00000000001F5000-memory.dmp

    Filesize

    84KB

  • memory/2876-9-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/2876-11-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/2876-15-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/4876-1-0x0000000000610000-0x0000000000710000-memory.dmp

    Filesize

    1024KB

  • memory/4876-2-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/4876-6-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

  • memory/4876-7-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB