Analysis

  • max time kernel
    144s
  • max time network
    116s
  • platform
    windows7_x64
  • resource
    win7-20240729-en
  • resource tags

    arch:x64arch:x86image:win7-20240729-enlocale:en-usos:windows7-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.

  • Windows security bypass 2 TTPs 1 IoCs
  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • 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 30 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⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2316
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\ldskuejc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:484
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\zubyxuqr.exe" C:\Windows\SysWOW64\ldskuejc\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2392
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create ldskuejc binPath= "C:\Windows\SysWOW64\ldskuejc\zubyxuqr.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:2796
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description ldskuejc "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2808
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start ldskuejc
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:580
    • 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:2700
  • C:\Windows\SysWOW64\ldskuejc\zubyxuqr.exe
    C:\Windows\SysWOW64\ldskuejc\zubyxuqr.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:2940
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Windows security bypass
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:2932

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.0MB

    MD5

    9ba5dfc26e8d2af5e3fa00d5822d73d1

    SHA1

    00da59f0d2cd4caff222d4cd44132775f8cb1c90

    SHA256

    581f1a7e8c21c4f2e2315d5a664bf3fcd9d9f593e345a7555efc833847a30496

    SHA512

    91fd9ef9935c2bc777fa4c552a6da1bb4de5bba7578a051448ebe0be2f8635b6f9939dfee690f1556d8f30eccbeb330b6f28e3b5c870743b0ffcffdf737449ad

  • memory/2316-1-0x0000000000670000-0x0000000000770000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

  • memory/2316-15-0x0000000000670000-0x0000000000770000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    1.1MB

  • memory/2316-14-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2932-10-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2932-9-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/2932-7-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2932-16-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2932-17-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2940-12-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB