Analysis

  • max time kernel
    145s
  • max time network
    120s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

    arch:x64arch:x86image:win7-20240903-enlocale:en-usos:windows7-x64system
  • submitted
    03-09-2024 10:42

General

  • Target

    2024-09-03_1415fb28d4ec24974686845f861affd4_mafia.exe

  • Size

    11.0MB

  • MD5

    1415fb28d4ec24974686845f861affd4

  • SHA1

    54f4df7f0d829b32e39f01203f6d1b1703f9be21

  • SHA256

    4ba2331be4aba69cc1be792caf33d02993bf36b7d75835dac3c541153ab6a919

  • SHA512

    ac79a64a940ae7078a9e424bd282e091cfbd77869f63ef5e9bd9befdbf09fe3ce2731aa9ef6fb2750d7c1deea1853bc3ce5dabef61797bbdca10a8d645a259ba

  • SSDEEP

    6144:3+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:3+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-09-03_1415fb28d4ec24974686845f861affd4_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-09-03_1415fb28d4ec24974686845f861affd4_mafia.exe"
    1⤵
    • 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\nuicwmam\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:744
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rmtqpmij.exe" C:\Windows\SysWOW64\nuicwmam\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:768
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create nuicwmam binPath= "C:\Windows\SysWOW64\nuicwmam\rmtqpmij.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-09-03_1415fb28d4ec24974686845f861affd4_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2508
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description nuicwmam "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2720
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start nuicwmam
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2856
    • 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:2932
  • C:\Windows\SysWOW64\nuicwmam\rmtqpmij.exe
    C:\Windows\SysWOW64\nuicwmam\rmtqpmij.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-09-03_1415fb28d4ec24974686845f861affd4_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2728
    • 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:1148

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    13.2MB

    MD5

    57303be53635b77a20daac97ca63c335

    SHA1

    c489dc54b7b1c802a7b2df68a22e7c26849f7ea6

    SHA256

    51272eee47e6c6af57bee58bdd1e56b932672992311fda9177b8f986c75e6b6d

    SHA512

    6407d8fb9e9796a72b9097a5bf5b73bf7a1c53449384fce980a149449f4675cc3c4e126cab64fdc93db7d9005de8295826543c2cee743a2f1b438a4897440dfa

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/1148-15-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2068-1-0x0000000000230000-0x0000000000330000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    1.1MB

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

    Filesize

    1.1MB