Analysis

  • max time kernel
    149s
  • max time network
    161s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20241007-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20241007-enlocale:en-usos:windows10-2004-x64system
  • submitted
    08-10-2024 12:12

General

  • Target

    2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe

  • Size

    13.1MB

  • MD5

    cbe4039a430cd860ed47cdb1d3e0401a

  • SHA1

    4fc93cbda5f8e8b69547b1ebc3ef3ff544bbc977

  • SHA256

    8caaa77edf1243eec9a766ad37679232215994a8d7f9d2d45d1778f4577f9a26

  • SHA512

    a0e587337edc018e39a5d5f518504f2d153738595590e1ae1b8eb75912502308dc89914393d990ead4d0b9a68d1e6ca5fbbe08bbfc9b20c34738dff7713d0fc0

  • SSDEEP

    12288:TVbj7zJB99tzBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBv:TJzXd

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-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2116
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\xlrqahsm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4196
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\hjcnucqg.exe" C:\Windows\SysWOW64\xlrqahsm\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2296
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create xlrqahsm binPath= "C:\Windows\SysWOW64\xlrqahsm\hjcnucqg.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:988
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description xlrqahsm "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4120
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start xlrqahsm
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4220
    • 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:4952
  • C:\Windows\SysWOW64\xlrqahsm\hjcnucqg.exe
    C:\Windows\SysWOW64\xlrqahsm\hjcnucqg.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-10-08_cbe4039a430cd860ed47cdb1d3e0401a_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2436
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:4884

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.8MB

    MD5

    ac3f66e94dcb83ceb7f8024909336a2b

    SHA1

    11365810fb913a74ab5a620ce206535e9b4e6e48

    SHA256

    258cd507895d397ae15c0b580f3598ded8e3e4aa7b24a229e00c9f62c1df22a4

    SHA512

    b77ad03d80ce74b933f4bdce63d16cd5e559f8f5d60533859fd6decb6c0ea430858ea8b4b02a0bb423b1188273ab4aa367c74767cdfa29f98fd6c43e7d0199ea

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

    Filesize

    372KB

  • memory/2116-1-0x0000000000630000-0x0000000000730000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2116-8-0x0000000000600000-0x0000000000613000-memory.dmp

    Filesize

    76KB

  • memory/2116-2-0x0000000000600000-0x0000000000613000-memory.dmp

    Filesize

    76KB

  • memory/2436-17-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

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

    Filesize

    372KB

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

    Filesize

    372KB

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

    Filesize

    372KB

  • memory/4884-19-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

    Filesize

    84KB

  • memory/4884-18-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

    Filesize

    84KB

  • memory/4884-14-0x0000000000DA0000-0x0000000000DB5000-memory.dmp

    Filesize

    84KB