Analysis

  • max time kernel
    146s
  • max time network
    123s
  • platform
    windows7_x64
  • resource
    win7-20241010-en
  • resource tags

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    31-01-2025 19:46

General

  • Target

    2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe

  • Size

    12.5MB

  • MD5

    985d5a3c0a38f3438ecf1ee322381de5

  • SHA1

    e1abddfb5e5550bc28d529a5ef293a575fb362a2

  • SHA256

    6b62d421c0993ea2c1d4213c5fa44f08e381642fed36603a6fc8efafec955de3

  • SHA512

    2b81be138cfe0501d45d7a7a5c1ee710971483e413ba41df5ea5f1d28b861cb0a722b47ee55feb04d1660f6888675008019379b56a0006ec66f395da6f29c850

  • SSDEEP

    24576:dpomTTN9tttttttttttttttttttttttttttttttttttttttttttttttttttttttV:3oo

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\2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2660
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\lowcvnvb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2144
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\gsrfqaic.exe" C:\Windows\SysWOW64\lowcvnvb\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2816
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create lowcvnvb binPath= "C:\Windows\SysWOW64\lowcvnvb\gsrfqaic.exe /d\"C:\Users\Admin\AppData\Local\Temp\2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2920
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description lowcvnvb "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2844
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start lowcvnvb
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2928
    • 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:1720
  • C:\Windows\SysWOW64\lowcvnvb\gsrfqaic.exe
    C:\Windows\SysWOW64\lowcvnvb\gsrfqaic.exe /d"C:\Users\Admin\AppData\Local\Temp\2025-01-31_985d5a3c0a38f3438ecf1ee322381de5_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:3024
    • 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:2996

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.5MB

    MD5

    6bf0ca3d8d075bf0e8be0f3ce58d2602

    SHA1

    ae59b75b0bf338a9c2d7683e02f667311e1b01be

    SHA256

    0321b336acf5578881fa1cb4ebe016e3a1dd28d1726a92cde9d6c69a3eaf2784

    SHA512

    b9aa8cb66dbc95146a56e1d1eac78644dc5baf55688fe6c6244109b40705e7413923efd45bce5ac495d7edccf75c0f61d75bec974261c7a58dd53b65ac36e320

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

    Filesize

    84KB

  • memory/2660-2-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

  • memory/2660-7-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB

  • memory/2660-9-0x0000000000020000-0x0000000000033000-memory.dmp

    Filesize

    76KB

  • memory/2660-1-0x0000000000510000-0x0000000000610000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/3024-17-0x0000000000400000-0x000000000044E000-memory.dmp

    Filesize

    312KB