Analysis

  • max time kernel
    146s
  • max time network
    125s
  • platform
    windows7_x64
  • resource
    win7-20240611-en
  • resource tags

    arch:x64arch:x86image:win7-20240611-enlocale:en-usos:windows7-x64system
  • submitted
    27-06-2024 20:36

General

  • Target

    2024-06-27_dea97f9022f1e5e44f150eea8375c8a9_mafia.exe

  • Size

    11.3MB

  • MD5

    dea97f9022f1e5e44f150eea8375c8a9

  • SHA1

    bd4e36d5791b595d381bc2d2a4816710a54aad39

  • SHA256

    191eb74169c214f047b6b9efb8c28e18e1af40b91ac91ab5f6071c4735505e43

  • SHA512

    d5f0166d3dc07c458ff5b1f73e2d510908fb6a001e090b6153cac7290e1a2b6fff628d9ee290f0bb77608b047bfce200647e07b0f5534049b4d8da1e97a4d831

  • SSDEEP

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

  • Suspicious use of WriteProcessMemory 30 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\2024-06-27_dea97f9022f1e5e44f150eea8375c8a9_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-06-27_dea97f9022f1e5e44f150eea8375c8a9_mafia.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:2944
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\pflndren\
      2⤵
        PID:2304
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\tannqbto.exe" C:\Windows\SysWOW64\pflndren\
        2⤵
          PID:2620
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create pflndren binPath= "C:\Windows\SysWOW64\pflndren\tannqbto.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-06-27_dea97f9022f1e5e44f150eea8375c8a9_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2636
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description pflndren "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:1800
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start pflndren
          2⤵
          • Launches sc.exe
          PID:2736
        • 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:2520
      • C:\Windows\SysWOW64\pflndren\tannqbto.exe
        C:\Windows\SysWOW64\pflndren\tannqbto.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-06-27_dea97f9022f1e5e44f150eea8375c8a9_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2664
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Windows security bypass
          • Sets service image path in registry
          • Deletes itself
          PID:2504

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        14.4MB

        MD5

        1b305d4f0e5adbef62b156fb78795f1c

        SHA1

        0fdef5edccd1ad0296c475d8582e0e80f3e48bab

        SHA256

        1191b5bd620e6ad266bbec8b18c61f2a7b91ea2efaca639115d1ffbbb8e5823c

        SHA512

        de084e22d7c3d80b0c0bc62cc27cd5e6da571693889ec58c1d03959596b1f701e57ad38b5391b3af1c6dcdef0742a8e3d8aab27f35cef91573f1663d8e2f0fe3

      • memory/2504-15-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2504-12-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

      • memory/2504-11-0x000000007EFDE000-0x000000007EFDF000-memory.dmp

        Filesize

        4KB

      • memory/2504-9-0x0000000000080000-0x0000000000095000-memory.dmp

        Filesize

        84KB

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

        Filesize

        84KB

      • memory/2664-14-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/2944-1-0x0000000000630000-0x0000000000730000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        84KB

      • memory/2944-5-0x0000000000400000-0x000000000051A000-memory.dmp

        Filesize

        1.1MB

      • memory/2944-6-0x0000000000400000-0x0000000000415000-memory.dmp

        Filesize

        84KB