Analysis

  • max time kernel
    147s
  • max time network
    126s
  • platform
    windows7_x64
  • resource
    win7-20240903-en
  • resource tags

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

General

  • Target

    2024-10-09_616f4f2337c6242dc53a59e19f218fde_mafia.exe

  • Size

    12.4MB

  • MD5

    616f4f2337c6242dc53a59e19f218fde

  • SHA1

    8113efc0222a54e57403abd712cc797bc72f2235

  • SHA256

    de0989ba58f1a50c8b52ace991b067e5c4a3b2c830c1b2756493ddb1125b110a

  • SHA512

    9c260576ab735e659fe66266deaa601789ac170bb3469ddbef83bc54a3742d385e59ee783c188b2e95b79128620f36b9e9ace5d8eaeae1e0973e0293ff6acfaf

  • SSDEEP

    12288:/Vbj7zJB99tzBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB/:/JzXd

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-10-09_616f4f2337c6242dc53a59e19f218fde_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-10-09_616f4f2337c6242dc53a59e19f218fde_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2252
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\qnidqnvd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2368
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\wihvgqys.exe" C:\Windows\SysWOW64\qnidqnvd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2116
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create qnidqnvd binPath= "C:\Windows\SysWOW64\qnidqnvd\wihvgqys.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-10-09_616f4f2337c6242dc53a59e19f218fde_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2788
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description qnidqnvd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2988
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start qnidqnvd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2836
    • 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:2768
  • C:\Windows\SysWOW64\qnidqnvd\wihvgqys.exe
    C:\Windows\SysWOW64\qnidqnvd\wihvgqys.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-10-09_616f4f2337c6242dc53a59e19f218fde_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2936
    • 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:2840

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    11.9MB

    MD5

    b97d69e97f51b12afe54343e0d3d2b8b

    SHA1

    e0efe6cf601006c7dfc42afd44423a9e3f520722

    SHA256

    3047ad2f7d60dd2720e6394288e39253385faff70bed2b5a1e5c94e36c386d93

    SHA512

    788375cc5c2a75193afbb59c88491202cf3f1c58d15612282a595c2c3cb6c4c4e545f77da35b18a77c80cf4c81a17b4f6febe5d29d545b7740d035cd4cbacbc7

  • memory/2252-6-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB

  • memory/2252-1-0x00000000002F0000-0x00000000003F0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2252-7-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

  • memory/2252-2-0x00000000001B0000-0x00000000001C3000-memory.dmp

    Filesize

    76KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    4KB

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

    Filesize

    84KB

  • memory/2936-16-0x0000000000400000-0x000000000045D000-memory.dmp

    Filesize

    372KB