HackTool.PS1.PrivEsc.B

 Analysis by: Leidryn Saludez

 PLATFORM:

Windows

 OVERALL RISK RATING:
 DAMAGE POTENTIAL:
 DISTRIBUTION POTENTIAL:
 REPORTED INFECTION:
 INFORMATION EXPOSURE:

  • Threat Type: Hacking Tool

  • Destructiveness: No

  • Encrypted:

  • In the wild: Yes

  OVERVIEW

Infection Channel:

Downloaded from the Internet, Dropped by other malware

This Hacking Tool arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

  TECHNICAL DETAILS

File Size:

165,468 bytes

File Type:

PS1

Memory Resident:

No

Initial Samples Received Date:

19 Apr 2024

Arrival Details

This Hacking Tool arrives on a system as a file dropped by other malware or as a file downloaded unknowingly by users when visiting malicious sites.

Other Details

This Hacking Tool does the following:

  • It accepts the following commands and actions:
    • Get-ProcessTokenGroup → returns all SIDs that the current token context is a part of, whether they are disabled or not
    • Get-ProcessTokenPrivilege → returns all privileges for the current (or specified) process ID
    • Enable-Privilege → enables a specific privilege for the current process
    • Test-ServiceDaclPermission → tests one or more passed services or service names against a given permission set
    • Get-UnquotedService → returns services with unquoted paths that also have a space in the name
    • Get-ModifiableServiceFile → returns services where the current user can write to the service binary path or its config
    • Get-ModifiableService → returns services the current user can modify
    • Get-ServiceDetail → returns detailed information about a specified service
    • Set-ServiceBinaryPath → sets the binary path for a service to a specified value
    • Invoke-ServiceAbuse → modifies a vulnerable service to create a local admin or execute a custom command
    • Write-ServiceBinary → writes out a patched C# service binary that adds a local admin or executes a custom command
    • Install-ServiceBinary → replaces a service binary with one that adds a local admin or executes a custom command
    • Restore-ServiceBinary → restores a replaced service binary with the original executable
    • Find-ProcessDLLHijack → finds potential DLL hijacking opportunities for currently running processes
    • Find-PathDLLHijack→ finds service %PATH% DLL hijacking opportunities
    • Write-HijackDll → writes out a hijackable DLL
    • Get-RegistryAlwaysInstallElevated → checks if the AlwaysInstallElevated registry key is set
    • Get-RegistryAutoLogon → checks for Autologon credentials in the registry
    • Get-ModifiableRegistryAutoRun → checks for any modifiable binaries/scripts (or their configs) in HKLM autoruns
    • Get-ModifiableScheduledTaskFile → find schtasks with modifiable target files
    • Get-UnattendedInstallFile → finds remaining unattended installation files
    • Get-Webconfig → checks for any encrypted web.config strings
    • Get-ApplicationHost → checks for encrypted application pool and virtual directory passwords
    • Get-SiteListPassword→ retrieves the plaintext passwords for any found xml files
    • Get-CachedGPPPassword → checks for passwords in cached Group Policy Preferences files
    • Get-ModifiablePath→ tokenizes an input string and returns the files in it the current user can modify
    • Write-UserAddMSI→ write out a MSI installer that prompts for a user to be added
    • Invoke-WScriptUACBypass → performs the bypass UAC attack by abusing the lack of an embedded manifest in wscript.exe
    • Invoke-PrivescAudit → runs all current escalation checks

  SOLUTION

Minimum Scan Engine:

9.800

SSAPI PATTERN File:

2.721.00

SSAPI PATTERN Date:

19 Apr 2024

Step 1

Before doing any scans, Windows 7, Windows 8, Windows 8.1, and Windows 10 users must disable System Restore to allow full scanning of their computers.

Step 2

Scan your computer with your Trend Micro product to delete files detected as HackTool.PS1.PrivEsc.B. If the detected files have already been cleaned, deleted, or quarantined by your Trend Micro product, no further step is required. You may opt to simply delete the quarantined files. Please check the following Trend Micro Support pages for more information:


Did this description help? Tell us how we did.