Analysis

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

    arch:x64arch:x86image:win7-20241010-enlocale:en-usos:windows7-x64system
  • submitted
    26-12-2024 20:16

General

  • Target

    2024-12-26_3a520821a3474fa9f0a5f78ae6c2ba71_mafia.exe

  • Size

    13.6MB

  • MD5

    3a520821a3474fa9f0a5f78ae6c2ba71

  • SHA1

    52c182776432498305b5750574a9184a62ad72ec

  • SHA256

    a1d5bfbffc5aec432e7e8a2a5be5ffe16f7489c545fcb616df931f2e95591803

  • SHA512

    2d02478bd1c058ad2b659bcf4eea56082edc8bcb6c76c5a73144950f83850986e799f12a7dffc2668e44c66a33553c3d0084fb228f52d9e0bd86b003721a9e5a

  • SSDEEP

    3072:5LBgXOXcdW8tar7vGdq8c7YMl2b8anmMXnb58XuDP9het3Zv1oSW1za2E+w5C2/Y:8OMdRQr7OB0ypmMXnl8XEPM3noSWOC

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-12-26_3a520821a3474fa9f0a5f78ae6c2ba71_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-12-26_3a520821a3474fa9f0a5f78ae6c2ba71_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\fhkolibw\
      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\gtfcvinx.exe" C:\Windows\SysWOW64\fhkolibw\
      2⤵
      • System Location Discovery: System Language Discovery
      PID:2852
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" create fhkolibw binPath= "C:\Windows\SysWOW64\fhkolibw\gtfcvinx.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-12-26_3a520821a3474fa9f0a5f78ae6c2ba71_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2944
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" description fhkolibw "wifi internet conection"
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2456
    • C:\Windows\SysWOW64\sc.exe
      "C:\Windows\System32\sc.exe" start fhkolibw
      2⤵
      • Launches sc.exe
      • System Location Discovery: System Language Discovery
      PID:2936
    • 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\fhkolibw\gtfcvinx.exe
    C:\Windows\SysWOW64\fhkolibw\gtfcvinx.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-12-26_3a520821a3474fa9f0a5f78ae6c2ba71_mafia.exe"
    1⤵
    • Executes dropped EXE
    • Suspicious use of SetThreadContext
    • System Location Discovery: System Language Discovery
    • Suspicious use of WriteProcessMemory
    PID:2752
    • 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:2716

Network

MITRE ATT&CK Enterprise v15

Replay Monitor

Loading Replay Monitor...

Downloads

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

    Filesize

    15.0MB

    MD5

    380663b7280e57ac63ee459be6531055

    SHA1

    350ef2702fdbd8706f1228a8b10b347821d00097

    SHA256

    e689fd015d2d96308cda07bf149e73c53254aa1394e6a16637e5aeab3b6b7f43

    SHA512

    882dcb1e2b62abfd2c22b3b1711822be79d31b6f60103a4479f8b4ce0b7d9e4a88df15af7b88993d56e3b8aad5bd537817d329ef24e61b11c80007a47843b317

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

    Filesize

    312KB

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

    Filesize

    84KB

  • memory/2660-1-0x0000000000560000-0x0000000000660000-memory.dmp

    Filesize

    1024KB

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

    Filesize

    84KB

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

    Filesize

    312KB

  • memory/2716-16-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2716-14-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    4KB

  • memory/2716-11-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

  • memory/2716-18-0x00000000000D0000-0x00000000000E5000-memory.dmp

    Filesize

    84KB

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

    Filesize

    312KB