Analysis

  • max time kernel
    143s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20240708-en
  • resource tags

    arch:x64arch:x86image:win7-20240708-enlocale:en-usos:windows7-x64system
  • submitted
    03-11-2024 09:58

General

  • Target

    2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe

  • Size

    13.2MB

  • MD5

    7805744de467df9742263b9b6bad88db

  • SHA1

    f65a57962202de0ab0264ea1c5d5193a2f4bd349

  • SHA256

    dce5b9da95d9d01aa4be5091d9cdcc52456d04f5e52385b79bc7887410eeea7e

  • SHA512

    b15550cc947017eec88d2fb8ad96fed34f48fd998dca4c7f5efbc789889aefb78264908e054a35b63d47d9c3e6eb2eee2fb7e9e41bf7fb5c5af20f0a9d84298e

  • SSDEEP

    196608:H3aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa+:H

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.

  • Tofsee family
  • 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-11-03_7805744de467df9742263b9b6bad88db_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2568
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\gvdkfijf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:1712
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\rrqwhvcf.exe" C:\Windows\SysWOW64\gvdkfijf\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2532
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create gvdkfijf binPath= "C:\Windows\SysWOW64\gvdkfijf\rrqwhvcf.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2108
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description gvdkfijf "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2780
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start gvdkfijf
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2484
    • 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:2728
  • C:\Windows\SysWOW64\gvdkfijf\rrqwhvcf.exe
    C:\Windows\SysWOW64\gvdkfijf\rrqwhvcf.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-11-03_7805744de467df9742263b9b6bad88db_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2300
    • 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:1204

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    14.7MB

    MD5

    a2a0f732335f8cb327b87a4df3984fff

    SHA1

    ac2b722915a368dd679a460fa2ed5fa899f5bac0

    SHA256

    49569b649716b4f0c699b2806b7d772a45e562819e315472fea545bfc9bbfd78

    SHA512

    2b30de1bde53df083b7ee4ac3a83b3423edcd2818eae1e02299e0a7c45738c79f54d5acf914dcd15d1fe5b39596c4947b8bd441e1166a451c1d4c18005b583f7

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

    Filesize

    84KB

  • memory/1204-18-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1204-11-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/1204-13-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

    Filesize

    4KB

  • memory/1204-14-0x0000000000080000-0x0000000000095000-memory.dmp

    Filesize

    84KB

  • memory/2300-17-0x0000000000400000-0x0000000000459000-memory.dmp

    Filesize

    356KB

  • memory/2568-8-0x0000000000400000-0x0000000000415000-memory.dmp

    Filesize

    84KB

  • memory/2568-6-0x0000000000400000-0x0000000000459000-memory.dmp

    Filesize

    356KB

  • memory/2568-1-0x0000000000530000-0x0000000000630000-memory.dmp

    Filesize

    1024KB

  • memory/2568-7-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2568-2-0x0000000000220000-0x0000000000233000-memory.dmp

    Filesize

    76KB