Analysis

  • max time kernel
    148s
  • max time network
    150s
  • platform
    windows10-2004_x64
  • resource
    win10v2004-20240508-en
  • resource tags

    arch:x64arch:x86image:win10v2004-20240508-enlocale:en-usos:windows10-2004-x64system
  • submitted
    27-06-2024 20:32

General

  • Target

    2024-06-27_d5483c0ac3f27c4120a89481577d1a27_mafia.exe

  • Size

    12.7MB

  • MD5

    d5483c0ac3f27c4120a89481577d1a27

  • SHA1

    1dcea0d988534f7bcb8888b90576fa710f0b2713

  • SHA256

    f3f8ead588e2333c6e66a48384e0ee9a04f36b4c0ddfa6a35e2b8724b93e427d

  • SHA512

    d98b9bddc09bff8ccb2c10cdccd1ecd529f75219bbab1d1937d7084ff5385c01a119ae8bc14858ff4849840b960c391fbaa69aa88b1466b3d3e366d796add97c

  • SSDEEP

    6144:++rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:++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.

  • Creates new service(s) 2 TTPs
  • Modifies Windows Firewall 2 TTPs 1 IoCs
  • Sets service image path in registry 2 TTPs 1 IoCs
  • Checks computer location settings 2 TTPs 1 IoCs

    Looks up country code configured in the registry, likely geofence.

  • 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.

  • Suspicious use of WriteProcessMemory 23 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-06-27_d5483c0ac3f27c4120a89481577d1a27_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-06-27_d5483c0ac3f27c4120a89481577d1a27_mafia.exe"
    1⤵
    • Checks computer location settings
    • Suspicious use of WriteProcessMemory
    PID:4564
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\vzldknzn\
      2⤵
        PID:4152
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\fdkgfomd.exe" C:\Windows\SysWOW64\vzldknzn\
        2⤵
          PID:1556
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create vzldknzn binPath= "C:\Windows\SysWOW64\vzldknzn\fdkgfomd.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-27_d5483c0ac3f27c4120a89481577d1a27_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:3908
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description vzldknzn "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1236
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start vzldknzn
          2⤵
          • Launches sc.exe
          PID:2640
        • 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
          PID:4204
      • C:\Windows\SysWOW64\vzldknzn\fdkgfomd.exe
        C:\Windows\SysWOW64\vzldknzn\fdkgfomd.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-27_d5483c0ac3f27c4120a89481577d1a27_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:3812
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:32

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        12.0MB

        MD5

        182262416dbe7164ce66b2584c980409

        SHA1

        18b308155c78b45ae72b18fa151232a156bfdb75

        SHA256

        b12df06b3cd14f1a7ac93224fdf6d9d23a63a7fbe4615b28ba6ea9b9ea413d25

        SHA512

        2d9dced1884012a534219961ea7506d0f1da620c9e084e6d9e28ca52f8386bb66c32bc888c6eccc100f46489f81f483ce15d57e23d1da9db31428c4cbf07d749

      • memory/32-10-0x0000000000C30000-0x0000000000C45000-memory.dmp

        Filesize

        84KB

      • memory/32-14-0x0000000000C30000-0x0000000000C45000-memory.dmp

        Filesize

        84KB

      • memory/32-13-0x0000000000C30000-0x0000000000C45000-memory.dmp

        Filesize

        84KB

      • memory/3812-9-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

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

        Filesize

        1.1MB

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

        Filesize

        84KB

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

        Filesize

        1024KB

      • memory/4564-7-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB

      • memory/4564-6-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB