Analysis

  • max time kernel
    133s
  • max time network
    147s
  • platform
    windows7_x64
  • resource
    win7-20240508-en
  • resource tags

    arch:x64arch:x86image:win7-20240508-enlocale:en-usos:windows7-x64system
  • submitted
    01-07-2024 21:22

General

  • Target

    2024-07-01_5d2e671530ea99e8d6211a1c38fdbbbe_mafia.exe

  • Size

    10.5MB

  • MD5

    5d2e671530ea99e8d6211a1c38fdbbbe

  • SHA1

    26e4576726810b824d299e6b36bf33cbdffa4643

  • SHA256

    6a6941267ae0c7a98e3854814083c17dfe43da830acd256a74ac072d8a00a7e8

  • SHA512

    3ea51bf4ff4ae6ab2aa965f8b4e67379efa8a6c6d7b0e7079deb05b9b526e77605a2d4208b0b9970ad58a247ef7419938f7a422aa163321602670c95cb2b4a54

  • SSDEEP

    6144:A+rWO2zeSPDjMXMH7Ll4aFpWVqIwUAP97GEwHrG2+e1x2:A+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
  • 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-07-01_5d2e671530ea99e8d6211a1c38fdbbbe_mafia.exe
    "C:\Users\Admin\AppData\Local\Temp\2024-07-01_5d2e671530ea99e8d6211a1c38fdbbbe_mafia.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1924
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\btbqppdy\
      2⤵
        PID:1272
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\xkybddbo.exe" C:\Windows\SysWOW64\btbqppdy\
        2⤵
          PID:2596
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create btbqppdy binPath= "C:\Windows\SysWOW64\btbqppdy\xkybddbo.exe /d\"C:\Users\Admin\AppData\Local\Temp\2024-07-01_5d2e671530ea99e8d6211a1c38fdbbbe_mafia.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
          • Launches sc.exe
          PID:2556
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" description btbqppdy "wifi internet conection"
          2⤵
          • Launches sc.exe
          PID:3004
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" start btbqppdy
          2⤵
          • Launches sc.exe
          PID:2636
        • 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:2480
      • C:\Windows\SysWOW64\btbqppdy\xkybddbo.exe
        C:\Windows\SysWOW64\btbqppdy\xkybddbo.exe /d"C:\Users\Admin\AppData\Local\Temp\2024-07-01_5d2e671530ea99e8d6211a1c38fdbbbe_mafia.exe"
        1⤵
        • Executes dropped EXE
        • Suspicious use of SetThreadContext
        • Suspicious use of WriteProcessMemory
        PID:2476
        • C:\Windows\SysWOW64\svchost.exe
          svchost.exe
          2⤵
          • Sets service image path in registry
          • Deletes itself
          PID:2616

      Network

      MITRE ATT&CK Enterprise v15

      Replay Monitor

      Loading Replay Monitor...

      Downloads

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

        Filesize

        11.9MB

        MD5

        805b95067720f350fae7b19b6ddd9024

        SHA1

        a3823c79f03f6e740bea5868a4fe7eae947071a1

        SHA256

        1f2d476bb21965420827b2a4c66dcd771565efb8847c29d6766ddf05c2d65fbf

        SHA512

        4767424ddd2bea7945f53df7b998a22b1a66378a82ed5596f96f18cf83dc6885b2b5304df729f677a0849b090d0e3566495b0c30f4d624becfa2b0fb1d941c7a

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

        Filesize

        84KB

      • memory/1924-1-0x0000000000620000-0x0000000000720000-memory.dmp

        Filesize

        1024KB

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

        Filesize

        1.1MB

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

        Filesize

        84KB

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

        Filesize

        1.1MB

      • memory/2616-10-0x0000000000100000-0x0000000000115000-memory.dmp

        Filesize

        84KB

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

        Filesize

        4KB

      • memory/2616-7-0x0000000000100000-0x0000000000115000-memory.dmp

        Filesize

        84KB

      • memory/2616-15-0x0000000000100000-0x0000000000115000-memory.dmp

        Filesize

        84KB

      • memory/2616-16-0x0000000000100000-0x0000000000115000-memory.dmp

        Filesize

        84KB