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
    19-09-2024 02:35

General

  • Target

    2024-09-19_ec1febd5bd936215067feeacc23762c0_mafia.exe

  • Size

    14.0MB

  • MD5

    ec1febd5bd936215067feeacc23762c0

  • SHA1

    4355162cff1556d4041817303fa522576dcd83fc

  • SHA256

    fb761c1ac886be7d6131a7dacfa8e451f93237096dbe6071f8496eeab4cc58a2

  • SHA512

    123002ab121277d036aeb4a7cbbd82c459cc08db2dd6602491a99dc74fac1358879d0b138d3ec17186796849d2cf657851d5be7dbc26c9a585fdc5509ec594d6

  • SSDEEP

    6144:s+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:s+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-19_ec1febd5bd936215067feeacc23762c0_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-09-19_ec1febd5bd936215067feeacc23762c0_mafia.exe"
    1⤵
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2520
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\cpjovvd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2328
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\lnizqkrk.exe" C:\Windows\SysWOW64\cpjovvd\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2104
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create cpjovvd binPath= "C:\Windows\SysWOW64\cpjovvd\lnizqkrk.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-09-19_ec1febd5bd936215067feeacc23762c0_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:3016
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description cpjovvd "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2700
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start cpjovvd
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2748
    • 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:2740
  • C:\Windows\SysWOW64\cpjovvd\lnizqkrk.exe
    C:\Windows\SysWOW64\cpjovvd\lnizqkrk.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-09-19_ec1febd5bd936215067feeacc23762c0_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2848
    • 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:2764

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    10.0MB

    MD5

    0b5830fc403efacf6492e62588fe2e3a

    SHA1

    fdeb8f8b9cea48693c2cbdd08cb04e9ef90c5a8d

    SHA256

    895e58e998394c5bad05cea208855f3ec100bbe82128cf9dc8aedd9dfa1a6be2

    SHA512

    a66b328c757b52302a8bddbaa4c26dbbb5a272e128a97db7f5aff9d6e83450fe3f6329f9d57e30324cdefdc53382d7ea7f0826308bea9dc58189fc6a4c792052

  • memory/2520-1-0x00000000005F0000-0x00000000006F0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2520-15-0x00000000005F0000-0x00000000006F0000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    1.1MB

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

    Filesize

    4KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

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

    Filesize

    84KB

  • memory/2848-11-0x0000000000400000-0x000000000051A000-memory.dmp

    Filesize

    1.1MB