Analysis

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

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

General

  • Target

    2024-08-25_1a50f107e046ddff86ea9ccb7ea61495_mafia.exe

  • Size

    12.9MB

  • MD5

    1a50f107e046ddff86ea9ccb7ea61495

  • SHA1

    274c864256fc81e900541df30e4d3ff5d6c511b4

  • SHA256

    39102efc9b46dd7fbee596fc412478562c287cd893ffc376427178a3ed157274

  • SHA512

    6c0a4534edf9ba41539f622f9dca6085da10678cd58415d747bd1ba96507a8910e2833bb67f701e4bd611af49e4e53c56e69bff3667cb36e6a347cf3c4699bfe

  • SSDEEP

    6144:u+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:u+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-25_1a50f107e046ddff86ea9ccb7ea61495_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-08-25_1a50f107e046ddff86ea9ccb7ea61495_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2068
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lkraofkh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:848
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\orzzxvzi.exe" C:\Windows\SysWOW64\lkraofkh\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4940
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lkraofkh binPath= "C:\Windows\SysWOW64\lkraofkh\orzzxvzi.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-08-25_1a50f107e046ddff86ea9ccb7ea61495_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:4980
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lkraofkh "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3652
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lkraofkh
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1176
    • 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:4972
  • C:\Windows\SysWOW64\lkraofkh\orzzxvzi.exe
    C:\Windows\SysWOW64\lkraofkh\orzzxvzi.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-08-25_1a50f107e046ddff86ea9ccb7ea61495_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4520
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:3384

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    12.9MB

    MD5

    78bfec3da6da612c2846c309b88f7b04

    SHA1

    afef27f21cecfcb8a8da865a0389f3ca03440123

    SHA256

    1bceacb94132fd60af626f574d532ba12931e40a20feb703208ee9fb2d882733

    SHA512

    88728df1f4c31b8977092833021c8c811f852ff9bf805b68cb631958fb536b8a0aec38065d9a3a5c0af934f08274bfd8ddc914e5f3fe02e2a32a0d019b9be62d

  • memory/2068-1-0x00000000006D0000-0x00000000007D0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    1.1MB

  • memory/3384-11-0x00000000006A0000-0x00000000006B5000-memory.dmp

    Filesize

    84KB

  • memory/3384-15-0x00000000006A0000-0x00000000006B5000-memory.dmp

    Filesize

    84KB

  • memory/3384-16-0x00000000006A0000-0x00000000006B5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    1.1MB

  • memory/4520-13-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB

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

    Filesize

    1.1MB