Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    24-08-2024 21:18

General

  • Target

    2024-08-24_66be9b1a3765b942d7489f16a6dd806f_mafia.exe

  • Size

    11.5MB

  • MD5

    66be9b1a3765b942d7489f16a6dd806f

  • SHA1

    ea92f7112fd72d16d3a74500f331616f4bc17732

  • SHA256

    0e4bf85118a3a971dcae95333f9e28253628dd26cebcc8e1e5995d0611e7263e

  • SHA512

    2e6aec7be65360941b12859eca55067e9a7dbeba24a3f566a9a68df1ae1406adf6fbcacb8e27749e1ae3aea63ccd34ee5e386451e48b41ebc2662966f74da865

  • SSDEEP

    6144:q+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:q+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-08-24_66be9b1a3765b942d7489f16a6dd806f_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-08-24_66be9b1a3765b942d7489f16a6dd806f_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3112
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ydwrjtls\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:860
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\jobbedty.exe" C:\Windows\SysWOW64\ydwrjtls\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4296
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ydwrjtls binPath= "C:\Windows\SysWOW64\ydwrjtls\jobbedty.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-08-24_66be9b1a3765b942d7489f16a6dd806f_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3804
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ydwrjtls "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1176
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ydwrjtls
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3472
    • 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:4116
  • C:\Windows\SysWOW64\ydwrjtls\jobbedty.exe
    C:\Windows\SysWOW64\ydwrjtls\jobbedty.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-08-24_66be9b1a3765b942d7489f16a6dd806f_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4668
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2308

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.7MB

    MD5

    3949bd9550ddabc5404529f6030e3d94

    SHA1

    b8e3fa89b1f899ba3078e774c7a94f300c2d75cc

    SHA256

    5dee602cff06735fe9eefb4d37a20da9f20b3fea621521fb1f8520e63afaa173

    SHA512

    12dafa0d1e3954a3a1beba3b0a4a5193f4fce9257ba2f2e3bab42cb4312c5e9ee886e8d6771914bad821ab7afed51238e218a0962d53e754b77d9fb5c59a4f7b

  • memory/2308-11-0x0000000000960000-0x0000000000975000-memory.dmp

    Filesize

    84KB

  • memory/2308-18-0x0000000000960000-0x0000000000975000-memory.dmp

    Filesize

    84KB

  • memory/2308-17-0x0000000000960000-0x0000000000975000-memory.dmp

    Filesize

    84KB

  • memory/2308-15-0x0000000000960000-0x0000000000975000-memory.dmp

    Filesize

    84KB

  • memory/2308-14-0x0000000000960000-0x0000000000975000-memory.dmp

    Filesize

    84KB

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

    Filesize

    1.1MB

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

    Filesize

    84KB

  • memory/3112-1-0x00000000005A0000-0x00000000006A0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    1.1MB

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

    Filesize

    1.1MB

  • memory/4668-16-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB