Analysis

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

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

General

  • Target

    2024-09-24_2fed4f867f1b3b5a3f1fe632c09160f0_mafia.exe

  • Size

    14.8MB

  • MD5

    2fed4f867f1b3b5a3f1fe632c09160f0

  • SHA1

    b5209a5cfc4f2ebe1a39041675c7d985fc4dbbea

  • SHA256

    d964d79c457a25804009d5d23d8a4552b08baefb122eeb64a2514e169f7eadfa

  • SHA512

    74809b8a70806be6df304181ce9dd3762203cfcc7eb34d13d4a9fae334f860d887184eabab4343ecfbf738c18ea4a409c7c148b398b15b9985a5db8abef01b7c

  • SSDEEP

    6144:7+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:7+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-24_2fed4f867f1b3b5a3f1fe632c09160f0_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-09-24_2fed4f867f1b3b5a3f1fe632c09160f0_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2724
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gmruvdix\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:404
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wngjqdpo.exe" C:\Windows\SysWOW64\gmruvdix\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4224
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gmruvdix binPath= "C:\Windows\SysWOW64\gmruvdix\wngjqdpo.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-09-24_2fed4f867f1b3b5a3f1fe632c09160f0_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gmruvdix "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4084
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gmruvdix
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1128
    • 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:4976
  • C:\Windows\SysWOW64\gmruvdix\wngjqdpo.exe
    C:\Windows\SysWOW64\gmruvdix\wngjqdpo.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-09-24_2fed4f867f1b3b5a3f1fe632c09160f0_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3528
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3476

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.7MB

    MD5

    6bb42c2ece15f514fb604569d1967544

    SHA1

    9b0182609d9074292e3db904f58eeb26399fa212

    SHA256

    bf0653d0ab6e89ca37abe0b19029a048cd282beec48eea79c239a36f114bdb2b

    SHA512

    d2db3b434edab31d5763d9fb79f50840c222abdc024b7e78688fff757f7eea1a44f0e2df60f378947d7b8d9ea4a0b13ea16aa58c4cb5bdc8fb07fc12ba757a8b

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    1.1MB

  • memory/2724-1-0x0000000000720000-0x0000000000820000-memory.dmp

    Filesize

    1024KB

  • memory/3476-11-0x0000000000650000-0x0000000000665000-memory.dmp

    Filesize

    84KB

  • memory/3476-18-0x0000000000650000-0x0000000000665000-memory.dmp

    Filesize

    84KB

  • memory/3476-14-0x0000000000650000-0x0000000000665000-memory.dmp

    Filesize

    84KB

  • memory/3476-16-0x0000000000650000-0x0000000000665000-memory.dmp

    Filesize

    84KB

  • memory/3476-17-0x0000000000650000-0x0000000000665000-memory.dmp

    Filesize

    84KB

  • memory/3528-10-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

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

    Filesize

    1.1MB

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

    Filesize

    1.1MB