Analysis

  • max time kernel
    145s
  • max time network
    126s
  • 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:42

General

  • Target

    2024-09-21_cb445682e33a6b13091fb9d6a70c2120_mafia.exe

  • Size

    15.0MB

  • MD5

    cb445682e33a6b13091fb9d6a70c2120

  • SHA1

    8ebeabd69b3c978b08d95fa81ecfdb17c8d3ce15

  • SHA256

    ab29fd907470b60139c37b93d086f0b520e4edcf0e485ab90358baee202ba190

  • SHA512

    420f357ea5e44deb176d70a69e5e4e2c96c5718742317572911aaa96d872e21f80dfd054c20e2c87ac11c6af99376f692c07678e6840604b9c28df04816a3556

  • SSDEEP

    6144:j+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:j+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_cb445682e33a6b13091fb9d6a70c2120_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-09-21_cb445682e33a6b13091fb9d6a70c2120_mafia.exe"
    1⤵
    • Checks computer location settings
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:4608
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lqpslmoi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:4804
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\sqxtsbzq.exe" C:\Windows\SysWOW64\lqpslmoi\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1552
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lqpslmoi binPath= "C:\Windows\SysWOW64\lqpslmoi\sqxtsbzq.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-09-21_cb445682e33a6b13091fb9d6a70c2120_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:1716
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lqpslmoi "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2408
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lqpslmoi
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:872
    • 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:4876
  • C:\Windows\SysWOW64\lqpslmoi\sqxtsbzq.exe
    C:\Windows\SysWOW64\lqpslmoi\sqxtsbzq.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-09-21_cb445682e33a6b13091fb9d6a70c2120_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2536
    • C:\Windows\SysWOW64\svchost.exe
      svchost.exe
      2⤵
      • Sets service image path in registry
      • Deletes itself
      • System Location Discovery: System Language Discovery
      PID:1884

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.0MB

    MD5

    fd5e71a58c4e469e0a6ab2ba9b5b9e22

    SHA1

    175a89372d7f4c7901f59ec6410872f6bbf35c2e

    SHA256

    3fde63e70e6af8c4eb96c35d38967aeda5dfee1f33bec119fd90e8dceab141ca

    SHA512

    97d3610665947e73fdfd0c5969f6ba1578e0dafcea25ec45ce5bdb9379839a847c1cd12e66d25d3e521b1de52768abd960c2576b133989e5a359eb43c9a927a2

  • memory/1884-15-0x0000000000AA0000-0x0000000000AB5000-memory.dmp

    Filesize

    84KB

  • memory/1884-18-0x0000000000AA0000-0x0000000000AB5000-memory.dmp

    Filesize

    84KB

  • memory/1884-17-0x0000000000AA0000-0x0000000000AB5000-memory.dmp

    Filesize

    84KB

  • memory/1884-16-0x0000000000AA0000-0x0000000000AB5000-memory.dmp

    Filesize

    84KB

  • memory/1884-11-0x0000000000AA0000-0x0000000000AB5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    1.1MB

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

    Filesize

    1.1MB

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

    Filesize

    1.1MB

  • memory/4608-1-0x00000000005E0000-0x00000000006E0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    1.1MB

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

    Filesize

    84KB

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

    Filesize

    84KB