Analysis

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

    arch:x64arch:x86image:win10v2004-20240802-enlocale:en-usos:windows10-2004-x64system
  • submitted
    21-09-2024 19:29

General

  • Target

    2024-09-21_55677129c3ec9b078fca74e0042b7667_mafia.exe

  • Size

    12.0MB

  • MD5

    55677129c3ec9b078fca74e0042b7667

  • SHA1

    0f316608d3481f66b6be8defcee658022220bb61

  • SHA256

    9242bfe755391afaabf0437648bd1d1219bfe22a3a9cc38aa400b8e586207d8e

  • SHA512

    ce397f4fdc64387094fba86c9a10c487dbf66a88e15e0aaf19cc98eec28f8e8b3b7b0ec2a5816b39f1524609636457a5ab719dfb9affd2904eb317e0eb8d24fe

  • SSDEEP

    6144:c+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:c+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-21_55677129c3ec9b078fca74e0042b7667_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-09-21_55677129c3ec9b078fca74e0042b7667_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2092
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\zteitkv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2424
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\dgoomkox.exe" C:\Windows\SysWOW64\zteitkv\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4092
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create zteitkv binPath= "C:\Windows\SysWOW64\zteitkv\dgoomkox.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-09-21_55677129c3ec9b078fca74e0042b7667_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2336
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description zteitkv "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3776
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start zteitkv
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3684
    • 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:2352
  • C:\Windows\SysWOW64\zteitkv\dgoomkox.exe
    C:\Windows\SysWOW64\zteitkv\dgoomkox.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-09-21_55677129c3ec9b078fca74e0042b7667_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:1956
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1372

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.6MB

    MD5

    e1221d59a175b6fe85c4b04e9d5249ac

    SHA1

    fa58d48093749dbeae0f9db490b51eb9075ce891

    SHA256

    d011b2d55937a95146391aee7636e3a6782a22d30af638dcbd95c20823839e24

    SHA512

    e1c54ce4301305f13d0c1b399a2782841c3d0e51db5e4b69596a5c4e47639d995b3b2710d159f842c46e689169fc8fc26179ad516d2975c32540d64db7f24a47

  • memory/1372-11-0x0000000000680000-0x0000000000695000-memory.dmp

    Filesize

    84KB

  • memory/1372-19-0x0000000000680000-0x0000000000695000-memory.dmp

    Filesize

    84KB

  • memory/1372-18-0x0000000000680000-0x0000000000695000-memory.dmp

    Filesize

    84KB

  • memory/1372-17-0x0000000000680000-0x0000000000695000-memory.dmp

    Filesize

    84KB

  • memory/1372-15-0x0000000000680000-0x0000000000695000-memory.dmp

    Filesize

    84KB

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

    Filesize

    1.1MB

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

    Filesize

    1.1MB

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

    Filesize

    1.1MB

  • memory/2092-1-0x0000000000640000-0x0000000000740000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    1.1MB

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

    Filesize

    84KB

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

    Filesize

    84KB